oasis-editor 0.0.395 → 0.0.396
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/{OasisEditorApp-B5gTcE0i.js → OasisEditorApp-stxDt_TR.js} +1 -1
- package/dist/core/model/index.d.ts +1 -1
- package/dist/core/model/types/layout.d.ts +12 -0
- package/dist/{defaultToolbar-CdNGHsKd.js → defaultToolbar-E4AWNPJb.js} +1 -1
- package/dist/layoutProjection/fieldDisplayOffsetMap.d.ts +8 -0
- package/dist/layoutProjection/fieldResultProjection.d.ts +4 -4
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/canvas/canvasSnapshotLines.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CanvasSnapshotLine } from './canvasSnapshotTypes.js';
|
|
2
|
+
import { EditorLayoutDisplayOffsetSpan } from '../../core/model.js';
|
|
2
3
|
interface SourceSlot {
|
|
3
4
|
offset: number;
|
|
4
5
|
left: number;
|
|
@@ -17,5 +18,5 @@ interface SourceLine {
|
|
|
17
18
|
* the given left/top origin offsets. Shared by the paragraph-block and
|
|
18
19
|
* table-cell walkers, which build the identical shape from different origins.
|
|
19
20
|
*/
|
|
20
|
-
export declare function toSnapshotLines(lines: SourceLine[], leftOffset: number, topOffset: number): CanvasSnapshotLine[];
|
|
21
|
+
export declare function toSnapshotLines(lines: SourceLine[], leftOffset: number, topOffset: number, displayOffsetMap?: readonly EditorLayoutDisplayOffsetSpan[]): CanvasSnapshotLine[];
|
|
21
22
|
export {};
|