@leapfrog/interactive-canvas 2.0.7 → 2.0.8-beta.0
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/package.json +1 -1
- package/dist/abstract-interactive-canvas.d.ts +0 -372
- package/dist/dimensions/millimeter-dimensions.d.ts +0 -15
- package/dist/dimensions/pixel-canvas-dimensions.d.ts +0 -13
- package/dist/dimensions/print-6-col-canvas-dimensions.d.ts +0 -18
- package/dist/dimensions/print-8-col-canvas-dimensions.d.ts +0 -18
- package/dist/font/font-library.d.ts +0 -27
- package/dist/font/font-library.interface.d.ts +0 -24
- package/dist/font/font.interface.d.ts +0 -20
- package/dist/font/unknown-font.d.ts +0 -6
- package/dist/headless-interactive-canvas.d.ts +0 -10
- package/dist/index.d.ts +0 -54
- package/dist/interactive-canvas.d.ts +0 -25
- package/dist/interactive-canvas.es.js +0 -3994
- package/dist/interactive-canvas.interface.d.ts +0 -297
- package/dist/interactive-canvas.js +0 -4027
- package/dist/layout/abstract-layout-manager.d.ts +0 -17
- package/dist/layout/advanced-layout-manager.d.ts +0 -16
- package/dist/layout/function/pin-to-bottom.layout-function.d.ts +0 -4
- package/dist/layout/function/redraw-all.layout-function.d.ts +0 -4
- package/dist/layout/function/reposition-backgrounds.layout-function.d.ts +0 -4
- package/dist/layout/function/reposition-borders.layout-function.d.ts +0 -4
- package/dist/layout/function/reposition-cutoffs.layout-function.d.ts +0 -4
- package/dist/layout/function/resize-canvas.layout-function.d.ts +0 -4
- package/dist/layout/function/stack-objects.layout-function.d.ts +0 -11
- package/dist/layout/function/update-object-dimensions.layout-function.d.ts +0 -4
- package/dist/layout/layout-manager.enum.d.ts +0 -5
- package/dist/layout/layout-manager.interface.d.ts +0 -13
- package/dist/layout/standard-layout-manager.d.ts +0 -40
- package/dist/mutator/mutable-background-color.interface.d.ts +0 -15
- package/dist/mutator/mutable-color.interface.d.ts +0 -6
- package/dist/mutator/mutable-image.interface.d.ts +0 -28
- package/dist/mutator/mutable-position.interface.d.ts +0 -63
- package/dist/mutator/mutable-stroke.interface.d.ts +0 -8
- package/dist/mutator/mutable-text-style.interface.d.ts +0 -163
- package/dist/mutator/mutable-text.interface.d.ts +0 -80
- package/dist/object/abstract-canvas-object.d.ts +0 -207
- package/dist/object/canvas-object-data.d.ts +0 -24
- package/dist/object/canvas-object.interface.d.ts +0 -109
- package/dist/object/impl/background-image.d.ts +0 -38
- package/dist/object/impl/border.d.ts +0 -70
- package/dist/object/impl/cutoff.d.ts +0 -59
- package/dist/object/impl/extended-fabric-object.interface.d.ts +0 -7
- package/dist/object/impl/extended-fabric-textbox.interface.d.ts +0 -7
- package/dist/object/impl/horizontal-rule.d.ts +0 -83
- package/dist/object/impl/image.d.ts +0 -76
- package/dist/object/impl/rectangle.d.ts +0 -78
- package/dist/object/impl/rich-text.d.ts +0 -39
- package/dist/object/impl/text.d.ts +0 -314
- package/dist/object/impl/vertical-rule.d.ts +0 -83
- package/dist/profile/canvas-profile.interface.d.ts +0 -22
- package/dist/profile/default-canvas-profile.d.ts +0 -23
- package/dist/types/canvas-dimension-restrictions.interface.d.ts +0 -15
- package/dist/types/canvas-dimensions.interface.d.ts +0 -21
- package/dist/types/canvas-state.interface.d.ts +0 -11
- package/dist/types/dimension-restrictions.interface.d.ts +0 -6
- package/dist/types/image-type.enum.d.ts +0 -6
- package/dist/types/margin.interface.d.ts +0 -6
- package/dist/types/object-dimensions.interface.d.ts +0 -23
- package/dist/types/object-type.enum.d.ts +0 -12
- package/dist/types/overflow.interface.d.ts +0 -4
- package/dist/types/position.interface.d.ts +0 -9
- package/dist/types/rect.interface.d.ts +0 -6
- package/dist/types/selection-data.interface.d.ts +0 -19
- package/dist/types/text-alignment.interface.d.ts +0 -1
- package/dist/undo-stack.d.ts +0 -27
- package/dist/undo-stack.interface.d.ts +0 -6
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ICanvasObject, ITextSelection } from "..";
|
|
2
|
-
export interface ISelectionData {
|
|
3
|
-
/**
|
|
4
|
-
* The currently selected fields.
|
|
5
|
-
*/
|
|
6
|
-
readonly objects: ICanvasObject[];
|
|
7
|
-
/**
|
|
8
|
-
* True if there is nothing selected.
|
|
9
|
-
*/
|
|
10
|
-
readonly empty: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* True if text is currently being edited.
|
|
13
|
-
*/
|
|
14
|
-
readonly isText: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Text selection data.
|
|
17
|
-
*/
|
|
18
|
-
readonly textSelection: ITextSelection | null;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type TextAlignment = "left" | "center" | "right" | "justify";
|
package/dist/undo-stack.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ICanvasState } from "./types/canvas-state.interface";
|
|
2
|
-
import { IInteractiveCanvas } from "./interactive-canvas.interface";
|
|
3
|
-
import { IUndoStack } from "./undo-stack.interface";
|
|
4
|
-
export declare class UndoStack implements IUndoStack {
|
|
5
|
-
protected canvas: IInteractiveCanvas;
|
|
6
|
-
private readonly size;
|
|
7
|
-
private undoStates;
|
|
8
|
-
private redoStates;
|
|
9
|
-
private lastState;
|
|
10
|
-
constructor(canvas: IInteractiveCanvas, size?: number);
|
|
11
|
-
/**
|
|
12
|
-
* @override
|
|
13
|
-
* @inheritDoc
|
|
14
|
-
*/
|
|
15
|
-
save(state: ICanvasState): void;
|
|
16
|
-
/**
|
|
17
|
-
* @override
|
|
18
|
-
* @inheritDoc
|
|
19
|
-
*/
|
|
20
|
-
undo(): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* @override
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
redo(): Promise<void>;
|
|
26
|
-
private clearRedoStackIfCanvasChanged;
|
|
27
|
-
}
|