@zsviczian/excalidraw 0.9.0-obsidian-image-support-3 → 0.9.0-obsidian-image-support-4
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/excalidraw-assets-dev/vendor-0f2d4444f453c4f793d1.js +334 -0
- package/dist/excalidraw.development.js +41 -41
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionCanvas.d.ts +1 -1
- package/types/data/blob.d.ts +1 -1
- package/types/data/index.d.ts +2 -2
- package/types/data/json.d.ts +1 -1
- package/types/data/resave.d.ts +1 -1
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-0f2d4444f453c4f793d1.d.ts +0 -0
- package/types/types.d.ts +1 -1
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
79
79
|
offsetTop: number;
|
|
80
80
|
offsetLeft: number;
|
|
81
81
|
isLibraryOpen: boolean;
|
|
82
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
82
|
+
fileHandle: import("@dwelle/browser-fs-access").FileSystemHandle | null;
|
|
83
83
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
84
84
|
showStats: boolean;
|
|
85
85
|
currentChartType: import("../element/types").ChartType;
|
package/types/data/blob.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FileSystemHandle } from "browser-fs-access";
|
|
1
|
+
import { FileSystemHandle } from "@dwelle/browser-fs-access";
|
|
2
2
|
import { ExcalidrawElement, ImageId } from "../element/types";
|
|
3
3
|
import { AppState, DataURL } from "../types";
|
|
4
4
|
import { ImportedLibraryData } from "./types";
|
package/types/data/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FileSystemHandle } from "browser-fs-access";
|
|
1
|
+
import { FileSystemHandle } from "@dwelle/browser-fs-access";
|
|
2
2
|
import { NonDeletedExcalidrawElement } from "../element/types";
|
|
3
3
|
import { ExportType } from "../scene/types";
|
|
4
4
|
import { AppState } from "../types";
|
|
@@ -10,4 +10,4 @@ export declare const exportCanvas: (type: ExportType, elements: readonly NonDele
|
|
|
10
10
|
viewBackgroundColor: string;
|
|
11
11
|
name: string;
|
|
12
12
|
fileHandle?: FileSystemHandle | null | undefined;
|
|
13
|
-
}) => Promise<FileSystemHandle | undefined>;
|
|
13
|
+
}) => Promise<FileSystemHandle | null | undefined>;
|
package/types/data/json.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ImportedDataState } from "./types";
|
|
|
4
4
|
import Library from "./library";
|
|
5
5
|
export declare const serializeAsJSON: (elements: readonly ExcalidrawElement[], appState: Partial<AppState>, type: "local" | "database") => string;
|
|
6
6
|
export declare const saveAsJSON: (elements: readonly ExcalidrawElement[], appState: AppState) => Promise<{
|
|
7
|
-
fileHandle: import("browser-fs-access").FileSystemHandle;
|
|
7
|
+
fileHandle: import("@dwelle/browser-fs-access").FileSystemHandle | null;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const loadFromJSON: (localAppState: AppState, localElements: readonly ExcalidrawElement[] | null) => Promise<import("./restore").RestoredDataState>;
|
|
10
10
|
export declare const isValidExcalidrawData: (data?: {
|
package/types/data/resave.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExcalidrawElement } from "../element/types";
|
|
2
2
|
import { AppState } from "../types";
|
|
3
3
|
export declare const resaveAsImageWithScene: (elements: readonly ExcalidrawElement[], appState: AppState) => Promise<{
|
|
4
|
-
fileHandle: import("browser-fs-access").FileSystemHandle;
|
|
4
|
+
fileHandle: import("@dwelle/browser-fs-access").FileSystemHandle;
|
|
5
5
|
}>;
|
|
File without changes
|
package/types/types.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export declare type AppState = {
|
|
|
106
106
|
offsetTop: number;
|
|
107
107
|
offsetLeft: number;
|
|
108
108
|
isLibraryOpen: boolean;
|
|
109
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
109
|
+
fileHandle: import("@dwelle/browser-fs-access").FileSystemHandle | null;
|
|
110
110
|
collaborators: Map<string, Collaborator>;
|
|
111
111
|
showStats: boolean;
|
|
112
112
|
currentChartType: ChartType;
|