@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.9.0-obsidian-image-support-3",
3
+ "version": "0.9.0-obsidian-image-support-4",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -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;
@@ -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";
@@ -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>;
@@ -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?: {
@@ -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
  }>;
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;