superdoc 2.18.0-next.12 → 2.18.0-next.14
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/{create-super-doc-ui-BwM3I7-G.cjs → create-super-doc-ui-wDvhW9Tz.cjs} +990 -911
- package/dist/chunks/{create-super-doc-ui-Ci7OxbXV.es.js → create-super-doc-ui-wKzxrztu.es.js} +976 -909
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/images/images.types.d.ts +2 -0
- package/dist/document-api/src/types/clipboard.d.ts +22 -1
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +22 -22
- package/dist/style.layered.css +22 -22
- package/dist/superdoc/src/internal/toolbar/built-in/LinkInput.vue.d.ts +4 -4
- package/dist/superdoc/src/public/ui/create-super-doc-ui.d.ts +9 -1
- package/dist/superdoc.cjs +83 -80
- package/dist/superdoc.es.js +83 -80
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +37 -37
- package/package.json +2 -2
|
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
19
19
|
var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
|
|
20
20
|
var ENGINE_INFO = Object.freeze({
|
|
21
21
|
...PRIVATE_ENGINE_INFO,
|
|
22
|
-
superdocVersion: "2.18.0-next.
|
|
22
|
+
superdocVersion: "2.18.0-next.14",
|
|
23
23
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
24
24
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
25
25
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
18
18
|
var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
|
|
19
19
|
var ENGINE_INFO = Object.freeze({
|
|
20
20
|
...PRIVATE_ENGINE_INFO,
|
|
21
|
-
superdocVersion: "2.18.0-next.
|
|
21
|
+
superdocVersion: "2.18.0-next.14",
|
|
22
22
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
23
23
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
24
24
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -181,6 +181,8 @@ export interface CreateImageSuccessResult {
|
|
|
181
181
|
success: true;
|
|
182
182
|
image: ImageAddress;
|
|
183
183
|
trackedChangeRefs?: ReceiptInsert[];
|
|
184
|
+
/** Commit id for the insertion, including its alt text when that was set in the same call. */
|
|
185
|
+
txId?: string;
|
|
184
186
|
}
|
|
185
187
|
export interface CreateImageFailureResult {
|
|
186
188
|
success: false;
|
|
@@ -110,7 +110,26 @@ export type SDPasteLeafInline = {
|
|
|
110
110
|
title?: string;
|
|
111
111
|
sourcePath?: readonly (string | number)[];
|
|
112
112
|
};
|
|
113
|
-
export
|
|
113
|
+
export interface SDPasteSdtInline {
|
|
114
|
+
kind: 'sdt';
|
|
115
|
+
controlType: 'text' | 'richText';
|
|
116
|
+
tag?: string;
|
|
117
|
+
alias?: string;
|
|
118
|
+
lockMode?: 'unlocked' | 'sdtLocked' | 'contentLocked' | 'sdtContentLocked';
|
|
119
|
+
multiline?: boolean;
|
|
120
|
+
sourcePath?: readonly (string | number)[];
|
|
121
|
+
inlines: readonly (SDPasteLeafInline | SDPasteSdtInline)[];
|
|
122
|
+
}
|
|
123
|
+
export interface SDPasteBlockSdt {
|
|
124
|
+
/** Clipboard-local wrapper identity shared by adjacent paragraphs. */
|
|
125
|
+
sourceId: string;
|
|
126
|
+
controlType: 'text' | 'richText';
|
|
127
|
+
tag?: string;
|
|
128
|
+
alias?: string;
|
|
129
|
+
lockMode?: 'unlocked' | 'sdtLocked' | 'contentLocked' | 'sdtContentLocked';
|
|
130
|
+
multiline?: boolean;
|
|
131
|
+
}
|
|
132
|
+
export type SDPasteInline = SDPasteLeafInline | SDPasteSdtInline | {
|
|
114
133
|
kind: 'hyperlink';
|
|
115
134
|
target: {
|
|
116
135
|
kind: 'external';
|
|
@@ -176,6 +195,8 @@ export interface SDPasteParagraphBlock {
|
|
|
176
195
|
* paste anchor's paragraph, independent of whether they carry formatting.
|
|
177
196
|
*/
|
|
178
197
|
complete?: boolean;
|
|
198
|
+
/** Outermost-first complete block content-control ancestry. */
|
|
199
|
+
blockSdts?: readonly SDPasteBlockSdt[];
|
|
179
200
|
/** Transient conversion identity used to map mutation effects back to source nodes. */
|
|
180
201
|
sourcePath?: readonly (string | number)[];
|
|
181
202
|
}
|
package/dist/public/ui-react.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-
|
|
2
|
+
const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-wDvhW9Tz.cjs");
|
|
3
3
|
const require_slice_source = require("../chunks/slice-source-CFaqq0Vo.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
//#region src/public/ui/react.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-
|
|
1
|
+
import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-wKzxrztu.es.js";
|
|
2
2
|
import { t as toSliceSource } from "../chunks/slice-source-gfOhG2MW.es.js";
|
|
3
3
|
import { createContext, createElement, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
4
4
|
//#region src/public/ui/react.ts
|
package/dist/public/ui-vue.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-
|
|
2
|
+
const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-wDvhW9Tz.cjs");
|
|
3
3
|
const require_slice_source = require("../chunks/slice-source-CFaqq0Vo.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
//#region src/public/ui/vue.ts
|
package/dist/public/ui-vue.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-
|
|
1
|
+
import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-wKzxrztu.es.js";
|
|
2
2
|
import { t as toSliceSource } from "../chunks/slice-source-gfOhG2MW.es.js";
|
|
3
3
|
import { computed, inject, onScopeDispose, provide, shallowRef, toRaw, toValue, watch } from "vue";
|
|
4
4
|
//#region src/public/ui/vue.ts
|
package/dist/public/ui.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-
|
|
2
|
+
const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-wDvhW9Tz.cjs");
|
|
3
3
|
exports.BUILT_IN_COMMAND_IDS = require_create_super_doc_ui.BUILT_IN_COMMAND_IDS;
|
|
4
4
|
exports.createSuperDocUI = require_create_super_doc_ui.createSuperDocUI;
|
|
5
5
|
exports.shallowEqual = require_create_super_doc_ui.shallowEqual;
|
package/dist/public/ui.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as BUILT_IN_COMMAND_IDS, s as shallowEqual, t as createSuperDocUI } from "../chunks/create-super-doc-ui-wKzxrztu.es.js";
|
|
2
2
|
export { BUILT_IN_COMMAND_IDS, createSuperDocUI, shallowEqual };
|
package/dist/style.css
CHANGED
|
@@ -1823,34 +1823,34 @@ img[data-v-c95b2073] {
|
|
|
1823
1823
|
pointer-events: auto;
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
-
.superdoc[data-v-
|
|
1826
|
+
.superdoc[data-v-202b7646] {
|
|
1827
1827
|
display: flex;
|
|
1828
1828
|
position: relative;
|
|
1829
1829
|
}
|
|
1830
|
-
.right-sidebar[data-v-
|
|
1830
|
+
.right-sidebar[data-v-202b7646] {
|
|
1831
1831
|
min-width: 320px;
|
|
1832
1832
|
height: 100%;
|
|
1833
1833
|
}
|
|
1834
|
-
.floating-comments[data-v-
|
|
1834
|
+
.floating-comments[data-v-202b7646] {
|
|
1835
1835
|
min-width: 300px;
|
|
1836
1836
|
width: 300px;
|
|
1837
1837
|
height: 100%;
|
|
1838
1838
|
overflow: visible;
|
|
1839
1839
|
}
|
|
1840
|
-
.superdoc__layers[data-v-
|
|
1840
|
+
.superdoc__layers[data-v-202b7646] {
|
|
1841
1841
|
height: 100%;
|
|
1842
1842
|
position: relative;
|
|
1843
1843
|
box-sizing: border-box;
|
|
1844
1844
|
}
|
|
1845
|
-
.superdoc__document[data-v-
|
|
1845
|
+
.superdoc__document[data-v-202b7646] {
|
|
1846
1846
|
width: 100%;
|
|
1847
1847
|
position: relative;
|
|
1848
1848
|
}
|
|
1849
|
-
.superdoc__sub-document[data-v-
|
|
1849
|
+
.superdoc__sub-document[data-v-202b7646] {
|
|
1850
1850
|
width: 100%;
|
|
1851
1851
|
position: relative;
|
|
1852
1852
|
}
|
|
1853
|
-
.superdoc__selection-layer[data-v-
|
|
1853
|
+
.superdoc__selection-layer[data-v-202b7646] {
|
|
1854
1854
|
position: absolute;
|
|
1855
1855
|
min-width: 100%;
|
|
1856
1856
|
min-height: 100%;
|
|
@@ -1861,13 +1861,13 @@ img[data-v-c95b2073] {
|
|
|
1861
1861
|
/* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
|
|
1862
1862
|
the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
|
|
1863
1863
|
clickable, and below the selection layer (z-index 10). */
|
|
1864
|
-
.superdoc__whiteboard-layer[data-v-
|
|
1864
|
+
.superdoc__whiteboard-layer[data-v-202b7646] {
|
|
1865
1865
|
z-index: 4;
|
|
1866
1866
|
}
|
|
1867
|
-
.superdoc__temp-selection[data-v-
|
|
1867
|
+
.superdoc__temp-selection[data-v-202b7646] {
|
|
1868
1868
|
position: absolute;
|
|
1869
1869
|
}
|
|
1870
|
-
.superdoc__right-sidebar[data-v-
|
|
1870
|
+
.superdoc__right-sidebar[data-v-202b7646] {
|
|
1871
1871
|
width: 320px;
|
|
1872
1872
|
min-width: 320px;
|
|
1873
1873
|
padding: 0 10px;
|
|
@@ -1875,7 +1875,7 @@ img[data-v-c95b2073] {
|
|
|
1875
1875
|
position: relative;
|
|
1876
1876
|
z-index: 2;
|
|
1877
1877
|
}
|
|
1878
|
-
.superdoc__compact-comment-popover[data-v-
|
|
1878
|
+
.superdoc__compact-comment-popover[data-v-202b7646] {
|
|
1879
1879
|
position: absolute;
|
|
1880
1880
|
top: 12px;
|
|
1881
1881
|
right: 12px;
|
|
@@ -1884,14 +1884,14 @@ img[data-v-c95b2073] {
|
|
|
1884
1884
|
}
|
|
1885
1885
|
|
|
1886
1886
|
/* Tools styles */
|
|
1887
|
-
.tools[data-v-
|
|
1887
|
+
.tools[data-v-202b7646] {
|
|
1888
1888
|
position: absolute;
|
|
1889
1889
|
z-index: 3;
|
|
1890
1890
|
display: flex;
|
|
1891
1891
|
flex-direction: column;
|
|
1892
1892
|
gap: var(--sd-ui-tools-gap, 6px);
|
|
1893
1893
|
}
|
|
1894
|
-
.tools-item[data-v-
|
|
1894
|
+
.tools-item[data-v-202b7646] {
|
|
1895
1895
|
display: flex;
|
|
1896
1896
|
align-items: center;
|
|
1897
1897
|
justify-content: center;
|
|
@@ -1902,10 +1902,10 @@ img[data-v-c95b2073] {
|
|
|
1902
1902
|
cursor: pointer;
|
|
1903
1903
|
position: relative;
|
|
1904
1904
|
}
|
|
1905
|
-
.tools-item i[data-v-
|
|
1905
|
+
.tools-item i[data-v-202b7646] {
|
|
1906
1906
|
cursor: pointer;
|
|
1907
1907
|
}
|
|
1908
|
-
.superdoc__tools-icon[data-v-
|
|
1908
|
+
.superdoc__tools-icon[data-v-202b7646] {
|
|
1909
1909
|
width: var(--sd-ui-tools-icon-size, 20px);
|
|
1910
1910
|
height: var(--sd-ui-tools-icon-size, 20px);
|
|
1911
1911
|
flex-shrink: 0;
|
|
@@ -1920,22 +1920,22 @@ img[data-v-c95b2073] {
|
|
|
1920
1920
|
|
|
1921
1921
|
/* 834px is iPad screen size in portrait orientation */
|
|
1922
1922
|
@media (max-width: 834px) {
|
|
1923
|
-
.superdoc .superdoc__layers[data-v-
|
|
1923
|
+
.superdoc .superdoc__layers[data-v-202b7646] {
|
|
1924
1924
|
margin: 0;
|
|
1925
1925
|
border: 0 !important;
|
|
1926
1926
|
box-shadow: none;
|
|
1927
1927
|
}
|
|
1928
|
-
.superdoc__sub-document[data-v-
|
|
1928
|
+
.superdoc__sub-document[data-v-202b7646] {
|
|
1929
1929
|
max-width: 100%;
|
|
1930
1930
|
}
|
|
1931
|
-
.superdoc__right-sidebar[data-v-
|
|
1931
|
+
.superdoc__right-sidebar[data-v-202b7646] {
|
|
1932
1932
|
padding: 10px;
|
|
1933
1933
|
position: relative;
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
1936
|
|
|
1937
1937
|
/* AI Writer styles */
|
|
1938
|
-
.ai-writer-container[data-v-
|
|
1938
|
+
.ai-writer-container[data-v-202b7646] {
|
|
1939
1939
|
position: fixed;
|
|
1940
1940
|
z-index: 1000;
|
|
1941
1941
|
background: white;
|
|
@@ -1951,10 +1951,10 @@ img[data-v-c95b2073] {
|
|
|
1951
1951
|
transform: translateY(-50%);
|
|
1952
1952
|
z-index: 50;
|
|
1953
1953
|
} */
|
|
1954
|
-
.ai-tool > svg[data-v-
|
|
1954
|
+
.ai-tool > svg[data-v-202b7646] {
|
|
1955
1955
|
fill: transparent;
|
|
1956
1956
|
}
|
|
1957
|
-
.ai-tool[data-v-
|
|
1957
|
+
.ai-tool[data-v-202b7646]::before {
|
|
1958
1958
|
content: '';
|
|
1959
1959
|
position: absolute;
|
|
1960
1960
|
width: 20px;
|
|
@@ -1975,7 +1975,7 @@ img[data-v-c95b2073] {
|
|
|
1975
1975
|
filter: brightness(1.2);
|
|
1976
1976
|
transition: filter 0.2s ease;
|
|
1977
1977
|
}
|
|
1978
|
-
.ai-tool[data-v-
|
|
1978
|
+
.ai-tool[data-v-202b7646]:hover::before {
|
|
1979
1979
|
filter: brightness(1.3);
|
|
1980
1980
|
}
|
|
1981
1981
|
|
package/dist/style.layered.css
CHANGED
|
@@ -1823,34 +1823,34 @@ img[data-v-c95b2073] {
|
|
|
1823
1823
|
pointer-events: auto;
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
-
.superdoc[data-v-
|
|
1826
|
+
.superdoc[data-v-202b7646] {
|
|
1827
1827
|
display: flex;
|
|
1828
1828
|
position: relative;
|
|
1829
1829
|
}
|
|
1830
|
-
.right-sidebar[data-v-
|
|
1830
|
+
.right-sidebar[data-v-202b7646] {
|
|
1831
1831
|
min-width: 320px;
|
|
1832
1832
|
height: 100%;
|
|
1833
1833
|
}
|
|
1834
|
-
.floating-comments[data-v-
|
|
1834
|
+
.floating-comments[data-v-202b7646] {
|
|
1835
1835
|
min-width: 300px;
|
|
1836
1836
|
width: 300px;
|
|
1837
1837
|
height: 100%;
|
|
1838
1838
|
overflow: visible;
|
|
1839
1839
|
}
|
|
1840
|
-
.superdoc__layers[data-v-
|
|
1840
|
+
.superdoc__layers[data-v-202b7646] {
|
|
1841
1841
|
height: 100%;
|
|
1842
1842
|
position: relative;
|
|
1843
1843
|
box-sizing: border-box;
|
|
1844
1844
|
}
|
|
1845
|
-
.superdoc__document[data-v-
|
|
1845
|
+
.superdoc__document[data-v-202b7646] {
|
|
1846
1846
|
width: 100%;
|
|
1847
1847
|
position: relative;
|
|
1848
1848
|
}
|
|
1849
|
-
.superdoc__sub-document[data-v-
|
|
1849
|
+
.superdoc__sub-document[data-v-202b7646] {
|
|
1850
1850
|
width: 100%;
|
|
1851
1851
|
position: relative;
|
|
1852
1852
|
}
|
|
1853
|
-
.superdoc__selection-layer[data-v-
|
|
1853
|
+
.superdoc__selection-layer[data-v-202b7646] {
|
|
1854
1854
|
position: absolute;
|
|
1855
1855
|
min-width: 100%;
|
|
1856
1856
|
min-height: 100%;
|
|
@@ -1861,13 +1861,13 @@ img[data-v-c95b2073] {
|
|
|
1861
1861
|
/* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
|
|
1862
1862
|
the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
|
|
1863
1863
|
clickable, and below the selection layer (z-index 10). */
|
|
1864
|
-
.superdoc__whiteboard-layer[data-v-
|
|
1864
|
+
.superdoc__whiteboard-layer[data-v-202b7646] {
|
|
1865
1865
|
z-index: 4;
|
|
1866
1866
|
}
|
|
1867
|
-
.superdoc__temp-selection[data-v-
|
|
1867
|
+
.superdoc__temp-selection[data-v-202b7646] {
|
|
1868
1868
|
position: absolute;
|
|
1869
1869
|
}
|
|
1870
|
-
.superdoc__right-sidebar[data-v-
|
|
1870
|
+
.superdoc__right-sidebar[data-v-202b7646] {
|
|
1871
1871
|
width: 320px;
|
|
1872
1872
|
min-width: 320px;
|
|
1873
1873
|
padding: 0 10px;
|
|
@@ -1875,7 +1875,7 @@ img[data-v-c95b2073] {
|
|
|
1875
1875
|
position: relative;
|
|
1876
1876
|
z-index: 2;
|
|
1877
1877
|
}
|
|
1878
|
-
.superdoc__compact-comment-popover[data-v-
|
|
1878
|
+
.superdoc__compact-comment-popover[data-v-202b7646] {
|
|
1879
1879
|
position: absolute;
|
|
1880
1880
|
top: 12px;
|
|
1881
1881
|
right: 12px;
|
|
@@ -1884,14 +1884,14 @@ img[data-v-c95b2073] {
|
|
|
1884
1884
|
}
|
|
1885
1885
|
|
|
1886
1886
|
/* Tools styles */
|
|
1887
|
-
.tools[data-v-
|
|
1887
|
+
.tools[data-v-202b7646] {
|
|
1888
1888
|
position: absolute;
|
|
1889
1889
|
z-index: 3;
|
|
1890
1890
|
display: flex;
|
|
1891
1891
|
flex-direction: column;
|
|
1892
1892
|
gap: var(--sd-ui-tools-gap, 6px);
|
|
1893
1893
|
}
|
|
1894
|
-
.tools-item[data-v-
|
|
1894
|
+
.tools-item[data-v-202b7646] {
|
|
1895
1895
|
display: flex;
|
|
1896
1896
|
align-items: center;
|
|
1897
1897
|
justify-content: center;
|
|
@@ -1902,10 +1902,10 @@ img[data-v-c95b2073] {
|
|
|
1902
1902
|
cursor: pointer;
|
|
1903
1903
|
position: relative;
|
|
1904
1904
|
}
|
|
1905
|
-
.tools-item i[data-v-
|
|
1905
|
+
.tools-item i[data-v-202b7646] {
|
|
1906
1906
|
cursor: pointer;
|
|
1907
1907
|
}
|
|
1908
|
-
.superdoc__tools-icon[data-v-
|
|
1908
|
+
.superdoc__tools-icon[data-v-202b7646] {
|
|
1909
1909
|
width: var(--sd-ui-tools-icon-size, 20px);
|
|
1910
1910
|
height: var(--sd-ui-tools-icon-size, 20px);
|
|
1911
1911
|
flex-shrink: 0;
|
|
@@ -1920,22 +1920,22 @@ img[data-v-c95b2073] {
|
|
|
1920
1920
|
|
|
1921
1921
|
/* 834px is iPad screen size in portrait orientation */
|
|
1922
1922
|
@media (max-width: 834px) {
|
|
1923
|
-
.superdoc .superdoc__layers[data-v-
|
|
1923
|
+
.superdoc .superdoc__layers[data-v-202b7646] {
|
|
1924
1924
|
margin: 0;
|
|
1925
1925
|
border: 0 !important;
|
|
1926
1926
|
box-shadow: none;
|
|
1927
1927
|
}
|
|
1928
|
-
.superdoc__sub-document[data-v-
|
|
1928
|
+
.superdoc__sub-document[data-v-202b7646] {
|
|
1929
1929
|
max-width: 100%;
|
|
1930
1930
|
}
|
|
1931
|
-
.superdoc__right-sidebar[data-v-
|
|
1931
|
+
.superdoc__right-sidebar[data-v-202b7646] {
|
|
1932
1932
|
padding: 10px;
|
|
1933
1933
|
position: relative;
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
1936
|
|
|
1937
1937
|
/* AI Writer styles */
|
|
1938
|
-
.ai-writer-container[data-v-
|
|
1938
|
+
.ai-writer-container[data-v-202b7646] {
|
|
1939
1939
|
position: fixed;
|
|
1940
1940
|
z-index: 1000;
|
|
1941
1941
|
background: white;
|
|
@@ -1951,10 +1951,10 @@ img[data-v-c95b2073] {
|
|
|
1951
1951
|
transform: translateY(-50%);
|
|
1952
1952
|
z-index: 50;
|
|
1953
1953
|
} */
|
|
1954
|
-
.ai-tool > svg[data-v-
|
|
1954
|
+
.ai-tool > svg[data-v-202b7646] {
|
|
1955
1955
|
fill: transparent;
|
|
1956
1956
|
}
|
|
1957
|
-
.ai-tool[data-v-
|
|
1957
|
+
.ai-tool[data-v-202b7646]::before {
|
|
1958
1958
|
content: '';
|
|
1959
1959
|
position: absolute;
|
|
1960
1960
|
width: 20px;
|
|
@@ -1975,7 +1975,7 @@ img[data-v-c95b2073] {
|
|
|
1975
1975
|
filter: brightness(1.2);
|
|
1976
1976
|
transition: filter 0.2s ease;
|
|
1977
1977
|
}
|
|
1978
|
-
.ai-tool[data-v-
|
|
1978
|
+
.ai-tool[data-v-202b7646]:hover::before {
|
|
1979
1979
|
filter: brightness(1.3);
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
@@ -5,15 +5,15 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
5
5
|
rel: string;
|
|
6
6
|
documentMode: string;
|
|
7
7
|
ui: Record<string, any>;
|
|
8
|
+
textTarget: Record<string, any>;
|
|
9
|
+
hyperlinkTarget: Record<string, any>;
|
|
8
10
|
showInput: boolean;
|
|
9
11
|
showLink: boolean;
|
|
10
12
|
goToAnchor: Function;
|
|
11
13
|
linkItem: Record<string, any>;
|
|
12
14
|
closePopover: Function;
|
|
13
15
|
clickedElement: Record<string, any>;
|
|
14
|
-
hyperlinkTarget: Record<string, any>;
|
|
15
16
|
hyperlinkText: string;
|
|
16
|
-
textTarget: Record<string, any>;
|
|
17
17
|
restoreSelection: Function;
|
|
18
18
|
$props: {
|
|
19
19
|
readonly target?: string | undefined;
|
|
@@ -22,15 +22,15 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
22
22
|
readonly rel?: string | undefined;
|
|
23
23
|
readonly documentMode?: string | undefined;
|
|
24
24
|
readonly ui?: Record<string, any> | undefined;
|
|
25
|
+
readonly textTarget?: Record<string, any> | undefined;
|
|
26
|
+
readonly hyperlinkTarget?: Record<string, any> | undefined;
|
|
25
27
|
readonly showInput?: boolean | undefined;
|
|
26
28
|
readonly showLink?: boolean | undefined;
|
|
27
29
|
readonly goToAnchor?: Function | undefined;
|
|
28
30
|
readonly linkItem?: Record<string, any> | undefined;
|
|
29
31
|
readonly closePopover?: Function | undefined;
|
|
30
32
|
readonly clickedElement?: Record<string, any> | undefined;
|
|
31
|
-
readonly hyperlinkTarget?: Record<string, any> | undefined;
|
|
32
33
|
readonly hyperlinkText?: string | undefined;
|
|
33
|
-
readonly textTarget?: Record<string, any> | undefined;
|
|
34
34
|
readonly restoreSelection?: Function | undefined;
|
|
35
35
|
};
|
|
36
36
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import { SuperDocUI, SuperDocUIOptions } from './types.js';
|
|
1
|
+
import { CommandExecutionResult, SuperDocUI, SuperDocUIOptions } from './types.js';
|
|
2
|
+
type FirstPartyCommandMutation = {
|
|
3
|
+
supports: (memberPath: string) => boolean;
|
|
4
|
+
run: (memberPath: string, args: readonly unknown[]) => unknown;
|
|
5
|
+
runListApply: (input: unknown) => Promise<boolean>;
|
|
6
|
+
};
|
|
7
|
+
export declare function registerFirstPartyCommandMutation(superdoc: object, host: object, mutation: FirstPartyCommandMutation): void;
|
|
8
|
+
export declare function executeFirstPartyCommandAsync(ui: Pick<SuperDocUI, 'commands'>, id: string, payload?: unknown): Promise<CommandExecutionResult>;
|
|
2
9
|
/**
|
|
3
10
|
* Heavy-read policy for the async read coordinator (source-loading deferral).
|
|
4
11
|
* One shared table: the coordinator's gate and the table-driven policy tests
|
|
@@ -16,3 +23,4 @@ export declare const HEAVY_DOC_READ_POLICY: readonly HeavyDocReadPolicyEntry[];
|
|
|
16
23
|
/** Whether a coordinator cache key falls under the heavy-read policy. */
|
|
17
24
|
export declare function isHeavyDocReadKey(key: string): boolean;
|
|
18
25
|
export declare function createSuperDocUI(options: SuperDocUIOptions): SuperDocUI;
|
|
26
|
+
export {};
|