@vvfx/sdk 0.0.0-alpha.47 → 0.0.0-alpha.49
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/index.cjs +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -356,8 +356,7 @@ type Operation = CreateOperation | UpdateOperation | DeleteOperation;
|
|
|
356
356
|
declare class UndoRedo {
|
|
357
357
|
private index;
|
|
358
358
|
private operations;
|
|
359
|
-
|
|
360
|
-
constructor(eventName: string);
|
|
359
|
+
push(operation: Operation): void;
|
|
361
360
|
undo(): Operation | undefined;
|
|
362
361
|
redo(): Operation | undefined;
|
|
363
362
|
clear(): void;
|
|
@@ -1237,6 +1236,9 @@ declare class SDK {
|
|
|
1237
1236
|
getViewProperty(id: number): ViewProperty | undefined;
|
|
1238
1237
|
pageMove(shift: [number, number]): void;
|
|
1239
1238
|
pageZoom(shift: number, center?: [number, number]): void;
|
|
1239
|
+
setPictureCutGizmoLockScale(state: boolean): void;
|
|
1240
|
+
setPictureExpandGizmoLockScale(state: boolean): void;
|
|
1241
|
+
viewportFit(): void;
|
|
1240
1242
|
}
|
|
1241
1243
|
|
|
1242
1244
|
type SizeAdaptDirection = 'x' | 'y';
|
|
@@ -1716,4 +1718,4 @@ declare enum ItemOrderAction {
|
|
|
1716
1718
|
SendBackward = 3
|
|
1717
1719
|
}
|
|
1718
1720
|
|
|
1719
|
-
export { type ActiveData, type BaseFormProperty, Box2, ItemOrderAction, type NullCreateInfo, type PageData, type PageFormTypedProperty, type PageProperty, SDK, type SDKEvents, type SDKInputParam, type SDKOptions, type SpecificPageFormProps, type SpriteCreateInfo, type SpriteFormProperty, type TextCreateInfo, type TextFormProperty, Vector2, type ViewItem, type ViewItemTypedProperty, type ViewParam, type ViewProperty };
|
|
1721
|
+
export { type ActiveData, type BaseFormProperty, Box2, type CreateOperation, type DeleteOperation, type ItemCreateInfo, ItemOrderAction, type NullCreateInfo, type Operation, type PageData, type PageFormTypedProperty, type PageProperty, SDK, type SDKEvents, type SDKInputParam, type SDKOptions, type SpecificPageFormProps, type SpriteCreateInfo, type SpriteFormProperty, type TextCreateInfo, type TextFormProperty, type UpdateOperation, Vector2, type ViewItem, type ViewItemTypedProperty, type ViewParam, type ViewProperty };
|
package/dist/index.d.ts
CHANGED
|
@@ -356,8 +356,7 @@ type Operation = CreateOperation | UpdateOperation | DeleteOperation;
|
|
|
356
356
|
declare class UndoRedo {
|
|
357
357
|
private index;
|
|
358
358
|
private operations;
|
|
359
|
-
|
|
360
|
-
constructor(eventName: string);
|
|
359
|
+
push(operation: Operation): void;
|
|
361
360
|
undo(): Operation | undefined;
|
|
362
361
|
redo(): Operation | undefined;
|
|
363
362
|
clear(): void;
|
|
@@ -1237,6 +1236,9 @@ declare class SDK {
|
|
|
1237
1236
|
getViewProperty(id: number): ViewProperty | undefined;
|
|
1238
1237
|
pageMove(shift: [number, number]): void;
|
|
1239
1238
|
pageZoom(shift: number, center?: [number, number]): void;
|
|
1239
|
+
setPictureCutGizmoLockScale(state: boolean): void;
|
|
1240
|
+
setPictureExpandGizmoLockScale(state: boolean): void;
|
|
1241
|
+
viewportFit(): void;
|
|
1240
1242
|
}
|
|
1241
1243
|
|
|
1242
1244
|
type SizeAdaptDirection = 'x' | 'y';
|
|
@@ -1716,4 +1718,4 @@ declare enum ItemOrderAction {
|
|
|
1716
1718
|
SendBackward = 3
|
|
1717
1719
|
}
|
|
1718
1720
|
|
|
1719
|
-
export { type ActiveData, type BaseFormProperty, Box2, ItemOrderAction, type NullCreateInfo, type PageData, type PageFormTypedProperty, type PageProperty, SDK, type SDKEvents, type SDKInputParam, type SDKOptions, type SpecificPageFormProps, type SpriteCreateInfo, type SpriteFormProperty, type TextCreateInfo, type TextFormProperty, Vector2, type ViewItem, type ViewItemTypedProperty, type ViewParam, type ViewProperty };
|
|
1721
|
+
export { type ActiveData, type BaseFormProperty, Box2, type CreateOperation, type DeleteOperation, type ItemCreateInfo, ItemOrderAction, type NullCreateInfo, type Operation, type PageData, type PageFormTypedProperty, type PageProperty, SDK, type SDKEvents, type SDKInputParam, type SDKOptions, type SpecificPageFormProps, type SpriteCreateInfo, type SpriteFormProperty, type TextCreateInfo, type TextFormProperty, type UpdateOperation, Vector2, type ViewItem, type ViewItemTypedProperty, type ViewParam, type ViewProperty };
|