@zsviczian/excalidraw 0.15.2-obsidian-12 → 0.15.3-obsidian
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.development.js +119 -42
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +12 -3
- package/types/actions/actionBoundText.d.ts +8 -2
- package/types/actions/actionCanvas.d.ts +48 -12
- package/types/actions/actionClipboard.d.ts +20 -5
- package/types/actions/actionDeleteSelected.d.ts +12 -3
- package/types/actions/actionElementLock.d.ts +8 -2
- package/types/actions/actionExport.d.ts +36 -9
- package/types/actions/actionFinalize.d.ts +9 -3
- package/types/actions/actionFrame.d.ts +12 -3
- package/types/actions/actionGroup.d.ts +291 -3
- package/types/actions/actionLinearEditor.d.ts +4 -1
- package/types/actions/actionMenu.d.ts +12 -3
- package/types/actions/actionProperties.d.ts +52 -13
- package/types/actions/actionSelectAll.d.ts +146 -1
- package/types/actions/actionStyles.d.ts +4 -1
- package/types/actions/actionToggleGridMode.d.ts +4 -1
- package/types/actions/actionToggleStats.d.ts +4 -1
- package/types/actions/actionToggleViewMode.d.ts +4 -1
- package/types/actions/actionToggleZenMode.d.ts +4 -1
- package/types/clipboard.d.ts +1 -0
- package/types/components/Actions.d.ts +2 -2
- package/types/components/App.d.ts +8 -6
- package/types/components/JSONExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +3 -2
- package/types/components/MobileMenu.d.ts +2 -2
- package/types/components/canvases/InteractiveCanvas.d.ts +27 -0
- package/types/components/canvases/StaticCanvas.d.ts +18 -0
- package/types/components/canvases/index.d.ts +3 -0
- package/types/constants.d.ts +1 -0
- package/types/data/transform.d.ts +71 -0
- package/types/element/Hyperlink.d.ts +5 -2
- package/types/element/binding.d.ts +1 -0
- package/types/element/embeddable.d.ts +4 -1
- package/types/element/linearElementEditor.d.ts +7 -4
- package/types/element/newElement.d.ts +9 -5
- package/types/element/sizeHelpers.d.ts +8 -1
- package/types/element/textElement.d.ts +3 -1
- package/types/element/textWysiwyg.d.ts +1 -1
- package/types/element/transformHandles.d.ts +2 -2
- package/types/frame.d.ts +3 -3
- package/types/groups.d.ts +11 -11
- package/types/packages/excalidraw/example/initialData.d.ts +182 -70
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/renderer/renderElement.d.ts +9 -21
- package/types/renderer/renderScene.d.ts +16 -36
- package/types/scene/Renderer.d.ts +25 -0
- package/types/scene/Scene.d.ts +2 -0
- package/types/scene/Shape.d.ts +12 -0
- package/types/scene/ShapeCache.d.ts +20 -0
- package/types/scene/scroll.d.ts +1 -1
- package/types/scene/scrollbars.d.ts +2 -6
- package/types/scene/selection.d.ts +2 -2
- package/types/scene/types.d.ts +57 -24
- package/types/types.d.ts +49 -4
- package/types/utils.d.ts +12 -4
- package/types/actions/actionToggleLock.d.ts +0 -139
- package/types/bug-issue-template.d.ts +0 -2
- package/types/components/ActiveFile.d.ts +0 -7
- package/types/components/BackgroundPickerAndDarkModeToggle.d.ts +0 -4
- package/types/components/ClearCanvas.d.ts +0 -4
- package/types/components/CollabButton.d.ts +0 -7
- package/types/components/ColorPicker.d.ts +0 -19
- package/types/components/EncryptedIcon.d.ts +0 -2
- package/types/components/Footer.d.ts +0 -10
- package/types/components/HelpIcon.d.ts +0 -8
- package/types/components/LibraryButton.d.ts +0 -8
- package/types/components/MenuItem.d.ts +0 -11
- package/types/components/MenuUtils.d.ts +0 -2
- package/types/components/SidebarLockButton.d.ts +0 -8
- package/types/components/SingleLibraryItem.d.ts +0 -10
- package/types/components/TopErrorBoundary.d.ts +0 -15
- package/types/components/WelcomeScreen.d.ts +0 -8
- package/types/components/WelcomeScreenDecor.d.ts +0 -6
- package/types/components/context/tunnels.d.ts +0 -16
- package/types/components/hoc/withUpstreamOverride.d.ts +0 -10
- package/types/components/mainMenu/DefaultItems.d.ts +0 -44
- package/types/components/mainMenu/MainMenu.d.ts +0 -63
- package/types/element/iframe.d.ts +0 -167
- package/types/excalidraw-app/CustomStats.d.ts +0 -9
- package/types/excalidraw-app/app_constants.d.ts +0 -32
- package/types/excalidraw-app/collab/Collab.d.ts +0 -163
- package/types/excalidraw-app/collab/Portal.d.ts +0 -28
- package/types/excalidraw-app/collab/RoomDialog.d.ts +0 -13
- package/types/excalidraw-app/collab/reconciliation.d.ts +0 -10
- package/types/excalidraw-app/components/ExportToExcalidrawPlus.d.ts +0 -9
- package/types/excalidraw-app/components/LanguageList.d.ts +0 -4
- package/types/excalidraw-app/components/icons.d.ts +0 -1
- package/types/excalidraw-app/data/FileManager.d.ts +0 -66
- package/types/excalidraw-app/data/LocalData.d.ts +0 -32
- package/types/excalidraw-app/data/Locker.d.ts +0 -8
- package/types/excalidraw-app/data/firebase.d.ts +0 -25
- package/types/excalidraw-app/data/index.d.ts +0 -190
- package/types/excalidraw-app/data/localStorage.d.ts +0 -116
- package/types/excalidraw-app/data/tabSync.d.ts +0 -9
- package/types/excalidraw-app/index.d.ts +0 -26
- package/types/packages/common.webpack.dev.config.d.ts +0 -72
- package/types/packages/common.webpack.prod.config.d.ts +0 -84
- package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +0 -5
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { ImportedDataState } from "../../data/types";
|
|
2
|
-
import { ExcalidrawElement } from "../../element/types";
|
|
3
|
-
import { AppState, BinaryFiles, UserIdleState } from "../../types";
|
|
4
|
-
export declare type SyncableExcalidrawElement = ExcalidrawElement & {
|
|
5
|
-
_brand: "SyncableExcalidrawElement";
|
|
6
|
-
};
|
|
7
|
-
export declare const isSyncableElement: (element: ExcalidrawElement) => element is SyncableExcalidrawElement;
|
|
8
|
-
export declare const getSyncableElements: (elements: readonly ExcalidrawElement[]) => SyncableExcalidrawElement[];
|
|
9
|
-
/**
|
|
10
|
-
* Right now the reason why we resolve connection params (url, polling...)
|
|
11
|
-
* from upstream is to allow changing the params immediately when needed without
|
|
12
|
-
* having to wait for clients to update the SW.
|
|
13
|
-
*
|
|
14
|
-
* If REACT_APP_WS_SERVER_URL env is set, we use that instead (useful for forks)
|
|
15
|
-
*/
|
|
16
|
-
export declare const getCollabServer: () => Promise<{
|
|
17
|
-
url: string;
|
|
18
|
-
polling: boolean;
|
|
19
|
-
}>;
|
|
20
|
-
export declare type EncryptedData = {
|
|
21
|
-
data: ArrayBuffer;
|
|
22
|
-
iv: Uint8Array;
|
|
23
|
-
};
|
|
24
|
-
export declare type SocketUpdateDataSource = {
|
|
25
|
-
SCENE_INIT: {
|
|
26
|
-
type: "SCENE_INIT";
|
|
27
|
-
payload: {
|
|
28
|
-
elements: readonly ExcalidrawElement[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
SCENE_UPDATE: {
|
|
32
|
-
type: "SCENE_UPDATE";
|
|
33
|
-
payload: {
|
|
34
|
-
elements: readonly ExcalidrawElement[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
MOUSE_LOCATION: {
|
|
38
|
-
type: "MOUSE_LOCATION";
|
|
39
|
-
payload: {
|
|
40
|
-
socketId: string;
|
|
41
|
-
pointer: {
|
|
42
|
-
x: number;
|
|
43
|
-
y: number;
|
|
44
|
-
};
|
|
45
|
-
button: "down" | "up";
|
|
46
|
-
selectedElementIds: AppState["selectedElementIds"];
|
|
47
|
-
username: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
IDLE_STATUS: {
|
|
51
|
-
type: "IDLE_STATUS";
|
|
52
|
-
payload: {
|
|
53
|
-
socketId: string;
|
|
54
|
-
userState: UserIdleState;
|
|
55
|
-
username: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export declare type SocketUpdateDataIncoming = SocketUpdateDataSource[keyof SocketUpdateDataSource] | {
|
|
60
|
-
type: "INVALID_RESPONSE";
|
|
61
|
-
};
|
|
62
|
-
export declare type SocketUpdateData = SocketUpdateDataSource[keyof SocketUpdateDataSource] & {
|
|
63
|
-
_brand: "socketUpdateData";
|
|
64
|
-
};
|
|
65
|
-
export declare const isCollaborationLink: (link: string) => boolean;
|
|
66
|
-
export declare const getCollaborationLinkData: (link: string) => {
|
|
67
|
-
roomId: string;
|
|
68
|
-
roomKey: string;
|
|
69
|
-
} | null;
|
|
70
|
-
export declare const generateCollaborationLinkData: () => Promise<{
|
|
71
|
-
roomId: string;
|
|
72
|
-
roomKey: string;
|
|
73
|
-
}>;
|
|
74
|
-
export declare const getCollaborationLink: (data: {
|
|
75
|
-
roomId: string;
|
|
76
|
-
roomKey: string;
|
|
77
|
-
}) => string;
|
|
78
|
-
export declare const loadScene: (id: string | null, privateKey: string | null, localDataState: ImportedDataState | undefined | null) => Promise<{
|
|
79
|
-
elements: ExcalidrawElement[];
|
|
80
|
-
appState: {
|
|
81
|
-
theme: string;
|
|
82
|
-
name: string;
|
|
83
|
-
activeTool: {
|
|
84
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
85
|
-
lastActiveToolBeforeEraser: import("../../types").LastActiveToolBeforeEraser;
|
|
86
|
-
locked: boolean;
|
|
87
|
-
customType: null;
|
|
88
|
-
} | {
|
|
89
|
-
type: "custom";
|
|
90
|
-
customType: string;
|
|
91
|
-
lastActiveToolBeforeEraser: import("../../types").LastActiveToolBeforeEraser;
|
|
92
|
-
locked: boolean;
|
|
93
|
-
};
|
|
94
|
-
contextMenu: {
|
|
95
|
-
items: import("../../components/ContextMenu").ContextMenuItems;
|
|
96
|
-
top: number;
|
|
97
|
-
left: number;
|
|
98
|
-
} | null;
|
|
99
|
-
showWelcomeScreen: boolean;
|
|
100
|
-
isLoading: boolean;
|
|
101
|
-
errorMessage: string | null;
|
|
102
|
-
draggingElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
103
|
-
resizingElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
104
|
-
multiElement: import("../../element/types").NonDeleted<import("../../element/types").ExcalidrawLinearElement> | null;
|
|
105
|
-
selectionElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
106
|
-
isBindingEnabled: boolean;
|
|
107
|
-
startBoundElement: import("../../element/types").NonDeleted<import("../../element/types").ExcalidrawBindableElement> | null;
|
|
108
|
-
suggestedBindings: import("../../element/binding").SuggestedBinding[];
|
|
109
|
-
editingElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
110
|
-
editingLinearElement: import("../../element/linearElementEditor").LinearElementEditor | null;
|
|
111
|
-
penMode: boolean;
|
|
112
|
-
penDetected: boolean;
|
|
113
|
-
exportBackground: boolean;
|
|
114
|
-
exportEmbedScene: boolean;
|
|
115
|
-
exportWithDarkMode: boolean;
|
|
116
|
-
exportScale: number;
|
|
117
|
-
currentItemStrokeColor: string;
|
|
118
|
-
currentItemBackgroundColor: string;
|
|
119
|
-
currentItemFillStyle: import("../../element/types").FillStyle;
|
|
120
|
-
currentItemStrokeWidth: number;
|
|
121
|
-
currentItemStrokeStyle: import("../../element/types").StrokeStyle;
|
|
122
|
-
currentItemRoughness: number;
|
|
123
|
-
currentItemOpacity: number;
|
|
124
|
-
currentItemFontFamily: number;
|
|
125
|
-
currentItemFontSize: number;
|
|
126
|
-
currentItemTextAlign: string;
|
|
127
|
-
currentItemStartArrowhead: import("../../element/types").Arrowhead | null;
|
|
128
|
-
currentItemEndArrowhead: import("../../element/types").Arrowhead | null;
|
|
129
|
-
currentItemRoundness: import("../../element/types").StrokeRoundness;
|
|
130
|
-
viewBackgroundColor: string;
|
|
131
|
-
scrollX: number;
|
|
132
|
-
scrollY: number;
|
|
133
|
-
cursorButton: "up" | "down";
|
|
134
|
-
scrolledOutside: boolean;
|
|
135
|
-
isResizing: boolean;
|
|
136
|
-
isRotating: boolean;
|
|
137
|
-
zoom: Readonly<{
|
|
138
|
-
value: import("../../types").NormalizedZoomValue;
|
|
139
|
-
}>;
|
|
140
|
-
openMenu: "canvas" | "shape" | null;
|
|
141
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
142
|
-
openSidebar: "library" | "customSidebar" | null;
|
|
143
|
-
openDialog: "imageExport" | "help" | null;
|
|
144
|
-
isSidebarDocked: boolean;
|
|
145
|
-
lastPointerDownWith: import("../../element/types").PointerType;
|
|
146
|
-
selectedElementIds: {
|
|
147
|
-
[id: string]: boolean;
|
|
148
|
-
};
|
|
149
|
-
previousSelectedElementIds: {
|
|
150
|
-
[id: string]: boolean;
|
|
151
|
-
};
|
|
152
|
-
shouldCacheIgnoreZoom: boolean;
|
|
153
|
-
toast: {
|
|
154
|
-
message: string;
|
|
155
|
-
closable?: boolean | undefined;
|
|
156
|
-
duration?: number | undefined;
|
|
157
|
-
} | null;
|
|
158
|
-
zenModeEnabled: boolean;
|
|
159
|
-
gridSize: number | null;
|
|
160
|
-
viewModeEnabled: boolean;
|
|
161
|
-
selectedGroupIds: {
|
|
162
|
-
[groupId: string]: boolean;
|
|
163
|
-
};
|
|
164
|
-
editingGroupId: string | null;
|
|
165
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
166
|
-
collaborators: Map<string, import("../../types").Collaborator>;
|
|
167
|
-
showStats: boolean;
|
|
168
|
-
currentChartType: import("../../element/types").ChartType;
|
|
169
|
-
pasteDialog: {
|
|
170
|
-
shown: false;
|
|
171
|
-
data: null;
|
|
172
|
-
} | {
|
|
173
|
-
shown: true;
|
|
174
|
-
data: import("../../charts").Spreadsheet;
|
|
175
|
-
};
|
|
176
|
-
pendingImageElementId: string | null;
|
|
177
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
178
|
-
linkOpacity: number;
|
|
179
|
-
trayModeEnabled: boolean;
|
|
180
|
-
colorPalette: {
|
|
181
|
-
canvasBackground?: string[] | undefined;
|
|
182
|
-
elementBackground?: string[] | undefined;
|
|
183
|
-
elementStroke?: string[] | undefined;
|
|
184
|
-
};
|
|
185
|
-
selectedLinearElement: import("../../element/linearElementEditor").LinearElementEditor | null;
|
|
186
|
-
};
|
|
187
|
-
files: BinaryFiles;
|
|
188
|
-
commitToHistory: boolean;
|
|
189
|
-
}>;
|
|
190
|
-
export declare const exportToBackend: (elements: readonly ExcalidrawElement[], appState: AppState, files: BinaryFiles) => Promise<void>;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { ExcalidrawElement } from "../../element/types";
|
|
2
|
-
export declare const saveUsernameToLocalStorage: (username: string) => void;
|
|
3
|
-
export declare const importUsernameFromLocalStorage: () => string | null;
|
|
4
|
-
export declare const importFromLocalStorage: () => {
|
|
5
|
-
elements: ExcalidrawElement[];
|
|
6
|
-
appState: {
|
|
7
|
-
theme: string;
|
|
8
|
-
name: string;
|
|
9
|
-
activeTool: {
|
|
10
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
11
|
-
lastActiveToolBeforeEraser: import("../../types").LastActiveToolBeforeEraser;
|
|
12
|
-
locked: boolean;
|
|
13
|
-
customType: null;
|
|
14
|
-
} | {
|
|
15
|
-
type: "custom";
|
|
16
|
-
customType: string;
|
|
17
|
-
lastActiveToolBeforeEraser: import("../../types").LastActiveToolBeforeEraser;
|
|
18
|
-
locked: boolean;
|
|
19
|
-
};
|
|
20
|
-
showWelcomeScreen: boolean;
|
|
21
|
-
penMode: boolean;
|
|
22
|
-
penDetected: boolean;
|
|
23
|
-
exportBackground: boolean;
|
|
24
|
-
exportEmbedScene: boolean;
|
|
25
|
-
exportWithDarkMode: boolean;
|
|
26
|
-
exportScale: number;
|
|
27
|
-
currentItemStrokeColor: string;
|
|
28
|
-
currentItemBackgroundColor: string;
|
|
29
|
-
currentItemFillStyle: import("../../element/types").FillStyle;
|
|
30
|
-
currentItemStrokeWidth: number;
|
|
31
|
-
currentItemStrokeStyle: import("../../element/types").StrokeStyle;
|
|
32
|
-
currentItemRoughness: number;
|
|
33
|
-
currentItemOpacity: number;
|
|
34
|
-
currentItemFontFamily: number;
|
|
35
|
-
currentItemFontSize: number;
|
|
36
|
-
currentItemTextAlign: string;
|
|
37
|
-
currentItemStartArrowhead: import("../../element/types").Arrowhead | null;
|
|
38
|
-
currentItemEndArrowhead: import("../../element/types").Arrowhead | null;
|
|
39
|
-
currentItemRoundness: import("../../element/types").StrokeRoundness;
|
|
40
|
-
viewBackgroundColor: string;
|
|
41
|
-
scrollX: number;
|
|
42
|
-
scrollY: number;
|
|
43
|
-
cursorButton: "up" | "down";
|
|
44
|
-
scrolledOutside: boolean;
|
|
45
|
-
zoom: Readonly<{
|
|
46
|
-
value: import("../../types").NormalizedZoomValue;
|
|
47
|
-
}>;
|
|
48
|
-
openMenu: "canvas" | "shape" | null;
|
|
49
|
-
openSidebar: "library" | "customSidebar" | null;
|
|
50
|
-
isSidebarDocked: boolean;
|
|
51
|
-
lastPointerDownWith: import("../../element/types").PointerType;
|
|
52
|
-
selectedElementIds: {
|
|
53
|
-
[id: string]: boolean;
|
|
54
|
-
};
|
|
55
|
-
previousSelectedElementIds: {
|
|
56
|
-
[id: string]: boolean;
|
|
57
|
-
};
|
|
58
|
-
shouldCacheIgnoreZoom: boolean;
|
|
59
|
-
zenModeEnabled: boolean;
|
|
60
|
-
gridSize: number | null;
|
|
61
|
-
selectedGroupIds: {
|
|
62
|
-
[groupId: string]: boolean;
|
|
63
|
-
};
|
|
64
|
-
editingGroupId: string | null;
|
|
65
|
-
showStats: boolean;
|
|
66
|
-
currentChartType: import("../../element/types").ChartType;
|
|
67
|
-
selectedLinearElement: import("../../element/linearElementEditor").LinearElementEditor | null;
|
|
68
|
-
contextMenu: {
|
|
69
|
-
items: import("../../components/ContextMenu").ContextMenuItems;
|
|
70
|
-
top: number;
|
|
71
|
-
left: number;
|
|
72
|
-
} | null;
|
|
73
|
-
isLoading: boolean;
|
|
74
|
-
errorMessage: string | null;
|
|
75
|
-
draggingElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
76
|
-
resizingElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
77
|
-
multiElement: import("../../element/types").NonDeleted<import("../../element/types").ExcalidrawLinearElement> | null;
|
|
78
|
-
selectionElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
79
|
-
isBindingEnabled: boolean;
|
|
80
|
-
startBoundElement: import("../../element/types").NonDeleted<import("../../element/types").ExcalidrawBindableElement> | null;
|
|
81
|
-
suggestedBindings: import("../../element/binding").SuggestedBinding[];
|
|
82
|
-
editingElement: import("../../element/types").NonDeletedExcalidrawElement | null;
|
|
83
|
-
editingLinearElement: import("../../element/linearElementEditor").LinearElementEditor | null;
|
|
84
|
-
isResizing: boolean;
|
|
85
|
-
isRotating: boolean;
|
|
86
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
87
|
-
openDialog: "imageExport" | "help" | null;
|
|
88
|
-
toast: {
|
|
89
|
-
message: string;
|
|
90
|
-
closable?: boolean | undefined;
|
|
91
|
-
duration?: number | undefined;
|
|
92
|
-
} | null;
|
|
93
|
-
viewModeEnabled: boolean;
|
|
94
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
95
|
-
collaborators: Map<string, import("../../types").Collaborator>;
|
|
96
|
-
pasteDialog: {
|
|
97
|
-
shown: false;
|
|
98
|
-
data: null;
|
|
99
|
-
} | {
|
|
100
|
-
shown: true;
|
|
101
|
-
data: import("../../charts").Spreadsheet;
|
|
102
|
-
};
|
|
103
|
-
pendingImageElementId: string | null;
|
|
104
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
105
|
-
linkOpacity: number;
|
|
106
|
-
trayModeEnabled: boolean;
|
|
107
|
-
colorPalette: {
|
|
108
|
-
canvasBackground?: string[] | undefined;
|
|
109
|
-
elementBackground?: string[] | undefined;
|
|
110
|
-
elementStroke?: string[] | undefined;
|
|
111
|
-
};
|
|
112
|
-
} | null;
|
|
113
|
-
};
|
|
114
|
-
export declare const getElementsStorageSize: () => number;
|
|
115
|
-
export declare const getTotalStorageSize: () => number;
|
|
116
|
-
export declare const getLibraryItemsFromStorage: () => import("../../types").LibraryItems_anyVersion;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const LOCAL_STATE_VERSIONS: {
|
|
2
|
-
"version-dataState": number;
|
|
3
|
-
"version-files": number;
|
|
4
|
-
};
|
|
5
|
-
declare type BrowserStateTypes = keyof typeof LOCAL_STATE_VERSIONS;
|
|
6
|
-
export declare const isBrowserStorageStateNewer: (type: BrowserStateTypes) => boolean;
|
|
7
|
-
export declare const updateBrowserStateVersion: (type: BrowserStateTypes) => void;
|
|
8
|
-
export declare const resetBrowserStateVersions: () => void;
|
|
9
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import "./index.scss";
|
|
2
|
-
export declare const langCodeAtom: import("jotai").Atom<string> & {
|
|
3
|
-
write: (get: {
|
|
4
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
5
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
6
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
7
|
-
} & {
|
|
8
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
9
|
-
unstable_promise: true;
|
|
10
|
-
}): Value_3 | Promise<Value_3>;
|
|
11
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
12
|
-
unstable_promise: true;
|
|
13
|
-
}): Value_4 | Promise<Value_4>;
|
|
14
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
15
|
-
unstable_promise: true;
|
|
16
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
17
|
-
}, set: {
|
|
18
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
19
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
20
|
-
}, update: string | ((prev: string) => string)) => void;
|
|
21
|
-
onMount?: (<S extends (update: string | ((prev: string) => string)) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
22
|
-
} & {
|
|
23
|
-
init: string;
|
|
24
|
-
};
|
|
25
|
-
declare const ExcalidrawApp: () => JSX.Element;
|
|
26
|
-
export default ExcalidrawApp;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import webpack = require("webpack");
|
|
2
|
-
export const mode: string;
|
|
3
|
-
export const devtool: boolean;
|
|
4
|
-
export namespace output {
|
|
5
|
-
const libraryTarget: string;
|
|
6
|
-
const filename: string;
|
|
7
|
-
const publicPath: string;
|
|
8
|
-
}
|
|
9
|
-
export namespace resolve {
|
|
10
|
-
const extensions: string[];
|
|
11
|
-
}
|
|
12
|
-
export namespace module {
|
|
13
|
-
const rules: ({
|
|
14
|
-
test: RegExp;
|
|
15
|
-
exclude: RegExp;
|
|
16
|
-
use: (string | {
|
|
17
|
-
loader: string;
|
|
18
|
-
options?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
loader: string;
|
|
21
|
-
options: {
|
|
22
|
-
postcssOptions: {
|
|
23
|
-
plugins: any[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
})[];
|
|
27
|
-
type?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
test: RegExp;
|
|
30
|
-
exclude: RegExp;
|
|
31
|
-
use: {
|
|
32
|
-
loader: string;
|
|
33
|
-
options: {
|
|
34
|
-
transpileOnly: boolean;
|
|
35
|
-
configFile: string;
|
|
36
|
-
};
|
|
37
|
-
}[];
|
|
38
|
-
type?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
test: RegExp;
|
|
41
|
-
type: string;
|
|
42
|
-
exclude?: undefined;
|
|
43
|
-
use?: undefined;
|
|
44
|
-
})[];
|
|
45
|
-
}
|
|
46
|
-
export namespace optimization {
|
|
47
|
-
const sideEffects: boolean;
|
|
48
|
-
namespace splitChunks {
|
|
49
|
-
const chunks: string;
|
|
50
|
-
namespace cacheGroups {
|
|
51
|
-
namespace vendors {
|
|
52
|
-
const test: RegExp;
|
|
53
|
-
const name: string;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export const plugins: (webpack.EvalSourceMapDevToolPlugin | webpack.DefinePlugin)[];
|
|
59
|
-
export const externals: {
|
|
60
|
-
react: {
|
|
61
|
-
root: string;
|
|
62
|
-
commonjs2: string;
|
|
63
|
-
commonjs: string;
|
|
64
|
-
amd: string;
|
|
65
|
-
};
|
|
66
|
-
"react-dom": {
|
|
67
|
-
root: string;
|
|
68
|
-
commonjs2: string;
|
|
69
|
-
commonjs: string;
|
|
70
|
-
amd: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export const mode: string;
|
|
2
|
-
export namespace output {
|
|
3
|
-
const libraryTarget: string;
|
|
4
|
-
const filename: string;
|
|
5
|
-
const publicPath: string;
|
|
6
|
-
}
|
|
7
|
-
export namespace resolve {
|
|
8
|
-
const extensions: string[];
|
|
9
|
-
}
|
|
10
|
-
export namespace module {
|
|
11
|
-
const rules: ({
|
|
12
|
-
test: RegExp;
|
|
13
|
-
exclude: RegExp;
|
|
14
|
-
use: (string | {
|
|
15
|
-
loader: string;
|
|
16
|
-
options?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
loader: string;
|
|
19
|
-
options: {
|
|
20
|
-
postcssOptions: {
|
|
21
|
-
plugins: any[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
})[];
|
|
25
|
-
type?: undefined;
|
|
26
|
-
} | {
|
|
27
|
-
test: RegExp;
|
|
28
|
-
exclude: RegExp;
|
|
29
|
-
use: ({
|
|
30
|
-
loader: string;
|
|
31
|
-
options: {
|
|
32
|
-
transpileOnly: boolean;
|
|
33
|
-
configFile: string;
|
|
34
|
-
presets?: undefined;
|
|
35
|
-
plugins?: undefined;
|
|
36
|
-
};
|
|
37
|
-
} | {
|
|
38
|
-
loader: string;
|
|
39
|
-
options: {
|
|
40
|
-
presets: (string | (string | {
|
|
41
|
-
runtime: string;
|
|
42
|
-
})[])[];
|
|
43
|
-
plugins: string[];
|
|
44
|
-
transpileOnly?: undefined;
|
|
45
|
-
configFile?: undefined;
|
|
46
|
-
};
|
|
47
|
-
})[];
|
|
48
|
-
type?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
test: RegExp;
|
|
51
|
-
type: string;
|
|
52
|
-
exclude?: undefined;
|
|
53
|
-
use?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
}
|
|
56
|
-
export namespace optimization {
|
|
57
|
-
const sideEffects: boolean;
|
|
58
|
-
const minimize: boolean;
|
|
59
|
-
const minimizer: any[];
|
|
60
|
-
namespace splitChunks {
|
|
61
|
-
const chunks: string;
|
|
62
|
-
namespace cacheGroups {
|
|
63
|
-
namespace vendors {
|
|
64
|
-
const test: RegExp;
|
|
65
|
-
const name: string;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export const plugins: any[];
|
|
71
|
-
export const externals: {
|
|
72
|
-
react: {
|
|
73
|
-
root: string;
|
|
74
|
-
commonjs2: string;
|
|
75
|
-
commonjs: string;
|
|
76
|
-
amd: string;
|
|
77
|
-
};
|
|
78
|
-
"react-dom": {
|
|
79
|
-
root: string;
|
|
80
|
-
commonjs2: string;
|
|
81
|
-
commonjs: string;
|
|
82
|
-
amd: string;
|
|
83
|
-
};
|
|
84
|
-
};
|