@inditextech/weave-sdk 5.7.0-SNAPSHOT.601.1 → 5.7.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.
- package/dist/sdk.js +4690 -4302
- package/dist/sdk.node.js +4700 -4312
- package/dist/sdk.node.stats.html +1 -1
- package/dist/sdk.stats.html +1 -1
- package/dist/types.d.ts +504 -203
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4700 -4312
- package/dist/types.js.map +1 -1
- package/dist/types.stats.html +1 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -883,14 +883,17 @@ declare abstract class WeaveNode implements WeaveNodeBase {
|
|
|
883
883
|
* Registers a Weave instance listener on behalf of a node. Only one listener
|
|
884
884
|
* is kept per node and event: registering the same event again for the same
|
|
885
885
|
* node replaces the previous listener, including the ones registered by
|
|
886
|
-
* setupDefaultNodeEvents (onNodesChange, onSelectionState).
|
|
886
|
+
* setupDefaultNodeEvents (onNodesChange, onSelectionState). Pass an explicit
|
|
887
|
+
* key (defaults to the event name) to keep several listeners for the same
|
|
888
|
+
* event, or to avoid replacing the default ones.
|
|
887
889
|
*/
|
|
888
|
-
protected setNodeInstanceListener<T>(node: Konva.Node, event: string, callback: (payload: T) => void): void;
|
|
890
|
+
protected setNodeInstanceListener<T>(node: Konva.Node, event: string, callback: (payload: T) => void, key?: string): void;
|
|
889
891
|
/**
|
|
890
892
|
* Removes the listeners registered with setNodeInstanceListener for the node
|
|
891
|
-
* and, unless disabled, for its descendants.
|
|
893
|
+
* and, unless disabled, for its descendants. When keys are given only the
|
|
894
|
+
* listeners registered with those keys are removed.
|
|
892
895
|
*/
|
|
893
|
-
protected removeNodeInstanceListeners(node: Konva.Node, includeDescendants?: boolean): void;
|
|
896
|
+
protected removeNodeInstanceListeners(node: Konva.Node, includeDescendants?: boolean, keys?: string[]): void;
|
|
894
897
|
onDestroyInstance(): void;
|
|
895
898
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
896
899
|
show(instance: Konva.Node): void;
|
|
@@ -1539,6 +1542,430 @@ declare class WeaveGroupNode extends WeaveNode {
|
|
|
1539
1542
|
//#region src/nodes/group/constants.d.ts
|
|
1540
1543
|
declare const WEAVE_GROUP_NODE_TYPE = "group";
|
|
1541
1544
|
//#endregion
|
|
1545
|
+
//#region src/nodes/text-v2/model.d.ts
|
|
1546
|
+
/**
|
|
1547
|
+
* Pure text model: `blocks[] -> runs[{ t, m }]`. No Konva or DOM dependency.
|
|
1548
|
+
* `text` is a derived mirror: block texts joined by `\n`.
|
|
1549
|
+
*/
|
|
1550
|
+
type WeaveTextMarks = {
|
|
1551
|
+
bold?: boolean;
|
|
1552
|
+
italic?: boolean;
|
|
1553
|
+
underline?: boolean;
|
|
1554
|
+
strike?: boolean;
|
|
1555
|
+
color?: string;
|
|
1556
|
+
/** Ratio of the node base `fontSize` (1 is omitted). */
|
|
1557
|
+
size?: number;
|
|
1558
|
+
family?: string;
|
|
1559
|
+
/** Multiplier of the run font size (clamped 0.5 to 4). */
|
|
1560
|
+
lineHeight?: number;
|
|
1561
|
+
link?: string;
|
|
1562
|
+
[mark: string]: unknown;
|
|
1563
|
+
};
|
|
1564
|
+
type WeaveTextMarkKey = 'bold' | 'italic' | 'underline' | 'strike' | 'color' | 'size' | 'family' | 'lineHeight' | 'link';
|
|
1565
|
+
type WeaveTextListKind = 'ul' | 'ol';
|
|
1566
|
+
type WeaveTextBlockAlign = 'left' | 'center' | 'right';
|
|
1567
|
+
type WeaveTextRun = {
|
|
1568
|
+
t: string;
|
|
1569
|
+
m?: WeaveTextMarks;
|
|
1570
|
+
};
|
|
1571
|
+
type WeaveTextBlock = {
|
|
1572
|
+
runs: WeaveTextRun[];
|
|
1573
|
+
kind?: WeaveTextListKind;
|
|
1574
|
+
depth?: number;
|
|
1575
|
+
start?: number;
|
|
1576
|
+
align?: WeaveTextBlockAlign;
|
|
1577
|
+
};
|
|
1578
|
+
type MarkState = 'all' | 'none' | 'some';
|
|
1579
|
+
type MarkQuery = {
|
|
1580
|
+
state: MarkState;
|
|
1581
|
+
value?: unknown;
|
|
1582
|
+
};
|
|
1583
|
+
type WeaveTextSelectionFormat = {
|
|
1584
|
+
bold: MarkQuery;
|
|
1585
|
+
italic: MarkQuery;
|
|
1586
|
+
underline: MarkQuery;
|
|
1587
|
+
strike: MarkQuery;
|
|
1588
|
+
color: MarkQuery;
|
|
1589
|
+
family: MarkQuery;
|
|
1590
|
+
link: MarkQuery;
|
|
1591
|
+
lineHeight: MarkQuery;
|
|
1592
|
+
/** Paragraph alignment of the blocks in the range. */
|
|
1593
|
+
align: {
|
|
1594
|
+
state: MarkState;
|
|
1595
|
+
value?: WeaveTextBlockAlign;
|
|
1596
|
+
};
|
|
1597
|
+
/** `value` in px (ratio * base); `none` reports the base size. */
|
|
1598
|
+
size: MarkQuery;
|
|
1599
|
+
list: {
|
|
1600
|
+
kind: WeaveTextListKind | 'none' | 'mixed';
|
|
1601
|
+
depth?: number;
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
//#endregion
|
|
1605
|
+
//#region src/nodes/text-v2/layout/engine.d.ts
|
|
1606
|
+
/**
|
|
1607
|
+
* Text layout engine. Independent of `WeaveTextNode` and of any Konva node:
|
|
1608
|
+
* it takes blocks + a style + bounds, so other shapes (e.g. shape labels)
|
|
1609
|
+
* can reuse it. Wrapping is a port of the greedy algorithm in
|
|
1610
|
+
* `Konva.Text._setTextData` (binary search for the longest fitting prefix,
|
|
1611
|
+
* then back up to the last space/dash), LTR only.
|
|
1612
|
+
*/
|
|
1613
|
+
type TextWrap = 'word' | 'char' | 'none';
|
|
1614
|
+
type TextAlign = 'left' | 'center' | 'right';
|
|
1615
|
+
type TextLayoutStyle = {
|
|
1616
|
+
fontSize: number;
|
|
1617
|
+
fontFamily: string;
|
|
1618
|
+
fontStyle: string;
|
|
1619
|
+
fontVariant: string;
|
|
1620
|
+
lineHeight: number;
|
|
1621
|
+
letterSpacing: number;
|
|
1622
|
+
wrap: TextWrap;
|
|
1623
|
+
align: TextAlign;
|
|
1624
|
+
/** List indent per depth, as a multiple of `fontSize` (default 1.5). */
|
|
1625
|
+
indentStep?: number;
|
|
1626
|
+
};
|
|
1627
|
+
/** Bounds supplied by the target. `undefined` width/height means "auto". */
|
|
1628
|
+
type TextLayoutBounds = {
|
|
1629
|
+
width: number | undefined;
|
|
1630
|
+
height: number | undefined;
|
|
1631
|
+
padding: number;
|
|
1632
|
+
};
|
|
1633
|
+
type TextMeasurer = (font: string, text: string) => number;
|
|
1634
|
+
type LayoutSegment = {
|
|
1635
|
+
t: string;
|
|
1636
|
+
m?: WeaveTextMarks;
|
|
1637
|
+
/** x offset relative to the line start. */
|
|
1638
|
+
x: number;
|
|
1639
|
+
width: number;
|
|
1640
|
+
/** Run index inside its paragraph (hit testing / hover). */
|
|
1641
|
+
run: number;
|
|
1642
|
+
/** Resolved canvas font and size (px) of the run. */
|
|
1643
|
+
font: string;
|
|
1644
|
+
fontSize: number;
|
|
1645
|
+
};
|
|
1646
|
+
type LayoutMarker = {
|
|
1647
|
+
text: string;
|
|
1648
|
+
/** x relative to the content box (before padding). */
|
|
1649
|
+
x: number;
|
|
1650
|
+
font: string;
|
|
1651
|
+
fontSize: number;
|
|
1652
|
+
color?: string;
|
|
1653
|
+
};
|
|
1654
|
+
type LayoutLine = {
|
|
1655
|
+
paragraph: number;
|
|
1656
|
+
/** Global character offsets [start, end) in the derived `text` string. */
|
|
1657
|
+
start: number;
|
|
1658
|
+
end: number;
|
|
1659
|
+
text: string;
|
|
1660
|
+
/** Width of the trimmed line text. */
|
|
1661
|
+
width: number;
|
|
1662
|
+
/** Width Konva reports for the line before trimming (for textWidth parity). */
|
|
1663
|
+
measuredWidth: number;
|
|
1664
|
+
/** Alignment x offset (0 for left). */
|
|
1665
|
+
offsetX: number;
|
|
1666
|
+
y: number;
|
|
1667
|
+
/** Line box height and baseline offset from the line top. */
|
|
1668
|
+
height: number;
|
|
1669
|
+
baseline: number;
|
|
1670
|
+
/** Indent of the text (list blocks), already included in `offsetX`. */
|
|
1671
|
+
indent: number;
|
|
1672
|
+
marker?: LayoutMarker;
|
|
1673
|
+
/** Resolved paragraph alignment. */
|
|
1674
|
+
align: TextAlign;
|
|
1675
|
+
segments: LayoutSegment[];
|
|
1676
|
+
lastInParagraph: boolean;
|
|
1677
|
+
};
|
|
1678
|
+
type TextLayout = {
|
|
1679
|
+
lines: LayoutLine[];
|
|
1680
|
+
/** Widest line, like `Konva.Text.getTextWidth()`. */
|
|
1681
|
+
textWidth: number;
|
|
1682
|
+
/** Font size, like `Konva.Text.getTextHeight()`. */
|
|
1683
|
+
textHeight: number;
|
|
1684
|
+
lineHeightPx: number;
|
|
1685
|
+
/** Sum of line heights (without padding). */
|
|
1686
|
+
contentHeight: number;
|
|
1687
|
+
/** Resolved node size, like `Konva.Text.width()/height()`. */
|
|
1688
|
+
width: number;
|
|
1689
|
+
height: number;
|
|
1690
|
+
};
|
|
1691
|
+
type FontMetrics = {
|
|
1692
|
+
ascent: number;
|
|
1693
|
+
descent: number;
|
|
1694
|
+
};
|
|
1695
|
+
type MetricsProvider = (font: string, size: number) => FontMetrics;
|
|
1696
|
+
declare class TextLayoutEngine {
|
|
1697
|
+
private readonly measure;
|
|
1698
|
+
private readonly cache;
|
|
1699
|
+
private paragraphs;
|
|
1700
|
+
/** Entries by signature, so paragraphs that shifted index are reused. */
|
|
1701
|
+
private pool;
|
|
1702
|
+
private lastParagraphsRelaid;
|
|
1703
|
+
private readonly metrics;
|
|
1704
|
+
constructor(measurer?: TextMeasurer, metrics?: MetricsProvider);
|
|
1705
|
+
/** Number of paragraphs recomputed by the last `layout()` call. */
|
|
1706
|
+
getLastRelaidCount(): number;
|
|
1707
|
+
clearCaches(): void;
|
|
1708
|
+
/** Text indent of a block in px (0 for plain paragraphs). */
|
|
1709
|
+
private indentFor;
|
|
1710
|
+
private sigFor;
|
|
1711
|
+
/**
|
|
1712
|
+
* Pre-compute paragraph layouts for `blocks` within a time budget so a
|
|
1713
|
+
* following `layout()` is cheap. Call repeatedly until it returns true.
|
|
1714
|
+
* Lets callers time-slice very large content (e.g. bulk paste).
|
|
1715
|
+
*/
|
|
1716
|
+
warm(blocks: WeaveTextBlock[], style: TextLayoutStyle, bounds: TextLayoutBounds, budgetMs: number): boolean;
|
|
1717
|
+
private measureChunk;
|
|
1718
|
+
layout(blocks: WeaveTextBlock[], style: TextLayoutStyle, bounds: TextLayoutBounds): TextLayout;
|
|
1719
|
+
/** Append a paragraph's lines to `lines`; stops once a fixed height is full. */
|
|
1720
|
+
private emitLines;
|
|
1721
|
+
private stepPx;
|
|
1722
|
+
private rangeWidth;
|
|
1723
|
+
/**
|
|
1724
|
+
* Longest prefix of graphemes[start..n) that fits `maxWidth`, found with an
|
|
1725
|
+
* exponential probe (bounds the work to about one line) plus a binary
|
|
1726
|
+
* search, like Konva. Always consumes at least one grapheme.
|
|
1727
|
+
*/
|
|
1728
|
+
private longestFit;
|
|
1729
|
+
private layoutParagraph;
|
|
1730
|
+
/** Per-line box height and baseline from the runs on each line. */
|
|
1731
|
+
private measureLines;
|
|
1732
|
+
private wrapParagraph;
|
|
1733
|
+
private buildSegments;
|
|
1734
|
+
}
|
|
1735
|
+
//#endregion
|
|
1736
|
+
//#region src/nodes/text-v2/edit/model.d.ts
|
|
1737
|
+
type EditKind = 'type' | 'delete' | 'paste' | 'ime' | 'other' | 'format';
|
|
1738
|
+
/**
|
|
1739
|
+
* Session-local edit state: content + selection + undo/redo with
|
|
1740
|
+
* coalescing. Typing and deleting merge into one entry while they continue
|
|
1741
|
+
* in the same direction without a selection move; paste and IME composition
|
|
1742
|
+
* are always one entry each. Independent of Konva and the DOM.
|
|
1743
|
+
*/
|
|
1744
|
+
declare class TextEditModel {
|
|
1745
|
+
private blocks;
|
|
1746
|
+
anchor: number;
|
|
1747
|
+
focus: number;
|
|
1748
|
+
/** x kept while moving vertically; reset by any other move. */
|
|
1749
|
+
desiredX: number | null;
|
|
1750
|
+
/**
|
|
1751
|
+
* Marks the next typed text takes at a collapsed caret (e.g. bold toggled
|
|
1752
|
+
* with nothing selected). Cleared when the selection moves.
|
|
1753
|
+
*/
|
|
1754
|
+
storedMarks: WeaveTextMarks | null;
|
|
1755
|
+
private readonly undoStack;
|
|
1756
|
+
private redoStack;
|
|
1757
|
+
private lastKind;
|
|
1758
|
+
private lastEditEnd;
|
|
1759
|
+
private composing;
|
|
1760
|
+
constructor(blocks: WeaveTextBlock[]);
|
|
1761
|
+
getBlocks(): WeaveTextBlock[];
|
|
1762
|
+
getText(): string;
|
|
1763
|
+
getSelection(): {
|
|
1764
|
+
start: number;
|
|
1765
|
+
end: number;
|
|
1766
|
+
};
|
|
1767
|
+
getSelectedText(): string;
|
|
1768
|
+
canUndo(): boolean;
|
|
1769
|
+
canRedo(): boolean;
|
|
1770
|
+
setSelection(anchor: number, focus: number): void;
|
|
1771
|
+
moveTo(offset: number, extend?: boolean, keepDesiredX?: boolean): void;
|
|
1772
|
+
selectAll(): void;
|
|
1773
|
+
breakCoalescing(): void;
|
|
1774
|
+
beginComposition(): void;
|
|
1775
|
+
endComposition(): void;
|
|
1776
|
+
private snapshot;
|
|
1777
|
+
private record;
|
|
1778
|
+
/** Replace [start,end) with plain text and put the caret after it. */
|
|
1779
|
+
replaceRange(start: number, end: number, text: string, kind: EditKind): boolean;
|
|
1780
|
+
replaceSelection(text: string, kind: EditKind): boolean;
|
|
1781
|
+
backspace(byWord?: boolean): boolean;
|
|
1782
|
+
del(byWord?: boolean): boolean;
|
|
1783
|
+
undo(): boolean;
|
|
1784
|
+
redo(): boolean;
|
|
1785
|
+
/** Current marks at the caret / selection start (stored marks win). */
|
|
1786
|
+
caretMarks(): WeaveTextMarks | undefined;
|
|
1787
|
+
/** Always one new undo entry, never coalesced. */
|
|
1788
|
+
private commitFormat;
|
|
1789
|
+
/** Set (`undefined` clears) one mark on the selection or the stored marks. */
|
|
1790
|
+
setMark(key: WeaveTextMarkKey, value: unknown): boolean;
|
|
1791
|
+
/** Toggle a boolean mark: on unless the whole selection already has it. */
|
|
1792
|
+
toggleMark(key: WeaveTextMarkKey): boolean;
|
|
1793
|
+
toggleList(kind: WeaveTextListKind): boolean;
|
|
1794
|
+
setAlign(align: WeaveTextBlockAlign | undefined): boolean;
|
|
1795
|
+
indent(): boolean;
|
|
1796
|
+
outdent(): boolean;
|
|
1797
|
+
private blockAt;
|
|
1798
|
+
/**
|
|
1799
|
+
* Enter in a list: an empty item exits the list; otherwise the item
|
|
1800
|
+
* continues (the block split carries `kind` and `depth`).
|
|
1801
|
+
*/
|
|
1802
|
+
enter(): boolean;
|
|
1803
|
+
/**
|
|
1804
|
+
* Backspace at the start of a list item outdents it, or removes the
|
|
1805
|
+
* marker at depth 0. Returns false when the key is not handled here.
|
|
1806
|
+
*/
|
|
1807
|
+
backspaceInList(): boolean;
|
|
1808
|
+
private restore;
|
|
1809
|
+
}
|
|
1810
|
+
//#endregion
|
|
1811
|
+
//#region src/nodes/text-v2/edit/geometry.d.ts
|
|
1812
|
+
type Point = {
|
|
1813
|
+
x: number;
|
|
1814
|
+
y: number;
|
|
1815
|
+
};
|
|
1816
|
+
//#endregion
|
|
1817
|
+
//#region src/nodes/text-v2/edit/session.d.ts
|
|
1818
|
+
/**
|
|
1819
|
+
* What the session edits. Not tied to `WeaveTextNode`: any shape that can
|
|
1820
|
+
* expose blocks, a layout and a transform can be edited (e.g. shape labels).
|
|
1821
|
+
*/
|
|
1822
|
+
interface TextEditTarget {
|
|
1823
|
+
getBlocks(): WeaveTextBlock[];
|
|
1824
|
+
/** Apply new content (and any auto-resize) to the live target. */
|
|
1825
|
+
setBlocks(blocks: WeaveTextBlock[]): void;
|
|
1826
|
+
getLayout(): TextLayout;
|
|
1827
|
+
/** Rendered width of a string (letter spacing included). */
|
|
1828
|
+
measure(text: string, font?: string): number;
|
|
1829
|
+
/** Local -> stage (container px) transform of the text box. */
|
|
1830
|
+
getAbsoluteTransform(): Konva.Transform;
|
|
1831
|
+
/** Offset of the first line inside the box (padding + vertical align). */
|
|
1832
|
+
getContentOffset(): Point;
|
|
1833
|
+
getSize(): {
|
|
1834
|
+
width: number;
|
|
1835
|
+
height: number;
|
|
1836
|
+
};
|
|
1837
|
+
getFontSize(): number;
|
|
1838
|
+
/** Redraw the target after a change. */
|
|
1839
|
+
requestRedraw(): void;
|
|
1840
|
+
/** Optional: pre-compute layout within a budget; true when finished. */
|
|
1841
|
+
warmLayout?(blocks: WeaveTextBlock[], budgetMs: number): boolean;
|
|
1842
|
+
}
|
|
1843
|
+
interface TextEditHost {
|
|
1844
|
+
utilityLayer: Konva.Layer | undefined;
|
|
1845
|
+
/** Element the hidden proxy textarea is attached to. */
|
|
1846
|
+
container: HTMLElement;
|
|
1847
|
+
clientToStage(clientX: number, clientY: number): Point;
|
|
1848
|
+
stageToContainer(point: Point): Point;
|
|
1849
|
+
/** Called with the caret in container px so the host can pan it into view. */
|
|
1850
|
+
revealCaret?(point: Point): void;
|
|
1851
|
+
caretColor: string;
|
|
1852
|
+
selectionColor: string;
|
|
1853
|
+
/** Outline of the text box while editing (screen px width). Omit to hide. */
|
|
1854
|
+
outlineColor?: string;
|
|
1855
|
+
outlineWidth?: number;
|
|
1856
|
+
/** Gap between box and outline (screen px). Default 0. */
|
|
1857
|
+
outlinePadding?: number;
|
|
1858
|
+
/** Select all content when the session starts (Figma-like). Default false. */
|
|
1859
|
+
selectAllOnStart?: boolean;
|
|
1860
|
+
/** Aborts the session listeners (e.g. instance teardown). */
|
|
1861
|
+
signal?: AbortSignal;
|
|
1862
|
+
/** Rich text commands, shortcuts and list key rules are active. */
|
|
1863
|
+
richText?: boolean;
|
|
1864
|
+
/** Selection, caret or content changed (not throttled). */
|
|
1865
|
+
onSelectionChange?(): void;
|
|
1866
|
+
/** A format command, undo or redo ran. */
|
|
1867
|
+
onFormatChange?(reason: 'command' | 'undo' | 'redo'): void;
|
|
1868
|
+
/** Content changed (live; not yet committed). */
|
|
1869
|
+
onChange?(blocks: WeaveTextBlock[]): void;
|
|
1870
|
+
/** User asked to leave edit mode. */
|
|
1871
|
+
onRequestExit(reason: 'escape' | 'outside'): void;
|
|
1872
|
+
}
|
|
1873
|
+
declare class TextEditSession {
|
|
1874
|
+
readonly model: TextEditModel;
|
|
1875
|
+
private readonly target;
|
|
1876
|
+
private readonly host;
|
|
1877
|
+
private readonly id;
|
|
1878
|
+
private readonly abort;
|
|
1879
|
+
private textarea;
|
|
1880
|
+
private overlay;
|
|
1881
|
+
private blinkTimer;
|
|
1882
|
+
private caretOn;
|
|
1883
|
+
private dragging;
|
|
1884
|
+
private composing;
|
|
1885
|
+
private pendingTimer;
|
|
1886
|
+
private pendingFlush;
|
|
1887
|
+
private destroyed;
|
|
1888
|
+
private readonly initialJson;
|
|
1889
|
+
constructor(target: TextEditTarget, host: TextEditHost, id?: string);
|
|
1890
|
+
start(): void;
|
|
1891
|
+
/** Final content and whether it differs from when the session started. */
|
|
1892
|
+
getResult(): {
|
|
1893
|
+
blocks: WeaveTextBlock[];
|
|
1894
|
+
changed: boolean;
|
|
1895
|
+
};
|
|
1896
|
+
destroy(): void;
|
|
1897
|
+
focus(): void;
|
|
1898
|
+
private createTextarea;
|
|
1899
|
+
private syncTextarea;
|
|
1900
|
+
private positionTextarea;
|
|
1901
|
+
private caretStagePoint;
|
|
1902
|
+
private syncFromTextarea;
|
|
1903
|
+
/** Keys the session handles itself; everything else stays native. */
|
|
1904
|
+
private handleSessionKey;
|
|
1905
|
+
/** Format shortcuts and list key rules; only when rich text is enabled. */
|
|
1906
|
+
private handleRichKey;
|
|
1907
|
+
private handleNavigationKey;
|
|
1908
|
+
private onKeyDown;
|
|
1909
|
+
private onKeyUp;
|
|
1910
|
+
private onBeforeInput;
|
|
1911
|
+
private moveVertically;
|
|
1912
|
+
private onInput;
|
|
1913
|
+
private editKindFor;
|
|
1914
|
+
private onPaste;
|
|
1915
|
+
private onCompositionStart;
|
|
1916
|
+
private onCompositionEnd;
|
|
1917
|
+
/** Programmatic insert at the selection (paste, tests, host actions). */
|
|
1918
|
+
insertText(text: string, kind?: EditKind): void;
|
|
1919
|
+
undo(): void;
|
|
1920
|
+
redo(): void;
|
|
1921
|
+
private afterFormat;
|
|
1922
|
+
toggleMark(key: WeaveTextMarkKey): void;
|
|
1923
|
+
setMark(key: WeaveTextMarkKey, value: unknown): void;
|
|
1924
|
+
toggleList(kind: WeaveTextListKind): void;
|
|
1925
|
+
setAlign(align: WeaveTextBlockAlign | undefined): void;
|
|
1926
|
+
indent(): void;
|
|
1927
|
+
outdent(): void;
|
|
1928
|
+
getSelection(): {
|
|
1929
|
+
start: number;
|
|
1930
|
+
end: number;
|
|
1931
|
+
};
|
|
1932
|
+
getFormat(): WeaveTextSelectionFormat;
|
|
1933
|
+
private toLocal;
|
|
1934
|
+
private isInside;
|
|
1935
|
+
/**
|
|
1936
|
+
* True for pointer targets inside an element the app marked with
|
|
1937
|
+
* `data-weave-text-edit-keep` (e.g. a formatting toolbar): they neither
|
|
1938
|
+
* end the session nor, unless they are form fields, steal focus.
|
|
1939
|
+
*/
|
|
1940
|
+
private isKeepTarget;
|
|
1941
|
+
private onMouseDown;
|
|
1942
|
+
private onPointerDown;
|
|
1943
|
+
private lastClick;
|
|
1944
|
+
/**
|
|
1945
|
+
* Browsers report `detail` as 0 on pointerdown, so multi-click is counted
|
|
1946
|
+
* here (same spot, within 500 ms). A real `detail` still wins.
|
|
1947
|
+
*/
|
|
1948
|
+
private countClicks;
|
|
1949
|
+
/**
|
|
1950
|
+
* I-beam over the text box, like a text field. The canvas has no element to
|
|
1951
|
+
* give the browser a cursor, so it is set on the stage container; anything
|
|
1952
|
+
* outside the box (where a click leaves edit mode) gets the default one.
|
|
1953
|
+
*/
|
|
1954
|
+
private updateCursor;
|
|
1955
|
+
private onPointerMove;
|
|
1956
|
+
private onPointerUp;
|
|
1957
|
+
private afterSelectionChange;
|
|
1958
|
+
private afterContentChange;
|
|
1959
|
+
private sliceLayout;
|
|
1960
|
+
private flushPending;
|
|
1961
|
+
private applyContent;
|
|
1962
|
+
private createOverlay;
|
|
1963
|
+
private paintOverlay;
|
|
1964
|
+
private repaint;
|
|
1965
|
+
private startBlink;
|
|
1966
|
+
private resetBlink;
|
|
1967
|
+
}
|
|
1968
|
+
//#endregion
|
|
1542
1969
|
//#region src/nodes/shared/shape-label.types.d.ts
|
|
1543
1970
|
type WeaveShapeLabelProps = {
|
|
1544
1971
|
labelText?: string;
|
|
@@ -1554,6 +1981,8 @@ type WeaveShapeLabelProps = {
|
|
|
1554
1981
|
labelLineHeight?: number;
|
|
1555
1982
|
labelPaddingX?: number;
|
|
1556
1983
|
labelPaddingY?: number;
|
|
1984
|
+
/** Rich content written by the `native` engine; `labelText` is its plain mirror. */
|
|
1985
|
+
labelBlocks?: WeaveTextBlock[];
|
|
1557
1986
|
};
|
|
1558
1987
|
type WeaveShapeLabelTextBounds = {
|
|
1559
1988
|
x: number;
|
|
@@ -1561,10 +1990,44 @@ type WeaveShapeLabelTextBounds = {
|
|
|
1561
1990
|
width: number;
|
|
1562
1991
|
height: number;
|
|
1563
1992
|
};
|
|
1993
|
+
/** Label engine: `legacy` (Konva.Text + DOM textarea) or `native` (on-canvas). */
|
|
1994
|
+
type WeaveShapeLabelEngineKind = 'legacy' | 'native';
|
|
1995
|
+
type WeaveShapeLabelConfig = {
|
|
1996
|
+
/** Engine used to render and edit labels. Defaults to `legacy`. */
|
|
1997
|
+
engine: WeaveShapeLabelEngineKind;
|
|
1998
|
+
};
|
|
1999
|
+
/** Node rendering the label text. Both engines return a `Konva.Shape`. */
|
|
2000
|
+
type WeaveShapeLabelNode = Konva.Shape;
|
|
2001
|
+
/** Contract shared by the legacy and native label engines. */
|
|
2002
|
+
interface WeaveShapeLabelEngine {
|
|
2003
|
+
isEditing(): boolean;
|
|
2004
|
+
renderLabel(group: Konva.Group, props: WeaveElementAttributes, textBounds: WeaveShapeLabelTextBounds): WeaveShapeLabelNode;
|
|
2005
|
+
updateLabel(group: Konva.Group, nextProps: WeaveElementAttributes, textBounds: WeaveShapeLabelTextBounds, growCallback?: (neededShapeHeight: number) => void): void;
|
|
2006
|
+
triggerEditMode(group: Konva.Group, textBounds: WeaveShapeLabelTextBounds, onCommit: (labelText: string, labelBlocks?: WeaveTextBlock[]) => void, onLiveResize?: (neededShapeHeight: number) => void): void;
|
|
2007
|
+
exitEditMode(): void;
|
|
2008
|
+
repositionTextArea(group: Konva.Group, textBounds: WeaveShapeLabelTextBounds): void;
|
|
2009
|
+
}
|
|
2010
|
+
/** Emitted by the `native` label engine when a label edit session starts. */
|
|
2011
|
+
type WeaveShapeLabelOnEnterEditMode = {
|
|
2012
|
+
node: Konva.Group;
|
|
2013
|
+
/** Live session: run format commands (`toggleMark`, ...) on it. */
|
|
2014
|
+
session: TextEditSession;
|
|
2015
|
+
};
|
|
2016
|
+
/** Selection format changed during a native label edit session. */
|
|
2017
|
+
type WeaveShapeLabelOnFormatChange = {
|
|
2018
|
+
node: Konva.Group;
|
|
2019
|
+
format: WeaveTextSelectionFormat;
|
|
2020
|
+
};
|
|
2021
|
+
/** Emitted by the `native` label engine when a label edit session ends. */
|
|
2022
|
+
type WeaveShapeLabelOnExitEditMode = {
|
|
2023
|
+
node: Konva.Group;
|
|
2024
|
+
};
|
|
1564
2025
|
//#endregion
|
|
1565
2026
|
//#region src/nodes/rectangle/types.d.ts
|
|
1566
2027
|
type WeaveRectangleProperties = {
|
|
1567
2028
|
transform: WeaveNodeTransformerProperties;
|
|
2029
|
+
/** Label engine; defaults to `legacy`. */
|
|
2030
|
+
label?: Partial<WeaveShapeLabelConfig>;
|
|
1568
2031
|
};
|
|
1569
2032
|
type WeaveRectangleNodeParams = {
|
|
1570
2033
|
config: Partial<WeaveRectangleProperties>;
|
|
@@ -1597,6 +2060,8 @@ declare const WEAVE_RECTANGLE_NODE_TYPE = "rectangle";
|
|
|
1597
2060
|
//#region src/nodes/ellipse/types.d.ts
|
|
1598
2061
|
type WeaveEllipseProperties = {
|
|
1599
2062
|
transform: WeaveNodeTransformerProperties;
|
|
2063
|
+
/** Label engine; defaults to `legacy`. */
|
|
2064
|
+
label?: Partial<WeaveShapeLabelConfig>;
|
|
1600
2065
|
};
|
|
1601
2066
|
type WeaveEllipseNodeParams = {
|
|
1602
2067
|
config: Partial<WeaveEllipseProperties>;
|
|
@@ -1863,197 +2328,6 @@ declare class WeaveTextNode extends WeaveNode {
|
|
|
1863
2328
|
}, z.core.$strip>;
|
|
1864
2329
|
}
|
|
1865
2330
|
//#endregion
|
|
1866
|
-
//#region src/nodes/text-v2/model.d.ts
|
|
1867
|
-
/**
|
|
1868
|
-
* Pure text model: `blocks[] -> runs[{ t, m }]`. No Konva or DOM dependency.
|
|
1869
|
-
* `text` is a derived mirror: block texts joined by `\n`.
|
|
1870
|
-
*/
|
|
1871
|
-
type WeaveTextMarks = {
|
|
1872
|
-
bold?: boolean;
|
|
1873
|
-
italic?: boolean;
|
|
1874
|
-
underline?: boolean;
|
|
1875
|
-
strike?: boolean;
|
|
1876
|
-
color?: string;
|
|
1877
|
-
/** Ratio of the node base `fontSize` (1 is omitted). */
|
|
1878
|
-
size?: number;
|
|
1879
|
-
family?: string;
|
|
1880
|
-
/** Multiplier of the run font size (clamped 0.5 to 4). */
|
|
1881
|
-
lineHeight?: number;
|
|
1882
|
-
link?: string;
|
|
1883
|
-
[mark: string]: unknown;
|
|
1884
|
-
};
|
|
1885
|
-
type WeaveTextMarkKey = 'bold' | 'italic' | 'underline' | 'strike' | 'color' | 'size' | 'family' | 'lineHeight' | 'link';
|
|
1886
|
-
type WeaveTextListKind = 'ul' | 'ol';
|
|
1887
|
-
type WeaveTextBlockAlign = 'left' | 'center' | 'right';
|
|
1888
|
-
type WeaveTextRun = {
|
|
1889
|
-
t: string;
|
|
1890
|
-
m?: WeaveTextMarks;
|
|
1891
|
-
};
|
|
1892
|
-
type WeaveTextBlock = {
|
|
1893
|
-
runs: WeaveTextRun[];
|
|
1894
|
-
kind?: WeaveTextListKind;
|
|
1895
|
-
depth?: number;
|
|
1896
|
-
start?: number;
|
|
1897
|
-
align?: WeaveTextBlockAlign;
|
|
1898
|
-
};
|
|
1899
|
-
type MarkState = 'all' | 'none' | 'some';
|
|
1900
|
-
type MarkQuery = {
|
|
1901
|
-
state: MarkState;
|
|
1902
|
-
value?: unknown;
|
|
1903
|
-
};
|
|
1904
|
-
type WeaveTextSelectionFormat = {
|
|
1905
|
-
bold: MarkQuery;
|
|
1906
|
-
italic: MarkQuery;
|
|
1907
|
-
underline: MarkQuery;
|
|
1908
|
-
strike: MarkQuery;
|
|
1909
|
-
color: MarkQuery;
|
|
1910
|
-
family: MarkQuery;
|
|
1911
|
-
link: MarkQuery;
|
|
1912
|
-
lineHeight: MarkQuery;
|
|
1913
|
-
/** Paragraph alignment of the blocks in the range. */
|
|
1914
|
-
align: {
|
|
1915
|
-
state: MarkState;
|
|
1916
|
-
value?: WeaveTextBlockAlign;
|
|
1917
|
-
};
|
|
1918
|
-
/** `value` in px (ratio * base); `none` reports the base size. */
|
|
1919
|
-
size: MarkQuery;
|
|
1920
|
-
list: {
|
|
1921
|
-
kind: WeaveTextListKind | 'none' | 'mixed';
|
|
1922
|
-
depth?: number;
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
//#endregion
|
|
1926
|
-
//#region src/nodes/text-v2/layout/engine.d.ts
|
|
1927
|
-
/**
|
|
1928
|
-
* Text layout engine. Independent of `WeaveTextNode` and of any Konva node:
|
|
1929
|
-
* it takes blocks + a style + bounds, so other shapes (e.g. shape labels)
|
|
1930
|
-
* can reuse it. Wrapping is a port of the greedy algorithm in
|
|
1931
|
-
* `Konva.Text._setTextData` (binary search for the longest fitting prefix,
|
|
1932
|
-
* then back up to the last space/dash), LTR only.
|
|
1933
|
-
*/
|
|
1934
|
-
type TextWrap = 'word' | 'char' | 'none';
|
|
1935
|
-
type TextAlign = 'left' | 'center' | 'right';
|
|
1936
|
-
type TextLayoutStyle = {
|
|
1937
|
-
fontSize: number;
|
|
1938
|
-
fontFamily: string;
|
|
1939
|
-
fontStyle: string;
|
|
1940
|
-
fontVariant: string;
|
|
1941
|
-
lineHeight: number;
|
|
1942
|
-
letterSpacing: number;
|
|
1943
|
-
wrap: TextWrap;
|
|
1944
|
-
align: TextAlign;
|
|
1945
|
-
/** List indent per depth, as a multiple of `fontSize` (default 1.5). */
|
|
1946
|
-
indentStep?: number;
|
|
1947
|
-
};
|
|
1948
|
-
/** Bounds supplied by the target. `undefined` width/height means "auto". */
|
|
1949
|
-
type TextLayoutBounds = {
|
|
1950
|
-
width: number | undefined;
|
|
1951
|
-
height: number | undefined;
|
|
1952
|
-
padding: number;
|
|
1953
|
-
};
|
|
1954
|
-
type TextMeasurer = (font: string, text: string) => number;
|
|
1955
|
-
type LayoutSegment = {
|
|
1956
|
-
t: string;
|
|
1957
|
-
m?: WeaveTextMarks;
|
|
1958
|
-
/** x offset relative to the line start. */
|
|
1959
|
-
x: number;
|
|
1960
|
-
width: number;
|
|
1961
|
-
/** Run index inside its paragraph (hit testing / hover). */
|
|
1962
|
-
run: number;
|
|
1963
|
-
/** Resolved canvas font and size (px) of the run. */
|
|
1964
|
-
font: string;
|
|
1965
|
-
fontSize: number;
|
|
1966
|
-
};
|
|
1967
|
-
type LayoutMarker = {
|
|
1968
|
-
text: string;
|
|
1969
|
-
/** x relative to the content box (before padding). */
|
|
1970
|
-
x: number;
|
|
1971
|
-
font: string;
|
|
1972
|
-
fontSize: number;
|
|
1973
|
-
color?: string;
|
|
1974
|
-
};
|
|
1975
|
-
type LayoutLine = {
|
|
1976
|
-
paragraph: number;
|
|
1977
|
-
/** Global character offsets [start, end) in the derived `text` string. */
|
|
1978
|
-
start: number;
|
|
1979
|
-
end: number;
|
|
1980
|
-
text: string;
|
|
1981
|
-
/** Width of the trimmed line text. */
|
|
1982
|
-
width: number;
|
|
1983
|
-
/** Width Konva reports for the line before trimming (for textWidth parity). */
|
|
1984
|
-
measuredWidth: number;
|
|
1985
|
-
/** Alignment x offset (0 for left). */
|
|
1986
|
-
offsetX: number;
|
|
1987
|
-
y: number;
|
|
1988
|
-
/** Line box height and baseline offset from the line top. */
|
|
1989
|
-
height: number;
|
|
1990
|
-
baseline: number;
|
|
1991
|
-
/** Indent of the text (list blocks), already included in `offsetX`. */
|
|
1992
|
-
indent: number;
|
|
1993
|
-
marker?: LayoutMarker;
|
|
1994
|
-
/** Resolved paragraph alignment. */
|
|
1995
|
-
align: TextAlign;
|
|
1996
|
-
segments: LayoutSegment[];
|
|
1997
|
-
lastInParagraph: boolean;
|
|
1998
|
-
};
|
|
1999
|
-
type TextLayout = {
|
|
2000
|
-
lines: LayoutLine[];
|
|
2001
|
-
/** Widest line, like `Konva.Text.getTextWidth()`. */
|
|
2002
|
-
textWidth: number;
|
|
2003
|
-
/** Font size, like `Konva.Text.getTextHeight()`. */
|
|
2004
|
-
textHeight: number;
|
|
2005
|
-
lineHeightPx: number;
|
|
2006
|
-
/** Sum of line heights (without padding). */
|
|
2007
|
-
contentHeight: number;
|
|
2008
|
-
/** Resolved node size, like `Konva.Text.width()/height()`. */
|
|
2009
|
-
width: number;
|
|
2010
|
-
height: number;
|
|
2011
|
-
};
|
|
2012
|
-
type FontMetrics = {
|
|
2013
|
-
ascent: number;
|
|
2014
|
-
descent: number;
|
|
2015
|
-
};
|
|
2016
|
-
type MetricsProvider = (font: string, size: number) => FontMetrics;
|
|
2017
|
-
declare class TextLayoutEngine {
|
|
2018
|
-
private readonly measure;
|
|
2019
|
-
private readonly cache;
|
|
2020
|
-
private paragraphs;
|
|
2021
|
-
/** Entries by signature, so paragraphs that shifted index are reused. */
|
|
2022
|
-
private pool;
|
|
2023
|
-
private lastParagraphsRelaid;
|
|
2024
|
-
private readonly metrics;
|
|
2025
|
-
constructor(measurer?: TextMeasurer, metrics?: MetricsProvider);
|
|
2026
|
-
/** Number of paragraphs recomputed by the last `layout()` call. */
|
|
2027
|
-
getLastRelaidCount(): number;
|
|
2028
|
-
clearCaches(): void;
|
|
2029
|
-
/** Text indent of a block in px (0 for plain paragraphs). */
|
|
2030
|
-
private indentFor;
|
|
2031
|
-
private sigFor;
|
|
2032
|
-
/**
|
|
2033
|
-
* Pre-compute paragraph layouts for `blocks` within a time budget so a
|
|
2034
|
-
* following `layout()` is cheap. Call repeatedly until it returns true.
|
|
2035
|
-
* Lets callers time-slice very large content (e.g. bulk paste).
|
|
2036
|
-
*/
|
|
2037
|
-
warm(blocks: WeaveTextBlock[], style: TextLayoutStyle, bounds: TextLayoutBounds, budgetMs: number): boolean;
|
|
2038
|
-
private measureChunk;
|
|
2039
|
-
layout(blocks: WeaveTextBlock[], style: TextLayoutStyle, bounds: TextLayoutBounds): TextLayout;
|
|
2040
|
-
/** Append a paragraph's lines to `lines`; stops once a fixed height is full. */
|
|
2041
|
-
private emitLines;
|
|
2042
|
-
private stepPx;
|
|
2043
|
-
private rangeWidth;
|
|
2044
|
-
/**
|
|
2045
|
-
* Longest prefix of graphemes[start..n) that fits `maxWidth`, found with an
|
|
2046
|
-
* exponential probe (bounds the work to about one line) plus a binary
|
|
2047
|
-
* search, like Konva. Always consumes at least one grapheme.
|
|
2048
|
-
*/
|
|
2049
|
-
private longestFit;
|
|
2050
|
-
private layoutParagraph;
|
|
2051
|
-
/** Per-line box height and baseline from the runs on each line. */
|
|
2052
|
-
private measureLines;
|
|
2053
|
-
private wrapParagraph;
|
|
2054
|
-
private buildSegments;
|
|
2055
|
-
}
|
|
2056
|
-
//#endregion
|
|
2057
2331
|
//#region src/nodes/text-v2/shape.d.ts
|
|
2058
2332
|
type TextVerticalAlign = 'top' | 'middle' | 'bottom';
|
|
2059
2333
|
type TextV2ShapeConfig = Konva.ShapeConfig & {
|
|
@@ -2300,6 +2574,11 @@ declare class WeaveTextV2Node extends WeaveNode {
|
|
|
2300
2574
|
private linkOverrides;
|
|
2301
2575
|
private outlineProps;
|
|
2302
2576
|
onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
2577
|
+
/**
|
|
2578
|
+
* Enter typed into another editor (a shape label session or any text
|
|
2579
|
+
* field) must keep its default action (a new line).
|
|
2580
|
+
*/
|
|
2581
|
+
private isEditingElsewhere;
|
|
2303
2582
|
private readonly handleKeyPress;
|
|
2304
2583
|
private registerKeyPress;
|
|
2305
2584
|
onAdd(): void;
|
|
@@ -2836,6 +3115,8 @@ type WeavePolygonInnerRect = {
|
|
|
2836
3115
|
};
|
|
2837
3116
|
type WeavePolygonProperties = {
|
|
2838
3117
|
transform: WeaveNodeTransformerProperties;
|
|
3118
|
+
/** Label engine; defaults to `legacy`. */
|
|
3119
|
+
label?: Partial<WeaveShapeLabelConfig>;
|
|
2839
3120
|
};
|
|
2840
3121
|
type WeavePolygonNodeParams = {
|
|
2841
3122
|
config: Partial<WeavePolygonProperties>;
|
|
@@ -2936,7 +3217,7 @@ type WeaveFrameNodeParams = {
|
|
|
2936
3217
|
//#endregion
|
|
2937
3218
|
//#region src/nodes/frame/frame.d.ts
|
|
2938
3219
|
declare class WeaveFrameNode extends WeaveNode {
|
|
2939
|
-
private config;
|
|
3220
|
+
private readonly config;
|
|
2940
3221
|
protected nodeType: string;
|
|
2941
3222
|
initialize: undefined;
|
|
2942
3223
|
constructor(params?: WeaveFrameNodeParams);
|
|
@@ -3463,7 +3744,7 @@ type WeaveVideoOnVideoStopEvent = {
|
|
|
3463
3744
|
//#endregion
|
|
3464
3745
|
//#region src/nodes/video/video.d.ts
|
|
3465
3746
|
declare class WeaveVideoNode extends WeaveNode {
|
|
3466
|
-
private config;
|
|
3747
|
+
private readonly config;
|
|
3467
3748
|
private videoIconImage;
|
|
3468
3749
|
private videoState;
|
|
3469
3750
|
private videoSourceFrameId;
|
|
@@ -3698,16 +3979,19 @@ declare class WeaveConnectorNode extends WeaveNode {
|
|
|
3698
3979
|
//#endregion
|
|
3699
3980
|
//#region src/nodes/shared/shape-label.constants.d.ts
|
|
3700
3981
|
declare const WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE = "shape-label-edition";
|
|
3701
|
-
declare const WEAVE_SHAPE_LABEL_DEFAULTS: Required<WeaveShapeLabelProps
|
|
3982
|
+
declare const WEAVE_SHAPE_LABEL_DEFAULTS: Required<Omit<WeaveShapeLabelProps, 'labelBlocks'>>;
|
|
3702
3983
|
declare const labelId: (id: string) => string;
|
|
3703
3984
|
//#endregion
|
|
3704
3985
|
//#region src/nodes/shared/shape-label.utils.d.ts
|
|
3705
3986
|
/**
|
|
3706
|
-
*
|
|
3707
|
-
*
|
|
3708
|
-
* `addNodeState` / `updateNodeState` to avoid duplicating the 12-field pattern
|
|
3709
|
-
* across every shape node that supports inline text labels.
|
|
3987
|
+
* `labelBlocks` are replaced wholesale and cleared when the next props carry
|
|
3988
|
+
* none (the state merge alone would keep a stale value).
|
|
3710
3989
|
*/
|
|
3990
|
+
declare function applyLabelBlocksState<T extends {
|
|
3991
|
+
props: Record<string, unknown>;
|
|
3992
|
+
}>(state: T, nextProps: WeaveElementAttributes): T;
|
|
3993
|
+
/** Stored rich blocks, only when they still match the plain `labelText`. */
|
|
3994
|
+
declare function resolveLabelBlocks(props: WeaveElementAttributes): WeaveTextBlock[] | undefined;
|
|
3711
3995
|
declare function spreadLabelProps(props: WeaveElementAttributes): Partial<WeaveElementAttributes>;
|
|
3712
3996
|
/**
|
|
3713
3997
|
* Returns the shared Zod schema fields for inline text label properties.
|
|
@@ -3728,6 +4012,23 @@ declare function getShapeLabelSchemaFields(): {
|
|
|
3728
4012
|
labelLineHeight: z.ZodOptional<z.ZodNumber>;
|
|
3729
4013
|
labelPaddingX: z.ZodOptional<z.ZodNumber>;
|
|
3730
4014
|
labelPaddingY: z.ZodOptional<z.ZodNumber>;
|
|
4015
|
+
labelBlocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4016
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
4017
|
+
t: z.ZodString;
|
|
4018
|
+
m: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
4019
|
+
}, z.core.$strip>>;
|
|
4020
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
4021
|
+
ul: "ul";
|
|
4022
|
+
ol: "ol";
|
|
4023
|
+
}>>;
|
|
4024
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
4025
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
4026
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
4027
|
+
left: "left";
|
|
4028
|
+
center: "center";
|
|
4029
|
+
right: "right";
|
|
4030
|
+
}>>;
|
|
4031
|
+
}, z.core.$strip>>>;
|
|
3731
4032
|
};
|
|
3732
4033
|
/**
|
|
3733
4034
|
* Returns the minimum bounding size `{ width, height }` (in Konva canvas
|
|
@@ -6449,5 +6750,5 @@ declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
|
6449
6750
|
private getAllGuides;
|
|
6450
6751
|
}
|
|
6451
6752
|
//#endregion
|
|
6452
|
-
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_DEFAULT_CONFIG, BRUSH_TOOL_STATE, BoundingBoxWithId, CONNECTOR_TOOL_ACTION_NAME, CONNECTOR_TOOL_DEFAULT_CONFIG, CONNECTOR_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, DEFAULT_GUIDE_TOOL_ACTION_CONFIG, DEFAULT_SNAPPING_MANAGER_CONFIG, DOMElement, DistanceInfoH, DistanceInfoV, DistanceOrigin, DistanceOriginKeys, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_DISTANCE_NAME, GUIDE_DISTANCE_ORIGIN, GUIDE_KIND, GUIDE_NAME, GUIDE_ORIENTATION, GUIDE_STATE, GUIDE_TOOL_ACTION_NAME, GUIDE_TOOL_STATE, Guide, GuideDistanceToTargetInfoConfig, GuideDistanceToTargetInfoParams, GuideDistanceToTargetInfoStyle, GuideKind, GuideKindKeys, GuideKindOnlyCustomOrStatic, GuideOrientation, GuideOrientationKeys, GuideToolActionConfig, GuideToolActionParams, GuideToolActionState, GuideToolActionStateKeys, GuideToolActionStyle, GuideToolActionTriggerParams, HIntersection, ImageInfo, ImageOptions, ImageProps, ImageToolActionData, LINE_TOOL_ACTION_NAME, LINE_TOOL_DEFAULT_CONFIG, LINE_TOOL_STATE, MEASURE_TOOL_ACTION_NAME, MEASURE_TOOL_STATE, MOVE_ORIENTATION, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, MoveOrientation, MoveOrientationKeys, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, POLYGON_TOOL_ACTION_NAME, POLYGON_TOOL_STATE, PREVIEW_HANDOVER_MAX_FRAMES, PREVIEW_ID_SUFFIX, PaddingOnPaste, RECTANGLE_TOOL_ACTION_NAME, RECTANGLE_TOOL_STATE, REGULAR_POLYGON_TOOL_ACTION_NAME, REGULAR_POLYGON_TOOL_STATE, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, STAGE_MINIMAP_DEFAULT_CONFIG, STAR_TOOL_ACTION_NAME, STAR_TOOL_STATE, SnapMatch, SnapOptions, SnapPoint, SnapResult, SnappingManagerKindStyle, SnappingManagerMovementConfig, SnappingManagerPersistenceConfig, SnappingManagerStyle, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextLayoutEngine, TextSerializable, type TextV2ShapeConfig, VIDEO_TOOL_ACTION_NAME, VIDEO_TOOL_STATE, VIntersection, VideoBackgroundStyle, VideoIconBackgroundStyle, VideoIconStyle, VideoProps, VideoStyle, VideoTrackStyle, VisibleWorldRect, WEAVE_ARROW_NODE_TYPE, WEAVE_ARROW_TOOL_ACTION_NAME, WEAVE_ARROW_TOOL_STATE, WEAVE_COMMENTS_RENDERER_KEY, WEAVE_COMMENTS_TOOL_LAYER_ID, WEAVE_COMMENT_CREATE_ACTION, WEAVE_COMMENT_NODE_ACTION, WEAVE_COMMENT_NODE_DEFAULTS, WEAVE_COMMENT_NODE_TYPE, WEAVE_COMMENT_STATUS, WEAVE_COMMENT_TOOL_ACTION_NAME, WEAVE_COMMENT_TOOL_DEFAULT_CONFIG, WEAVE_COMMENT_TOOL_STATE, WEAVE_COMMENT_VIEW_ACTION, WEAVE_CONNECTOR_NODE_ANCHOR_ORIGIN, WEAVE_CONNECTOR_NODE_DECORATOR_TYPE, WEAVE_CONNECTOR_NODE_DEFAULT_CONFIG, WEAVE_CONNECTOR_NODE_LINE_ORIGIN, WEAVE_CONNECTOR_NODE_LINE_TYPE, WEAVE_CONNECTOR_NODE_TYPE, WEAVE_COPY_PASTE_CONFIG_DEFAULT, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_COPY_PASTE_PASTE_CATCHER_ID, WEAVE_COPY_PASTE_PASTE_MODES, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_ELLIPSE_NODE_TYPE, WEAVE_FRAME_DEFAULT_BACKGROUND_COLOR, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_CONFIG, WEAVE_GRID_DOT_TYPES, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGES_TOOL_ACTION_NAME, WEAVE_IMAGES_TOOL_DEFAULT_CONFIG, WEAVE_IMAGES_TOOL_STATE, WEAVE_IMAGES_TOOL_UPLOAD_TYPE, WEAVE_IMAGE_CROP_ANCHOR_POSITION, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_DEFAULT_CONFIG, WEAVE_IMAGE_NODE_TYPE, WEAVE_IMAGE_TOOL_ACTION_NAME, WEAVE_IMAGE_TOOL_CONFIG_DEFAULT, WEAVE_IMAGE_TOOL_STATE, WEAVE_IMAGE_TOOL_UPLOAD_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_DEFAULT_CONFIG, WEAVE_LINE_NODE_TYPE, WEAVE_MEASURE_NODE_DEFAULT_CONFIG, WEAVE_MEASURE_NODE_TYPE, WEAVE_MEASURE_TOOL_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_KEY, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_LAYER_ID, WEAVE_NODES_SELECTION_DEFAULT_CONFIG, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_PLUGIN_KEY, WEAVE_POLYGON_NODE_TYPE, WEAVE_POLYGON_PRESETS, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_SHAPE_LABEL_DEFAULTS, WEAVE_STAGE_DEFAULT_MODE, WEAVE_STAGE_DROP_AREA_KEY, WEAVE_STAGE_GRID_PLUGIN_KEY, WEAVE_STAGE_IMAGE_CROPPING_MODE, WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG, WEAVE_STAGE_KEYBOARD_MOVE_KEY, WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION, WEAVE_STAGE_MINIMAP_KEY, WEAVE_STAGE_NODE_TYPE, WEAVE_STAGE_PANNING_DEFAULT_CONFIG, WEAVE_STAGE_PANNING_KEY, WEAVE_STAGE_PANNING_THROTTLE_MS, WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE, WEAVE_STAGE_TEXT_EDITION_MODE, WEAVE_STAGE_ZOOM_DEFAULT_CONFIG, WEAVE_STAGE_ZOOM_KEY, WEAVE_STAGE_ZOOM_TYPE, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_NODE_TYPE, WEAVE_STROKE_SINGLE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_SINGLE_NODE_TIP_SIDE, WEAVE_STROKE_SINGLE_NODE_TIP_TYPE, WEAVE_STROKE_SINGLE_NODE_TYPE, WEAVE_STROKE_TOOL_ACTION_NAME, WEAVE_STROKE_TOOL_ACTION_NAME_ALIASES, WEAVE_STROKE_TOOL_DEFAULT_CONFIG, WEAVE_STROKE_TOOL_STATE, WEAVE_TEXT_LINK_ALLOWED_PROTOCOLS, WEAVE_TEXT_NODE_DEFAULT_CONFIG, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_PRESENCE_CONFIG_DEFAULT_PROPS, WEAVE_USERS_PRESENCE_PLUGIN_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTER_KEY, WEAVE_USER_PRESENCE_KEY, WEAVE_USER_SELECTION_KEY, WEAVE_VIDEO_DEFAULT_CONFIG, WEAVE_VIDEO_NODE_TYPE, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveAlignNodesToolAction, WeaveAlignNodesToolActionAlignTo, WeaveAlignNodesToolActionAlignToKeys, WeaveAlignNodesToolActionState, WeaveAlignNodesToolActionStateKeys, WeaveAlignNodesToolActionTriggerParams, WeaveAnchorSnap, WeaveArea, WeaveArrowNode, WeaveArrowNodeParams, WeaveArrowProperties, WeaveArrowToolAction, WeaveArrowToolActionParams, WeaveArrowToolActionProperties, WeaveArrowToolActionState, WeaveArrowToolActionStateKeys, WeaveBrushToolAction, WeaveBrushToolActionOnAddedEvent, WeaveBrushToolActionOnAddingEvent, WeaveBrushToolActionParams, WeaveBrushToolActionProperties, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveCanPasteOntoFunction, WeaveCommentNode, WeaveCommentNodeAction, WeaveCommentNodeActionKeys, WeaveCommentNodeConfig, WeaveCommentNodeCreateAction, WeaveCommentNodeCreateActionKeys, WeaveCommentNodeModel, WeaveCommentNodeOnCreateCommentEvent, WeaveCommentNodeOnDragEndEvent, WeaveCommentNodeOnFinishCreateEvent, WeaveCommentNodeOnViewEvent, WeaveCommentNodeParams, WeaveCommentNodeStyle, WeaveCommentNodeViewAction, WeaveCommentNodeViewActionKeys, WeaveCommentStatus, WeaveCommentStatusKeys, WeaveCommentToolAction, WeaveCommentToolActionConfig, WeaveCommentToolActionParams, WeaveCommentToolActionState, WeaveCommentToolActionStateKeys, WeaveCommentToolModel, WeaveCommentToolStyle, WeaveCommentsRendererModel, WeaveCommentsRendererPlugin, WeaveCommentsRendererPluginConfig, WeaveCommentsRendererPluginParams, WeaveConfig, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveConnectorNode, WeaveConnectorNodeAnchor, WeaveConnectorNodeAnchorPosition, WeaveConnectorNodeDecoratorType, WeaveConnectorNodeDecoratorTypeKeys, WeaveConnectorNodeInfo, WeaveConnectorNodeLineOrigin, WeaveConnectorNodeLineOriginKeys, WeaveConnectorNodeLineType, WeaveConnectorNodeLineTypeKeys, WeaveConnectorNodeParams, WeaveConnectorNodeProperties, WeaveConnectorToolAction, WeaveConnectorToolActionParams, WeaveConnectorToolActionProperties, WeaveConnectorToolActionState, WeaveConnectorToolActionStateKeys, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginConfig, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginParams, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveCopyPastePasteMode, WeaveCopyPastePasteModeKeys, WeaveEllipseNode, WeaveEllipseNodeParams, WeaveEllipseProperties, WeaveEllipseToolAction, WeaveEllipseToolActionOnAddedEvent, WeaveEllipseToolActionOnAddingEvent, WeaveEllipseToolActionState, WeaveEllipseToolActionStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodesActionParams, WeaveExportNodesToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFontFace, WeaveFontFamily, WeaveFontsPreloadFunction, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionOnAddedEvent, WeaveFrameToolActionOnAddingEvent, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGetStaticGuidesFunction, WeaveGroupNode, WeaveGroupNodeParams, WeaveGroupProperties, WeaveGuideToolAction, WeaveImageCache, WeaveImageCropAnchorPosition, WeaveImageCropAnchorPositionKeys, WeaveImageCropEndType, WeaveImageCropEndTypeKeys, WeaveImageCursors, WeaveImageFile, WeaveImageFlipAxis, WeaveImageFlipOptions, WeaveImageNode, WeaveImageNodeParams, WeaveImageOnCropEndEvent, WeaveImageOnCropStartEvent, WeaveImageProperties, WeaveImageState, WeaveImageToolAction, WeaveImageToolActionConfig, WeaveImageToolActionOnAddedEvent, WeaveImageToolActionOnImageUploadedErrorEvent, WeaveImageToolActionOnImageUploadedEvent, WeaveImageToolActionParams, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerCommonParams, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveImageToolActionUploadFunction, WeaveImageToolActionUploadType, WeaveImageToolActionUploadTypeKeys, WeaveImageToolDragAndDropProperties, WeaveImageTriggerCropOptions, WeaveImageURL, WeaveImagesFile, WeaveImagesToolAction, WeaveImagesToolActionInternalUploadFunction, WeaveImagesToolActionOnAddedEvent, WeaveImagesToolActionOnFinishedUploadingFunction, WeaveImagesToolActionOnStartUploadingFunction, WeaveImagesToolActionParams, WeaveImagesToolActionState, WeaveImagesToolActionStateKeys, WeaveImagesToolActionTriggerCommonParams, WeaveImagesToolActionTriggerParams, WeaveImagesToolActionUploadFunction, WeaveImagesToolActionUploadType, WeaveImagesToolActionUploadTypeKeys, WeaveImagesToolDragAndDropProperties, WeaveImagesURL, WeaveInstanceStatusEvent, WeaveLayerNode, WeaveLineNode, WeaveLineNodeParams, WeaveLineProperties, WeaveLineToolAction, WeaveLineToolActionParams, WeaveLineToolActionProperties, WeaveLineToolActionState, WeaveLineToolActionStateKeys, WeaveMeasureNode, WeaveMeasureToolAction, WeaveMeasureToolActionState, WeaveMeasureToolActionStateKeys, WeaveMeasureToolParams, WeaveMeasureToolProperties, WeaveMoveToolAction, WeaveMoveToolActionParams, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveMutexLockChangeEvent, WeaveNode, WeaveNodeChangedContainerEvent, WeaveNodesMultiSelectionFeedbackConfig, WeaveNodesMultiSelectionFeedbackPlugin, WeaveNodesMultiSelectionFeedbackPluginConfig, WeaveNodesMultiSelectionFeedbackPluginParams, WeaveNodesMultiSelectionFeedbackStyle, WeaveNodesSelectionBehaviorsConfig, WeaveNodesSelectionConfig, WeaveNodesSelectionMode, WeaveNodesSelectionOnSelectionParams, WeaveNodesSelectionPanningOnSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnGroupContextChangeEvent, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionStyleConfig, WeaveNodesSnappingCustomGuidesConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionOnAddedEvent, WeavePenToolActionOnAddingEvent, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePerformanceConfig, WeavePlugin, WeavePolygonInnerRect, WeavePolygonNode, WeavePolygonNodeParams, WeavePolygonPoint, WeavePolygonPreset, WeavePolygonPresetDef, WeavePolygonProperties, WeavePolygonToolAction, WeavePolygonToolActionState, WeavePolygonToolActionStateKeys, WeavePolygonToolActionTriggerParams, WeaveRectangleNode, WeaveRectangleNodeParams, WeaveRectangleProperties, WeaveRectangleToolAction, WeaveRectangleToolActionOnAddedEvent, WeaveRectangleToolActionOnAddingEvent, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveRegularPolygonNode, WeaveRegularPolygonNodeParams, WeaveRegularPolygonProperties, WeaveRegularPolygonToolAction, WeaveRegularPolygonToolActionOnAddedEvent, WeaveRegularPolygonToolActionOnAddingEvent, WeaveRegularPolygonToolActionState, WeaveRegularPolygonToolActionStateKeys, WeaveRenderer, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveShapeLabelProps, WeaveShapeLabelTextBounds, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridDotType, WeaveStageGridDotTypeKeys, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageKeyboardMovePlugin, WeaveStageMinimapPlugin, WeaveStageMinimapPluginConfig, WeaveStageMinimapPluginParams, WeaveStageMinimapPluginStyle, WeaveStageNode, WeaveStagePanningPlugin, WeaveStagePanningPluginConfig, WeaveStagePanningPluginParams, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStageZoomType, WeaveStageZoomTypeKeys, WeaveStarNode, WeaveStarNodeParams, WeaveStarProperties, WeaveStarToolAction, WeaveStarToolActionOnAddedEvent, WeaveStarToolActionOnAddingEvent, WeaveStarToolActionState, WeaveStarToolActionStateKeys, WeaveStateManipulation, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRedoChangeEvent, WeaveStoreOnRoomChangedEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnRoomSwitchingEndEvent, WeaveStoreOnRoomSwitchingStartEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnStateMetadataChangeEvent, WeaveStoreOnUndoChangeEvent, WeaveStoreOnUndoRedoChangeEvent, WeaveStrokeNode, WeaveStrokeNodeParams, WeaveStrokePoint, WeaveStrokeProperties, WeaveStrokeSingleNode, WeaveStrokeSingleNodeParams, WeaveStrokeSingleNodeTipSide, WeaveStrokeSingleNodeTipSideKeys, WeaveStrokeSingleProperties, WeaveStrokeToolAction, WeaveStrokeToolActionOnAddedEvent, WeaveStrokeToolActionOnAddingEvent, WeaveStrokeToolActionParams, WeaveStrokeToolActionProperties, WeaveStrokeToolActionState, WeaveStrokeToolActionStateKeys, WeaveTextCursorProperties, WeaveTextEditionProperties, WeaveTextLayout, WeaveTextLayoutKeys, WeaveTextLinkProperties, WeaveTextNode, WeaveTextNodeOnEnterTextNodeEditMode, WeaveTextNodeOnExitTextNodeEditMode, WeaveTextNodeParams, WeaveTextOutlineProperties, WeaveTextProperties, WeaveTextToolAction, WeaveTextToolActionState, WeaveTextToolActionStateKeys, WeaveTextV2Node, WeaveTextV2Shape, WeaveToPasteNode, WeaveUpscaleConfig, WeaveUserPointer, WeaveUserPointerKey, WeaveUserPointersUIProperties, WeaveUserPresence, WeaveUserPresenceInformation, WeaveUserPresenceKey, WeaveUserSelectionInfo, WeaveUserSelectionKey, WeaveUsersPointersPlugin, WeaveUsersPointersPluginConfig, WeaveUsersPointersPluginParams, WeaveUsersPresencePlugin, WeaveUsersPresencePluginConfig, WeaveUsersPresencePluginParams, WeaveUsersSelectionPlugin, WeaveUsersSelectionPluginConfig, WeaveUsersSelectionPluginParams, WeaveVideoNode, WeaveVideoNodeParams, WeaveVideoOnVideoPauseEvent, WeaveVideoOnVideoPlayEvent, WeaveVideoOnVideoStopEvent, WeaveVideoProperties, WeaveVideoState, WeaveVideoToolAction, WeaveVideoToolActionOnAddedEvent, WeaveVideoToolActionOnAddingEvent, WeaveVideoToolActionState, WeaveVideoToolActionStateKeys, WeaveVideoToolActionTriggerParams, WeaveVideoToolActionTriggerReturn, WeaveVideoToolDragAndDropProperties, WeaveVideoToolDragParams, WeaveZoomInToolAction, WeaveZoomInToolActionParams, WeaveZoomOutToolAction, WeaveZoomOutToolActionParams, buildAncestorGroupIds, canComposite, clearContainerTargets, computeEllipseLabelMinSize, computePolygonLabelMinSize, computeRectangleLabelMinSize, containerOverCursor, containsNodeDeep, defaultInitialState, downscaleImageFile, downscaleImageFromURL, getBoundingBox, getDownscaleRatio, getExportBoundingBox, getImageSizeFromFile, getJSONFromYjsBinary, getSelectedNodesMetadata, getShapeLabelSchemaFields, getStageClickPoint, getTargetAndSkipNodes, getTargetedNode, getTopmostShadowHost, getVisibleNodes, getVisibleNodesInViewport, hasFrames, hasImages, instantiatePreset, intersectArrays, isArray, isIOS, isInShadowDOM, isNodeInSelection, isNumber, isObject, isServer, labelId, loadImageSource, mapJsonToYjsArray, mapJsonToYjsElements, mapJsonToYjsMap, memoize, mergeExceptArrays, moveNodeToContainer, moveNodeToContainerNT, resetScale, setupCanvasBackend, setupSkiaBackend, sleep, spreadLabelProps, weavejsToYjsBinary };
|
|
6753
|
+
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_DEFAULT_CONFIG, BRUSH_TOOL_STATE, BoundingBoxWithId, CONNECTOR_TOOL_ACTION_NAME, CONNECTOR_TOOL_DEFAULT_CONFIG, CONNECTOR_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, DEFAULT_GUIDE_TOOL_ACTION_CONFIG, DEFAULT_SNAPPING_MANAGER_CONFIG, DOMElement, DistanceInfoH, DistanceInfoV, DistanceOrigin, DistanceOriginKeys, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_DISTANCE_NAME, GUIDE_DISTANCE_ORIGIN, GUIDE_KIND, GUIDE_NAME, GUIDE_ORIENTATION, GUIDE_STATE, GUIDE_TOOL_ACTION_NAME, GUIDE_TOOL_STATE, Guide, GuideDistanceToTargetInfoConfig, GuideDistanceToTargetInfoParams, GuideDistanceToTargetInfoStyle, GuideKind, GuideKindKeys, GuideKindOnlyCustomOrStatic, GuideOrientation, GuideOrientationKeys, GuideToolActionConfig, GuideToolActionParams, GuideToolActionState, GuideToolActionStateKeys, GuideToolActionStyle, GuideToolActionTriggerParams, HIntersection, ImageInfo, ImageOptions, ImageProps, ImageToolActionData, LINE_TOOL_ACTION_NAME, LINE_TOOL_DEFAULT_CONFIG, LINE_TOOL_STATE, MEASURE_TOOL_ACTION_NAME, MEASURE_TOOL_STATE, MOVE_ORIENTATION, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, MoveOrientation, MoveOrientationKeys, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, POLYGON_TOOL_ACTION_NAME, POLYGON_TOOL_STATE, PREVIEW_HANDOVER_MAX_FRAMES, PREVIEW_ID_SUFFIX, PaddingOnPaste, RECTANGLE_TOOL_ACTION_NAME, RECTANGLE_TOOL_STATE, REGULAR_POLYGON_TOOL_ACTION_NAME, REGULAR_POLYGON_TOOL_STATE, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, STAGE_MINIMAP_DEFAULT_CONFIG, STAR_TOOL_ACTION_NAME, STAR_TOOL_STATE, SnapMatch, SnapOptions, SnapPoint, SnapResult, SnappingManagerKindStyle, SnappingManagerMovementConfig, SnappingManagerPersistenceConfig, SnappingManagerStyle, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextLayoutEngine, TextSerializable, type TextV2ShapeConfig, VIDEO_TOOL_ACTION_NAME, VIDEO_TOOL_STATE, VIntersection, VideoBackgroundStyle, VideoIconBackgroundStyle, VideoIconStyle, VideoProps, VideoStyle, VideoTrackStyle, VisibleWorldRect, WEAVE_ARROW_NODE_TYPE, WEAVE_ARROW_TOOL_ACTION_NAME, WEAVE_ARROW_TOOL_STATE, WEAVE_COMMENTS_RENDERER_KEY, WEAVE_COMMENTS_TOOL_LAYER_ID, WEAVE_COMMENT_CREATE_ACTION, WEAVE_COMMENT_NODE_ACTION, WEAVE_COMMENT_NODE_DEFAULTS, WEAVE_COMMENT_NODE_TYPE, WEAVE_COMMENT_STATUS, WEAVE_COMMENT_TOOL_ACTION_NAME, WEAVE_COMMENT_TOOL_DEFAULT_CONFIG, WEAVE_COMMENT_TOOL_STATE, WEAVE_COMMENT_VIEW_ACTION, WEAVE_CONNECTOR_NODE_ANCHOR_ORIGIN, WEAVE_CONNECTOR_NODE_DECORATOR_TYPE, WEAVE_CONNECTOR_NODE_DEFAULT_CONFIG, WEAVE_CONNECTOR_NODE_LINE_ORIGIN, WEAVE_CONNECTOR_NODE_LINE_TYPE, WEAVE_CONNECTOR_NODE_TYPE, WEAVE_COPY_PASTE_CONFIG_DEFAULT, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_COPY_PASTE_PASTE_CATCHER_ID, WEAVE_COPY_PASTE_PASTE_MODES, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_ELLIPSE_NODE_TYPE, WEAVE_FRAME_DEFAULT_BACKGROUND_COLOR, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_CONFIG, WEAVE_GRID_DOT_TYPES, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGES_TOOL_ACTION_NAME, WEAVE_IMAGES_TOOL_DEFAULT_CONFIG, WEAVE_IMAGES_TOOL_STATE, WEAVE_IMAGES_TOOL_UPLOAD_TYPE, WEAVE_IMAGE_CROP_ANCHOR_POSITION, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_DEFAULT_CONFIG, WEAVE_IMAGE_NODE_TYPE, WEAVE_IMAGE_TOOL_ACTION_NAME, WEAVE_IMAGE_TOOL_CONFIG_DEFAULT, WEAVE_IMAGE_TOOL_STATE, WEAVE_IMAGE_TOOL_UPLOAD_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_DEFAULT_CONFIG, WEAVE_LINE_NODE_TYPE, WEAVE_MEASURE_NODE_DEFAULT_CONFIG, WEAVE_MEASURE_NODE_TYPE, WEAVE_MEASURE_TOOL_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_KEY, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_LAYER_ID, WEAVE_NODES_SELECTION_DEFAULT_CONFIG, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_PLUGIN_KEY, WEAVE_POLYGON_NODE_TYPE, WEAVE_POLYGON_PRESETS, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_SHAPE_LABEL_DEFAULTS, WEAVE_STAGE_DEFAULT_MODE, WEAVE_STAGE_DROP_AREA_KEY, WEAVE_STAGE_GRID_PLUGIN_KEY, WEAVE_STAGE_IMAGE_CROPPING_MODE, WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG, WEAVE_STAGE_KEYBOARD_MOVE_KEY, WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION, WEAVE_STAGE_MINIMAP_KEY, WEAVE_STAGE_NODE_TYPE, WEAVE_STAGE_PANNING_DEFAULT_CONFIG, WEAVE_STAGE_PANNING_KEY, WEAVE_STAGE_PANNING_THROTTLE_MS, WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE, WEAVE_STAGE_TEXT_EDITION_MODE, WEAVE_STAGE_ZOOM_DEFAULT_CONFIG, WEAVE_STAGE_ZOOM_KEY, WEAVE_STAGE_ZOOM_TYPE, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_NODE_TYPE, WEAVE_STROKE_SINGLE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_SINGLE_NODE_TIP_SIDE, WEAVE_STROKE_SINGLE_NODE_TIP_TYPE, WEAVE_STROKE_SINGLE_NODE_TYPE, WEAVE_STROKE_TOOL_ACTION_NAME, WEAVE_STROKE_TOOL_ACTION_NAME_ALIASES, WEAVE_STROKE_TOOL_DEFAULT_CONFIG, WEAVE_STROKE_TOOL_STATE, WEAVE_TEXT_LINK_ALLOWED_PROTOCOLS, WEAVE_TEXT_NODE_DEFAULT_CONFIG, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_PRESENCE_CONFIG_DEFAULT_PROPS, WEAVE_USERS_PRESENCE_PLUGIN_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTER_KEY, WEAVE_USER_PRESENCE_KEY, WEAVE_USER_SELECTION_KEY, WEAVE_VIDEO_DEFAULT_CONFIG, WEAVE_VIDEO_NODE_TYPE, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveAlignNodesToolAction, WeaveAlignNodesToolActionAlignTo, WeaveAlignNodesToolActionAlignToKeys, WeaveAlignNodesToolActionState, WeaveAlignNodesToolActionStateKeys, WeaveAlignNodesToolActionTriggerParams, WeaveAnchorSnap, WeaveArea, WeaveArrowNode, WeaveArrowNodeParams, WeaveArrowProperties, WeaveArrowToolAction, WeaveArrowToolActionParams, WeaveArrowToolActionProperties, WeaveArrowToolActionState, WeaveArrowToolActionStateKeys, WeaveBrushToolAction, WeaveBrushToolActionOnAddedEvent, WeaveBrushToolActionOnAddingEvent, WeaveBrushToolActionParams, WeaveBrushToolActionProperties, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveCanPasteOntoFunction, WeaveCommentNode, WeaveCommentNodeAction, WeaveCommentNodeActionKeys, WeaveCommentNodeConfig, WeaveCommentNodeCreateAction, WeaveCommentNodeCreateActionKeys, WeaveCommentNodeModel, WeaveCommentNodeOnCreateCommentEvent, WeaveCommentNodeOnDragEndEvent, WeaveCommentNodeOnFinishCreateEvent, WeaveCommentNodeOnViewEvent, WeaveCommentNodeParams, WeaveCommentNodeStyle, WeaveCommentNodeViewAction, WeaveCommentNodeViewActionKeys, WeaveCommentStatus, WeaveCommentStatusKeys, WeaveCommentToolAction, WeaveCommentToolActionConfig, WeaveCommentToolActionParams, WeaveCommentToolActionState, WeaveCommentToolActionStateKeys, WeaveCommentToolModel, WeaveCommentToolStyle, WeaveCommentsRendererModel, WeaveCommentsRendererPlugin, WeaveCommentsRendererPluginConfig, WeaveCommentsRendererPluginParams, WeaveConfig, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveConnectorNode, WeaveConnectorNodeAnchor, WeaveConnectorNodeAnchorPosition, WeaveConnectorNodeDecoratorType, WeaveConnectorNodeDecoratorTypeKeys, WeaveConnectorNodeInfo, WeaveConnectorNodeLineOrigin, WeaveConnectorNodeLineOriginKeys, WeaveConnectorNodeLineType, WeaveConnectorNodeLineTypeKeys, WeaveConnectorNodeParams, WeaveConnectorNodeProperties, WeaveConnectorToolAction, WeaveConnectorToolActionParams, WeaveConnectorToolActionProperties, WeaveConnectorToolActionState, WeaveConnectorToolActionStateKeys, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginConfig, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginParams, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveCopyPastePasteMode, WeaveCopyPastePasteModeKeys, WeaveEllipseNode, WeaveEllipseNodeParams, WeaveEllipseProperties, WeaveEllipseToolAction, WeaveEllipseToolActionOnAddedEvent, WeaveEllipseToolActionOnAddingEvent, WeaveEllipseToolActionState, WeaveEllipseToolActionStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodesActionParams, WeaveExportNodesToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFontFace, WeaveFontFamily, WeaveFontsPreloadFunction, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionOnAddedEvent, WeaveFrameToolActionOnAddingEvent, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGetStaticGuidesFunction, WeaveGroupNode, WeaveGroupNodeParams, WeaveGroupProperties, WeaveGuideToolAction, WeaveImageCache, WeaveImageCropAnchorPosition, WeaveImageCropAnchorPositionKeys, WeaveImageCropEndType, WeaveImageCropEndTypeKeys, WeaveImageCursors, WeaveImageFile, WeaveImageFlipAxis, WeaveImageFlipOptions, WeaveImageNode, WeaveImageNodeParams, WeaveImageOnCropEndEvent, WeaveImageOnCropStartEvent, WeaveImageProperties, WeaveImageState, WeaveImageToolAction, WeaveImageToolActionConfig, WeaveImageToolActionOnAddedEvent, WeaveImageToolActionOnImageUploadedErrorEvent, WeaveImageToolActionOnImageUploadedEvent, WeaveImageToolActionParams, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerCommonParams, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveImageToolActionUploadFunction, WeaveImageToolActionUploadType, WeaveImageToolActionUploadTypeKeys, WeaveImageToolDragAndDropProperties, WeaveImageTriggerCropOptions, WeaveImageURL, WeaveImagesFile, WeaveImagesToolAction, WeaveImagesToolActionInternalUploadFunction, WeaveImagesToolActionOnAddedEvent, WeaveImagesToolActionOnFinishedUploadingFunction, WeaveImagesToolActionOnStartUploadingFunction, WeaveImagesToolActionParams, WeaveImagesToolActionState, WeaveImagesToolActionStateKeys, WeaveImagesToolActionTriggerCommonParams, WeaveImagesToolActionTriggerParams, WeaveImagesToolActionUploadFunction, WeaveImagesToolActionUploadType, WeaveImagesToolActionUploadTypeKeys, WeaveImagesToolDragAndDropProperties, WeaveImagesURL, WeaveInstanceStatusEvent, WeaveLayerNode, WeaveLineNode, WeaveLineNodeParams, WeaveLineProperties, WeaveLineToolAction, WeaveLineToolActionParams, WeaveLineToolActionProperties, WeaveLineToolActionState, WeaveLineToolActionStateKeys, WeaveMeasureNode, WeaveMeasureToolAction, WeaveMeasureToolActionState, WeaveMeasureToolActionStateKeys, WeaveMeasureToolParams, WeaveMeasureToolProperties, WeaveMoveToolAction, WeaveMoveToolActionParams, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveMutexLockChangeEvent, WeaveNode, WeaveNodeChangedContainerEvent, WeaveNodesMultiSelectionFeedbackConfig, WeaveNodesMultiSelectionFeedbackPlugin, WeaveNodesMultiSelectionFeedbackPluginConfig, WeaveNodesMultiSelectionFeedbackPluginParams, WeaveNodesMultiSelectionFeedbackStyle, WeaveNodesSelectionBehaviorsConfig, WeaveNodesSelectionConfig, WeaveNodesSelectionMode, WeaveNodesSelectionOnSelectionParams, WeaveNodesSelectionPanningOnSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnGroupContextChangeEvent, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionStyleConfig, WeaveNodesSnappingCustomGuidesConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionOnAddedEvent, WeavePenToolActionOnAddingEvent, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePerformanceConfig, WeavePlugin, WeavePolygonInnerRect, WeavePolygonNode, WeavePolygonNodeParams, WeavePolygonPoint, WeavePolygonPreset, WeavePolygonPresetDef, WeavePolygonProperties, WeavePolygonToolAction, WeavePolygonToolActionState, WeavePolygonToolActionStateKeys, WeavePolygonToolActionTriggerParams, WeaveRectangleNode, WeaveRectangleNodeParams, WeaveRectangleProperties, WeaveRectangleToolAction, WeaveRectangleToolActionOnAddedEvent, WeaveRectangleToolActionOnAddingEvent, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveRegularPolygonNode, WeaveRegularPolygonNodeParams, WeaveRegularPolygonProperties, WeaveRegularPolygonToolAction, WeaveRegularPolygonToolActionOnAddedEvent, WeaveRegularPolygonToolActionOnAddingEvent, WeaveRegularPolygonToolActionState, WeaveRegularPolygonToolActionStateKeys, WeaveRenderer, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveShapeLabelConfig, WeaveShapeLabelEngine, WeaveShapeLabelEngineKind, WeaveShapeLabelNode, WeaveShapeLabelOnEnterEditMode, WeaveShapeLabelOnExitEditMode, WeaveShapeLabelOnFormatChange, WeaveShapeLabelProps, WeaveShapeLabelTextBounds, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridDotType, WeaveStageGridDotTypeKeys, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageKeyboardMovePlugin, WeaveStageMinimapPlugin, WeaveStageMinimapPluginConfig, WeaveStageMinimapPluginParams, WeaveStageMinimapPluginStyle, WeaveStageNode, WeaveStagePanningPlugin, WeaveStagePanningPluginConfig, WeaveStagePanningPluginParams, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStageZoomType, WeaveStageZoomTypeKeys, WeaveStarNode, WeaveStarNodeParams, WeaveStarProperties, WeaveStarToolAction, WeaveStarToolActionOnAddedEvent, WeaveStarToolActionOnAddingEvent, WeaveStarToolActionState, WeaveStarToolActionStateKeys, WeaveStateManipulation, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRedoChangeEvent, WeaveStoreOnRoomChangedEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnRoomSwitchingEndEvent, WeaveStoreOnRoomSwitchingStartEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnStateMetadataChangeEvent, WeaveStoreOnUndoChangeEvent, WeaveStoreOnUndoRedoChangeEvent, WeaveStrokeNode, WeaveStrokeNodeParams, WeaveStrokePoint, WeaveStrokeProperties, WeaveStrokeSingleNode, WeaveStrokeSingleNodeParams, WeaveStrokeSingleNodeTipSide, WeaveStrokeSingleNodeTipSideKeys, WeaveStrokeSingleProperties, WeaveStrokeToolAction, WeaveStrokeToolActionOnAddedEvent, WeaveStrokeToolActionOnAddingEvent, WeaveStrokeToolActionParams, WeaveStrokeToolActionProperties, WeaveStrokeToolActionState, WeaveStrokeToolActionStateKeys, WeaveTextCursorProperties, WeaveTextEditionProperties, WeaveTextLayout, WeaveTextLayoutKeys, WeaveTextLinkProperties, WeaveTextNode, WeaveTextNodeOnEnterTextNodeEditMode, WeaveTextNodeOnExitTextNodeEditMode, WeaveTextNodeParams, WeaveTextOutlineProperties, WeaveTextProperties, WeaveTextToolAction, WeaveTextToolActionState, WeaveTextToolActionStateKeys, WeaveTextV2Node, WeaveTextV2Shape, WeaveToPasteNode, WeaveUpscaleConfig, WeaveUserPointer, WeaveUserPointerKey, WeaveUserPointersUIProperties, WeaveUserPresence, WeaveUserPresenceInformation, WeaveUserPresenceKey, WeaveUserSelectionInfo, WeaveUserSelectionKey, WeaveUsersPointersPlugin, WeaveUsersPointersPluginConfig, WeaveUsersPointersPluginParams, WeaveUsersPresencePlugin, WeaveUsersPresencePluginConfig, WeaveUsersPresencePluginParams, WeaveUsersSelectionPlugin, WeaveUsersSelectionPluginConfig, WeaveUsersSelectionPluginParams, WeaveVideoNode, WeaveVideoNodeParams, WeaveVideoOnVideoPauseEvent, WeaveVideoOnVideoPlayEvent, WeaveVideoOnVideoStopEvent, WeaveVideoProperties, WeaveVideoState, WeaveVideoToolAction, WeaveVideoToolActionOnAddedEvent, WeaveVideoToolActionOnAddingEvent, WeaveVideoToolActionState, WeaveVideoToolActionStateKeys, WeaveVideoToolActionTriggerParams, WeaveVideoToolActionTriggerReturn, WeaveVideoToolDragAndDropProperties, WeaveVideoToolDragParams, WeaveZoomInToolAction, WeaveZoomInToolActionParams, WeaveZoomOutToolAction, WeaveZoomOutToolActionParams, applyLabelBlocksState, buildAncestorGroupIds, canComposite, clearContainerTargets, computeEllipseLabelMinSize, computePolygonLabelMinSize, computeRectangleLabelMinSize, containerOverCursor, containsNodeDeep, defaultInitialState, downscaleImageFile, downscaleImageFromURL, getBoundingBox, getDownscaleRatio, getExportBoundingBox, getImageSizeFromFile, getJSONFromYjsBinary, getSelectedNodesMetadata, getShapeLabelSchemaFields, getStageClickPoint, getTargetAndSkipNodes, getTargetedNode, getTopmostShadowHost, getVisibleNodes, getVisibleNodesInViewport, hasFrames, hasImages, instantiatePreset, intersectArrays, isArray, isIOS, isInShadowDOM, isNodeInSelection, isNumber, isObject, isServer, labelId, loadImageSource, mapJsonToYjsArray, mapJsonToYjsElements, mapJsonToYjsMap, memoize, mergeExceptArrays, moveNodeToContainer, moveNodeToContainerNT, resetScale, resolveLabelBlocks, setupCanvasBackend, setupSkiaBackend, sleep, spreadLabelProps, weavejsToYjsBinary };
|
|
6453
6754
|
//# sourceMappingURL=types.d.ts.map
|