microboard-temp 0.14.14 → 0.14.16
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/cjs/browser.js +4862 -3698
- package/dist/cjs/index.js +4862 -3698
- package/dist/cjs/node.js +4862 -3698
- package/dist/cjs/protocol.js +25 -0
- package/dist/esm/browser.js +4862 -3698
- package/dist/esm/index.js +4862 -3698
- package/dist/esm/node.js +4862 -3698
- package/dist/esm/protocol.js +25 -0
- package/dist/types/Background/drawBackground.d.ts +1 -1
- package/dist/types/Board.d.ts +4 -3
- package/dist/types/Camera/Camera.d.ts +3 -3
- package/dist/types/Events/EventsOperations.d.ts +1 -1
- package/dist/types/Events/MessageRouter/socketContract.d.ts +1249 -9
- package/dist/types/Events/Transform/transformTransformationOperation.d.ts +2 -0
- package/dist/types/{Items → Geometry}/Geometry.d.ts +1 -1
- package/dist/types/{Items → Geometry}/Mbr/Mbr.d.ts +2 -1
- package/dist/types/{Items → Geometry}/Path/Paths.d.ts +1 -1
- package/dist/types/{Items → Geometry}/Transformation/Matrix.d.ts +16 -0
- package/dist/types/{Items → Geometry}/Transformation/TransformationData.d.ts +5 -1
- package/dist/types/{Items → Geometry}/Transformation/TransformationOperations.d.ts +27 -1
- package/dist/types/{Items → Geometry}/Transformation/transformOps.d.ts +3 -1
- package/dist/types/Geometry/index.d.ts +12 -0
- package/dist/types/HTMLAdapter/BoardHTMLAdapter.d.ts +15 -0
- package/dist/types/{parserHTML.d.ts → HTMLAdapter/Parser.d.ts} +2 -2
- package/dist/types/{Items → HTMLAdapter}/Renderers/AINodeHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/AudioHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/CommentHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/ConnectorHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/DrawingHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/FrameHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/GroupHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/HTMLItemRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/ImageHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/PlaceholderHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/RichTextHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/ShapeHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/StickerHTMLRenderer.d.ts +1 -1
- package/dist/types/{Items → HTMLAdapter}/Renderers/VideoHTMLRenderer.d.ts +1 -1
- package/dist/types/{HTMLRender/HTMLRender.d.ts → HTMLAdapter/Utils.d.ts} +1 -1
- package/dist/types/Items/AINode/AINode.d.ts +5 -20
- package/dist/types/Items/AINode/AINodeData.d.ts +4 -4
- package/dist/types/Items/Audio/Audio.d.ts +8 -5
- package/dist/types/Items/Audio/AudioHelpers.d.ts +1 -1
- package/dist/types/Items/BaseItem/BaseItem.d.ts +50 -28
- package/dist/types/Items/BaseItem/TransformContext.d.ts +3 -3
- package/dist/types/Items/BaseItem/UpdateHint.d.ts +12 -0
- package/dist/types/Items/{Examples/CardGame/Card → Card}/Card.d.ts +11 -7
- package/dist/types/Items/Card/CardActions.d.ts +2 -0
- package/dist/types/Items/{Examples/CardGame/Card → Card}/CardOperation.d.ts +2 -2
- package/dist/types/Items/Card/CardOverlay.d.ts +2 -0
- package/dist/types/Items/Comment/Comment.d.ts +10 -7
- package/dist/types/{Tools/AddComment → Items/Comment/Tool}/AddComment.d.ts +3 -3
- package/dist/types/Items/Connector/Connector.d.ts +14 -10
- package/dist/types/Items/Connector/ConnectorOperations.d.ts +2 -2
- package/dist/types/Items/Connector/ConnectorOverlay.d.ts +3 -0
- package/dist/types/Items/Connector/ConnectorSnap.d.ts +4 -4
- package/dist/types/Items/Connector/ConnectorTypes.d.ts +1 -1
- package/dist/types/Items/Connector/ControlPoint.d.ts +1 -1
- package/dist/types/Items/Connector/Pointers/Pointers.d.ts +3 -3
- package/dist/types/{Tools/AddConnector → Items/Connector/Tool}/AddConnector.d.ts +9 -9
- package/dist/types/Items/Connector/getLine/findOrthogonalPath.d.ts +1 -1
- package/dist/types/Items/Connector/getLine/getCurvedLine.d.ts +1 -1
- package/dist/types/Items/Connector/getLine/getLine.d.ts +1 -1
- package/dist/types/Items/{Examples/CardGame/Deck → Deck}/Deck.d.ts +10 -7
- package/dist/types/Items/Deck/DeckActions.d.ts +2 -0
- package/dist/types/Items/{Examples/CardGame/Deck → Deck}/DeckOperation.d.ts +2 -2
- package/dist/types/Items/Deck/DeckOverlay.d.ts +3 -0
- package/dist/types/Items/Dice/AddDice.d.ts +5 -0
- package/dist/types/Items/{Examples/CardGame/Dice → Dice}/Dice.d.ts +12 -8
- package/dist/types/Items/Dice/DiceActions.d.ts +2 -0
- package/dist/types/Items/{Examples/CardGame/Dice → Dice}/DiceOperation.d.ts +1 -1
- package/dist/types/Items/Dice/DiceOverlay.d.ts +3 -0
- package/dist/types/Items/Drawing/Drawing.d.ts +13 -9
- package/dist/types/Items/Drawing/DrawingOperation.d.ts +1 -1
- package/dist/types/Items/Drawing/DrawingOverlay.d.ts +4 -0
- package/dist/types/{Tools/AddDrawing → Items/Drawing/Tool}/AddDrawing.d.ts +7 -7
- package/dist/types/{Tools/AddDrawing → Items/Drawing/Tool}/AddHighlighter.d.ts +4 -4
- package/dist/types/{Tools → Items/Drawing/Tool}/Eraser/Eraser.d.ts +5 -5
- package/dist/types/Items/Frame/Basic/1-1/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/16-9/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/3-2/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/4-3/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/9-18/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/A4/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/Custom/index.d.ts +3 -3
- package/dist/types/Items/Frame/Basic/Letter/index.d.ts +3 -3
- package/dist/types/Items/Frame/Frame.d.ts +13 -20
- package/dist/types/Items/Frame/FrameData.d.ts +2 -2
- package/dist/types/Items/Frame/FrameOverlay.d.ts +2 -0
- package/dist/types/{Tools/AddFrame → Items/Frame/Tool}/AddFrame.d.ts +6 -6
- package/dist/types/Items/Group/Group.d.ts +9 -8
- package/dist/types/Items/Image/Image.d.ts +11 -7
- package/dist/types/Items/Item.d.ts +1 -1
- package/dist/types/Items/ItemActions.d.ts +160 -0
- package/dist/types/Items/LinkTo/LinkTo.d.ts +1 -1
- package/dist/types/Items/Placeholder/Placeholder.d.ts +11 -32
- package/dist/types/Items/RegisterItem.d.ts +8 -4
- package/dist/types/Items/RichText/Editor/BlockNode.d.ts +1 -1
- package/dist/types/Items/RichText/Editor/TextNode.d.ts +1 -1
- package/dist/types/Items/RichText/EditorContainer.d.ts +1 -1
- package/dist/types/Items/RichText/RichText.d.ts +11 -6
- package/dist/types/Items/RichText/RichTextData.d.ts +2 -2
- package/dist/types/Items/RichText/RichTextOperations.d.ts +1 -1
- package/dist/types/Items/RichText/RichTextOverlay.d.ts +3 -0
- package/dist/types/{Tools/AddText → Items/RichText/Tool}/AddText.d.ts +4 -4
- package/dist/types/Items/RichText/editorHelpers/common/createParagraphNode.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/common/getParagraph.d.ts +1 -1
- package/dist/types/Items/RichText/editorHelpers/selectionOps/setSelectionHorisontalAlignment.d.ts +1 -1
- package/dist/types/Items/RichText/setNodeStyles.d.ts +1 -1
- package/dist/types/Items/{Examples/CardGame/Screen → Screen}/AddScreen.d.ts +2 -2
- package/dist/types/Items/{Examples/CardGame/Screen → Screen}/Screen.d.ts +10 -6
- package/dist/types/Items/Screen/ScreenActions.d.ts +12 -0
- package/dist/types/Items/{Examples/CardGame/Screen → Screen}/ScreenOperation.d.ts +1 -1
- package/dist/types/Items/Screen/ScreenOverlay.d.ts +4 -0
- package/dist/types/Items/Shape/BPMN/BPMN_Annotation/index.d.ts +2 -2
- package/dist/types/Items/Shape/BPMN/BPMN_DataObject/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_DataStore/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_EndEvent/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_EventSubprocess/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_Gateway/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_GatewayParallel/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_GatewayXOR/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_Group/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_IntermediateEvent/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_IntermediateEventNoneInterrupting/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_Participant/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_StartEvent/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_StartEventNoneInterrupting/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_Task/index.d.ts +3 -3
- package/dist/types/Items/Shape/BPMN/BPMN_Transaction/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ArrowBlockLeft/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ArrowBlockRigth/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ArrowLeft/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ArrowLeftRight/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ArrowRight/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/BracesLeft/index.d.ts +2 -2
- package/dist/types/Items/Shape/Basic/BracesRight/index.d.ts +2 -2
- package/dist/types/Items/Shape/Basic/Circle/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Cloud/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Cross/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Cylinder/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Hexagon/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Octagon/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Parallelogram/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Pentagon/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/PredefinedProcess/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Rectangle/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ReversedParallelogram/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/ReversedTriangle/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Rhombus/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/RoundedRectangle/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/SpeachBubble/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Star/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Trapezoid/index.d.ts +3 -3
- package/dist/types/Items/Shape/Basic/Triangle/index.d.ts +3 -3
- package/dist/types/Items/Shape/Shape.d.ts +15 -11
- package/dist/types/Items/Shape/ShapeData.d.ts +2 -2
- package/dist/types/Items/Shape/ShapeOperation.d.ts +1 -1
- package/dist/types/Items/Shape/ShapeOverlay.d.ts +4 -0
- package/dist/types/{Tools/AddShape → Items/Shape/Tool}/AddShape.d.ts +6 -6
- package/dist/types/Items/Sticker/Sticker.d.ts +14 -10
- package/dist/types/Items/Sticker/StickerOperation.d.ts +1 -1
- package/dist/types/Items/Sticker/StickerOverlay.d.ts +2 -0
- package/dist/types/{Tools/AddSticker → Items/Sticker/Tool}/AddSticker.d.ts +8 -6
- package/dist/types/Items/Video/Video.d.ts +9 -6
- package/dist/types/Items/index.d.ts +13 -15
- package/dist/types/Items/itemActionsRegistry.d.ts +11 -0
- package/dist/types/Overlay/OverlayMetadata.d.ts +182 -0
- package/dist/types/Overlay/index.d.ts +2 -0
- package/dist/types/Overlay/overlayRegistry.d.ts +24 -0
- package/dist/types/Pointer/Pointer.d.ts +1 -1
- package/dist/types/Presence/Presence.d.ts +1 -1
- package/dist/types/RegistryMaps.d.ts +3 -1
- package/dist/types/Selection/ConnectorTransformer/ConnectorTransformer.d.ts +1 -1
- package/dist/types/Selection/QuickAddButtons/QuickAddButtons.d.ts +1 -1
- package/dist/types/Selection/Selection.d.ts +9 -8
- package/dist/types/Selection/SelectionTransformer.d.ts +1 -1
- package/dist/types/Selection/Transformer/Transformer.d.ts +2 -2
- package/dist/types/Selection/Transformer/TransformerHelpers/getResizeType.d.ts +2 -2
- package/dist/types/Selection/Transformer/TransformerHelpers/handleMultipleItemsResize.d.ts +31 -4
- package/dist/types/Selection/Transformer/TransformerHelpers/transformAINode.d.ts +12 -7
- package/dist/types/Selection/Transformer/TransformerHelpers/transformItems.d.ts +2 -2
- package/dist/types/Selection/Transformer/TransformerHelpers/transformRichText.d.ts +5 -3
- package/dist/types/Selection/Transformer/TransformerHelpers/transformShape.d.ts +4 -4
- package/dist/types/Selection/Transformer/TransformerHelpers/updateFrameChildren.d.ts +1 -1
- package/dist/types/SessionStorage.d.ts +1 -1
- package/dist/types/Settings.d.ts +2 -2
- package/dist/types/SpatialIndex/LayeredIndex/index.d.ts +2 -2
- package/dist/types/SpatialIndex/SimpleSpatialIndex.d.ts +3 -3
- package/dist/types/SpatialIndex/SpacialIndex.d.ts +4 -3
- package/dist/types/Tools/CustomTool.d.ts +3 -3
- package/dist/types/Tools/{ExportSnapshot/ExportSnapshot.d.ts → ExportScreenshot/ExportScreenshot.d.ts} +5 -6
- package/dist/types/Tools/{ExportSnapshot/exportBoardSnapshot.d.ts → ExportScreenshot/exportBoardScreenshot.d.ts} +2 -2
- package/dist/types/Tools/NestingHighlighter/NestingHighlighter.d.ts +1 -1
- package/dist/types/Tools/RelativeAlignment/RelativeAlignment.d.ts +1 -1
- package/dist/types/Tools/Select/Select.d.ts +32 -4
- 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 +14 -13
- package/dist/types/Tools/index.d.ts +2 -2
- package/dist/types/Tools/initTools.d.ts +13 -0
- package/dist/types/drawMbrOnCanvas.d.ts +3 -3
- package/dist/types/index.d.ts +4 -2
- package/dist/types/itemFactories.d.ts +4 -6
- package/package.json +1 -1
- package/dist/types/HTMLRender/index.d.ts +0 -1
- package/dist/types/Items/Examples/CardGame/Dice/AddDice.d.ts +0 -5
- package/dist/types/Items/Examples/Counter/AddCounter.d.ts +0 -7
- package/dist/types/Items/Examples/Counter/Counter.d.ts +0 -25
- package/dist/types/Items/Examples/Counter/CounterOperation.d.ts +0 -9
- package/dist/types/Items/Examples/Counter/index.d.ts +0 -1
- package/dist/types/Items/Examples/Star/AddStar.d.ts +0 -7
- package/dist/types/Items/Examples/Star/Star.d.ts +0 -38
- package/dist/types/Items/Examples/Star/StarOperation.d.ts +0 -9
- package/dist/types/Items/Examples/Star/index.d.ts +0 -1
- /package/dist/types/{Items → Geometry}/Alignment.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Anchor/Anchor.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Anchor/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Arc/Arc.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Arc/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Curve/Curve.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Curve/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/DrawingContext.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/GeometricNormal.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Line/Line.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Line/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Mbr/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Path/Path.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Path/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Point/Point.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Point/Point.schema.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Point/index.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Transformation/Transformation.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Transformation/Transformation.schema.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Transformation/TransformationCommand.d.ts +0 -0
- /package/dist/types/{Items → Geometry}/Transformation/index.d.ts +0 -0
- /package/dist/types/{Items → HTMLAdapter}/Renderers/index.d.ts +0 -0
- /package/dist/types/Items/{Examples/CardGame/Card → Card}/index.d.ts +0 -0
- /package/dist/types/{Tools/AddComment → Items/Comment/Tool}/index.d.ts +0 -0
- /package/dist/types/{Tools/AddConnector → Items/Connector/Tool}/index.d.ts +0 -0
- /package/dist/types/Items/{Examples/CardGame/Deck → Deck}/index.d.ts +0 -0
- /package/dist/types/Items/{Examples/CardGame/Dice → Dice}/index.d.ts +0 -0
- /package/dist/types/{Tools → Items/Drawing/Tool}/Eraser/index.d.ts +0 -0
- /package/dist/types/{Tools/AddDrawing → Items/Drawing/Tool}/index.d.ts +0 -0
- /package/dist/types/{Tools/AddFrame → Items/Frame/Tool}/index.d.ts +0 -0
- /package/dist/types/{Tools/AddText → Items/RichText/Tool}/index.d.ts +0 -0
- /package/dist/types/Items/{Examples/CardGame/Screen → Screen}/index.d.ts +0 -0
- /package/dist/types/{Tools/AddShape → Items/Shape/Tool}/index.d.ts +0 -0
- /package/dist/types/{Tools/AddSticker → Items/Sticker/Tool}/index.d.ts +0 -0
- /package/dist/types/Tools/{ExportSnapshot → ExportScreenshot}/getDecorationResizeType.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { BaseItem, BaseItemData, SerializedItemData } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { BaseItem, BaseItemData, SerializedItemData } from "../BaseItem/BaseItem";
|
|
2
|
+
import { UpdateHint } from "../BaseItem/UpdateHint";
|
|
3
|
+
import { Board } from "../../Board";
|
|
4
|
+
import { DrawingContext } from "../../Geometry/DrawingContext";
|
|
5
|
+
import { Path } from "../../Geometry/Path/Path";
|
|
6
|
+
import { Subject } from "../../Subject";
|
|
7
|
+
import { Paths } from "../../Geometry/Path/Paths";
|
|
7
8
|
export interface CardData extends BaseItemData {
|
|
8
9
|
isOpen?: boolean;
|
|
9
10
|
faceUrl?: string;
|
|
@@ -43,5 +44,8 @@ export declare class Card extends BaseItem<Card> {
|
|
|
43
44
|
getPath(): Path | Paths;
|
|
44
45
|
deserialize(data: SerializedItemData): this;
|
|
45
46
|
toggleIsOpen(cards: Card[]): void;
|
|
46
|
-
apply(
|
|
47
|
+
apply(opIn: any): void;
|
|
48
|
+
protected updateVisuals(_op: any, hint: UpdateHint): void;
|
|
49
|
+
protected getPropertyUpdateHint(property: string): UpdateHint;
|
|
50
|
+
protected onPropertyUpdated(property: string, value: any, prevValue: any): void;
|
|
47
51
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseOperation } from "
|
|
2
|
-
import { TransformationOperation } from "
|
|
1
|
+
import { BaseOperation } from "../../Events/EventsOperations";
|
|
2
|
+
import { TransformationOperation } from "../../Geometry/Transformation/TransformationOperations";
|
|
3
3
|
export type CardOperation = SetIsOpen | SetIsInDeck | TransformationOperation;
|
|
4
4
|
export interface SetIsOpen extends BaseOperation<{
|
|
5
5
|
isOpen: boolean;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { Subject } from "../../Subject";
|
|
2
2
|
import type { Operation } from "../../Events";
|
|
3
|
-
import { Point } from "
|
|
4
|
-
import { TransformationData } from "
|
|
3
|
+
import { Point } from "../../Geometry/Point";
|
|
4
|
+
import { TransformationData } from "../../Geometry/Transformation";
|
|
5
5
|
import { CommentOperation } from "./CommentOperation";
|
|
6
|
-
import { Mbr } from "
|
|
7
|
-
import { GeometricNormal } from "
|
|
6
|
+
import { Mbr } from "../../Geometry/Mbr";
|
|
7
|
+
import { GeometricNormal } from "../../Geometry/GeometricNormal";
|
|
8
8
|
import { RichText } from "../RichText";
|
|
9
|
-
import { DrawingContext } from "
|
|
9
|
+
import { DrawingContext } from "../../Geometry/DrawingContext";
|
|
10
10
|
import { SerializedItemData } from "../BaseItem";
|
|
11
|
-
import { Line } from "
|
|
11
|
+
import { Line } from "../../Geometry/Line";
|
|
12
12
|
import { BaseItem } from "../BaseItem/BaseItem";
|
|
13
|
+
import { UpdateHint } from "../BaseItem/UpdateHint";
|
|
13
14
|
import { Board } from "../../Board";
|
|
14
15
|
import { Item } from "../Item";
|
|
15
16
|
export interface Commentator {
|
|
@@ -56,7 +57,9 @@ export declare class Comment extends BaseItem<Comment> {
|
|
|
56
57
|
setId(id: string): this;
|
|
57
58
|
getId(): string;
|
|
58
59
|
getCommentators(): Commentator[];
|
|
59
|
-
apply(
|
|
60
|
+
apply(opIn: Operation): void;
|
|
61
|
+
protected updateVisuals(_op: Operation, hint: UpdateHint): void;
|
|
62
|
+
protected getPropertyUpdateHint(property: string): UpdateHint;
|
|
60
63
|
private applyCommentOperation;
|
|
61
64
|
saveMessage(text: string, username: string, id: number, avatar?: string): void;
|
|
62
65
|
editMessage(text: string, id: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Board } from "
|
|
2
|
-
import { BoardTool } from "
|
|
3
|
-
import { Comment } from "
|
|
1
|
+
import { Board } from "../../../Board";
|
|
2
|
+
import { BoardTool } from "../../../Tools/BoardTool";
|
|
3
|
+
import { Comment } from "../../../Items";
|
|
4
4
|
export declare class AddComment extends BoardTool {
|
|
5
5
|
isDown: boolean;
|
|
6
6
|
comment: null | Comment;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { RichText } from '../RichText/RichText';
|
|
2
2
|
import { Subject } from '../../Subject';
|
|
3
3
|
import { Board } from '../../Board';
|
|
4
|
-
import { Operation } from '../../Events';
|
|
5
|
-
import { DrawingContext } from '
|
|
6
|
-
import { GeometricNormal } from '
|
|
4
|
+
import { Operation, BaseOperation } from '../../Events';
|
|
5
|
+
import { DrawingContext } from '../../Geometry/DrawingContext';
|
|
6
|
+
import { GeometricNormal } from '../../Geometry/GeometricNormal';
|
|
7
7
|
import type { Item } from '../Item';
|
|
8
|
-
import { Line } from '
|
|
9
|
-
import { Mbr } from '
|
|
10
|
-
import { Path } from '
|
|
11
|
-
import { Paths } from '
|
|
12
|
-
import type { BorderStyle } from '
|
|
13
|
-
import { Point } from '
|
|
8
|
+
import { Line } from '../../Geometry/Line/Line';
|
|
9
|
+
import { Mbr } from '../../Geometry/Mbr/Mbr';
|
|
10
|
+
import { Path } from '../../Geometry/Path/Path';
|
|
11
|
+
import { Paths } from '../../Geometry/Path/Paths';
|
|
12
|
+
import type { BorderStyle } from '../../Geometry/Path/Path';
|
|
13
|
+
import { Point } from '../../Geometry/Point/Point';
|
|
14
14
|
import { ConnectorData, ConnectorOperation } from './ConnectorOperations';
|
|
15
15
|
import { BoardPoint, ControlPoint, ControlPointData, FindItemFn } from './ControlPoint';
|
|
16
16
|
import { ConnectorPointerStyle, Pointer } from './Pointers/Pointers';
|
|
17
17
|
import { ConnectorAnchorColors } from './types';
|
|
18
18
|
import { BaseItem, SerializedItemData } from "../BaseItem/BaseItem";
|
|
19
|
+
import { BaseItemOperation } from "../BaseItem/BaseItemOperation";
|
|
20
|
+
import { UpdateHint } from "../BaseItem/UpdateHint";
|
|
19
21
|
import { ColorValue } from '../../..';
|
|
20
22
|
import { ConnectionLineWidth, ConnectorLineStyle } from './ConnectorTypes';
|
|
21
23
|
export declare const CONNECTOR_ANCHOR_COLOR: ConnectorAnchorColors;
|
|
@@ -65,7 +67,8 @@ export declare class Connector extends BaseItem<Connector> {
|
|
|
65
67
|
emit(operation: ConnectorOperation): void;
|
|
66
68
|
setId(id: string): this;
|
|
67
69
|
getId(): string;
|
|
68
|
-
apply(
|
|
70
|
+
apply(opIn: Operation | BaseItemOperation | BaseOperation): void;
|
|
71
|
+
protected updateVisuals(op: Operation, hint: UpdateHint): void;
|
|
69
72
|
protected onPropertyUpdated(property: string, value: unknown, prevValue: unknown): void;
|
|
70
73
|
complete(id: string): void;
|
|
71
74
|
protected applyStartPoint(pointData: ControlPointData, updatePath?: boolean): void;
|
|
@@ -109,6 +112,7 @@ export declare class Connector extends BaseItem<Connector> {
|
|
|
109
112
|
isClosed(): boolean;
|
|
110
113
|
serialize(): SerializedItemData<ConnectorData>;
|
|
111
114
|
deserialize(data: SerializedItemData<ConnectorData> | ConnectorData): this;
|
|
115
|
+
protected getPropertyUpdateHint(property: string): UpdateHint;
|
|
112
116
|
getConnectorById(items: Item[], connectorId: string): Connector | undefined;
|
|
113
117
|
updateTitle(): void;
|
|
114
118
|
private scalePoints;
|
|
@@ -2,8 +2,8 @@ import { ControlPointData, FindItemFn } from "./ControlPoint";
|
|
|
2
2
|
import { ConnectionLineWidth, ConnectorLineStyle } from "./ConnectorTypes";
|
|
3
3
|
import { ConnectorPointerStyle } from "./Pointers/Pointers";
|
|
4
4
|
import { DefaultRichTextData } from "../RichText/RichTextData";
|
|
5
|
-
import { DefaultTransformationData } from "
|
|
6
|
-
import { BorderStyle } from "
|
|
5
|
+
import { DefaultTransformationData } from "../../Geometry/Transformation/TransformationData";
|
|
6
|
+
import { BorderStyle } from "../../Geometry/Path";
|
|
7
7
|
import { ColorValue } from "../../..";
|
|
8
8
|
export declare class ConnectorData {
|
|
9
9
|
readonly itemType = "Connector";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Board } from "../../Board";
|
|
2
2
|
import { ControlPoint } from "./ControlPoint";
|
|
3
|
-
import { Point } from "
|
|
3
|
+
import { Point } from "../../Geometry/Point";
|
|
4
4
|
import { Item } from "../Item";
|
|
5
|
-
import { DrawingContext } from "
|
|
6
|
-
import { Anchor } from "
|
|
7
|
-
import { Path, Paths } from "
|
|
5
|
+
import { DrawingContext } from "../../Geometry/DrawingContext";
|
|
6
|
+
import { Anchor } from "../../Geometry/Anchor";
|
|
7
|
+
import { Path, Paths } from "../../Geometry/Path";
|
|
8
8
|
import { Connector } from "./Connector";
|
|
9
9
|
export declare class ConnectorSnap {
|
|
10
10
|
private board;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BorderStyle } from "
|
|
1
|
+
import { BorderStyle } from "../../Geometry/Path";
|
|
2
2
|
export declare const ConnectorLineStyles: readonly ["straight", "curved", "orthogonal"];
|
|
3
3
|
export type ConnectorLineStyle = (typeof ConnectorLineStyles)[number];
|
|
4
4
|
export declare const ConnectionLineWidths: readonly [1, 2, 3, 4, 5, 6, 7, 8, 12];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Path } from '
|
|
2
|
-
import { Paths } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Path } from '../../../Geometry/Path/Path';
|
|
2
|
+
import { Paths } from '../../../Geometry/Path/Paths';
|
|
3
|
+
import { Point } from '../../../Geometry/Point/Point';
|
|
4
4
|
export interface Pointer {
|
|
5
5
|
name: string;
|
|
6
6
|
path: Path | Paths;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Board } from '
|
|
2
|
-
import { Connector, Item, Point } from '
|
|
3
|
-
import { ConnectorLineStyle } from '../../
|
|
4
|
-
import { ConnectionLineWidth } from '../../
|
|
5
|
-
import { ConnectorSnap } from '../../
|
|
6
|
-
import { ConnectorPointerStyle } from '../../
|
|
7
|
-
import { DrawingContext } from '
|
|
8
|
-
import { BorderStyle } from '
|
|
9
|
-
import { BoardTool } from '
|
|
1
|
+
import { Board } from '../../../Board';
|
|
2
|
+
import { Connector, Item, Point } from '../../../Items';
|
|
3
|
+
import { ConnectorLineStyle } from '../../Connector';
|
|
4
|
+
import { ConnectionLineWidth } from '../../Connector/ConnectorTypes';
|
|
5
|
+
import { ConnectorSnap } from '../../Connector/ConnectorSnap';
|
|
6
|
+
import { ConnectorPointerStyle } from '../../Connector/Pointers/Pointers';
|
|
7
|
+
import { DrawingContext } from '../../../Geometry/DrawingContext';
|
|
8
|
+
import { BorderStyle } from '../../../Geometry/Path';
|
|
9
|
+
import { BoardTool } from '../../../Tools/BoardTool';
|
|
10
10
|
export declare class AddConnector extends BoardTool {
|
|
11
11
|
connector: Connector | null;
|
|
12
12
|
lineStyle: ConnectorLineStyle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Line, Mbr } from '../../../Items';
|
|
2
|
-
import { Point } from '
|
|
2
|
+
import { Point } from '../../../Geometry/Point';
|
|
3
3
|
import { ControlPoint } from '../ControlPoint';
|
|
4
4
|
type Direction = 'vertical' | 'horizontal';
|
|
5
5
|
export declare function getDirection(from: Point, to?: Point): Direction | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Path } from "
|
|
1
|
+
import { Path } from "../../../Geometry/Path";
|
|
2
2
|
import { ConnectorLineStyle } from "../ConnectorTypes";
|
|
3
3
|
import { ControlPoint } from "../ControlPoint";
|
|
4
4
|
export declare function getLine(lineStyle: ConnectorLineStyle, start: ControlPoint, end: ControlPoint, middle: ControlPoint | null): Path;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { BaseItem, BaseItemData, SerializedItemData } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { BaseItem, BaseItemData, SerializedItemData } from "../BaseItem/BaseItem";
|
|
2
|
+
import { UpdateHint } from "../BaseItem/UpdateHint";
|
|
3
|
+
import { Board } from "../../Board";
|
|
4
|
+
import { Subject } from "../../Subject";
|
|
5
|
+
import { Card } from "../Card/Card";
|
|
6
|
+
import { DrawingContext } from "../../Geometry/DrawingContext";
|
|
7
|
+
import { Path } from "../../Geometry/Path";
|
|
7
8
|
export declare const defaultDeckData: BaseItemData;
|
|
8
9
|
export declare class Deck extends BaseItem<Deck> {
|
|
9
10
|
readonly subject: Subject<Deck>;
|
|
@@ -26,7 +27,9 @@ export declare class Deck extends BaseItem<Deck> {
|
|
|
26
27
|
getRandomCard(): Card | undefined;
|
|
27
28
|
shuffleDeck(): void;
|
|
28
29
|
flipDeck(): void;
|
|
29
|
-
apply(
|
|
30
|
+
apply(opIn: any): void;
|
|
31
|
+
protected updateVisuals(_op: any, hint: UpdateHint): void;
|
|
32
|
+
protected getPropertyUpdateHint(property: string): UpdateHint;
|
|
30
33
|
updateMbr(): void;
|
|
31
34
|
deserialize(data: SerializedItemData): this;
|
|
32
35
|
render(context: DrawingContext): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseOperation } from "
|
|
2
|
-
import { TransformationOperation } from "
|
|
1
|
+
import { BaseOperation } from "../../Events/EventsOperations";
|
|
2
|
+
import { TransformationOperation } from "../../Geometry/Transformation/TransformationOperations";
|
|
3
3
|
export type DeckOperation = StartAnimation | TransformationOperation;
|
|
4
4
|
export interface StartAnimation extends BaseOperation<{
|
|
5
5
|
timeStamp?: number;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { BaseItem, BaseItemData, SerializedItemData } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { BaseItem, BaseItemData, SerializedItemData } from "../BaseItem/BaseItem";
|
|
2
|
+
import { UpdateHint } from "../BaseItem/UpdateHint";
|
|
3
|
+
import { Operation } from "../../Events";
|
|
4
|
+
import { BorderWidth, Path, BorderStyle } from "../../Items";
|
|
5
|
+
import { Subject } from "../../Subject";
|
|
6
|
+
import { Board } from "../../Board";
|
|
7
|
+
import { DrawingContext } from "../../Items";
|
|
7
8
|
import { DiceOperation } from "./DiceOperation";
|
|
8
9
|
export type DiceType = "common" | "custom";
|
|
9
10
|
export interface DiceData extends BaseItemData {
|
|
@@ -49,10 +50,13 @@ export declare class Dice extends BaseItem<Dice> {
|
|
|
49
50
|
setBorderWidth(borderWidth: BorderWidth): void;
|
|
50
51
|
private applyBorderColor;
|
|
51
52
|
setBorderColor(borderColor: string): void;
|
|
52
|
-
setValues(values: number[]): void;
|
|
53
|
+
setValues(values: (number | string)[]): void;
|
|
53
54
|
setValueIndex(valueIndex: number): void;
|
|
54
55
|
throwDice(): void;
|
|
55
|
-
apply(
|
|
56
|
+
apply(opIn: Operation | DiceOperation): void;
|
|
57
|
+
protected updateVisuals(_op: any, hint: UpdateHint): void;
|
|
58
|
+
protected getPropertyUpdateHint(property: string): UpdateHint;
|
|
59
|
+
protected onPropertyUpdated(property: string, value: any, prevValue: any): void;
|
|
56
60
|
startRotation(): void;
|
|
57
61
|
stopRotation(): void;
|
|
58
62
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseOperation } from "
|
|
1
|
+
import { BaseOperation } from "../../Events/EventsOperations";
|
|
2
2
|
export type DiceOperation = ChangeValueIndex | ChangeValues | SetBackgroundColor | SetBorderColor | SetBorderWidth;
|
|
3
3
|
interface ChangeValueIndex extends BaseOperation<{
|
|
4
4
|
valueIndex: number;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import type { Operation } from "../../Events";
|
|
1
|
+
import type { Operation, BaseOperation } from "../../Events";
|
|
2
2
|
import { Subject } from "../../Subject";
|
|
3
|
-
import { DrawingContext } from "
|
|
4
|
-
import { Line } from "
|
|
5
|
-
import { Mbr } from "
|
|
6
|
-
import { Path } from "
|
|
7
|
-
import type { BorderStyle, BorderWidth } from "
|
|
8
|
-
import { Point } from "
|
|
3
|
+
import { DrawingContext } from "../../Geometry/DrawingContext";
|
|
4
|
+
import { Line } from "../../Geometry/Line/Line";
|
|
5
|
+
import { Mbr } from "../../Geometry/Mbr/Mbr";
|
|
6
|
+
import { Path } from "../../Geometry/Path/Path";
|
|
7
|
+
import type { BorderStyle, BorderWidth } from "../../Geometry/Path/Path";
|
|
8
|
+
import { Point } from "../../Geometry/Point/Point";
|
|
9
9
|
import { DrawingOperation } from "./DrawingOperation";
|
|
10
|
-
import { TransformationData } from "
|
|
10
|
+
import { TransformationData } from "../../Geometry/Transformation/TransformationData";
|
|
11
11
|
import { Board } from "../../Board";
|
|
12
12
|
import { BaseItem, SerializedItemData } from "../BaseItem/BaseItem";
|
|
13
|
+
import { BaseItemOperation } from "../BaseItem/BaseItemOperation";
|
|
14
|
+
import { UpdateHint } from "../BaseItem/UpdateHint";
|
|
13
15
|
import { ColorValue, ColorRole } from "../../..";
|
|
14
16
|
export interface DrawingData {
|
|
15
17
|
itemType: "Drawing";
|
|
@@ -61,8 +63,10 @@ export declare class Drawing extends BaseItem<Drawing> {
|
|
|
61
63
|
intersectsWithLines(lines: Line[]): boolean;
|
|
62
64
|
isEnclosedOrCrossedBy(rect: Mbr): boolean;
|
|
63
65
|
emit(operation: DrawingOperation): void;
|
|
64
|
-
apply(
|
|
66
|
+
apply(opIn: Operation | BaseItemOperation | BaseOperation): void;
|
|
67
|
+
protected updateVisuals(op: Operation, hint: UpdateHint): void;
|
|
65
68
|
protected onPropertyUpdated(property: string, value: unknown, prevValue: unknown): void;
|
|
69
|
+
protected getPropertyUpdateHint(property: string): UpdateHint;
|
|
66
70
|
getStrokeOpacity(): number;
|
|
67
71
|
getBorderStyle(): BorderStyle;
|
|
68
72
|
getStrokeColor(): ColorValue;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Board } from '
|
|
2
|
-
import { Point } from '
|
|
3
|
-
import { Drawing } from '../../
|
|
4
|
-
import { DrawingContext } from '
|
|
5
|
-
import { BorderStyle } from '
|
|
6
|
-
import { BoardTool } from '
|
|
7
|
-
import { ColorValue } from '
|
|
1
|
+
import { Board } from '../../../Board';
|
|
2
|
+
import { Point } from '../../../Items';
|
|
3
|
+
import { Drawing } from '../../Drawing';
|
|
4
|
+
import { DrawingContext } from '../../../Geometry/DrawingContext';
|
|
5
|
+
import { BorderStyle } from '../../../Geometry/Path';
|
|
6
|
+
import { BoardTool } from '../../../Tools/BoardTool';
|
|
7
|
+
import { ColorValue } from '../../../..';
|
|
8
8
|
export declare class AddDrawing extends BoardTool {
|
|
9
9
|
drawing: Drawing | null;
|
|
10
10
|
isDown: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Board } from '
|
|
2
|
-
import { Drawing } from '../../
|
|
3
|
-
import { BorderStyle } from '
|
|
4
|
-
import { ColorValue } from '
|
|
1
|
+
import { Board } from '../../../Board';
|
|
2
|
+
import { Drawing } from '../../Drawing';
|
|
3
|
+
import { BorderStyle } from '../../../Geometry/Path';
|
|
4
|
+
import { ColorValue } from '../../../..';
|
|
5
5
|
import { AddDrawing } from './AddDrawing';
|
|
6
6
|
export declare class AddHighlighter extends AddDrawing {
|
|
7
7
|
strokeWidth: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from "
|
|
2
|
-
import { Drawing } from "
|
|
3
|
-
import { DrawingContext } from "
|
|
4
|
-
import { BorderStyle } from "
|
|
5
|
-
import { BoardTool } from "
|
|
1
|
+
import { Board } from "../../../../Board";
|
|
2
|
+
import { Drawing } from "../../../Drawing";
|
|
3
|
+
import { DrawingContext } from "../../../../Geometry/DrawingContext";
|
|
4
|
+
import { BorderStyle } from "../../../../Geometry/Path";
|
|
5
|
+
import { BoardTool } from "../../../../Tools/BoardTool";
|
|
6
6
|
export declare class Eraser extends BoardTool {
|
|
7
7
|
itemType: string;
|
|
8
8
|
isDown: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Frame1x1: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Frame16x9: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Frame3x2: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Frame4x3: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Frame9x18: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const A4: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Custom: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mbr } from '
|
|
2
|
-
import { Path } from '
|
|
3
|
-
import { Point } from '
|
|
1
|
+
import { Mbr } from '../../../../Geometry/Mbr';
|
|
2
|
+
import { Path } from '../../../../Geometry/Path';
|
|
3
|
+
import { Point } from '../../../../Geometry/Point';
|
|
4
4
|
export declare const Letter: {
|
|
5
5
|
name: string;
|
|
6
6
|
textBounds: Mbr;
|