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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ShapeData } from 'Items';
|
|
2
|
-
import { ConnectorLineStyle } from 'Items/Connector';
|
|
3
|
-
import { ConnectionLineWidth } from 'Items/Connector/Connector';
|
|
4
|
-
import { ConnectorEdge } from 'Items/Connector/Pointers';
|
|
5
|
-
import { ConnectorPointerStyle } from 'Items/Connector/Pointers/Pointers';
|
|
6
|
-
import { BorderStyle } from 'Items/Path';
|
|
7
|
-
import { TextStyle } from 'Items/RichText';
|
|
8
|
-
import { StickerData } from 'Items/Sticker/StickerOperation';
|
|
1
|
+
import { ShapeData } from './Items';
|
|
2
|
+
import { ConnectorLineStyle } from './Items/Connector';
|
|
3
|
+
import { ConnectionLineWidth } from './Items/Connector/Connector';
|
|
4
|
+
import { ConnectorEdge } from './Items/Connector/Pointers';
|
|
5
|
+
import { ConnectorPointerStyle } from './Items/Connector/Pointers/Pointers';
|
|
6
|
+
import { BorderStyle } from './Items/Path';
|
|
7
|
+
import { TextStyle } from './Items/RichText';
|
|
8
|
+
import { StickerData } from './Items/Sticker/StickerOperation';
|
|
9
9
|
export declare class SessionStorage {
|
|
10
10
|
private set;
|
|
11
11
|
private get;
|
package/dist/types/Settings.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { BoardSnapshot } from "./Board";
|
|
|
3
3
|
import { BrowserDocumentFactory } from "./api/BrowserDocumentFactory";
|
|
4
4
|
import { BrowserPath2D } from "./api/BrowserPath2DFactory";
|
|
5
5
|
import { MockDocumentFactory } from "./api/MockDocumentFactory";
|
|
6
|
-
import { MockPath2D } from "api/MockPath2D";
|
|
7
|
-
import { BorderStyle } from "Items";
|
|
6
|
+
import { MockPath2D } from "./api/MockPath2D";
|
|
7
|
+
import { BorderStyle } from "./Items";
|
|
8
8
|
export interface Connection {
|
|
9
9
|
connectionId: number;
|
|
10
10
|
getCurrentUser: () => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mbr, Point } from 'Items';
|
|
2
|
-
import { Item } from 'Items';
|
|
1
|
+
import { Mbr, Point } from '../../Items';
|
|
2
|
+
import { Item } from '../../Items';
|
|
3
3
|
import { Layers } from './Layers';
|
|
4
4
|
import { RTreeIndex } from '../RTreeIndex';
|
|
5
5
|
export declare class Container extends Mbr {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import RBush, { BBox } from 'rbush';
|
|
2
|
-
import { Point, Mbr } from 'Items';
|
|
3
|
-
import { Item } from 'Items';
|
|
2
|
+
import { Point, Mbr } from '../../Items';
|
|
3
|
+
import { Item } from '../../Items';
|
|
4
4
|
import { Container } from '../LayeredIndex';
|
|
5
5
|
declare class Tree extends RBush<Container> {
|
|
6
6
|
toBBox(container: Container): BBox;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DocumentFactory } from 'api/DocumentFactory';
|
|
2
|
-
import { ItemsIndexRecord } from 'BoardOperations';
|
|
3
|
-
import { Camera } from 'Camera';
|
|
4
|
-
import { Item, Mbr, Point, Connector, Comment } from 'Items';
|
|
5
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
6
|
-
import { Pointer } from 'Pointer';
|
|
7
|
-
import { Subject } from 'Subject';
|
|
1
|
+
import { DocumentFactory } from '../api/DocumentFactory';
|
|
2
|
+
import { ItemsIndexRecord } from '../BoardOperations';
|
|
3
|
+
import { Camera } from '../Camera';
|
|
4
|
+
import { Item, Mbr, Point, Connector, Comment } from '../Items';
|
|
5
|
+
import { DrawingContext } from '../Items/DrawingContext';
|
|
6
|
+
import { Pointer } from '../Pointer';
|
|
7
|
+
import { Subject } from '../Subject';
|
|
8
8
|
import { BaseItem } from "../Items/BaseItem";
|
|
9
9
|
import { ItemDataWithId } from "../Items/Item";
|
|
10
10
|
export declare class SpatialIndex {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { BoardTool } from "
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { BoardTool } from "../BoardTool";
|
|
3
3
|
import { Comment } from "../../Items";
|
|
4
4
|
export declare class AddComment extends BoardTool {
|
|
5
5
|
isDown: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Connector, Item, Point } from 'Items';
|
|
3
|
-
import { ConnectorLineStyle } from 'Items/Connector';
|
|
4
|
-
import { ConnectionLineWidth } from 'Items/Connector/Connector';
|
|
5
|
-
import { ConnectorSnap } from 'Items/Connector/ConnectorSnap';
|
|
6
|
-
import { ConnectorPointerStyle } from 'Items/Connector/Pointers/Pointers';
|
|
7
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
8
|
-
import { BorderStyle } from 'Items/Path';
|
|
9
|
-
import { BoardTool } from '
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { Connector, Item, Point } from '../../Items';
|
|
3
|
+
import { ConnectorLineStyle } from '../../Items/Connector';
|
|
4
|
+
import { ConnectionLineWidth } from '../../Items/Connector/Connector';
|
|
5
|
+
import { ConnectorSnap } from '../../Items/Connector/ConnectorSnap';
|
|
6
|
+
import { ConnectorPointerStyle } from '../../Items/Connector/Pointers/Pointers';
|
|
7
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
8
|
+
import { BorderStyle } from '../../Items/Path';
|
|
9
|
+
import { BoardTool } from '../BoardTool';
|
|
10
10
|
export declare class AddConnector extends BoardTool {
|
|
11
11
|
connector: Connector | null;
|
|
12
12
|
lineStyle: ConnectorLineStyle;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Point } from 'Items';
|
|
3
|
-
import { Drawing } from 'Items/Drawing';
|
|
4
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
5
|
-
import { BorderStyle } from 'Items/Path';
|
|
6
|
-
import { BoardTool } from '
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { Point } from '../../Items';
|
|
3
|
+
import { Drawing } from '../../Items/Drawing';
|
|
4
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
5
|
+
import { BorderStyle } from '../../Items/Path';
|
|
6
|
+
import { BoardTool } from '../BoardTool';
|
|
7
7
|
export declare class AddDrawing extends BoardTool {
|
|
8
8
|
drawing: Drawing | null;
|
|
9
9
|
isDown: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { BorderStyle } from 'Items/Path';
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { BorderStyle } from '../../Items/Path';
|
|
3
3
|
import { AddDrawing } from './AddDrawing';
|
|
4
4
|
export declare class AddHighlighter extends AddDrawing {
|
|
5
5
|
strokeWidth: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Line, Frame, Mbr, Item } from 'Items';
|
|
3
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
4
|
-
import { FrameType } from 'Items/Frame/Basic';
|
|
5
|
-
import { BoardTool } from '
|
|
6
|
-
import { NestingHighlighter } from '
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { Line, Frame, Mbr, Item } from '../../Items';
|
|
3
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
4
|
+
import { FrameType } from '../../Items/Frame/Basic';
|
|
5
|
+
import { BoardTool } from '../BoardTool';
|
|
6
|
+
import { NestingHighlighter } from '../NestingHighlighter';
|
|
7
7
|
export declare class AddFrame extends BoardTool {
|
|
8
8
|
line: Line | undefined;
|
|
9
9
|
shape: FrameType;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { Line, Mbr, Shape } from "Items";
|
|
3
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
4
|
-
import { ShapeType } from "Items/Shape";
|
|
5
|
-
import { ResizeType } from "Selection/Transformer/TransformerHelpers/getResizeType";
|
|
6
|
-
import { BoardTool } from "
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { Line, Mbr, Shape } from "../../Items";
|
|
3
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
4
|
+
import { ShapeType } from "../../Items/Shape";
|
|
5
|
+
import { ResizeType } from "../../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
6
|
+
import { BoardTool } from "../BoardTool";
|
|
7
7
|
export declare class AddShape extends BoardTool {
|
|
8
8
|
line: Line | undefined;
|
|
9
9
|
resizeType: ResizeType;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Line, Mbr } from 'Items';
|
|
3
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
4
|
-
import { Sticker } from 'Items/Sticker';
|
|
5
|
-
import { BoardTool } from '
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { Line, Mbr } from '../../Items';
|
|
3
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
4
|
+
import { Sticker } from '../../Items/Sticker';
|
|
5
|
+
import { BoardTool } from '../BoardTool';
|
|
6
6
|
export declare class AddSticker extends BoardTool {
|
|
7
7
|
static MIN_SIZE: number;
|
|
8
8
|
line: Line | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { Line, Mbr } from 'Items';
|
|
3
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
4
|
-
import { BoardTool } from '
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { Line, Mbr } from '../../Items';
|
|
3
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
4
|
+
import { BoardTool } from '../BoardTool';
|
|
5
5
|
export declare class AddText extends BoardTool {
|
|
6
6
|
line: Line | undefined;
|
|
7
7
|
bounds: Mbr;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BoardTool } from "
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { BaseItem } from "Items/BaseItem/BaseItem";
|
|
4
|
-
import { Line } from "Items/Line/Line";
|
|
5
|
-
import { Mbr } from "Items/Mbr/Mbr";
|
|
6
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
7
|
-
import { ResizeType } from "Selection/Transformer/TransformerHelpers/getResizeType";
|
|
8
|
-
import { CursorName } from "Pointer/Cursor";
|
|
1
|
+
import { BoardTool } from "./BoardTool";
|
|
2
|
+
import { Board } from "../Board";
|
|
3
|
+
import { BaseItem } from "../Items/BaseItem/BaseItem";
|
|
4
|
+
import { Line } from "../Items/Line/Line";
|
|
5
|
+
import { Mbr } from "../Items/Mbr/Mbr";
|
|
6
|
+
import { DrawingContext } from "../Items/DrawingContext";
|
|
7
|
+
import { ResizeType } from "../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
8
|
+
import { CursorName } from "../Pointer/Cursor";
|
|
9
9
|
export interface ShapeToolSettings {
|
|
10
10
|
cursorName?: CursorName;
|
|
11
11
|
fixedRatio?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { Drawing } from "Items/Drawing";
|
|
3
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
4
|
-
import { BorderStyle } from "Items/Path";
|
|
5
|
-
import { BoardTool } from "
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { Drawing } from "../../Items/Drawing";
|
|
3
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
4
|
+
import { BorderStyle } from "../../Items/Path";
|
|
5
|
+
import { BoardTool } from "../BoardTool";
|
|
6
6
|
export declare class Eraser extends BoardTool {
|
|
7
7
|
itemType: string;
|
|
8
8
|
isDown: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Path2DFactory } from "api/Path2DFactory";
|
|
2
|
-
import { Board } from "Board";
|
|
3
|
-
import { Mbr, Transformation, Point } from "Items";
|
|
4
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
5
|
-
import { ResizeType } from "Selection/Transformer/TransformerHelpers/getResizeType";
|
|
6
|
-
import { Tool } from "
|
|
1
|
+
import { Path2DFactory } from "../../api/Path2DFactory";
|
|
2
|
+
import { Board } from "../../Board";
|
|
3
|
+
import { Mbr, Transformation, Point } from "../../Items";
|
|
4
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
5
|
+
import { ResizeType } from "../../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
6
|
+
import { Tool } from "../Tool";
|
|
7
7
|
import { SnapshotInfo } from "./exportBoardSnapshot";
|
|
8
8
|
export declare class ExportSnapshot extends Tool {
|
|
9
9
|
private board;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Point, Mbr } from "Items";
|
|
2
|
-
import { ResizeType } from "Selection/Transformer/TransformerHelpers/getResizeType";
|
|
1
|
+
import { Point, Mbr } from "../../Items";
|
|
2
|
+
import { ResizeType } from "../../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
3
3
|
export declare function getDecorationResizeType(point: Point, mbr: Mbr, tolerance?: number): ResizeType | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Item } from 'Items';
|
|
2
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
3
|
-
import { Tool } from '
|
|
1
|
+
import { Item } from '../../Items';
|
|
2
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
3
|
+
import { Tool } from '../Tool';
|
|
4
4
|
import { BaseItem } from "../../Items/BaseItem";
|
|
5
5
|
interface HighlightGroup {
|
|
6
6
|
groupItem?: BaseItem;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { CanvasDrawer } from "drawMbrOnCanvas";
|
|
3
|
-
import { Item, Mbr, Line, Point } from "Items";
|
|
4
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
5
|
-
import { ResizeType } from "Selection/Transformer/TransformerHelpers/getResizeType";
|
|
6
|
-
import { SpatialIndex } from "SpatialIndex";
|
|
7
|
-
import { DebounceUpdater } from "
|
|
1
|
+
import { Board } from "../../Board";
|
|
2
|
+
import { CanvasDrawer } from "../../drawMbrOnCanvas";
|
|
3
|
+
import { Item, Mbr, Line, Point } from "../../Items";
|
|
4
|
+
import { DrawingContext } from "../../Items/DrawingContext";
|
|
5
|
+
import { ResizeType } from "../../Selection/Transformer/TransformerHelpers/getResizeType";
|
|
6
|
+
import { SpatialIndex } from "../../SpatialIndex";
|
|
7
|
+
import { DebounceUpdater } from "../DebounceUpdater/DebounceUpdater";
|
|
8
8
|
export declare const RELATIVE_ALIGNMENT_COLOR = "#4778F5";
|
|
9
9
|
export declare class AlignmentHelper {
|
|
10
10
|
private spatialIndex;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Board } from 'Board';
|
|
2
|
-
import { CanvasDrawer } from 'drawMbrOnCanvas';
|
|
3
|
-
import { Line, Mbr, Item } from 'Items';
|
|
4
|
-
import { DrawingContext } from 'Items/DrawingContext';
|
|
5
|
-
import { NestingHighlighter } from '
|
|
6
|
-
import { Tool } from '
|
|
1
|
+
import { Board } from '../../Board';
|
|
2
|
+
import { CanvasDrawer } from '../../drawMbrOnCanvas';
|
|
3
|
+
import { Line, Mbr, Item } from '../../Items';
|
|
4
|
+
import { DrawingContext } from '../../Items/DrawingContext';
|
|
5
|
+
import { NestingHighlighter } from '../NestingHighlighter';
|
|
6
|
+
import { Tool } from '../Tool';
|
|
7
7
|
export declare class Select extends Tool {
|
|
8
8
|
private board;
|
|
9
9
|
line: null | Line;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Board } from "Board";
|
|
2
|
-
import { Item, Point, Frame } from "Items";
|
|
3
|
-
import { DrawingContext } from "Items/DrawingContext";
|
|
1
|
+
import { Board } from "../Board";
|
|
2
|
+
import { Item, Point, Frame } from "../Items";
|
|
3
|
+
import { DrawingContext } from "../Items/DrawingContext";
|
|
4
4
|
import { AddComment } from "./AddComment";
|
|
5
5
|
import { AddConnector } from "./AddConnector";
|
|
6
6
|
import { AddDrawing, AddHighlighter } from "./AddDrawing";
|
|
@@ -14,8 +14,8 @@ import { ExportSnapshot } from "./ExportSnapshot/ExportSnapshot";
|
|
|
14
14
|
import { Navigate } from "./Navigate";
|
|
15
15
|
import { Select } from "./Select";
|
|
16
16
|
import { ToolContext } from "./ToolContext";
|
|
17
|
-
import { Subject } from "Subject";
|
|
18
|
-
import { CustomTool } from "
|
|
17
|
+
import { Subject } from "../Subject";
|
|
18
|
+
import { CustomTool } from "./CustomTool";
|
|
19
19
|
import { Tool } from "./Tool";
|
|
20
20
|
export declare const registeredTools: Record<string, typeof CustomTool>;
|
|
21
21
|
export declare class Tools extends ToolContext {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ItemData } from "Items";
|
|
1
|
+
import { ItemData } from "../Items";
|
|
2
2
|
export type ItemsMap = Record<string, ItemData>;
|
|
3
3
|
export declare function validateItemsMap(parsedObject: any): parsedObject is ItemsMap;
|
|
4
4
|
export declare const itemValidators: Record<string, (data: any) => boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Settings } from 'Settings';
|
|
1
|
+
import { Settings } from '../Settings';
|
|
2
2
|
export declare function initBrowserSettings(): Settings;
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-temp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14",
|
|
4
4
|
"description": "A flexible interactive whiteboard library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"rimraf": "^6.0.1",
|
|
71
71
|
"slate-history": "^0.113.1",
|
|
72
72
|
"slate-react": "^0.114.2",
|
|
73
|
+
"tsc-alias": "^1.8.16",
|
|
73
74
|
"typescript": "^5.8.3",
|
|
74
75
|
"unified": "^11.0.5",
|
|
75
76
|
"uuid": "^11.1.0"
|