microboard-temp 0.5.13 → 0.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/Board.d.ts +18 -18
- package/dist/types/BoardCommand.d.ts +1 -1
- package/dist/types/Camera/Camera.d.ts +4 -4
- package/dist/types/Events/Command.d.ts +2 -2
- package/dist/types/Events/Events.d.ts +4 -4
- package/dist/types/Events/EventsCommand.d.ts +1 -1
- package/dist/types/Events/EventsOperations.d.ts +6 -6
- package/dist/types/Events/Log/EventsLog.d.ts +1 -1
- package/dist/types/Events/Log/deserializeAndApplyToList.d.ts +1 -1
- package/dist/types/Events/Log/deserializeIntoList.d.ts +1 -1
- package/dist/types/Events/Log/getSnapshotFromList.d.ts +1 -1
- package/dist/types/Events/Log/insertEventsFromOtherConnectionsIntoList.d.ts +1 -1
- package/dist/types/Events/MessageRouter/boardMessageInterface.d.ts +2 -2
- package/dist/types/Events/MessageRouter/createMessageRouter.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handleAiChatMassage.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handleBoardEventMessage.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handleBoardSubscriptionCompletedMsg.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handleConfirmation.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handleCreateSnapshotRequestMessage.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handleModeMessage.d.ts +1 -1
- package/dist/types/Events/MessageRouter/handlePresenceEventMessage.d.ts +2 -2
- package/dist/types/Events/SyncLog.d.ts +1 -1
- package/dist/types/Events/Transform/Transform.d.ts +1 -1
- package/dist/types/Events/handleRemoveSnappedObject.d.ts +1 -1
- package/dist/types/Items/AINode/AINode.d.ts +16 -16
- package/dist/types/Items/AINode/AINodeData.d.ts +6 -6
- package/dist/types/Items/Anchor/Anchor.d.ts +1 -1
- package/dist/types/Items/Audio/Audio.d.ts +6 -6
- package/dist/types/Items/Audio/AudioCommand.d.ts +1 -1
- package/dist/types/Items/Audio/AudioHelpers.d.ts +3 -3
- package/dist/types/Items/BaseItem/BaseItem.d.ts +11 -11
- package/dist/types/Items/Comment/Comment.d.ts +3 -3
- package/dist/types/Items/Connector/Connector.d.ts +5 -5
- package/dist/types/Items/Connector/Pointers/Pointers.d.ts +2 -2
- package/dist/types/Items/Connector/Pointers/index.d.ts +1 -1
- package/dist/types/Items/Connector/getLine/findOrthogonalPath.d.ts +1 -1
- package/dist/types/Items/Connector/getLine/getOrthogonalLine.d.ts +1 -1
- package/dist/types/Items/Connector/getLine/getStraightLine.d.ts +1 -1
- package/dist/types/Items/Drawing/Drawing.d.ts +5 -5
- package/dist/types/Items/Drawing/DrawingCommand.d.ts +1 -1
- package/dist/types/Items/DrawingContext.d.ts +1 -1
- package/dist/types/Items/Examples/CardGame/Card/Card.d.ts +7 -7
- package/dist/types/Items/Examples/CardGame/Card/CardOperation.d.ts +1 -1
- package/dist/types/Items/Examples/CardGame/Deck/Deck.d.ts +6 -6
- package/dist/types/Items/Examples/CardGame/Deck/DeckOperation.d.ts +1 -1
- package/dist/types/Items/Examples/CardGame/Dice/AddDice.d.ts +2 -2
- package/dist/types/Items/Examples/CardGame/Dice/DiceOperation.d.ts +1 -1
- package/dist/types/Items/Examples/CardGame/Screen/AddScreen.d.ts +2 -2
- package/dist/types/Items/Examples/CardGame/Screen/Screen.d.ts +4 -4
- package/dist/types/Items/Examples/CardGame/Screen/ScreenOperation.d.ts +1 -1
- package/dist/types/Items/Examples/Counter/AddCounter.d.ts +2 -2
- package/dist/types/Items/Examples/Counter/Counter.d.ts +8 -8
- package/dist/types/Items/Examples/Counter/CounterOperation.d.ts +1 -1
- package/dist/types/Items/Examples/Star/AddStar.d.ts +2 -2
- package/dist/types/Items/Examples/Star/Star.d.ts +9 -9
- package/dist/types/Items/Examples/Star/StarOperation.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/1-1/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/16-9/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/3-2/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/4-3/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/9-18/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/A4/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/Custom/index.d.ts +1 -1
- package/dist/types/Items/Frame/Basic/Letter/index.d.ts +1 -1
- package/dist/types/Items/Frame/Frame.d.ts +6 -6
- package/dist/types/Items/Group/Group.d.ts +5 -5
- package/dist/types/Items/Image/Image.d.ts +5 -5
- package/dist/types/Items/Image/ImageCommand.d.ts +1 -1
- package/dist/types/Items/Image/calculatePosition.d.ts +2 -2
- package/dist/types/Items/Item.d.ts +1 -1
- package/dist/types/Items/LinkTo/LinkTo.d.ts +23 -0
- package/dist/types/Items/Mbr/Mbr.d.ts +2 -2
- package/dist/types/Items/Mbr/updateRects.d.ts +3 -3
- package/dist/types/Items/Path/Path.d.ts +2 -2
- package/dist/types/Items/Path/Paths.d.ts +1 -1
- package/dist/types/Items/Placeholder/Placeholder.d.ts +3 -3
- package/dist/types/Items/RegisterItem.d.ts +2 -2
- package/dist/types/Items/RichText/EditorContainer.d.ts +3 -3
- package/dist/types/Items/RichText/RichText.d.ts +7 -7
- package/dist/types/Items/RichText/RichTextCommand.d.ts +2 -2
- package/dist/types/Items/RichText/RichTextOperations.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/common/createParagraphNode.d.ts +2 -2
- package/dist/types/Items/RichText/editorHelpers/common/getAllTextNodesInSelection.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/common/getSelectedBlockNode.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/common/getSelectionMarks.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/common/isBlockActive.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/lists/getBlockParentList.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/lists/getListTypeAtSelectionStart.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/lists/toggleListType.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/lists/toggleListTypeForSelection.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/lists/wrapIntoList.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/markdown/markdownProcessor.d.ts +2 -2
- package/dist/types/Items/RichText/editorHelpers/selectionOps/insertCopiedNodes.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/selectionOps/setSelectionFontStyle.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/selectionOps/setSelectionHorisontalAlignment.d.ts +1 -1
- package/dist/types/Items/RichText/setNodeStyles.d.ts +2 -2
- package/dist/types/Items/Shape/BPMN/BPMN_Annotation/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_DataObject/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_DataStore/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_EndEvent/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_EventSubprocess/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_Gateway/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_GatewayParallel/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_GatewayXOR/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_Group/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_IntermediateEvent/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_IntermediateEventNoneInterrupting/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_Participant/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_StartEvent/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_StartEventNoneInterrupting/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_Task/index.d.ts +1 -1
- package/dist/types/Items/Shape/BPMN/BPMN_Transaction/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ArrowBlockLeft/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ArrowBlockRigth/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ArrowLeft/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ArrowLeftRight/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ArrowRight/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/BracesLeft/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/BracesRight/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Circle/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Cloud/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Cross/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Cylinder/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Hexagon/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Octagon/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Parallelogram/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Pentagon/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/PredefinedProcess/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Rectangle/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ReversedParallelogram/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/ReversedTriangle/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Rhombus/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/RoundedRectangle/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/SpeachBubble/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Star/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Trapezoid/index.d.ts +1 -1
- package/dist/types/Items/Shape/Basic/Triangle/index.d.ts +1 -1
- package/dist/types/Items/Shape/Shape.d.ts +6 -6
- package/dist/types/Items/Sticker/Sticker.d.ts +4 -4
- package/dist/types/Items/Sticker/StickerOperation.d.ts +1 -1
- package/dist/types/Items/Transformation/Transformation.d.ts +1 -1
- package/dist/types/Items/Video/Video.d.ts +11 -11
- package/dist/types/Items/Video/VideoCommand.d.ts +1 -1
- package/dist/types/Items/Video/VideoHelpers.d.ts +1 -1
- package/dist/types/Keyboard/checkHotkeys.d.ts +1 -1
- package/dist/types/Keyboard/logHotkey.d.ts +1 -1
- package/dist/types/Keyboard/types.d.ts +1 -1
- package/dist/types/Pointer/Pointer.d.ts +2 -2
- package/dist/types/Presence/Presence.d.ts +5 -5
- package/dist/types/Selection/ConnectorTransformer/ConnectorTransformer.d.ts +5 -5
- package/dist/types/Selection/QuickAddButtons/QuickAddButtons.d.ts +4 -4
- package/dist/types/Selection/QuickAddButtons/quickAddHelpers.d.ts +5 -5
- package/dist/types/Selection/Selection.d.ts +14 -14
- package/dist/types/Selection/SelectionItems.d.ts +1 -1
- package/dist/types/Selection/SelectionTransformer.d.ts +4 -4
- package/dist/types/Selection/Transformer/TextTransformer/getTextResizeType.d.ts +1 -1
- package/dist/types/Selection/Transformer/Transformer.d.ts +8 -8
- package/dist/types/Selection/Transformer/TransformerHelpers/getFollowingComments.d.ts +3 -3
- package/dist/types/Selection/Transformer/TransformerHelpers/getOppositePoint.d.ts +1 -1
- package/dist/types/Selection/Transformer/TransformerHelpers/getResizeMatrix.d.ts +1 -1
- package/dist/types/Selection/Transformer/TransformerHelpers/getResizeType.d.ts +1 -1
- package/dist/types/Selection/Transformer/TransformerHelpers/getResizedMbr.d.ts +1 -1
- package/dist/types/Selection/Transformer/TransformerHelpers/handleMultipleItemsResize.d.ts +5 -5
- package/dist/types/Selection/Transformer/TransformerHelpers/switchResizeType.d.ts +1 -1
- package/dist/types/Selection/Transformer/TransformerHelpers/transformAINode.d.ts +6 -6
- package/dist/types/Selection/Transformer/TransformerHelpers/transformItems.d.ts +9 -9
- package/dist/types/Selection/Transformer/TransformerHelpers/transformRichText.d.ts +8 -8
- package/dist/types/Selection/Transformer/TransformerHelpers/transformShape.d.ts +9 -9
- package/dist/types/Selection/Transformer/TransformerHelpers/updateFrameChildren.d.ts +3 -3
- package/dist/types/SessionStorage.d.ts +8 -8
- package/dist/types/Settings.d.ts +2 -2
- package/dist/types/SpatialIndex/LayeredIndex/index.d.ts +2 -2
- package/dist/types/SpatialIndex/RTreeIndex/index.d.ts +2 -2
- package/dist/types/SpatialIndex/SpacialIndex.d.ts +7 -7
- package/dist/types/Tools/AddComment/AddComment.d.ts +2 -2
- package/dist/types/Tools/AddConnector/AddConnector.d.ts +9 -9
- package/dist/types/Tools/AddDrawing/AddDrawing.d.ts +6 -6
- package/dist/types/Tools/AddDrawing/AddHighlighter.d.ts +2 -2
- package/dist/types/Tools/AddFrame/AddFrame.d.ts +6 -6
- package/dist/types/Tools/AddShape/AddShape.d.ts +6 -6
- package/dist/types/Tools/AddSticker/AddSticker.d.ts +5 -5
- package/dist/types/Tools/AddText/AddText.d.ts +4 -4
- package/dist/types/Tools/BoardTool.d.ts +1 -1
- package/dist/types/Tools/BoardToolContext.d.ts +1 -1
- package/dist/types/Tools/CustomTool.d.ts +8 -8
- package/dist/types/Tools/Eraser/Eraser.d.ts +5 -5
- package/dist/types/Tools/ExportSnapshot/ExportSnapshot.d.ts +6 -6
- package/dist/types/Tools/ExportSnapshot/exportBoardSnapshot.d.ts +2 -2
- package/dist/types/Tools/ExportSnapshot/getDecorationResizeType.d.ts +2 -2
- package/dist/types/Tools/Navigate/Navigate.d.ts +2 -2
- package/dist/types/Tools/NestingHighlighter/NestingHighlighter.d.ts +3 -3
- package/dist/types/Tools/RelativeAlignment/RelativeAlignment.d.ts +7 -7
- package/dist/types/Tools/Select/Select.d.ts +6 -6
- package/dist/types/Tools/Tool.d.ts +1 -1
- package/dist/types/Tools/ToolContext.d.ts +1 -1
- package/dist/types/Tools/Tools.d.ts +5 -5
- package/dist/types/Validators/Validators.d.ts +1 -1
- package/dist/types/api/initBrowserSettings.d.ts +1 -1
- package/dist/types/api/initNodeSettings.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/itemFactories.d.ts +2 -2
- package/dist/types/parserHTML.d.ts +1 -1
- package/package.json +2 -1
|
@@ -5,14 +5,14 @@ import { RichText } from "../RichText";
|
|
|
5
5
|
import { ShapeOperation } from "./ShapeOperation";
|
|
6
6
|
import { ShapeData } from "./ShapeData";
|
|
7
7
|
import { DrawingContext } from "../DrawingContext";
|
|
8
|
-
import { Operation } from "Events";
|
|
8
|
+
import { Operation } from "../../Events";
|
|
9
9
|
import { GeometricNormal } from "../GeometricNormal";
|
|
10
|
-
import { ResizeType } from "Selection/Transformer/TransformerHelpers/getResizeType";
|
|
10
|
+
import { ResizeType } from "../../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
11
11
|
import { LinkTo } from "../LinkTo/LinkTo";
|
|
12
|
-
import { Board } from "Board";
|
|
13
|
-
import { Subject } from "Subject";
|
|
14
|
-
import { DocumentFactory } from "api/DocumentFactory";
|
|
15
|
-
import { BaseItem, SerializedItemData } from "
|
|
12
|
+
import { Board } from "../../Board";
|
|
13
|
+
import { Subject } from "../../Subject";
|
|
14
|
+
import { DocumentFactory } from "../../api/DocumentFactory";
|
|
15
|
+
import { BaseItem, SerializedItemData } from "../BaseItem/BaseItem";
|
|
16
16
|
export declare const Shapes: {
|
|
17
17
|
BPMN_Gateway: {
|
|
18
18
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Operation } from "Events";
|
|
2
|
-
import { Subject } from "Subject";
|
|
1
|
+
import { Operation } from "../../Events";
|
|
2
|
+
import { Subject } from "../../Subject";
|
|
3
3
|
import { Line, Matrix, Mbr, Path, Paths, Point, Transformation } from "..";
|
|
4
4
|
import { ResizeType } from "../../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
5
5
|
import { DrawingContext } from "../DrawingContext";
|
|
@@ -7,8 +7,8 @@ import { GeometricNormal } from "../GeometricNormal";
|
|
|
7
7
|
import { RichText } from "../RichText";
|
|
8
8
|
import { StickerData, StickerOperation } from "./StickerOperation";
|
|
9
9
|
import { LinkTo } from "../LinkTo/LinkTo";
|
|
10
|
-
import { Board } from "Board";
|
|
11
|
-
import { DocumentFactory } from "api/DocumentFactory";
|
|
10
|
+
import { Board } from "../../Board";
|
|
11
|
+
import { DocumentFactory } from "../../api/DocumentFactory";
|
|
12
12
|
import { BaseItem } from "../BaseItem";
|
|
13
13
|
export declare const stickerColors: {
|
|
14
14
|
[color: string]: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinkTo } from '
|
|
1
|
+
import { LinkTo } from '../LinkTo/LinkTo';
|
|
2
2
|
import { DefaultRichTextData } from '../RichText/RichTextData';
|
|
3
3
|
import { DefaultTransformationData } from '../Transformation/TransformationData';
|
|
4
4
|
export declare class StickerData {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { DocumentFactory } from "api/DocumentFactory";
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { Events, Operation } from "Events";
|
|
4
|
-
import { Point } from "Items";
|
|
5
|
-
import { DrawingContext } from "
|
|
6
|
-
import { LinkTo } from "
|
|
7
|
-
import { Mbr } from "
|
|
8
|
-
import { Path, Paths } from "
|
|
9
|
-
import { TransformationData, Transformation } from "
|
|
10
|
-
import { Subject } from "Subject";
|
|
11
|
-
import { BaseItem } from "
|
|
1
|
+
import { DocumentFactory } from "../../api/DocumentFactory";
|
|
2
|
+
import { Board } from "../../Board";
|
|
3
|
+
import { Events, Operation } from "../../Events";
|
|
4
|
+
import { Point } from "../../Items";
|
|
5
|
+
import { DrawingContext } from "../DrawingContext";
|
|
6
|
+
import { LinkTo } from "../LinkTo/LinkTo";
|
|
7
|
+
import { Mbr } from "../Mbr";
|
|
8
|
+
import { Path, Paths } from "../Path";
|
|
9
|
+
import { TransformationData, Transformation } from "../Transformation";
|
|
10
|
+
import { Subject } from "../../Subject";
|
|
11
|
+
import { BaseItem } from "../BaseItem/BaseItem";
|
|
12
12
|
export interface VideoItemData {
|
|
13
13
|
itemType: "Video";
|
|
14
14
|
url?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
2
|
import { VideoConstructorData, VideoItem } from './Video';
|
|
3
3
|
export declare const uploadVideoToStorage: (hash: string, videoBlob: Blob, accessToken: string | null, boardId: string) => Promise<string>;
|
|
4
4
|
export declare const getVideoMetadata: (file: File) => Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SelectionContext } from "Selection";
|
|
1
|
+
import { SelectionContext } from "../Selection";
|
|
2
2
|
import type { HotkeyCb, HotkeyConfig, HotkeyName } from "./types";
|
|
3
3
|
type HotkeyStatus = "triggered" | "canceledBySingleItemOnly" | "canceledBySelectionContext" | "canceledByAllItemsType";
|
|
4
4
|
export declare function logHotkey(hotkeyConfig: HotkeyCb | HotkeyConfig, hotkeyName: HotkeyName, status: HotkeyStatus, context: SelectionContext): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Point } from 'Items';
|
|
2
|
-
import { Subject } from 'Subject';
|
|
1
|
+
import { Point } from '../Items';
|
|
2
|
+
import { Subject } from '../Subject';
|
|
3
3
|
import { CursorsMap, CursorName, Cursor } from './Cursor';
|
|
4
4
|
export declare const cursorsMap: CursorsMap;
|
|
5
5
|
export declare class Pointer {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Events } from 'Events';
|
|
3
|
-
import { Item } from 'Items';
|
|
4
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
5
|
-
import { Subject } from 'Subject';
|
|
1
|
+
import { Board } from '../Board';
|
|
2
|
+
import { Events } from '../Events';
|
|
3
|
+
import { Item } from '../Items';
|
|
4
|
+
import { DrawingContext } from '../Items/DrawingContext';
|
|
5
|
+
import { Subject } from '../Subject';
|
|
6
6
|
import { PresenceEventType, PresenceEventMsg, UserJoinMsg, PointerMoveEvent, SelectionEvent, SetUserColorEvent, DrawSelectEvent, CancelDrawSelectEvent, CameraEvent, PresencePingEvent, BringToMeEvent, StopFollowingEvent, FollowEvent } from './Events';
|
|
7
7
|
export declare const PRESENCE_CURSOR_THROTTLE: number;
|
|
8
8
|
export declare const CURSORS_ANIMATION_DURATION: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
3
|
-
import { BoardSelection } from "Selection";
|
|
4
|
-
import { SelectionItems } from "
|
|
5
|
-
import { Tool } from "Tools/Tool";
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
3
|
+
import { BoardSelection } from "../../Selection";
|
|
4
|
+
import { SelectionItems } from "../SelectionItems";
|
|
5
|
+
import { Tool } from "../../Tools/Tool";
|
|
6
6
|
export declare class ConnectorTransformer extends Tool {
|
|
7
7
|
private board;
|
|
8
8
|
private selection;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { ConnectorData, Item, Point } from "Items";
|
|
3
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
4
|
-
import { BoardSelection } from "Selection";
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { ConnectorData, Item, Point } from "../../Items";
|
|
3
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
4
|
+
import { BoardSelection } from "../../Selection";
|
|
5
5
|
import "./QuickAddButtons.css";
|
|
6
6
|
export interface QuickAddButtons {
|
|
7
7
|
clear: () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Item, Connector, RichText } from 'Items';
|
|
3
|
-
import { AINode } from 'Items/AINode';
|
|
4
|
-
import { ControlPointData } from 'Items/Connector/ControlPoint';
|
|
5
|
-
import { ShapeType } from 'Items/Shape';
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { Item, Connector, RichText } from '../../Items';
|
|
3
|
+
import { AINode } from '../../Items/AINode';
|
|
4
|
+
import { ControlPointData } from '../../Items/Connector/ControlPoint';
|
|
5
|
+
import { ShapeType } from '../../Items/Shape';
|
|
6
6
|
/** index represents the number of connection - left, right, top, bottom */
|
|
7
7
|
export declare function getControlPointData(item: Item, index: number, isRichText?: boolean): ControlPointData;
|
|
8
8
|
export declare function quickAddItem(board: Board, type: ShapeType | 'AINode' | 'Sticker' | 'RichText', connector: Connector): void;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { Item, RichText, Mbr, ItemData } from "Items";
|
|
3
|
-
import { AINode } from "Items/AINode";
|
|
4
|
-
import { HorisontalAlignment, VerticalAlignment } from "Items/Alignment";
|
|
5
|
-
import { ConnectorLineStyle } from "Items/Connector";
|
|
6
|
-
import { ConnectorPointerStyle } from "Items/Connector/Pointers/Pointers";
|
|
7
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
8
|
-
import { FrameType } from "Items/Frame/Basic";
|
|
9
|
-
import { BorderStyle } from "Items/Path";
|
|
10
|
-
import { TextStyle } from "Items/RichText";
|
|
11
|
-
import { ShapeType } from "Items/Shape";
|
|
12
|
-
import { TransformManyItems } from "Items/Transformation/TransformationOperations";
|
|
13
|
-
import { Subject } from "Subject";
|
|
14
|
-
import { Tool } from "Tools/Tool";
|
|
1
|
+
import { Board } from "../Board";
|
|
2
|
+
import { Item, RichText, Mbr, ItemData } from "../Items";
|
|
3
|
+
import { AINode } from "../Items/AINode";
|
|
4
|
+
import { HorisontalAlignment, VerticalAlignment } from "../Items/Alignment";
|
|
5
|
+
import { ConnectorLineStyle } from "../Items/Connector";
|
|
6
|
+
import { ConnectorPointerStyle } from "../Items/Connector/Pointers/Pointers";
|
|
7
|
+
import { DrawingContext } from "../Items/DrawingContext";
|
|
8
|
+
import { FrameType } from "../Items/Frame/Basic";
|
|
9
|
+
import { BorderStyle } from "../Items/Path";
|
|
10
|
+
import { TextStyle } from "../Items/RichText";
|
|
11
|
+
import { ShapeType } from "../Items/Shape";
|
|
12
|
+
import { TransformManyItems } from "../Items/Transformation/TransformationOperations";
|
|
13
|
+
import { Subject } from "../Subject";
|
|
14
|
+
import { Tool } from "../Tools/Tool";
|
|
15
15
|
import { QuickAddButtons } from "./QuickAddButtons";
|
|
16
16
|
import { SelectionItems } from "./SelectionItems";
|
|
17
17
|
import { BaseSelection, BaseRange } from "slate";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
3
|
-
import { Tool } from "Tools/Tool";
|
|
1
|
+
import { Board } from "../Board";
|
|
2
|
+
import { DrawingContext } from "../Items/DrawingContext";
|
|
3
|
+
import { Tool } from "../Tools/Tool";
|
|
4
4
|
import { ConnectorTransformer } from "./ConnectorTransformer";
|
|
5
5
|
import { SelectionItems } from "./SelectionItems";
|
|
6
6
|
import { Transformer } from "./Transformer";
|
|
7
|
-
import { BoardSelection } from "Selection";
|
|
7
|
+
import { BoardSelection } from "../Selection";
|
|
8
8
|
export declare class SelectionTransformer extends Tool {
|
|
9
9
|
private board;
|
|
10
10
|
private selection;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { CanvasDrawer } from "drawMbrOnCanvas";
|
|
3
|
-
import { Item, Mbr, Point } from "Items";
|
|
4
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
5
|
-
import { Geometry } from "Items/Geometry";
|
|
6
|
-
import { BoardSelection } from "Selection";
|
|
7
|
-
import { SelectionItems } from "
|
|
8
|
-
import { Tool } from "Tools/Tool";
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { CanvasDrawer } from "../../drawMbrOnCanvas";
|
|
3
|
+
import { Item, Mbr, Point } from "../../Items";
|
|
4
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
5
|
+
import { Geometry } from "../../Items/Geometry";
|
|
6
|
+
import { BoardSelection } from "../../Selection";
|
|
7
|
+
import { SelectionItems } from "../SelectionItems";
|
|
8
|
+
import { Tool } from "../../Tools/Tool";
|
|
9
9
|
import { AnchorType } from "./TransformerHelpers/AnchorType";
|
|
10
10
|
import { ResizeType } from "./TransformerHelpers/getResizeType";
|
|
11
11
|
export declare class Transformer extends Tool {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Comment } from "Items/Comment/Comment";
|
|
2
|
-
import { Item } from "Items/Item";
|
|
3
|
-
import { Board } from "Board";
|
|
1
|
+
import { Comment } from "../../../Items/Comment/Comment";
|
|
2
|
+
import { Item } from "../../../Items/Item";
|
|
3
|
+
import { Board } from "../../../Board";
|
|
4
4
|
export declare function getFollowingComments(board: Board, single: Item | null): Comment[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Point, Mbr, Matrix } from "Items/index";
|
|
1
|
+
import { Point, Mbr, Matrix } from "../../../Items/index";
|
|
2
2
|
import { ResizeType } from "./getResizeType.ts";
|
|
3
3
|
export declare function getResize(resizeType: ResizeType, pointer: Point, mbr: Mbr, opposite: Point): {
|
|
4
4
|
matrix: Matrix;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Point, Mbr } from "Items";
|
|
1
|
+
import { Point, Mbr } from "../../../Items";
|
|
2
2
|
export type ResizeType = "left" | "top" | "right" | "bottom" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
3
3
|
export declare function getResizeType(cursorPoint: Point, cameraScale: number, mbr?: Mbr, anchorDistance?: number): ResizeType | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Matrix } from "Items/Transformation/Matrix";
|
|
2
|
-
import { Mbr } from "Items/Mbr/Mbr";
|
|
3
|
-
import { Item } from "Items/Item";
|
|
4
|
-
import { TransformManyItems } from "Items/Transformation/TransformationOperations";
|
|
5
|
-
import { Board } from "Board";
|
|
1
|
+
import { Matrix } from "../../../Items/Transformation/Matrix";
|
|
2
|
+
import { Mbr } from "../../../Items/Mbr/Mbr";
|
|
3
|
+
import { Item } from "../../../Items/Item";
|
|
4
|
+
import { TransformManyItems } from "../../../Items/Transformation/TransformationOperations";
|
|
5
|
+
import { Board } from "../../../Board";
|
|
6
6
|
export declare function handleMultipleItemsResize({ board, resize, itemsToResize, isHeight, isWidth, initMbr, isShiftPressed, }: {
|
|
7
7
|
board: Board;
|
|
8
8
|
resize: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Mbr } from "Items";
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { ResizeType } from "
|
|
4
|
-
import { Point } from "Items/Point/Point";
|
|
5
|
-
import { Comment } from "Items/Comment/Comment";
|
|
6
|
-
import { AINode } from "Items/AINode/AINode";
|
|
1
|
+
import { Mbr } from "../../../Items";
|
|
2
|
+
import { Board } from "../../../Board";
|
|
3
|
+
import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
|
|
4
|
+
import { Point } from "../../../Items/Point/Point";
|
|
5
|
+
import { Comment } from "../../../Items/Comment/Comment";
|
|
6
|
+
import { AINode } from "../../../Items/AINode/AINode";
|
|
7
7
|
export declare function transformAINode({ board, mbr, isWidth, resizeType, single, oppositePoint, isHeight, isShiftPressed, followingComments, }: {
|
|
8
8
|
board: Board;
|
|
9
9
|
single: AINode;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Point } from "Items/Point/Point";
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { BoardSelection } from "Selection
|
|
4
|
-
import { CanvasDrawer } from "drawMbrOnCanvas";
|
|
5
|
-
import AlignmentHelper from "Tools/RelativeAlignment";
|
|
6
|
-
import { Mbr } from "Items/Mbr/Mbr";
|
|
7
|
-
import { ResizeType } from "
|
|
8
|
-
import { DebounceUpdater } from "Tools/DebounceUpdater/DebounceUpdater";
|
|
9
|
-
import { Item } from "Items/Item";
|
|
1
|
+
import { Point } from "../../../Items/Point/Point";
|
|
2
|
+
import { Board } from "../../../Board";
|
|
3
|
+
import { BoardSelection } from "../../Selection";
|
|
4
|
+
import { CanvasDrawer } from "../../../drawMbrOnCanvas";
|
|
5
|
+
import AlignmentHelper from "../../../Tools/RelativeAlignment";
|
|
6
|
+
import { Mbr } from "../../../Items/Mbr/Mbr";
|
|
7
|
+
import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
|
|
8
|
+
import { DebounceUpdater } from "../../../Tools/DebounceUpdater/DebounceUpdater";
|
|
9
|
+
import { Item } from "../../../Items/Item";
|
|
10
10
|
export declare function transformItems({ board, selection, canvasDrawer, alignmentHelper, debounceUpd, resizeType, mbr, oppositePoint, isWidth, isHeight, isShiftPressed, beginTimeStamp, single, snapCursorPos, setSnapCursorPos, }: {
|
|
11
11
|
board: Board;
|
|
12
12
|
snapCursorPos: Point | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Mbr } from "Items/Mbr/Mbr";
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { RichText } from "Items/RichText/RichText";
|
|
4
|
-
import { ResizeType } from "
|
|
5
|
-
import { Point } from "Items/Point/Point";
|
|
6
|
-
import { Comment } from "Items/Comment/Comment";
|
|
7
|
-
import { Matrix } from "Items/Transformation/Matrix";
|
|
8
|
-
import { AINode } from "Items/AINode/AINode";
|
|
1
|
+
import { Mbr } from "../../../Items/Mbr/Mbr";
|
|
2
|
+
import { Board } from "../../../Board";
|
|
3
|
+
import { RichText } from "../../../Items/RichText/RichText";
|
|
4
|
+
import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
|
|
5
|
+
import { Point } from "../../../Items/Point/Point";
|
|
6
|
+
import { Comment } from "../../../Items/Comment/Comment";
|
|
7
|
+
import { Matrix } from "../../../Items/Transformation/Matrix";
|
|
8
|
+
import { AINode } from "../../../Items/AINode/AINode";
|
|
9
9
|
export declare function transformRichText({ board, mbr, isWidth, resizeType, single, oppositePoint, isHeight, isShiftPressed, followingComments, }: {
|
|
10
10
|
board: Board;
|
|
11
11
|
single: RichText;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TransformManyItems } from "Items/Transformation/TransformationOperations";
|
|
2
|
-
import { Mbr } from "Items/Mbr/Mbr";
|
|
3
|
-
import { Sticker } from "Items/Sticker/Sticker";
|
|
4
|
-
import { Shape } from "Items/Shape/Shape";
|
|
5
|
-
import { Frame } from "Items/Frame/Frame";
|
|
6
|
-
import { Board } from "Board";
|
|
7
|
-
import { ResizeType } from "
|
|
8
|
-
import { Point } from "Items/Point/Point";
|
|
9
|
-
import { Comment } from "Items/Comment/Comment";
|
|
1
|
+
import { TransformManyItems } from "../../../Items/Transformation/TransformationOperations";
|
|
2
|
+
import { Mbr } from "../../../Items/Mbr/Mbr";
|
|
3
|
+
import { Sticker } from "../../../Items/Sticker/Sticker";
|
|
4
|
+
import { Shape } from "../../../Items/Shape/Shape";
|
|
5
|
+
import { Frame } from "../../../Items/Frame/Frame";
|
|
6
|
+
import { Board } from "../../../Board";
|
|
7
|
+
import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
|
|
8
|
+
import { Point } from "../../../Items/Point/Point";
|
|
9
|
+
import { Comment } from "../../../Items/Comment/Comment";
|
|
10
10
|
export declare function transformShape({ mbr, board, single, oppositePoint, resizeType, isShiftPressed, isHeight, isWidth, startMbr, followingComments, }: {
|
|
11
11
|
single: Sticker | Shape | Frame;
|
|
12
12
|
board: Board;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from "Items/Mbr/Mbr";
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { NestingHighlighter } from "Tools/NestingHighlighter/NestingHighlighter";
|
|
1
|
+
import { Mbr } from "../../../Items/Mbr/Mbr";
|
|
2
|
+
import { Board } from "../../../Board";
|
|
3
|
+
import { NestingHighlighter } from "../../../Tools/NestingHighlighter/NestingHighlighter";
|
|
4
4
|
export declare function updateFrameChildren({ mbr, board, nestingHighlighter, }: {
|
|
5
5
|
mbr: Mbr;
|
|
6
6
|
board: Board;
|