@tmagic/stage 1.7.14-beta.1 → 1.7.14-beta.2
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 +2 -2
- package/src/types.ts +2 -0
- package/types/index.d.ts +1 -2
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.7.14-beta.
|
|
2
|
+
"version": "1.7.14-beta.2",
|
|
3
3
|
"name": "@tmagic/stage",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"typescript": "^6.0.3",
|
|
47
|
-
"@tmagic/core": "1.7.14-beta.
|
|
47
|
+
"@tmagic/core": "1.7.14-beta.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"typescript": {
|
package/src/types.ts
CHANGED
|
@@ -122,6 +122,7 @@ export interface MoveableOptionsManagerConfig {
|
|
|
122
122
|
getRootContainer: GetRootContainer;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
// #region CustomizeMoveableOptionsCallbackConfig
|
|
125
126
|
export interface CustomizeMoveableOptionsCallbackConfig {
|
|
126
127
|
targetEl: HTMLElement | null;
|
|
127
128
|
targetElId?: string;
|
|
@@ -130,6 +131,7 @@ export interface CustomizeMoveableOptionsCallbackConfig {
|
|
|
130
131
|
isMulti: boolean;
|
|
131
132
|
document?: Document;
|
|
132
133
|
}
|
|
134
|
+
// #endregion CustomizeMoveableOptionsCallbackConfig
|
|
133
135
|
|
|
134
136
|
export interface StageRenderConfig {
|
|
135
137
|
runtimeUrl?: string;
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$_tmagic_editor0 from "@tmagic/editor";
|
|
2
1
|
import EventEmitter$1, { EventEmitter } from "events";
|
|
3
2
|
import { SnapdomOptions } from "@zumer/snapdom";
|
|
4
3
|
import { MoveableManagerInterface, MoveableOptions, OnDrag, OnDragGroup, OnDragGroupStart, OnDragStart, OnResize, OnResizeGroup, OnResizeGroupStart, OnResizeStart, OnRotate, OnRotateStart, OnScale, OnScaleStart, Renderer } from "moveable";
|
|
@@ -849,7 +848,7 @@ declare class StageCore extends EventEmitter {
|
|
|
849
848
|
*/
|
|
850
849
|
delayedMarkContainer(event: MouseEvent, excludeElList?: Element[]): NodeJS.Timeout | undefined;
|
|
851
850
|
getMoveableOption<K extends keyof MoveableOptions>(key: K): MoveableOptions[K] | undefined;
|
|
852
|
-
getDragStatus():
|
|
851
|
+
getDragStatus(): import("@tmagic/editor").StageDragStatus | undefined;
|
|
853
852
|
disableMultiSelect(): void;
|
|
854
853
|
enableMultiSelect(): void;
|
|
855
854
|
/**
|