@myoc/common 0.19.514 → 0.19.516
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/element/src/newElement.d.ts +1 -0
- package/dist/types/element/src/types.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -0
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -0
- package/package.json +1 -1
|
@@ -57,6 +57,7 @@ export declare const newImageElement: (opts: {
|
|
|
57
57
|
type: ExcalidrawImageElement["type"];
|
|
58
58
|
status?: ExcalidrawImageElement["status"];
|
|
59
59
|
fileId?: ExcalidrawImageElement["fileId"];
|
|
60
|
+
fileName?: ExcalidrawImageElement["fileName"];
|
|
60
61
|
scale?: ExcalidrawImageElement["scale"];
|
|
61
62
|
crop?: ExcalidrawImageElement["crop"];
|
|
62
63
|
} & ElementConstructorOpts) => NonDeleted<ExcalidrawImageElement>;
|
|
@@ -129,6 +129,7 @@ export type ImageCrop = {
|
|
|
129
129
|
export type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
130
130
|
type: "image";
|
|
131
131
|
fileId: FileId | null;
|
|
132
|
+
fileName: string | null;
|
|
132
133
|
/** whether respective file is persisted */
|
|
133
134
|
status: "pending" | "saved" | "error";
|
|
134
135
|
/** X and Y scale factors <-1, 1>, used for image axis flipping */
|
|
@@ -1008,6 +1008,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1008
1008
|
}> & Readonly<{
|
|
1009
1009
|
type: "image";
|
|
1010
1010
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1011
|
+
fileName: string | null;
|
|
1011
1012
|
status: "pending" | "saved" | "error";
|
|
1012
1013
|
scale: [number, number];
|
|
1013
1014
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
@@ -499,6 +499,7 @@ export declare const actionTogglePolygon: {
|
|
|
499
499
|
}> & Readonly<{
|
|
500
500
|
type: "image";
|
|
501
501
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
502
|
+
fileName: string | null;
|
|
502
503
|
status: "pending" | "saved" | "error";
|
|
503
504
|
scale: [number, number];
|
|
504
505
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
@@ -271,6 +271,7 @@ export declare class Renderer {
|
|
|
271
271
|
}> & Readonly<{
|
|
272
272
|
type: "image";
|
|
273
273
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
274
|
+
fileName: string | null;
|
|
274
275
|
status: "pending" | "saved" | "error";
|
|
275
276
|
scale: [number, number];
|
|
276
277
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|