@inditextech/weave-sdk 5.5.0 → 5.7.0-SNAPSHOT.595.1
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 +2454 -208
- package/dist/sdk.node.js +2468 -210
- package/dist/sdk.node.stats.html +1 -1
- package/dist/sdk.stats.html +1 -1
- package/dist/types.d.ts +378 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2468 -210
- package/dist/types.js.map +1 -1
- package/dist/types.stats.html +1 -1
- package/package.json +17 -8
package/dist/types.d.ts
CHANGED
|
@@ -879,6 +879,18 @@ declare abstract class WeaveNode implements WeaveNodeBase {
|
|
|
879
879
|
abstract onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
880
880
|
abstract onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
881
881
|
onDestroy(nodeInstance: WeaveElementInstance): void;
|
|
882
|
+
/**
|
|
883
|
+
* Registers a Weave instance listener on behalf of a node. Only one listener
|
|
884
|
+
* is kept per node and event: registering the same event again for the same
|
|
885
|
+
* node replaces the previous listener, including the ones registered by
|
|
886
|
+
* setupDefaultNodeEvents (onNodesChange, onSelectionState).
|
|
887
|
+
*/
|
|
888
|
+
protected setNodeInstanceListener<T>(node: Konva.Node, event: string, callback: (payload: T) => void): void;
|
|
889
|
+
/**
|
|
890
|
+
* Removes the listeners registered with setNodeInstanceListener for the node
|
|
891
|
+
* and, unless disabled, for its descendants.
|
|
892
|
+
*/
|
|
893
|
+
protected removeNodeInstanceListeners(node: Konva.Node, includeDescendants?: boolean): void;
|
|
882
894
|
onDestroyInstance(): void;
|
|
883
895
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
884
896
|
show(instance: Konva.Node): void;
|
|
@@ -1233,6 +1245,9 @@ declare class Weave {
|
|
|
1233
1245
|
width: number;
|
|
1234
1246
|
height: number;
|
|
1235
1247
|
};
|
|
1248
|
+
flipImage(node: Konva.Group, options: {
|
|
1249
|
+
axis: 'horizontal' | 'vertical';
|
|
1250
|
+
}): void;
|
|
1236
1251
|
stateTransactional(callback: () => void, origin?: string): void;
|
|
1237
1252
|
moveUp(node: WeaveElementInstance): void;
|
|
1238
1253
|
moveDown(node: WeaveElementInstance): void;
|
|
@@ -1848,6 +1863,335 @@ declare class WeaveTextNode extends WeaveNode {
|
|
|
1848
1863
|
}, z.core.$strip>;
|
|
1849
1864
|
}
|
|
1850
1865
|
//#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
|
+
link?: string;
|
|
1873
|
+
[mark: string]: unknown;
|
|
1874
|
+
};
|
|
1875
|
+
type WeaveTextRun = {
|
|
1876
|
+
t: string;
|
|
1877
|
+
m?: WeaveTextMarks;
|
|
1878
|
+
};
|
|
1879
|
+
type WeaveTextBlock = {
|
|
1880
|
+
runs: WeaveTextRun[];
|
|
1881
|
+
};
|
|
1882
|
+
//#endregion
|
|
1883
|
+
//#region src/nodes/text-v2/layout/engine.d.ts
|
|
1884
|
+
/**
|
|
1885
|
+
* Text layout engine. Independent of `WeaveTextNode` and of any Konva node:
|
|
1886
|
+
* it takes blocks + a style + bounds, so other shapes (e.g. shape labels)
|
|
1887
|
+
* can reuse it. Wrapping is a port of the greedy algorithm in
|
|
1888
|
+
* `Konva.Text._setTextData` (binary search for the longest fitting prefix,
|
|
1889
|
+
* then back up to the last space/dash), LTR only.
|
|
1890
|
+
*/
|
|
1891
|
+
type TextWrap = 'word' | 'char' | 'none';
|
|
1892
|
+
type TextAlign = 'left' | 'center' | 'right';
|
|
1893
|
+
type TextLayoutStyle = {
|
|
1894
|
+
fontSize: number;
|
|
1895
|
+
fontFamily: string;
|
|
1896
|
+
fontStyle: string;
|
|
1897
|
+
fontVariant: string;
|
|
1898
|
+
lineHeight: number;
|
|
1899
|
+
letterSpacing: number;
|
|
1900
|
+
wrap: TextWrap;
|
|
1901
|
+
align: TextAlign;
|
|
1902
|
+
};
|
|
1903
|
+
/** Bounds supplied by the target. `undefined` width/height means "auto". */
|
|
1904
|
+
type TextLayoutBounds = {
|
|
1905
|
+
width: number | undefined;
|
|
1906
|
+
height: number | undefined;
|
|
1907
|
+
padding: number;
|
|
1908
|
+
};
|
|
1909
|
+
type TextMeasurer = (font: string, text: string) => number;
|
|
1910
|
+
type LayoutSegment = {
|
|
1911
|
+
t: string;
|
|
1912
|
+
m?: WeaveTextMarks;
|
|
1913
|
+
/** x offset relative to the line start. */
|
|
1914
|
+
x: number;
|
|
1915
|
+
width: number;
|
|
1916
|
+
};
|
|
1917
|
+
type LayoutLine = {
|
|
1918
|
+
paragraph: number;
|
|
1919
|
+
/** Global character offsets [start, end) in the derived `text` string. */
|
|
1920
|
+
start: number;
|
|
1921
|
+
end: number;
|
|
1922
|
+
text: string;
|
|
1923
|
+
/** Width of the trimmed line text. */
|
|
1924
|
+
width: number;
|
|
1925
|
+
/** Width Konva reports for the line before trimming (for textWidth parity). */
|
|
1926
|
+
measuredWidth: number;
|
|
1927
|
+
/** Alignment x offset (0 for left). */
|
|
1928
|
+
offsetX: number;
|
|
1929
|
+
y: number;
|
|
1930
|
+
segments: LayoutSegment[];
|
|
1931
|
+
lastInParagraph: boolean;
|
|
1932
|
+
};
|
|
1933
|
+
type TextLayout = {
|
|
1934
|
+
lines: LayoutLine[];
|
|
1935
|
+
/** Widest line, like `Konva.Text.getTextWidth()`. */
|
|
1936
|
+
textWidth: number;
|
|
1937
|
+
/** Font size, like `Konva.Text.getTextHeight()`. */
|
|
1938
|
+
textHeight: number;
|
|
1939
|
+
lineHeightPx: number;
|
|
1940
|
+
/** Resolved node size, like `Konva.Text.width()/height()`. */
|
|
1941
|
+
width: number;
|
|
1942
|
+
height: number;
|
|
1943
|
+
};
|
|
1944
|
+
declare class TextLayoutEngine {
|
|
1945
|
+
private readonly measure;
|
|
1946
|
+
private readonly cache;
|
|
1947
|
+
private paragraphs;
|
|
1948
|
+
/** Entries by signature, so paragraphs that shifted index are reused. */
|
|
1949
|
+
private pool;
|
|
1950
|
+
private lastParagraphsRelaid;
|
|
1951
|
+
constructor(measurer?: TextMeasurer);
|
|
1952
|
+
/** Number of paragraphs recomputed by the last `layout()` call. */
|
|
1953
|
+
getLastRelaidCount(): number;
|
|
1954
|
+
clearCaches(): void;
|
|
1955
|
+
private paragraphSig;
|
|
1956
|
+
/**
|
|
1957
|
+
* Pre-compute paragraph layouts for `blocks` within a time budget so a
|
|
1958
|
+
* following `layout()` is cheap. Call repeatedly until it returns true.
|
|
1959
|
+
* Lets callers time-slice very large content (e.g. bulk paste).
|
|
1960
|
+
*/
|
|
1961
|
+
warm(blocks: WeaveTextBlock[], style: TextLayoutStyle, bounds: TextLayoutBounds, budgetMs: number): boolean;
|
|
1962
|
+
private measureChunk;
|
|
1963
|
+
layout(blocks: WeaveTextBlock[], style: TextLayoutStyle, bounds: TextLayoutBounds): TextLayout;
|
|
1964
|
+
private rangeWidth;
|
|
1965
|
+
private layoutParagraph;
|
|
1966
|
+
private buildSegments;
|
|
1967
|
+
}
|
|
1968
|
+
//#endregion
|
|
1969
|
+
//#region src/nodes/text-v2/shape.d.ts
|
|
1970
|
+
type TextV2ShapeConfig = Konva.ShapeConfig & {
|
|
1971
|
+
text?: string;
|
|
1972
|
+
blocks?: WeaveTextBlock[];
|
|
1973
|
+
fontSize?: number;
|
|
1974
|
+
fontFamily?: string;
|
|
1975
|
+
fontStyle?: string;
|
|
1976
|
+
fontVariant?: string;
|
|
1977
|
+
lineHeight?: number;
|
|
1978
|
+
letterSpacing?: number;
|
|
1979
|
+
wrap?: TextWrap;
|
|
1980
|
+
align?: TextAlign;
|
|
1981
|
+
verticalAlign?: 'top' | 'middle' | 'bottom';
|
|
1982
|
+
padding?: number;
|
|
1983
|
+
textDecoration?: string;
|
|
1984
|
+
link?: string;
|
|
1985
|
+
};
|
|
1986
|
+
/**
|
|
1987
|
+
* Canvas shape that lays out and paints blocks/runs text with the
|
|
1988
|
+
* `TextLayoutEngine`. Exposes Konva.Text-compatible getters/setters so
|
|
1989
|
+
* code written against `Konva.Text` keeps working.
|
|
1990
|
+
*/
|
|
1991
|
+
declare class WeaveTextV2Shape extends Konva.Shape {
|
|
1992
|
+
private readonly engine;
|
|
1993
|
+
private readonly naturalEngine;
|
|
1994
|
+
private layoutCache;
|
|
1995
|
+
private blocksKey;
|
|
1996
|
+
private blocksCache;
|
|
1997
|
+
private viewport;
|
|
1998
|
+
constructor(config?: TextV2ShapeConfig);
|
|
1999
|
+
text(): string;
|
|
2000
|
+
text(value: string): this;
|
|
2001
|
+
setText(value: string | null | undefined): this;
|
|
2002
|
+
/** Resolved blocks: stored or lazily synthesized (never written back). */
|
|
2003
|
+
getBlocks(): WeaveTextBlock[];
|
|
2004
|
+
/** Replace content with blocks, keeping the `text` mirror in sync. */
|
|
2005
|
+
setBlocks(blocks: WeaveTextBlock[]): this;
|
|
2006
|
+
fontSize(): number;
|
|
2007
|
+
fontSize(v: number): this;
|
|
2008
|
+
fontFamily(): string;
|
|
2009
|
+
fontFamily(v: string): this;
|
|
2010
|
+
fontStyle(): string;
|
|
2011
|
+
fontStyle(v: string): this;
|
|
2012
|
+
fontVariant(): string;
|
|
2013
|
+
fontVariant(v: string): this;
|
|
2014
|
+
lineHeight(): number;
|
|
2015
|
+
lineHeight(v: number): this;
|
|
2016
|
+
letterSpacing(): number;
|
|
2017
|
+
letterSpacing(v: number): this;
|
|
2018
|
+
padding(): number;
|
|
2019
|
+
padding(v: number): this;
|
|
2020
|
+
align(): TextAlign;
|
|
2021
|
+
align(v: TextAlign): this;
|
|
2022
|
+
verticalAlign(): 'top' | 'middle' | 'bottom';
|
|
2023
|
+
verticalAlign(v: 'top' | 'middle' | 'bottom'): this;
|
|
2024
|
+
wrap(): TextWrap;
|
|
2025
|
+
wrap(v: TextWrap): this;
|
|
2026
|
+
textDecoration(): string;
|
|
2027
|
+
textDecoration(v: string): this;
|
|
2028
|
+
private accessor;
|
|
2029
|
+
getTextWidth(): number;
|
|
2030
|
+
getTextHeight(): number;
|
|
2031
|
+
measureSize(text: string): {
|
|
2032
|
+
width: number;
|
|
2033
|
+
height: number;
|
|
2034
|
+
};
|
|
2035
|
+
getWidth(): number;
|
|
2036
|
+
getHeight(): number;
|
|
2037
|
+
style(): TextLayoutStyle;
|
|
2038
|
+
/** Lazy, cached layout. Size accessors and painting force it. */
|
|
2039
|
+
ensureLayout(): TextLayout;
|
|
2040
|
+
/** Size the text would take with no width constraint (for auto layouts). */
|
|
2041
|
+
measureNaturalSize(): {
|
|
2042
|
+
width: number;
|
|
2043
|
+
height: number;
|
|
2044
|
+
};
|
|
2045
|
+
/** Rendered width of a string with this shape's font and letter spacing. */
|
|
2046
|
+
measureText(text: string): number;
|
|
2047
|
+
/** Offset of the first line inside the box (padding + vertical align). */
|
|
2048
|
+
getContentOffset(): {
|
|
2049
|
+
x: number;
|
|
2050
|
+
y: number;
|
|
2051
|
+
};
|
|
2052
|
+
/** Pre-compute layout for candidate blocks within a time budget. */
|
|
2053
|
+
warmLayout(blocks: WeaveTextBlock[], budgetMs: number): boolean;
|
|
2054
|
+
/** Optional visible y-range in local coordinates, used for line culling. */
|
|
2055
|
+
setViewport(range: {
|
|
2056
|
+
y1: number;
|
|
2057
|
+
y2: number;
|
|
2058
|
+
} | null): void;
|
|
2059
|
+
private visibleRange;
|
|
2060
|
+
private _paint;
|
|
2061
|
+
private _hit;
|
|
2062
|
+
private metricsCache;
|
|
2063
|
+
/** Font ascent/descent used for baseline placement (parity with Konva.Text). */
|
|
2064
|
+
measureMetrics(): {
|
|
2065
|
+
ascent: number;
|
|
2066
|
+
descent: number;
|
|
2067
|
+
};
|
|
2068
|
+
}
|
|
2069
|
+
//#endregion
|
|
2070
|
+
//#region src/nodes/text-v2/types.d.ts
|
|
2071
|
+
type WeaveTextV2SizeWarningProperties = {
|
|
2072
|
+
/**
|
|
2073
|
+
* Serialized size of `blocks` (chars of JSON) past which
|
|
2074
|
+
* `onTextSizeWarning` is emitted. There is no hard cap.
|
|
2075
|
+
*/
|
|
2076
|
+
threshold: number;
|
|
2077
|
+
};
|
|
2078
|
+
type WeaveTextV2Properties = WeaveTextProperties & {
|
|
2079
|
+
sizeWarning: WeaveTextV2SizeWarningProperties;
|
|
2080
|
+
};
|
|
2081
|
+
type WeaveTextV2NodeParams = {
|
|
2082
|
+
config: DeepPartial<WeaveTextV2Properties>;
|
|
2083
|
+
};
|
|
2084
|
+
//#endregion
|
|
2085
|
+
//#region src/nodes/text-v2/text-v2.d.ts
|
|
2086
|
+
/**
|
|
2087
|
+
* Drop-in replacement for `WeaveTextNode`. Same `nodeType` (`'text'`), so
|
|
2088
|
+
* existing documents load unchanged; register it INSTEAD of `WeaveTextNode`
|
|
2089
|
+
* (handlers are keyed by node type). Renders through `WeaveTextV2Shape`
|
|
2090
|
+
* (blocks/runs model + layout engine) instead of `Konva.Text`.
|
|
2091
|
+
*/
|
|
2092
|
+
declare class WeaveTextV2Node extends WeaveNode {
|
|
2093
|
+
private config;
|
|
2094
|
+
protected nodeType: string;
|
|
2095
|
+
private createNode;
|
|
2096
|
+
private editing;
|
|
2097
|
+
private editingNodeId;
|
|
2098
|
+
private session;
|
|
2099
|
+
private sizeWarned;
|
|
2100
|
+
private nodeRenderedAddedRegistered;
|
|
2101
|
+
private keyPressHandler;
|
|
2102
|
+
constructor(params?: WeaveTextV2NodeParams);
|
|
2103
|
+
initialize(): void;
|
|
2104
|
+
/**
|
|
2105
|
+
* Resolve width/height for the layout mode. Auto modes size from the
|
|
2106
|
+
* engine's natural measure (independent of zoom, unlike the DOM-based
|
|
2107
|
+
* measure of the legacy node).
|
|
2108
|
+
*/
|
|
2109
|
+
private resolveSize;
|
|
2110
|
+
measureMultilineText(shape: WeaveTextV2Shape): () => {
|
|
2111
|
+
width: number;
|
|
2112
|
+
height: number;
|
|
2113
|
+
};
|
|
2114
|
+
private linkOverrides;
|
|
2115
|
+
private outlineProps;
|
|
2116
|
+
onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
2117
|
+
private readonly handleKeyPress;
|
|
2118
|
+
private registerKeyPress;
|
|
2119
|
+
onAdd(): void;
|
|
2120
|
+
onDestroyInstance(): void;
|
|
2121
|
+
/** Re-apply layout-driven width/height after live content changes. */
|
|
2122
|
+
private applySize;
|
|
2123
|
+
private editTarget;
|
|
2124
|
+
private triggerEditMode;
|
|
2125
|
+
private checkSize;
|
|
2126
|
+
private exitEditMode;
|
|
2127
|
+
/** One `updateNode` per session; none when content is unchanged. */
|
|
2128
|
+
private commitNode;
|
|
2129
|
+
private setupTransform;
|
|
2130
|
+
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2131
|
+
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
2132
|
+
private setupLinkBehavior;
|
|
2133
|
+
private openTextLink;
|
|
2134
|
+
getLink(nodeInstance: WeaveElementInstance): string | undefined;
|
|
2135
|
+
setLink(nodeInstance: WeaveElementInstance, url: string): void;
|
|
2136
|
+
removeLink(nodeInstance: WeaveElementInstance): void;
|
|
2137
|
+
resetSmartLayout(textNode: WeaveTextV2Shape): void;
|
|
2138
|
+
static defaultState<WeaveTextProperties>(nodeId: string, params?: {
|
|
2139
|
+
config: WeaveTextProperties;
|
|
2140
|
+
}): WeaveStateElement;
|
|
2141
|
+
static addNodeState(defaultNodeState: WeaveStateElement, props: WeaveElementAttributes): WeaveStateElement;
|
|
2142
|
+
static updateNodeState(prevNodeState: WeaveStateElement, nextProps: WeaveElementAttributes): WeaveStateElement;
|
|
2143
|
+
static getSchema(): import("zod").ZodObject<{
|
|
2144
|
+
[x: string]: any;
|
|
2145
|
+
type: import("zod").ZodLiteral<"text">;
|
|
2146
|
+
props: import("zod").ZodObject<{
|
|
2147
|
+
nodeType: import("zod").ZodLiteral<"text">;
|
|
2148
|
+
width: import("zod").ZodNumber;
|
|
2149
|
+
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2150
|
+
fontFamily: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2151
|
+
fontSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2152
|
+
fontStyle: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2153
|
+
fontVariant: import("zod").ZodEnum<{
|
|
2154
|
+
normal: "normal";
|
|
2155
|
+
"small-caps": "small-caps";
|
|
2156
|
+
}>;
|
|
2157
|
+
textDecoration: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2158
|
+
"": "";
|
|
2159
|
+
"line-through": "line-through";
|
|
2160
|
+
underline: "underline";
|
|
2161
|
+
}>>;
|
|
2162
|
+
letterSpacing: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2163
|
+
lineHeight: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2164
|
+
align: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2165
|
+
left: "left";
|
|
2166
|
+
center: "center";
|
|
2167
|
+
right: "right";
|
|
2168
|
+
justify: "justify";
|
|
2169
|
+
}>>;
|
|
2170
|
+
verticalAlign: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2171
|
+
top: "top";
|
|
2172
|
+
middle: "middle";
|
|
2173
|
+
bottom: "bottom";
|
|
2174
|
+
}>>;
|
|
2175
|
+
fill: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2176
|
+
text: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2177
|
+
link: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2178
|
+
linkPreviousFill: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2179
|
+
linkPreviousTextDecoration: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2180
|
+
strokeEnabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2181
|
+
stroke: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2182
|
+
strokeWidth: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
2183
|
+
strokeScaleEnabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2184
|
+
fillAfterStrokeEnabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2185
|
+
layout: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2186
|
+
readonly SMART: "smart";
|
|
2187
|
+
readonly AUTO_ALL: "auto-all";
|
|
2188
|
+
readonly AUTO_HEIGHT: "auto-height";
|
|
2189
|
+
readonly FIXED: "fixed";
|
|
2190
|
+
}>>;
|
|
2191
|
+
}, import("zod/v4/core").$strip>;
|
|
2192
|
+
}, import("zod/v4/core").$strip>;
|
|
2193
|
+
}
|
|
2194
|
+
//#endregion
|
|
1851
2195
|
//#region src/nodes/image/constants.d.ts
|
|
1852
2196
|
declare const WEAVE_IMAGE_NODE_TYPE = "image";
|
|
1853
2197
|
declare const WEAVE_STAGE_IMAGE_CROPPING_MODE = "image-cropping";
|
|
@@ -1877,6 +2221,12 @@ type ImageProps = WeaveElementAttributes & {
|
|
|
1877
2221
|
width: number;
|
|
1878
2222
|
height: number;
|
|
1879
2223
|
};
|
|
2224
|
+
flipX?: boolean;
|
|
2225
|
+
flipY?: boolean;
|
|
2226
|
+
};
|
|
2227
|
+
type WeaveImageFlipAxis = 'horizontal' | 'vertical';
|
|
2228
|
+
type WeaveImageFlipOptions = {
|
|
2229
|
+
axis: WeaveImageFlipAxis;
|
|
1880
2230
|
};
|
|
1881
2231
|
type WeaveImageState = {
|
|
1882
2232
|
status: 'loaded' | 'loading' | 'error-fallback' | 'error' | 'idle';
|
|
@@ -1979,6 +2329,21 @@ declare class WeaveImageCrop {
|
|
|
1979
2329
|
private onClose;
|
|
1980
2330
|
private handleHide;
|
|
1981
2331
|
constructor(instance: Weave, node: WeaveImageNode, image: Konva.Group, internalImage: Konva.Image, clipGroup: Konva.Group);
|
|
2332
|
+
/**
|
|
2333
|
+
* Mirrors the start of a segment inside a container along one axis:
|
|
2334
|
+
* the segment [start, start + length] inside [0, size] becomes
|
|
2335
|
+
* [size - start - length, size - start]. Used to convert between visual
|
|
2336
|
+
* space (what the user sees on a flipped image) and source space (where
|
|
2337
|
+
* the crop information is stored). It is its own inverse.
|
|
2338
|
+
*/
|
|
2339
|
+
static mirrorOffset(start: number, length: number, size: number): number;
|
|
2340
|
+
/**
|
|
2341
|
+
* Returns the offset (in uncropped display units) of the visible crop
|
|
2342
|
+
* window inside the visually rendered uncropped image, along with the real
|
|
2343
|
+
* scale. When the image is flipped the stored crop (source space) is
|
|
2344
|
+
* mirrored to match what the user sees.
|
|
2345
|
+
*/
|
|
2346
|
+
private getVisualCropOffset;
|
|
1982
2347
|
private setupCropImage;
|
|
1983
2348
|
show(onClose: () => void, options: WeaveImageTriggerCropOptions): void;
|
|
1984
2349
|
private createSoftSnap;
|
|
@@ -2033,6 +2398,8 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
2033
2398
|
triggerCrop(imageNode: Konva.Group, options: WeaveImageTriggerCropOptions): void;
|
|
2034
2399
|
closeCrop: (imageNode: Konva.Group, type: WeaveImageCropEndType) => void;
|
|
2035
2400
|
resetCrop: (imageNode: Konva.Group) => void;
|
|
2401
|
+
flipImage: (imageNode: Konva.Group, options: WeaveImageFlipOptions) => void;
|
|
2402
|
+
applyFlip(image: Konva.Group): void;
|
|
2036
2403
|
loadAsyncElement(nodeId: string): void;
|
|
2037
2404
|
resolveAsyncElement(nodeId: string): void;
|
|
2038
2405
|
onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
@@ -2058,6 +2425,7 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
2058
2425
|
private loadImage;
|
|
2059
2426
|
updatePlaceholderSize(image: Konva.Group): void;
|
|
2060
2427
|
updateImageCrop(image: Konva.Group): void;
|
|
2428
|
+
private updateImageCropGeometry;
|
|
2061
2429
|
isImageFallbackEnabled(): boolean;
|
|
2062
2430
|
getFallbackImageSource(imageId: string): HTMLImageElement | undefined;
|
|
2063
2431
|
getFallbackImageSourceURL(imageId: string): string | undefined;
|
|
@@ -4258,6 +4626,7 @@ declare const POLYGON_TOOL_ACTION_NAME = "polygonTool";
|
|
|
4258
4626
|
declare const POLYGON_TOOL_STATE: {
|
|
4259
4627
|
readonly IDLE: "idle";
|
|
4260
4628
|
readonly ADDING: "adding";
|
|
4629
|
+
readonly DEFINING_SIZE: "defining-size";
|
|
4261
4630
|
readonly ADDED: "added";
|
|
4262
4631
|
};
|
|
4263
4632
|
//#endregion
|
|
@@ -4273,6 +4642,12 @@ declare class WeavePolygonToolAction extends WeaveAction {
|
|
|
4273
4642
|
protected initialized: boolean;
|
|
4274
4643
|
protected state: WeavePolygonToolActionState;
|
|
4275
4644
|
protected polygonId: string | null;
|
|
4645
|
+
protected pointers: Map<number, Konva.Vector2d>;
|
|
4646
|
+
protected clickPoint: Konva.Vector2d | null;
|
|
4647
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
4648
|
+
protected moved: boolean;
|
|
4649
|
+
protected placementCommitted: boolean;
|
|
4650
|
+
protected polygonNode: WeaveStateElement | null;
|
|
4276
4651
|
protected cancelAction: () => void;
|
|
4277
4652
|
protected preset: string;
|
|
4278
4653
|
onPropsChange: undefined;
|
|
@@ -4293,6 +4668,8 @@ declare class WeavePolygonToolAction extends WeaveAction {
|
|
|
4293
4668
|
private setState;
|
|
4294
4669
|
private addPolygon;
|
|
4295
4670
|
private handleAdding;
|
|
4671
|
+
private handleMovement;
|
|
4672
|
+
private handleSettingSize;
|
|
4296
4673
|
trigger(cancelAction: () => void, params: WeavePolygonToolActionTriggerParams): void;
|
|
4297
4674
|
cleanup(): void;
|
|
4298
4675
|
private setCursor;
|
|
@@ -5769,5 +6146,5 @@ declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
|
5769
6146
|
private getAllGuides;
|
|
5770
6147
|
}
|
|
5771
6148
|
//#endregion
|
|
5772
|
-
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, TextSerializable, 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, 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, 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 };
|
|
6149
|
+
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 };
|
|
5773
6150
|
//# sourceMappingURL=types.d.ts.map
|