@wildmio/excalidraw 0.18.0-custom-1 → 0.18.0-custom.1
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/dev/{chunk-55IZTNXR.js → chunk-7GZZDIRR.js} +8 -6
- package/dist/dev/chunk-7GZZDIRR.js.map +7 -0
- package/dist/dev/{chunk-OCFTI2BU.js → chunk-OWOU4ALI.js} +3 -2
- package/dist/dev/chunk-OWOU4ALI.js.map +7 -0
- package/dist/dev/{chunk-4BGRJMQS.js → chunk-QRXFLJOF.js} +2 -2
- package/dist/dev/data/{image-HFX5FVZR.js → image-OLRMF3PX.js} +3 -3
- package/dist/dev/index.css +3 -0
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +704 -606
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-MLZIHOCR.js → en-GWPE5KV7.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-QNG5NH6R.js → chunk-2KZFBCBN.js} +1 -1
- package/dist/prod/chunk-FXQN3L2S.js +4 -0
- package/dist/prod/{chunk-RKNJTMKK.js → chunk-OVC72EOF.js} +1 -1
- package/dist/prod/data/image-ZQDS3QL7.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -18
- package/dist/prod/locales/{en-BARVNJLJ.js → en-7B5CVO5K.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +3 -0
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +3 -0
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionExport.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionGroup.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionLink.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionMenu.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionProperties.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionStyles.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -0
- package/dist/types/excalidraw/appState.d.ts +1 -0
- package/dist/types/excalidraw/components/App.d.ts +1 -0
- package/dist/types/excalidraw/components/EyeButton.d.ts +8 -0
- package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
- package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +9 -0
- package/package.json +1 -1
- package/dist/dev/chunk-55IZTNXR.js.map +0 -7
- package/dist/dev/chunk-OCFTI2BU.js.map +0 -7
- package/dist/prod/chunk-2KZTCREM.js +0 -4
- package/dist/prod/data/image-CRABYHXF.js +0 -1
- /package/dist/dev/{chunk-4BGRJMQS.js.map → chunk-QRXFLJOF.js.map} +0 -0
- /package/dist/dev/data/{image-HFX5FVZR.js.map → image-OLRMF3PX.js.map} +0 -0
- /package/dist/dev/locales/{en-MLZIHOCR.js.map → en-GWPE5KV7.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
define_import_meta_env_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QRXFLJOF.js";
|
|
4
4
|
import {
|
|
5
5
|
__publicField
|
|
6
6
|
} from "./chunk-XDFCUUT6.js";
|
|
@@ -141,7 +141,8 @@ var getDefaultAppState = () => {
|
|
|
141
141
|
searchMatches: null,
|
|
142
142
|
lockedMultiSelections: {},
|
|
143
143
|
activeLockedId: null,
|
|
144
|
-
bindMode: "orbit"
|
|
144
|
+
bindMode: "orbit",
|
|
145
|
+
hideAnnotations: false
|
|
145
146
|
};
|
|
146
147
|
};
|
|
147
148
|
var APP_STATE_STORAGE_CONF = /* @__PURE__ */ ((config) => config)({
|
|
@@ -251,7 +252,8 @@ var APP_STATE_STORAGE_CONF = /* @__PURE__ */ ((config) => config)({
|
|
|
251
252
|
searchMatches: { browser: false, export: false, server: false },
|
|
252
253
|
lockedMultiSelections: { browser: true, export: true, server: true },
|
|
253
254
|
activeLockedId: { browser: false, export: false, server: false },
|
|
254
|
-
bindMode: { browser: true, export: false, server: false }
|
|
255
|
+
bindMode: { browser: true, export: false, server: false },
|
|
256
|
+
hideAnnotations: { browser: true, export: false, server: false }
|
|
255
257
|
});
|
|
256
258
|
var _clearAppStateForStorage = (appState, exportType) => {
|
|
257
259
|
const stateForExport = {};
|
|
@@ -3139,7 +3141,7 @@ var isPointHittingLink = (element, elementsMap, appState, [x, y], isMobile) => {
|
|
|
3139
3141
|
if (!element.link || appState.selectedElementIds[element.id]) {
|
|
3140
3142
|
return false;
|
|
3141
3143
|
}
|
|
3142
|
-
if (!isMobile && appState.viewModeEnabled && hitElementBoundingBox(pointFrom(x, y), element, elementsMap)) {
|
|
3144
|
+
if (!isMobile && (appState.viewModeEnabled || appState.hideAnnotations) && hitElementBoundingBox(pointFrom(x, y), element, elementsMap)) {
|
|
3143
3145
|
return true;
|
|
3144
3146
|
}
|
|
3145
3147
|
return isPointHittingLinkIcon(
|
|
@@ -5031,7 +5033,7 @@ var parseFileContents = async (blob) => {
|
|
|
5031
5033
|
let contents;
|
|
5032
5034
|
if (blob.type === MIME_TYPES6.png) {
|
|
5033
5035
|
try {
|
|
5034
|
-
return await (await import("./data/image-
|
|
5036
|
+
return await (await import("./data/image-OLRMF3PX.js")).decodePngMetadata(blob);
|
|
5035
5037
|
} catch (error) {
|
|
5036
5038
|
if (error.message === "INVALID") {
|
|
5037
5039
|
throw new ImageSceneDataError(
|
|
@@ -5469,4 +5471,4 @@ export {
|
|
|
5469
5471
|
createFile,
|
|
5470
5472
|
normalizeFile
|
|
5471
5473
|
};
|
|
5472
|
-
//# sourceMappingURL=chunk-
|
|
5474
|
+
//# sourceMappingURL=chunk-7GZZDIRR.js.map
|