@inditextech/weave-sdk 1.1.3 → 1.2.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.d.ts +5 -5
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +51 -66
- package/dist/sdk.js.map +1 -1
- package/dist/sdk.node.d.ts +6 -28
- package/dist/sdk.node.d.ts.map +1 -1
- package/dist/sdk.node.js +59 -82
- package/dist/sdk.node.js.map +1 -1
- package/package.json +6 -3
package/dist/sdk.node.js
CHANGED
|
@@ -6,8 +6,6 @@ import { getYjsDoc, getYjsValue, observeDeep, syncedStore } from "@syncedstore/c
|
|
|
6
6
|
import * as Y from "yjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import ReactReconciler from "react-reconciler";
|
|
9
|
-
import { registerFont } from "canvas";
|
|
10
|
-
import { FontLibrary } from "skia-canvas";
|
|
11
9
|
|
|
12
10
|
//#region rolldown:runtime
|
|
13
11
|
var __create = Object.create;
|
|
@@ -21638,7 +21636,7 @@ var WeaveRegisterManager = class {
|
|
|
21638
21636
|
|
|
21639
21637
|
//#endregion
|
|
21640
21638
|
//#region package.json
|
|
21641
|
-
var version = "1.1
|
|
21639
|
+
var version = "1.2.1";
|
|
21642
21640
|
|
|
21643
21641
|
//#endregion
|
|
21644
21642
|
//#region src/managers/setup.ts
|
|
@@ -21955,7 +21953,7 @@ var WeaveExportManager = class {
|
|
|
21955
21953
|
});
|
|
21956
21954
|
}
|
|
21957
21955
|
async exportNodesServerSide(nodes, boundingNodes, options) {
|
|
21958
|
-
const { format = WEAVE_EXPORT_FORMATS.PNG, padding = 0, pixelRatio = 1, backgroundColor = WEAVE_EXPORT_BACKGROUND_COLOR
|
|
21956
|
+
const { format = WEAVE_EXPORT_FORMATS.PNG, padding = 0, pixelRatio = 1, backgroundColor = WEAVE_EXPORT_BACKGROUND_COLOR } = options;
|
|
21959
21957
|
this.getNodesSelectionPlugin()?.disable();
|
|
21960
21958
|
this.getNodesDistanceSnappingPlugin()?.disable();
|
|
21961
21959
|
this.getNodesEdgeSnappingPlugin()?.disable();
|
|
@@ -22033,8 +22031,8 @@ var WeaveExportManager = class {
|
|
|
22033
22031
|
quality: options.quality ?? 1
|
|
22034
22032
|
});
|
|
22035
22033
|
let buffer = null;
|
|
22036
|
-
if (
|
|
22037
|
-
if (
|
|
22034
|
+
if (global._weave_serverSideBackend === WEAVE_KONVA_BACKEND.CANVAS) buffer = canvas.toBuffer();
|
|
22035
|
+
if (global._weave_serverSideBackend === WEAVE_KONVA_BACKEND.SKIA) buffer = await canvas.toBuffer();
|
|
22038
22036
|
if (!buffer) throw new Error("Failed to generate image buffer");
|
|
22039
22037
|
composites.push({
|
|
22040
22038
|
top: y * pixelRatio,
|
|
@@ -22168,7 +22166,7 @@ var Weave = class {
|
|
|
22168
22166
|
this.asyncElements = watchMap(() => {
|
|
22169
22167
|
this.emitEvent("onAsyncElementChange");
|
|
22170
22168
|
}, new Map());
|
|
22171
|
-
this.config = mergeExceptArrays({
|
|
22169
|
+
this.config = mergeExceptArrays({}, weaveConfig);
|
|
22172
22170
|
this.logger = new WeaveLogger(this.config?.logger ?? {
|
|
22173
22171
|
disabled: false,
|
|
22174
22172
|
level: "error"
|
|
@@ -22225,19 +22223,11 @@ var Weave = class {
|
|
|
22225
22223
|
}
|
|
22226
22224
|
async start() {
|
|
22227
22225
|
this.moduleLogger.info("Start instance");
|
|
22228
|
-
if (!this.
|
|
22226
|
+
if (!this.isServerSide()) {
|
|
22229
22227
|
if (!window.weave) window.weave = this;
|
|
22230
22228
|
window.weaveTextEditing = {};
|
|
22231
22229
|
window.weaveDragImageURL = void 0;
|
|
22232
22230
|
}
|
|
22233
|
-
if (this.config.serverSide) {
|
|
22234
|
-
const { createCanvas, Image: Image$1 } = await import("canvas");
|
|
22235
|
-
globalThis.Image = Image$1;
|
|
22236
|
-
globalThis.document = { createElement(tag) {
|
|
22237
|
-
if (tag === "canvas") return createCanvas(1, 1);
|
|
22238
|
-
throw new Error(`Unsupported element: ${tag}`);
|
|
22239
|
-
} };
|
|
22240
|
-
}
|
|
22241
22231
|
this.emitEvent("onRoomLoaded", false);
|
|
22242
22232
|
this.status = WEAVE_INSTANCE_STATUS.STARTING;
|
|
22243
22233
|
this.emitEvent("onInstanceStatus", this.status);
|
|
@@ -22649,25 +22639,20 @@ var Weave = class {
|
|
|
22649
22639
|
this.asyncElements.set(nodeId, element);
|
|
22650
22640
|
}
|
|
22651
22641
|
isServerSide() {
|
|
22652
|
-
return
|
|
22642
|
+
if (typeof window !== "undefined") return window._weave_isServerSide === true;
|
|
22643
|
+
return global._weave_isServerSide === true;
|
|
22653
22644
|
}
|
|
22654
22645
|
};
|
|
22655
22646
|
|
|
22656
22647
|
//#endregion
|
|
22657
|
-
//#region src/
|
|
22658
|
-
const
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
const { path, properties } = font;
|
|
22662
|
-
registerFont(path, properties);
|
|
22663
|
-
}
|
|
22648
|
+
//#region src/backend.ts
|
|
22649
|
+
const setupSkiaBackend = async () => {
|
|
22650
|
+
global._weave_serverSideBackend = WEAVE_KONVA_BACKEND.SKIA;
|
|
22651
|
+
await import("konva/skia-backend");
|
|
22664
22652
|
};
|
|
22665
|
-
const
|
|
22666
|
-
|
|
22667
|
-
|
|
22668
|
-
const { family, paths } = font;
|
|
22669
|
-
FontLibrary.use(family, paths);
|
|
22670
|
-
}
|
|
22653
|
+
const setupCanvasBackend = async () => {
|
|
22654
|
+
global._weave_serverSideBackend = WEAVE_KONVA_BACKEND.CANVAS;
|
|
22655
|
+
await import("konva/canvas-backend");
|
|
22671
22656
|
};
|
|
22672
22657
|
|
|
22673
22658
|
//#endregion
|
|
@@ -23136,7 +23121,7 @@ var WeaveTextNode = class extends WeaveNode {
|
|
|
23136
23121
|
text.on("transformend", () => {
|
|
23137
23122
|
this.instance.emitEvent("onTransform", null);
|
|
23138
23123
|
});
|
|
23139
|
-
if (!this.instance.
|
|
23124
|
+
if (!this.instance.isServerSide()) window.addEventListener("keypress", (e) => {
|
|
23140
23125
|
if (e.code === "Enter" && this.instance.getActiveAction() === SELECTION_TOOL_ACTION_NAME && !this.editing && e.target !== this.textArea) {
|
|
23141
23126
|
e.preventDefault();
|
|
23142
23127
|
if (this.isSelecting() && this.isNodeSelected(text)) {
|
|
@@ -23261,7 +23246,7 @@ var WeaveTextNode = class extends WeaveNode {
|
|
|
23261
23246
|
height = height + textSize.height * (textNode.lineHeight() ?? 1);
|
|
23262
23247
|
}
|
|
23263
23248
|
return {
|
|
23264
|
-
width,
|
|
23249
|
+
width: width * 1.01,
|
|
23265
23250
|
height
|
|
23266
23251
|
};
|
|
23267
23252
|
}
|
|
@@ -24185,7 +24170,7 @@ var WeaveImageNode = class extends WeaveNode {
|
|
|
24185
24170
|
}
|
|
24186
24171
|
preloadImage(imageId, imageURL, { onLoad, onError }) {
|
|
24187
24172
|
const realImageURL = this.config.urlTransformer?.(imageURL ?? "") ?? imageURL;
|
|
24188
|
-
this.imageSource[imageId] =
|
|
24173
|
+
this.imageSource[imageId] = Konva.Util.createImageElement();
|
|
24189
24174
|
this.imageSource[imageId].crossOrigin = this.config.crossOrigin;
|
|
24190
24175
|
this.imageSource[imageId].onerror = (error) => {
|
|
24191
24176
|
this.imageState[imageId] = {
|
|
@@ -25896,7 +25881,7 @@ var WeaveVideoNode = class extends WeaveNode {
|
|
|
25896
25881
|
}
|
|
25897
25882
|
initVideoIcon() {
|
|
25898
25883
|
if (!this.videoIconImage) {
|
|
25899
|
-
this.videoIconImage =
|
|
25884
|
+
this.videoIconImage = Konva.Util.createImageElement();
|
|
25900
25885
|
this.videoIconImage.src = this.config.style.icon.dataURL;
|
|
25901
25886
|
}
|
|
25902
25887
|
}
|
|
@@ -25907,7 +25892,7 @@ var WeaveVideoNode = class extends WeaveNode {
|
|
|
25907
25892
|
const videoIconGroup = video.findOne(`#${id}-video-icon-group`);
|
|
25908
25893
|
if (!videoPlaceholder || !videoIconGroup) return;
|
|
25909
25894
|
const realVideoPlaceholderURL = this.config.urlTransformer?.(videoProps.videoPlaceholderURL ?? "") ?? videoProps.videoPlaceholderURL;
|
|
25910
|
-
this.videoPlaceholder[id] =
|
|
25895
|
+
this.videoPlaceholder[id] = Konva.Util.createImageElement();
|
|
25911
25896
|
this.videoPlaceholder[id].crossOrigin = this.config.crossOrigin;
|
|
25912
25897
|
this.videoPlaceholder[id].src = realVideoPlaceholderURL;
|
|
25913
25898
|
this.videoPlaceholder[id].onerror = (error) => {
|
|
@@ -29741,7 +29726,7 @@ var WeaveCommentToolAction = class extends WeaveAction {
|
|
|
29741
29726
|
}];
|
|
29742
29727
|
const actualCursor = stage.container().style.cursor;
|
|
29743
29728
|
cursorUrls.forEach(({ src, cursor }) => {
|
|
29744
|
-
const img =
|
|
29729
|
+
const img = Konva.Util.createImageElement();
|
|
29745
29730
|
img.onload = () => {
|
|
29746
29731
|
stage.container().style.cursor = cursor;
|
|
29747
29732
|
stage.container().style.cursor = actualCursor;
|
|
@@ -30359,7 +30344,7 @@ var WeaveStagePanningPlugin = class extends WeavePlugin {
|
|
|
30359
30344
|
panning = false;
|
|
30360
30345
|
currentPointer = null;
|
|
30361
30346
|
stageScrollInterval = void 0;
|
|
30362
|
-
|
|
30347
|
+
panEdgeTargets = {};
|
|
30363
30348
|
getLayerName = void 0;
|
|
30364
30349
|
initLayer = void 0;
|
|
30365
30350
|
constructor(params) {
|
|
@@ -30494,54 +30479,45 @@ var WeaveStagePanningPlugin = class extends WeavePlugin {
|
|
|
30494
30479
|
window.addEventListener("wheel", handleWheel, { passive: true });
|
|
30495
30480
|
stage.on("dragstart", (e) => {
|
|
30496
30481
|
const duration = 1e3 / 60;
|
|
30497
|
-
if (this.
|
|
30498
|
-
this.
|
|
30499
|
-
const pos = stage.getPointerPosition();
|
|
30500
|
-
const offset = this.config.edgePanOffset;
|
|
30501
|
-
const speed = this.config.edgePanSpeed;
|
|
30502
|
-
if (!pos) return;
|
|
30503
|
-
const isNearLeft = pos.x < offset / stage.scaleX();
|
|
30504
|
-
if (isNearLeft) e.target.x(e.target.x() - speed / stage.scaleX());
|
|
30505
|
-
const isNearRight = pos.x > stage.width() - offset / stage.scaleX();
|
|
30506
|
-
if (isNearRight) e.target.x(e.target.x() + speed / stage.scaleX());
|
|
30507
|
-
const isNearTop = pos.y < offset / stage.scaleY();
|
|
30508
|
-
if (isNearTop) e.target.y(e.target.y() - speed / stage.scaleX());
|
|
30509
|
-
const isNearBottom = pos.y > stage.height() - offset / stage.scaleY();
|
|
30510
|
-
if (isNearBottom) e.target.y(e.target.y() + speed / stage.scaleX());
|
|
30511
|
-
this.getStageGridPlugin()?.renderGrid();
|
|
30512
|
-
}, duration);
|
|
30482
|
+
if (this.panEdgeTargets[e.target.getAttrs().id ?? ""] !== void 0) return;
|
|
30483
|
+
this.panEdgeTargets[e.target.getAttrs().id ?? ""] = e.target;
|
|
30513
30484
|
if (this.stageScrollInterval !== void 0) return;
|
|
30514
30485
|
this.stageScrollInterval = setInterval(() => {
|
|
30515
30486
|
const pos = stage.getPointerPosition();
|
|
30516
30487
|
const offset = this.config.edgePanOffset;
|
|
30517
30488
|
const speed = this.config.edgePanSpeed;
|
|
30518
30489
|
if (!pos) return;
|
|
30519
|
-
let
|
|
30520
|
-
|
|
30521
|
-
|
|
30522
|
-
|
|
30523
|
-
|
|
30524
|
-
|
|
30525
|
-
|
|
30526
|
-
|
|
30527
|
-
|
|
30528
|
-
|
|
30529
|
-
|
|
30530
|
-
|
|
30531
|
-
|
|
30532
|
-
|
|
30533
|
-
isOnBorder = true;
|
|
30490
|
+
let isNearLeft = false;
|
|
30491
|
+
let isNearRight = false;
|
|
30492
|
+
let isNearTop = false;
|
|
30493
|
+
let isNearBottom = false;
|
|
30494
|
+
for (const targetId in this.panEdgeTargets) {
|
|
30495
|
+
const target = this.panEdgeTargets[targetId];
|
|
30496
|
+
isNearLeft = pos.x < offset * stage.scaleX();
|
|
30497
|
+
if (isNearLeft) target.x(target.x() - speed / stage.scaleX());
|
|
30498
|
+
isNearRight = pos.x > stage.width() - offset * stage.scaleX();
|
|
30499
|
+
if (isNearRight) target.x(target.x() + speed / stage.scaleX());
|
|
30500
|
+
isNearTop = pos.y < offset * stage.scaleY();
|
|
30501
|
+
if (isNearTop) target.y(target.y() - speed / stage.scaleX());
|
|
30502
|
+
isNearBottom = pos.y > stage.height() - offset * stage.scaleY();
|
|
30503
|
+
if (isNearBottom) target.y(target.y() + speed / stage.scaleX());
|
|
30534
30504
|
}
|
|
30535
|
-
|
|
30536
|
-
|
|
30537
|
-
|
|
30538
|
-
|
|
30505
|
+
this.getStageGridPlugin()?.renderGrid();
|
|
30506
|
+
let dx = 0;
|
|
30507
|
+
let dy = 0;
|
|
30508
|
+
if (isNearLeft) dx = speed;
|
|
30509
|
+
else if (isNearRight) dx = -speed;
|
|
30510
|
+
if (isNearTop) dy = speed;
|
|
30511
|
+
else if (isNearBottom) dy = -speed;
|
|
30512
|
+
if (dx || dy) {
|
|
30513
|
+
stage.x(stage.x() + dx);
|
|
30514
|
+
stage.y(stage.y() + dy);
|
|
30539
30515
|
}
|
|
30540
|
-
if (
|
|
30516
|
+
if (isNearLeft || isNearRight || isNearTop || isNearBottom) {
|
|
30541
30517
|
this.getNodesEdgeSnappingPlugin()?.disable();
|
|
30542
30518
|
this.getNodesDistanceSnappingPlugin()?.disable();
|
|
30543
30519
|
}
|
|
30544
|
-
if (!
|
|
30520
|
+
if (!(isNearLeft || isNearRight || isNearTop || isNearBottom)) {
|
|
30545
30521
|
this.getNodesEdgeSnappingPlugin()?.enable();
|
|
30546
30522
|
this.getNodesDistanceSnappingPlugin()?.enable();
|
|
30547
30523
|
}
|
|
@@ -30603,11 +30579,7 @@ var WeaveStagePanningPlugin = class extends WeavePlugin {
|
|
|
30603
30579
|
return this.currentPointer;
|
|
30604
30580
|
}
|
|
30605
30581
|
cleanupEdgeMoveIntervals() {
|
|
30606
|
-
|
|
30607
|
-
for (const key of intervals) {
|
|
30608
|
-
clearInterval(this.targetScrollIntervals[key]);
|
|
30609
|
-
this.targetScrollIntervals[key] = void 0;
|
|
30610
|
-
}
|
|
30582
|
+
this.panEdgeTargets = {};
|
|
30611
30583
|
clearInterval(this.stageScrollInterval);
|
|
30612
30584
|
this.stageScrollInterval = void 0;
|
|
30613
30585
|
}
|
|
@@ -30747,7 +30719,7 @@ var WeaveStageMinimapPlugin = class extends WeavePlugin {
|
|
|
30747
30719
|
this.updateMinimapViewportReference();
|
|
30748
30720
|
}, 100);
|
|
30749
30721
|
this.instance.addEventListener("onStateChange", throttledUpdateMinimap);
|
|
30750
|
-
if (this.instance.
|
|
30722
|
+
if (this.instance.isServerSide()) return;
|
|
30751
30723
|
const workerPath = new URL("./stage-minimap.worker.js", import.meta.url);
|
|
30752
30724
|
this.offscreenWorker = new Worker(workerPath, { type: "module" });
|
|
30753
30725
|
this.offscreenWorker.onmessage = (e) => {
|
|
@@ -30764,7 +30736,7 @@ var WeaveStageMinimapPlugin = class extends WeavePlugin {
|
|
|
30764
30736
|
x: (this.minimapStage.width() - realWidth) / 2,
|
|
30765
30737
|
y: (this.minimapStage.height() - realHeight) / 2
|
|
30766
30738
|
};
|
|
30767
|
-
const image =
|
|
30739
|
+
const image = Konva.Util.createImageElement();
|
|
30768
30740
|
image.src = url;
|
|
30769
30741
|
this.minimapStageImage = new Konva.Image({
|
|
30770
30742
|
id: "minimapStageImage",
|
|
@@ -32365,5 +32337,10 @@ var WeaveStageKeyboardMovePlugin = class extends WeavePlugin {
|
|
|
32365
32337
|
};
|
|
32366
32338
|
|
|
32367
32339
|
//#endregion
|
|
32368
|
-
|
|
32340
|
+
//#region src/index.node.ts
|
|
32341
|
+
global._weave_isServerSide = true;
|
|
32342
|
+
global._weave_serverSideBackend = void 0;
|
|
32343
|
+
|
|
32344
|
+
//#endregion
|
|
32345
|
+
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, ARROW_TOOL_ACTION_NAME, ARROW_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_DEFAULT_CONFIG, BRUSH_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_DISTANCE_LINE_DEFAULT_CONFIG, GUIDE_ENTER_SNAPPING_TOLERANCE, GUIDE_EXIT_SNAPPING_TOLERANCE, GUIDE_HORIZONTAL_LINE_NAME, GUIDE_LINE_DEFAULT_CONFIG, GUIDE_LINE_DRAG_SNAPPING_THRESHOLD, GUIDE_LINE_NAME, GUIDE_LINE_TRANSFORM_SNAPPING_THRESHOLD, GUIDE_ORIENTATION, GUIDE_VERTICAL_LINE_NAME, IMAGE_TOOL_ACTION_NAME, IMAGE_TOOL_STATE, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, NODE_SNAP, NODE_SNAP_HORIZONTAL, NODE_SNAP_VERTICAL, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, 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, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, VIDEO_TOOL_ACTION_NAME, VIDEO_TOOL_STATE, WEAVE_ARROW_NODE_TYPE, 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_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_COLOR, WEAVE_GRID_DEFAULT_DOT_MAX_DOTS_PER_AXIS, WEAVE_GRID_DEFAULT_MAJOR_DOT_RATIO, WEAVE_GRID_DEFAULT_MAJOR_EVERY, WEAVE_GRID_DEFAULT_MAJOR_LINE_RATIO, WEAVE_GRID_DEFAULT_ORIGIN_COLOR, WEAVE_GRID_DEFAULT_RADIUS, WEAVE_GRID_DEFAULT_SIZE, WEAVE_GRID_DEFAULT_STROKE, WEAVE_GRID_DEFAULT_TYPE, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_DEFAULT_CONFIG, WEAVE_IMAGE_NODE_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_TYPE, WEAVE_NODES_DISTANCE_SNAPPING_PLUGIN_KEY, WEAVE_NODES_EDGE_SNAPPING_PLUGIN_KEY, WEAVE_NODES_SELECTION_DEFAULT_CONFIG, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_STAGE_DEFAULT_MODE, WEAVE_STAGE_GRID_PLUGIN_KEY, WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG, WEAVE_STAGE_KEYBOARD_MOVE_KEY, WEAVE_STAGE_MINIMAP_KEY, WEAVE_STAGE_NODE_TYPE, WEAVE_STAGE_PANNING_DEFAULT_CONFIG, WEAVE_STAGE_PANNING_KEY, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_NODE_TYPE, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTER_KEY, WEAVE_USER_SELECTION_KEY, WEAVE_VIDEO_DEFAULT_CONFIG, WEAVE_VIDEO_NODE_TYPE, Weave, WeaveAction, WeaveAlignNodesToolAction, WeaveArrowNode, WeaveArrowToolAction, WeaveBrushToolAction, WeaveCommentNode, WeaveCommentToolAction, WeaveCommentsRendererPlugin, WeaveConnectedUsersPlugin, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveEllipseNode, WeaveEllipseToolAction, WeaveEraserToolAction, WeaveExportNodesToolAction, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToSelectionToolAction, WeaveFrameNode, WeaveFrameToolAction, WeaveGroupNode, WeaveImageNode, WeaveImageToolAction, WeaveLayerNode, WeaveLineNode, WeaveMoveToolAction, WeaveNode, WeaveNodesDistanceSnappingPlugin, WeaveNodesEdgeSnappingPlugin, WeaveNodesSelectionPlugin, WeavePenToolAction, WeavePlugin, WeaveRectangleNode, WeaveRectangleToolAction, WeaveRegularPolygonNode, WeaveRegularPolygonToolAction, WeaveSelectionToolAction, WeaveStageDropAreaPlugin, WeaveStageGridPlugin, WeaveStageKeyboardMovePlugin, WeaveStageMinimapPlugin, WeaveStageNode, WeaveStagePanningPlugin, WeaveStageResizePlugin, WeaveStageZoomPlugin, WeaveStarNode, WeaveStarToolAction, WeaveStore, WeaveStrokeNode, WeaveTextNode, WeaveTextToolAction, WeaveUsersPointersPlugin, WeaveUsersSelectionPlugin, WeaveVideoNode, WeaveVideoToolAction, WeaveZoomInToolAction, WeaveZoomOutToolAction, canComposite, clearContainerTargets, containerOverCursor, containsNodeDeep, getBoundingBox, getExportBoundingBox, getPositionRelativeToContainerOnPosition, getSelectedNodesMetadata, getTargetAndSkipNodes, getTargetedNode, getTopmostShadowHost, getVisibleNodes, getVisibleNodesInViewport, hasFrames, hasImages, intersectArrays, isIOS, isInShadowDOM, isNodeInSelection, isServer, memoize, mergeExceptArrays, moveNodeToContainer, resetScale, setupCanvasBackend, setupSkiaBackend };
|
|
32369
32346
|
//# sourceMappingURL=sdk.node.js.map
|