@myoc/excalidraw 0.19.537 → 0.19.540
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/CHANGELOG.md +158 -0
- package/dist/dev/{chunk-SZMFGT5M.js → chunk-2OVHIH4L.js} +3 -1
- package/dist/dev/chunk-2OVHIH4L.js.map +7 -0
- package/dist/dev/{chunk-7R7FDLAY.js → chunk-2QTO3ZBI.js} +30 -6
- package/dist/dev/chunk-2QTO3ZBI.js.map +7 -0
- package/dist/dev/{chunk-GMDJS52C.js → chunk-B7BGRRUQ.js} +2 -2
- package/dist/dev/data/{image-2QLYX6JM.js → image-42QGOSHA.js} +3 -3
- package/dist/dev/index.js +387 -281
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-FTXMBOG2.js → en-JINXO2V2.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-ACCWJMS6.js +4 -0
- package/dist/prod/{chunk-5FNQLKFO.js → chunk-KGIBYNMP.js} +3 -3
- package/dist/prod/{chunk-U2M5DXIZ.js → chunk-ZEI5AZ4Y.js} +1 -1
- package/dist/prod/data/image-Q34WHCF3.js +1 -0
- package/dist/prod/index.js +13 -13
- package/dist/prod/locales/{en-S77ABPIF.js → en-2ZA2LKRK.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/utils.d.ts +15 -12
- package/dist/types/excalidraw/actions/actionAlign.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +6 -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/actionDeselect.d.ts +1 -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/actionExport.d.ts +2 -0
- package/dist/types/excalidraw/actions/actionFlipViewpoint.d.ts +43 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +3 -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/actionToggleArrowBinding.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.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/index.d.ts +1 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -0
- package/dist/types/excalidraw/data/json.d.ts +1 -0
- package/dist/types/excalidraw/index.d.ts +1 -1
- package/dist/types/excalidraw/renderer/viewpoint.d.ts +8 -0
- package/dist/types/excalidraw/types.d.ts +5 -1
- package/dist/types/excalidraw/viewport.d.ts +1 -0
- package/package.json +4 -4
- package/dist/dev/chunk-7R7FDLAY.js.map +0 -7
- package/dist/dev/chunk-SZMFGT5M.js.map +0 -7
- package/dist/prod/chunk-C4BFS67G.js +0 -4
- package/dist/prod/data/image-3GEOMH65.js +0 -1
- /package/dist/dev/{chunk-GMDJS52C.js.map → chunk-B7BGRRUQ.js.map} +0 -0
- /package/dist/dev/data/{image-2QLYX6JM.js.map → image-42QGOSHA.js.map} +0 -0
- /package/dist/dev/locales/{en-FTXMBOG2.js.map → en-JINXO2V2.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6063,5 +6063,163 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
|
|
|
6063
6063
|
|
|
6064
6064
|
- Incorrect import for color (was moved to common)
|
|
6065
6065
|
|
|
6066
|
+
---## Excalidraw Library
|
|
6067
|
+
|
|
6068
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
6069
|
+
|
|
6070
|
+
### Features
|
|
6071
|
+
|
|
6072
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
6073
|
+
|
|
6074
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
6075
|
+
|
|
6076
|
+
- Add view mode button
|
|
6077
|
+
|
|
6078
|
+
- Add multiple image copy paste or drag and drop
|
|
6079
|
+
|
|
6080
|
+
- Multiple image additions from clipboard
|
|
6081
|
+
|
|
6082
|
+
- Add arrange elements action
|
|
6083
|
+
|
|
6084
|
+
- Add top picks to appProps for both stoke color and background color
|
|
6085
|
+
|
|
6086
|
+
### Fixes
|
|
6087
|
+
|
|
6088
|
+
- Issues
|
|
6089
|
+
|
|
6090
|
+
- Make mobile mode more myoc looking
|
|
6091
|
+
|
|
6092
|
+
- Add normalise functionality
|
|
6093
|
+
|
|
6094
|
+
- Update with excalidraw
|
|
6095
|
+
|
|
6096
|
+
- Fix imports
|
|
6097
|
+
|
|
6098
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
6099
|
+
|
|
6100
|
+
- Imports
|
|
6101
|
+
|
|
6102
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
6103
|
+
|
|
6104
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
6105
|
+
|
|
6106
|
+
- Add smartview for mobile
|
|
6107
|
+
|
|
6108
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
6109
|
+
|
|
6110
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
6111
|
+
|
|
6112
|
+
- Remove unused variables
|
|
6113
|
+
|
|
6114
|
+
- Pass the new top pick color props properly
|
|
6115
|
+
|
|
6116
|
+
- Incorrect import for color (was moved to common)
|
|
6117
|
+
|
|
6118
|
+
---
|
|
6119
|
+
## Excalidraw Library
|
|
6120
|
+
|
|
6121
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
6122
|
+
|
|
6123
|
+
### Features
|
|
6124
|
+
|
|
6125
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
6126
|
+
|
|
6127
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
6128
|
+
|
|
6129
|
+
- Add view mode button
|
|
6130
|
+
|
|
6131
|
+
- Add multiple image copy paste or drag and drop
|
|
6132
|
+
|
|
6133
|
+
- Multiple image additions from clipboard
|
|
6134
|
+
|
|
6135
|
+
- Add arrange elements action
|
|
6136
|
+
|
|
6137
|
+
- Add top picks to appProps for both stoke color and background color
|
|
6138
|
+
|
|
6139
|
+
### Fixes
|
|
6140
|
+
|
|
6141
|
+
- Issues
|
|
6142
|
+
|
|
6143
|
+
- Make mobile mode more myoc looking
|
|
6144
|
+
|
|
6145
|
+
- Add normalise functionality
|
|
6146
|
+
|
|
6147
|
+
- Update with excalidraw
|
|
6148
|
+
|
|
6149
|
+
- Fix imports
|
|
6150
|
+
|
|
6151
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
6152
|
+
|
|
6153
|
+
- Imports
|
|
6154
|
+
|
|
6155
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
6156
|
+
|
|
6157
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
6158
|
+
|
|
6159
|
+
- Add smartview for mobile
|
|
6160
|
+
|
|
6161
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
6162
|
+
|
|
6163
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
6164
|
+
|
|
6165
|
+
- Remove unused variables
|
|
6166
|
+
|
|
6167
|
+
- Pass the new top pick color props properly
|
|
6168
|
+
|
|
6169
|
+
- Incorrect import for color (was moved to common)
|
|
6170
|
+
|
|
6171
|
+
---
|
|
6172
|
+
## Excalidraw Library
|
|
6173
|
+
|
|
6174
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
6175
|
+
|
|
6176
|
+
### Features
|
|
6177
|
+
|
|
6178
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
6179
|
+
|
|
6180
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
6181
|
+
|
|
6182
|
+
- Add view mode button
|
|
6183
|
+
|
|
6184
|
+
- Add multiple image copy paste or drag and drop
|
|
6185
|
+
|
|
6186
|
+
- Multiple image additions from clipboard
|
|
6187
|
+
|
|
6188
|
+
- Add arrange elements action
|
|
6189
|
+
|
|
6190
|
+
- Add top picks to appProps for both stoke color and background color
|
|
6191
|
+
|
|
6192
|
+
### Fixes
|
|
6193
|
+
|
|
6194
|
+
- Issues
|
|
6195
|
+
|
|
6196
|
+
- Make mobile mode more myoc looking
|
|
6197
|
+
|
|
6198
|
+
- Add normalise functionality
|
|
6199
|
+
|
|
6200
|
+
- Update with excalidraw
|
|
6201
|
+
|
|
6202
|
+
- Fix imports
|
|
6203
|
+
|
|
6204
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
6205
|
+
|
|
6206
|
+
- Imports
|
|
6207
|
+
|
|
6208
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
6209
|
+
|
|
6210
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
6211
|
+
|
|
6212
|
+
- Add smartview for mobile
|
|
6213
|
+
|
|
6214
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
6215
|
+
|
|
6216
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
6217
|
+
|
|
6218
|
+
- Remove unused variables
|
|
6219
|
+
|
|
6220
|
+
- Pass the new top pick color props properly
|
|
6221
|
+
|
|
6222
|
+
- Incorrect import for color (was moved to common)
|
|
6223
|
+
|
|
6066
6224
|
---
|
|
6067
6225
|
|
|
@@ -128,6 +128,8 @@ var labels = {
|
|
|
128
128
|
distributeVertically: "Distribute vertically",
|
|
129
129
|
flipHorizontal: "Flip horizontal",
|
|
130
130
|
flipVertical: "Flip vertical",
|
|
131
|
+
flipViewpointHorizontal: "Flip viewpoint horizontally",
|
|
132
|
+
flipViewpointVertical: "Flip viewpoint vertically",
|
|
131
133
|
viewMode: "View mode",
|
|
132
134
|
share: "Share",
|
|
133
135
|
showStroke: "Show stroke color picker",
|
|
@@ -688,4 +690,4 @@ export {
|
|
|
688
690
|
keys,
|
|
689
691
|
en_default
|
|
690
692
|
};
|
|
691
|
-
//# sourceMappingURL=chunk-
|
|
693
|
+
//# sourceMappingURL=chunk-2OVHIH4L.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../locales/en.json"],
|
|
4
|
+
"sourcesContent": ["{\n \"labels\": {\n \"signUp\": \"Sign up\",\n \"signIn\": \"Sign in\",\n \"paste\": \"Paste\",\n \"pasteAsPlaintext\": \"Paste as plaintext\",\n \"pasteCharts\": \"Paste charts\",\n \"chartType_bar\": \"Bar chart\",\n \"chartType_line\": \"Line chart\",\n \"chartType_radar\": \"Radar chart\",\n \"chartType_plaintext\": \"Plain text\",\n \"selectAll\": \"Select all\",\n \"multiSelect\": \"Add element to selection\",\n \"moveCanvas\": \"Move canvas\",\n \"cut\": \"Cut\",\n \"copy\": \"Copy\",\n \"copyAsPng\": \"Copy to clipboard as PNG\",\n \"copyAsSvg\": \"Copy to clipboard as SVG\",\n \"copyText\": \"Copy to clipboard as text\",\n \"copySource\": \"Copy source to clipboard\",\n \"convertToCode\": \"Convert to code\",\n \"bringForward\": \"Bring forward\",\n \"sendToBack\": \"Send to back\",\n \"bringToFront\": \"Bring to front\",\n \"sendBackward\": \"Send backward\",\n \"delete\": \"Delete\",\n \"copyStyles\": \"Copy styles\",\n \"pasteStyles\": \"Paste styles\",\n \"stroke\": \"Stroke\",\n \"changeStroke\": \"Change stroke color\",\n \"background\": \"Background\",\n \"changeBackground\": \"Change background color\",\n \"fill\": \"Fill\",\n \"smartZoom\": \"Smart Zoom\",\n \"strokeWidth\": \"Stroke width\",\n \"strokeStyle\": \"Stroke style\",\n \"strokeStyle_solid\": \"Solid\",\n \"strokeStyle_dashed\": \"Dashed\",\n \"strokeStyle_dotted\": \"Dotted\",\n \"sloppiness\": \"Sloppiness\",\n \"pressure\": \"Pressure\",\n \"pressure_constant\": \"Constant\",\n \"pressure_variable\": \"Variable\",\n \"opacity\": \"Opacity\",\n \"textAlign\": \"Text align\",\n \"edges\": \"Edges\",\n \"sharp\": \"Sharp\",\n \"round\": \"Round\",\n \"arrowheads\": \"Arrowheads\",\n \"arrowhead_none\": \"None\",\n \"arrowhead_arrow\": \"Arrow\",\n \"arrowhead_bar\": \"Bar\",\n \"arrowhead_circle\": \"Circle\",\n \"arrowhead_circle_outline\": \"Circle (outline)\",\n \"arrowhead_triangle\": \"Triangle\",\n \"arrowhead_triangle_outline\": \"Triangle (outline)\",\n \"arrowhead_diamond\": \"Diamond\",\n \"arrowhead_diamond_outline\": \"Diamond (outline)\",\n \"arrowhead_crowfoot_many\": \"Crow's foot (many)\",\n \"arrowhead_crowfoot_one\": \"Crow's foot (one)\",\n \"arrowhead_crowfoot_one_or_many\": \"Crow's foot (one or many)\",\n \"arrowhead_cardinality_one\": \"Cardinality (one)\",\n \"arrowhead_cardinality_many\": \"Cardinality (many)\",\n \"arrowhead_cardinality_one_or_many\": \"Cardinality (one or many)\",\n \"arrowhead_cardinality_exactly_one\": \"Cardinality (exactly one)\",\n \"arrowhead_cardinality_zero_or_one\": \"Cardinality (zero or one)\",\n \"arrowhead_cardinality_zero_or_many\": \"Cardinality (zero or many)\",\n \"more_options\": \"More options\",\n \"cardinality\": \"Cardinality\",\n \"arrowtypes\": \"Arrow type\",\n \"arrowtype_sharp\": \"Sharp arrow\",\n \"arrowtype_round\": \"Curved arrow\",\n \"arrowtype_elbowed\": \"Elbow arrow\",\n \"fontSize\": \"Font size\",\n \"fontFamily\": \"Font family\",\n \"addWatermark\": \"Add \\\"Made with Excalidraw\\\"\",\n \"handDrawn\": \"Hand-drawn\",\n \"normal\": \"Normal\",\n \"code\": \"Code\",\n \"small\": \"Small\",\n \"medium\": \"Medium\",\n \"large\": \"Large\",\n \"veryLarge\": \"Very large\",\n \"solid\": \"Solid\",\n \"hachure\": \"Hachure\",\n \"zigzag\": \"Zigzag\",\n \"crossHatch\": \"Cross-hatch\",\n \"thin\": \"Thin\",\n \"bold\": \"Bold\",\n \"left\": \"Left\",\n \"center\": \"Center\",\n \"right\": \"Right\",\n \"extraBold\": \"Extra bold\",\n \"architect\": \"Architect\",\n \"artist\": \"Artist\",\n \"cartoonist\": \"Cartoonist\",\n \"fileTitle\": \"File name\",\n \"colorPicker\": \"Color picker\",\n \"canvasColors\": \"Used on canvas\",\n \"canvasBackground\": \"Canvas background\",\n \"drawingCanvas\": \"Drawing canvas\",\n \"clearCanvas\": \"Clear canvas\",\n \"layers\": \"Layers\",\n \"actions\": \"Actions\",\n \"language\": \"Language\",\n \"liveCollaboration\": \"Live collaboration...\",\n \"duplicateSelection\": \"Duplicate\",\n \"untitled\": \"Untitled\",\n \"name\": \"Name\",\n \"yourName\": \"Your name\",\n \"madeWithExcalidraw\": \"Made with Excalidraw\",\n \"group\": \"Group selection\",\n \"ungroup\": \"Ungroup selection\",\n \"collaborators\": \"Collaborators\",\n \"you\": \"You\",\n \"toggleGrid\": \"Toggle grid\",\n \"loadingScene\": \"Loading scene\u2026\",\n \"loadScene\": \"Load scene from file\",\n \"align\": \"Align\",\n \"stacking\": \"Stacking\",\n \"alignTop\": \"Align top\",\n \"alignBottom\": \"Align bottom\",\n \"alignLeft\": \"Align left\",\n \"alignRight\": \"Align right\",\n \"centerVertically\": \"Center vertically\",\n \"centerHorizontally\": \"Center horizontally\",\n \"distributeHorizontally\": \"Distribute horizontally\",\n \"distributeVertically\": \"Distribute vertically\",\n \"flipHorizontal\": \"Flip horizontal\",\n \"flipVertical\": \"Flip vertical\",\n \"flipViewpointHorizontal\": \"Flip viewpoint horizontally\",\n \"flipViewpointVertical\": \"Flip viewpoint vertically\",\n \"viewMode\": \"View mode\",\n \"share\": \"Share\",\n \"showStroke\": \"Show stroke color picker\",\n \"showBackground\": \"Show background color picker\",\n \"showFonts\": \"Show font picker\",\n \"toggleTheme\": \"Toggle light/dark theme\",\n \"arrangeElements\": \"Arrange elements\",\n \"normaliseElements\": \"Normalize images\",\n \"theme\": \"Theme\",\n \"decreaseFontSize\": \"Decrease font size\",\n \"increaseFontSize\": \"Increase font size\",\n \"unbindText\": \"Unbind text\",\n \"bindText\": \"Bind text to the container\",\n \"createContainerFromText\": \"Wrap text in a container\",\n \"link\": {\n \"edit\": \"Edit link\",\n \"editEmbed\": \"Edit embeddable link\",\n \"create\": \"Add link\",\n \"label\": \"Link\",\n \"labelEmbed\": \"Link & embed\",\n \"empty\": \"No link is set\",\n \"hint\": \"Type or paste your link here\",\n \"goToElement\": \"Go to target element\"\n },\n \"lineEditor\": {\n \"edit\": \"Edit line\",\n \"editArrow\": \"Edit arrow\"\n },\n \"polygon\": {\n \"breakPolygon\": \"Break polygon\",\n \"convertToPolygon\": \"Convert to polygon\"\n },\n \"elementLock\": {\n \"lock\": \"Lock\",\n \"unlock\": \"Unlock\",\n \"lockAll\": \"Lock all\",\n \"unlockAll\": \"Unlock all\"\n },\n \"sidebarLock\": \"Keep sidebar open\",\n \"selectAllElementsInFrame\": \"Select all elements in frame\",\n \"removeAllElementsFromFrame\": \"Remove all elements from frame\",\n \"eyeDropper\": \"Pick color from canvas\",\n \"followUs\": \"Follow us\",\n \"discordChat\": \"Discord chat\",\n \"zoomToFitViewport\": \"Zoom to fit in viewport\",\n \"zoomToFitSelection\": \"Zoom to fit selection\",\n \"zoomToFit\": \"Zoom to fit all elements\",\n \"installPWA\": \"Install Excalidraw locally (PWA)\",\n \"autoResize\": \"Enable text auto-resizing\",\n \"imageCropping\": \"Image cropping\",\n \"unCroppedDimension\": \"Uncropped dimension\",\n \"copyElementLink\": \"Copy link to object\",\n \"linkToElement\": \"Link to object\",\n \"wrapSelectionInFrame\": \"Wrap selection in frame\",\n \"tab\": \"Tab\",\n \"shapeSwitch\": \"Switch shape\",\n \"preferences\": \"Preferences\",\n \"preferences_toolLock\": \"Tool lock\",\n \"boxSelectionMode\": \"Select on\",\n \"boxSelectionContain\": \"Wrap\",\n \"boxSelectionOverlap\": \"Overlap\",\n \"arrowBinding\": \"Arrow binding\",\n \"midpointSnapping\": \"Snap to midpoints\"\n },\n \"elementLink\": {\n \"title\": \"Link to object\",\n \"desc\": \"Click on a shape on canvas or paste a link.\",\n \"notFound\": \"Linked object wasn't found on canvas.\"\n },\n \"search\": {\n \"title\": \"Find on canvas\",\n \"noMatch\": \"No matches found...\",\n \"singleResult\": \"result\",\n \"multipleResults\": \"results\",\n \"placeholder\": \"Find text on canvas...\",\n \"frames\": \"Frames\",\n \"texts\": \"Texts\"\n },\n \"buttons\": {\n \"clearReset\": \"Reset the canvas\",\n \"exportJSON\": \"Export to file\",\n \"exportImage\": \"Export image...\",\n \"export\": \"Save to...\",\n \"copyToClipboard\": \"Copy to clipboard\",\n \"copyLink\": \"Copy link\",\n \"save\": \"Save to current file\",\n \"saveAs\": \"Save as\",\n \"load\": \"Open\",\n \"getShareableLink\": \"Get shareable link\",\n \"close\": \"Close\",\n \"selectLanguage\": \"Select language\",\n \"scrollBackToContent\": \"Scroll back to content\",\n \"zoomIn\": \"Zoom in\",\n \"zoomOut\": \"Zoom out\",\n \"resetZoom\": \"Reset zoom\",\n \"menu\": \"Menu\",\n \"done\": \"Done\",\n \"edit\": \"Edit\",\n \"undo\": \"Undo\",\n \"redo\": \"Redo\",\n \"createNewRoom\": \"Create new room\",\n \"fullScreen\": \"Full screen\",\n \"darkMode\": \"Dark mode\",\n \"lightMode\": \"Light mode\",\n \"systemMode\": \"System mode\",\n \"zenMode\": \"Zen mode\",\n \"objectsSnapMode\": \"Snap to objects\",\n \"exitZenMode\": \"Exit zen mode\",\n \"cancel\": \"Cancel\",\n \"clear\": \"Clear\",\n \"remove\": \"Remove\",\n \"embed\": \"Toggle embedding\",\n \"submit\": \"Submit\",\n \"confirm\": \"Confirm\",\n \"embeddableInteractionButton\": \"Click to interact\",\n \"smartZoom\": \"Smart Zoom\"\n },\n \"alerts\": {\n \"clearReset\": \"This will clear the whole canvas. Are you sure?\",\n \"couldNotCreateShareableLink\": \"Couldn't create shareable link.\",\n \"couldNotCreateShareableLinkTooBig\": \"Couldn't create shareable link: the scene is too big\",\n \"couldNotLoadInvalidFile\": \"Couldn't load invalid file\",\n \"importBackendFailed\": \"Importing from backend failed.\",\n \"cannotExportEmptyCanvas\": \"Cannot export empty canvas.\",\n \"couldNotCopyToClipboard\": \"Couldn't copy to clipboard.\",\n \"decryptFailed\": \"Couldn't decrypt data.\",\n \"uploadedSecurly\": \"The upload has been secured with end-to-end encryption, which means that Excalidraw server and third parties can't read the content.\",\n \"loadSceneOverridePrompt\": \"Loading external drawing will replace your existing content. Do you wish to continue?\",\n \"collabStopOverridePrompt\": \"Stopping the session will overwrite your previous, locally stored drawing. Are you sure?\\n\\n(If you want to keep your local drawing, simply close the browser tab instead.)\",\n \"imageDoesNotContainScene\": \"This image does not seem to contain any scene data. Have you enabled scene embedding during export?\",\n \"cannotRestoreFromImage\": \"Scene couldn't be restored from this image file\",\n \"invalidSceneUrl\": \"Couldn't import scene from the supplied URL. It's either malformed, or doesn't contain valid Excalidraw JSON data.\",\n \"invalidEncryptionKey\": \"Encryption key must be of 22 characters. Live collaboration is disabled.\",\n \"collabOfflineWarning\": \"No internet connection available.\\nYour changes will not be saved!\",\n \"localStorageQuotaExceeded\": \"Browser storage quota exceeded. Changes will not be saved.\"\n },\n \"errors\": {\n \"unsupportedFileType\": \"Unsupported file type.\",\n \"imageInsertError\": \"Couldn't insert image. Try again later...\",\n \"fileTooBig\": \"File is too big. Maximum allowed size is {{maxSize}}.\",\n \"svgImageInsertError\": \"Couldn't insert SVG image. The SVG markup looks invalid.\",\n \"failedToFetchImage\": \"Failed to fetch image.\",\n \"cannotResolveCollabServer\": \"Couldn't connect to the collab server. Please reload the page and try again.\",\n \"collabSaveFailed\": \"Couldn't save to the backend database. If problems persist, you should save your file locally to ensure you don't lose your work.\",\n \"collabSaveFailed_sizeExceeded\": \"Couldn't save to the backend database, the canvas seems to be too big. You should save the file locally to ensure you don't lose your work.\",\n \"imageToolNotSupported\": \"Images are disabled.\",\n \"brave_measure_text_error\": {\n \"line1\": \"Looks like you are using Brave browser with the <bold>Aggressively Block Fingerprinting</bold> setting enabled.\",\n \"line2\": \"This could result in breaking the <bold>Text Elements</bold> in your drawings.\",\n \"line3\": \"We strongly recommend disabling this setting. You can follow <link>these steps</link> on how to do so.\",\n \"line4\": \"If disabling this setting doesn't fix the display of text elements, please open an <issueLink>issue</issueLink> on our GitHub, or write us on <discordLink>Discord</discordLink>\"\n },\n \"asyncPasteFailedOnRead\": \"Couldn't paste (couldn't read from system clipboard).\",\n \"asyncPasteFailedOnParse\": \"Couldn't paste.\",\n \"copyToSystemClipboardFailed\": \"Couldn't copy to clipboard.\"\n },\n \"toolBar\": {\n \"selection\": \"Selection\",\n \"lasso\": \"Lasso selection\",\n \"image\": \"Insert image\",\n \"rectangle\": \"Rectangle\",\n \"diamond\": \"Diamond\",\n \"ellipse\": \"Ellipse\",\n \"arrow\": \"Arrow\",\n \"line\": \"Line\",\n \"freedraw\": \"Draw\",\n \"text\": \"Text\",\n \"lock-short\": \"Lock Active Tool\",\n \"lock\": \"Keep selected tool active after drawing\",\n \"penMode\": \"Pen mode - prevent touch\",\n \"link\": \"Add / Update link for a selected shape\",\n \"eraser\": \"Eraser\",\n \"frame\": \"Frame tool\",\n \"embeddable\": \"Web Embed\",\n \"laser\": \"Laser pointer\",\n \"autoshape\": \"Draw to shape\",\n \"bucketfill\": \"Bucket fill\",\n \"hand\": \"Hand (panning tool)\",\n \"extraTools\": \"More tools\",\n \"smartZoom\": \"Smart Zoom\",\n \"convertElementType\": \"Toggle shape type\"\n },\n \"bucketfill\": {\n \"noRegion\": \"Couldn't find an enclosed region to fill here.\",\n \"tooComplex\": \"This region is too complex to fill.\"\n },\n \"element\": {\n \"rectangle\": \"Rectangle\",\n \"diamond\": \"Diamond\",\n \"ellipse\": \"Ellipse\",\n \"arrow\": \"Arrow\",\n \"line\": \"Line\",\n \"freedraw\": \"Freedraw\",\n \"text\": \"Text\",\n \"image\": \"Image\",\n \"group\": \"Group\",\n \"frame\": \"Frame\",\n \"embeddable\": \"Web Embed\",\n \"selection\": \"Selection\",\n \"iframe\": \"IFrame\"\n },\n \"headings\": {\n \"canvasActions\": \"Canvas actions\",\n \"selectedShapeActions\": \"Selected shape actions\",\n \"shapes\": \"Shapes\"\n },\n \"hints\": {\n \"dismissSearch\": \"{{shortcut}} to dismiss search\",\n \"canvasPanning\": \"To move canvas, hold {{shortcut_1}} or {{shortcut_2}} while dragging, or use the hand tool\",\n \"linearElement\": \"Click to start multiple points, drag for single line\",\n \"arrowTool\": \"Click to start multiple points, drag for single line. Press {{shortcut}} again to change arrow type.\",\n \"arrowBindModifiers\": \"Hold {{shortcut_1}} to disable binding, or {{shortcut_2}} to bind at a fixed point\",\n \"freeDraw\": \"Click and drag, release when you're finished\",\n \"text\": \"Tip: you can also add text by double-clicking anywhere with the selection tool\",\n \"embeddable\": \"Click-drag to create a website embed\",\n \"autoshape\": \"Draw rectangles, circles, diamonds, lines and arrows\",\n \"text_selected\": \"Double-click or press {{shortcut}} to edit text\",\n \"text_editing\": \"Press {{shortcut_1}} or {{shortcut_2}} to finish editing\",\n \"linearElementMulti\": \"Click on last point or press {{shortcut_1}} or {{shortcut_2}} to finish\",\n \"lockAngle\": \"You can constrain angle by holding {{shortcut}}\",\n \"resize\": \"You can constrain proportions by holding {{shortcut_1}} while resizing,\\nhold {{shortcut_2}} to resize from the center\",\n \"resizeImage\": \"You can resize freely by holding {{shortcut_1}},\\nhold {{shortcut_2}} to resize from the center\",\n \"rotate\": \"You can constrain angles by holding {{shortcut}} while rotating\",\n \"toggleArrowhead\": \"Double-click to toggle the arrowhead\",\n \"lineEditor_info\": \"Hold {{shortcut_1}} and Double-click or press {{shortcut_2}} to edit points\",\n \"lineEditor_line_info\": \"Double-click or press {{shortcut}} to edit points\",\n \"lineEditor_pointSelected\": \"Press {{shortcut_1}} to remove point(s),\\n{{shortcut_2}} to duplicate, or drag to move\",\n \"lineEditor_nothingSelected\": \"Select a point to edit (hold {{shortcut_1}} to select multiple),\\nor hold {{shortcut_2}} and click to add new points\",\n \"bindTextToElement\": \"{{shortcut}} to add text\",\n \"createFlowchart\": \"{{shortcut}} to create a flowchart\",\n \"deepBoxSelect\": \"Hold {{shortcut}} to deep select, and to prevent dragging\",\n \"eraserRevert\": \"Hold {{shortcut}} to revert the elements marked for deletion\",\n \"firefox_clipboard_write\": \"This feature can likely be enabled by setting the \\\"dom.events.asyncClipboard.clipboardItem\\\" flag to \\\"true\\\". To change the browser flags in Firefox, visit the \\\"about:config\\\" page.\",\n \"disableSnapping\": \"Hold {{shortcut}} to disable snapping\",\n \"enterCropEditor\": \"Double click the image or press {{shortcut}} to crop the image\",\n \"leaveCropEditor\": \"Click outside the image or press {{shortcut_1}} or {{shortcut_2}} to finish cropping\"\n },\n \"canvasError\": {\n \"cannotShowPreview\": \"Cannot show preview\",\n \"canvasTooBig\": \"The canvas may be too big.\",\n \"canvasTooBigTip\": \"Tip: try moving the farthest elements a bit closer together.\"\n },\n \"errorSplash\": {\n \"headingMain\": \"Encountered an error. Try <button>reloading the page</button>.\",\n \"clearCanvasMessage\": \"If reloading doesn't work, try <button>clearing the canvas</button>.\",\n \"clearCanvasCaveat\": \" This will result in loss of work \",\n \"trackedToSentry\": \"The error with identifier {{eventId}} was tracked on our system.\",\n \"openIssueMessage\": \"We were very cautious not to include your scene information on the error. If your scene is not private, please consider following up on our <button>bug tracker</button>. Please include information below by copying and pasting into the GitHub issue.\",\n \"sceneContent\": \"Scene content:\"\n },\n \"shareDialog\": {\n \"or\": \"Or\"\n },\n \"roomDialog\": {\n \"desc_intro\": \"Invite people to collaborate on your drawing.\",\n \"desc_privacy\": \"Don't worry, the session is end-to-end encrypted, and fully private. Not even our server can see what you draw.\",\n \"button_startSession\": \"Start session\",\n \"button_stopSession\": \"Stop session\",\n \"desc_inProgressIntro\": \"Live-collaboration session is now in progress.\",\n \"desc_shareLink\": \"Share this link with anyone you want to collaborate with:\",\n \"desc_exitSession\": \"Stopping the session will disconnect you from the room, but you'll be able to continue working with the scene, locally. Note that this won't affect other people, and they'll still be able to collaborate on their version.\",\n \"shareTitle\": \"Join a live collaboration session on Excalidraw\"\n },\n \"errorDialog\": {\n \"title\": \"Error\"\n },\n \"progressDialog\": {\n \"title\": \"Saving\",\n \"defaultMessage\": \"Preparing to save...\"\n },\n \"exportDialog\": {\n \"disk_title\": \"Save to disk\",\n \"disk_details\": \"Export the scene data to a file from which you can import later.\",\n \"disk_button\": \"Save to file\",\n \"link_title\": \"Shareable link\",\n \"link_details\": \"Export as a read-only link.\",\n \"link_button\": \"Export to Link\",\n \"excalidrawplus_description\": \"Save the scene to your Excalidraw+ workspace.\",\n \"excalidrawplus_button\": \"Export\",\n \"excalidrawplus_exportError\": \"Couldn't export to Excalidraw+ at this moment...\"\n },\n \"helpDialog\": {\n \"myoc\": {\n \"showingAll\": \"Showing all controls\",\n \"showingBasic\": \"Showing basic controls\"\n },\n \"blog\": \"Read our blog\",\n \"click\": \"click\",\n \"deepSelect\": \"Deep select\",\n \"deepBoxSelect\": \"Deep select within box, and prevent dragging\",\n \"createFlowchart\": \"Create a flowchart from a generic element\",\n \"navigateFlowchart\": \"Navigate a flowchart\",\n \"curvedArrow\": \"Curved arrow\",\n \"curvedLine\": \"Curved line\",\n \"documentation\": \"Documentation\",\n \"doubleClick\": \"double-click\",\n \"drag\": \"drag\",\n \"editor\": \"Editor\",\n \"editLineArrowPoints\": \"Edit line/arrow points\",\n \"editText\": \"Edit text / add label\",\n \"github\": \"Found an issue? Submit\",\n \"howto\": \"Follow our guides\",\n \"or\": \"or\",\n \"preventBinding\": \"Prevent arrow binding\",\n \"tools\": \"Tools\",\n \"shortcuts\": \"Keyboard shortcuts\",\n \"textFinish\": \"Finish editing (text editor)\",\n \"textNewLine\": \"Add new line (text editor)\",\n \"title\": \"Help\",\n \"view\": \"View\",\n \"smartZoom\": \"Smart Zoom (Fit selection or all elements if none selected)\",\n \"dragToZoom\": \"Drag to zoom\",\n \"zoomToFit\": \"Zoom to fit all elements\",\n \"zoomToSelection\": \"Zoom to selection\",\n \"toggleElementLock\": \"Lock/unlock selection\",\n \"movePageUpDown\": \"Move page up/down\",\n \"movePageLeftRight\": \"Move page left/right\",\n \"cropStart\": \"Crop image\",\n \"cropFinish\": \"Finish image cropping\"\n },\n \"clearCanvasDialog\": {\n \"title\": \"Clear canvas\"\n },\n \"imageExportDialog\": {\n \"header\": \"Export image\",\n \"label\": {\n \"withBackground\": \"Background\",\n \"onlySelected\": \"Only selected\",\n \"darkMode\": \"Dark mode\",\n \"embedScene\": \"Embed scene\",\n \"scale\": \"Scale\",\n \"padding\": \"Padding\"\n },\n \"tooltip\": {\n \"embedScene\": \"Scene data will be saved into the exported PNG/SVG file so that the scene can be restored from it.\\nWill increase exported file size.\"\n },\n \"title\": {\n \"exportToPng\": \"Export to PNG\",\n \"exportToSvg\": \"Export to SVG\",\n \"copyPngToClipboard\": \"Copy PNG to clipboard\"\n },\n \"button\": {\n \"exportToPng\": \"PNG\",\n \"exportToSvg\": \"SVG\",\n \"copyPngToClipboard\": \"Copy to clipboard\"\n }\n },\n \"encrypted\": {\n \"tooltip\": \"Your drawings are end-to-end encrypted so Excalidraw's servers will never see them.\",\n \"link\": \"Blog post on end-to-end encryption in Excalidraw\"\n },\n \"stats\": {\n \"angle\": \"Angle\",\n \"shapes\": \"Shapes\",\n \"height\": \"Height\",\n \"scene\": \"Scene\",\n \"selected\": \"Selected\",\n \"storage\": \"Storage\",\n \"fullTitle\": \"Canvas & Shape properties\",\n \"title\": \"Properties\",\n \"generalStats\": \"General\",\n \"elementProperties\": \"Shape properties\",\n \"total\": \"Total\",\n \"version\": \"Version\",\n \"versionCopy\": \"Click to copy\",\n \"versionNotAvailable\": \"Version not available\",\n \"width\": \"Width\"\n },\n \"toast\": {\n \"copyStyles\": \"Copied styles.\",\n \"copyToClipboard\": \"Copied to clipboard.\",\n \"copyToClipboardAsPng\": \"Copied {{exportSelection}} to clipboard as PNG\\n({{exportColorScheme}})\",\n \"copyToClipboardAsSvg\": \"Copied {{exportSelection}} to clipboard as SVG\\n({{exportColorScheme}})\",\n \"fileSaved\": \"File saved.\",\n \"fileSavedToFilename\": \"Saved to {filename}\",\n \"canvas\": \"canvas\",\n \"selection\": \"selection\",\n \"pasteAsSingleElement\": \"Use {{shortcut}} to paste as a single element,\\nor paste into an existing text editor\",\n \"unableToEmbed\": \"Embedding this url is currently not allowed. Raise an issue on GitHub to request the url whitelisted\",\n \"unrecognizedLinkFormat\": \"The link you embedded does not match the expected format. Please try to paste the 'embed' string provided by the source site\",\n \"elementLinkCopied\": \"Link copied to clipboard\"\n },\n \"colors\": {\n \"transparent\": \"Transparent\",\n \"black\": \"Black\",\n \"white\": \"White\",\n \"red\": \"Red\",\n \"pink\": \"Pink\",\n \"grape\": \"Grape\",\n \"violet\": \"Violet\",\n \"gray\": \"Gray\",\n \"blue\": \"Blue\",\n \"cyan\": \"Cyan\",\n \"teal\": \"Teal\",\n \"green\": \"Green\",\n \"yellow\": \"Yellow\",\n \"orange\": \"Orange\",\n \"bronze\": \"Bronze\"\n },\n \"welcomeScreen\": {\n \"app\": {\n \"center_heading\": \"Your drawings are saved in your browser's storage.\",\n \"center_heading_line2\": \"Browser storage can be cleared unexpectedly.\",\n \"center_heading_line3\": \"Save your work to a file regularly to avoid losing it.\",\n \"center_heading_plus\": \"Did you want to go to the Excalidraw+ instead?\",\n \"menuHint\": \"Export, preferences, languages, ...\"\n },\n \"defaults\": {\n \"menuHint\": \"Export, preferences, and more...\",\n \"center_heading\": \"Diagrams. Made. Simple.\",\n \"toolbarHint\": \"Pick a tool & Start drawing!\",\n \"helpHint\": \"Shortcuts & help\"\n }\n },\n \"colorPicker\": {\n \"color\": \"Color\",\n \"mostUsedCustomColors\": \"Most used custom colors\",\n \"colors\": \"Colors\",\n \"shades\": \"Shades\",\n \"hexCode\": \"Hex code\",\n \"noShades\": \"No shades available for this color\",\n \"invalidColor\": \"Not a valid color\",\n \"invalidHexLength\": \"Hex code must be 3, 4, 6, or 8 characters\",\n \"topPicksTip\": \"Tip: drag any color onto your top picks to pin it\",\n \"resetTopPicks\": \"Reset to default top picks\"\n },\n \"overwriteConfirm\": {\n \"action\": {\n \"exportToImage\": {\n \"title\": \"Export as image\",\n \"button\": \"Export as image\",\n \"description\": \"Export the scene data as an image from which you can import later.\"\n },\n \"saveToDisk\": {\n \"title\": \"Save to disk\",\n \"button\": \"Save to disk\",\n \"description\": \"Export the scene data to a file from which you can import later.\"\n },\n \"excalidrawPlus\": {\n \"title\": \"Excalidraw+\",\n \"button\": \"Export to Excalidraw+\",\n \"description\": \"Save the scene to your Excalidraw+ workspace.\"\n }\n },\n \"modal\": {\n \"loadFromFile\": {\n \"title\": \"Load from file\",\n \"button\": \"Load from file\",\n \"description\": \"Loading from a file will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first using one of the options below.\"\n },\n \"shareableLink\": {\n \"title\": \"Load from link\",\n \"button\": \"Replace my content\",\n \"description\": \"Loading external drawing will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first by using one of the options below.\"\n }\n }\n },\n \"quickSearch\": {\n \"placeholder\": \"Quick search\"\n },\n \"fontList\": {\n \"badge\": {\n \"old\": \"old\"\n },\n \"sceneFonts\": \"In this scene\",\n \"availableFonts\": \"Available fonts\",\n \"empty\": \"No fonts found\"\n },\n \"userList\": {\n \"empty\": \"No users found\",\n \"hint\": {\n \"text\": \"Click on user to follow\",\n \"followStatus\": \"You're currently following this user\",\n \"inCall\": \"User is in a voice call\",\n \"micMuted\": \"User's microphone is muted\",\n \"isSpeaking\": \"User is speaking\"\n }\n },\n \"keys\": {\n \"ctrl\": \"Ctrl\",\n \"option\": \"Option\",\n \"cmd\": \"Cmd\",\n \"alt\": \"Alt\",\n \"escape\": \"Esc\",\n \"enter\": \"Enter\",\n \"shift\": \"Shift\",\n \"spacebar\": \"Space\",\n \"delete\": \"Delete\",\n \"mmb\": \"Scroll wheel\"\n }\n}\n"],
|
|
5
|
+
"mappings": ";AACE,aAAU;AAAA,EACR,QAAU;AAAA,EACV,QAAU;AAAA,EACV,OAAS;AAAA,EACT,kBAAoB;AAAA,EACpB,aAAe;AAAA,EACf,eAAiB;AAAA,EACjB,gBAAkB;AAAA,EAClB,iBAAmB;AAAA,EACnB,qBAAuB;AAAA,EACvB,WAAa;AAAA,EACb,aAAe;AAAA,EACf,YAAc;AAAA,EACd,KAAO;AAAA,EACP,MAAQ;AAAA,EACR,WAAa;AAAA,EACb,WAAa;AAAA,EACb,UAAY;AAAA,EACZ,YAAc;AAAA,EACd,eAAiB;AAAA,EACjB,cAAgB;AAAA,EAChB,YAAc;AAAA,EACd,cAAgB;AAAA,EAChB,cAAgB;AAAA,EAChB,QAAU;AAAA,EACV,YAAc;AAAA,EACd,aAAe;AAAA,EACf,QAAU;AAAA,EACV,cAAgB;AAAA,EAChB,YAAc;AAAA,EACd,kBAAoB;AAAA,EACpB,MAAQ;AAAA,EACR,WAAa;AAAA,EACb,aAAe;AAAA,EACf,aAAe;AAAA,EACf,mBAAqB;AAAA,EACrB,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V,OAAS;AAAA,EACT,OAAS;AAAA,EACT,UAAY;AAAA,EACZ,QAAU;AAAA,EACV,KAAO;AACT;AA7mBF;AAAA,EACE;AAAA,EAmMA;AAAA,EAKA;AAAA,EASA;AAAA,EAuCA;AAAA,EAmBA;AAAA,EAoBA;AAAA,EA0BA;AAAA,EAIA;AAAA,EAeA;AAAA,EAKA;AAAA,EA+BA;AAAA,EAKA;AAAA,EAQA;AAAA,EAGA;AAAA,EAUA;AAAA,EAGA;AAAA,EAIA;AAAA,EAWA;AAAA,EAuCA;AAAA,EAGA;AAAA,EAwBA;AAAA,EAIA;AAAA,EAiBA;AAAA,EAcA;AAAA,EAiBA;AAAA,EAeA;AAAA,EAYA;AAAA,EA+BA;AAAA,EAGA;AAAA,EAQA;AAAA,EAUA;AAYF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
define_import_meta_env_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B7BGRRUQ.js";
|
|
4
4
|
import {
|
|
5
5
|
__publicField
|
|
6
6
|
} from "./chunk-XDFCUUT6.js";
|
|
@@ -43,6 +43,7 @@ var getDefaultAppState = () => {
|
|
|
43
43
|
myocSimplifiedMode: true,
|
|
44
44
|
dontResizeLimitMBs: 5,
|
|
45
45
|
hideMainMenus: false,
|
|
46
|
+
viewpointFlip: { horizontal: false, vertical: false },
|
|
46
47
|
alignConfiguration: {
|
|
47
48
|
stacking: false
|
|
48
49
|
},
|
|
@@ -172,6 +173,7 @@ var APP_STATE_STORAGE_CONF = /* @__PURE__ */ ((config) => config)({
|
|
|
172
173
|
dontResizeLimitMBs: { browser: true, export: false, server: false },
|
|
173
174
|
hideMainMenus: { browser: true, export: false, server: false },
|
|
174
175
|
wheelZoomsOnDefault: { browser: true, export: false, server: false },
|
|
176
|
+
viewpointFlip: { browser: false, export: false, server: false },
|
|
175
177
|
alignConfiguration: { browser: true, export: false, server: false },
|
|
176
178
|
arrangeConfiguration: { browser: true, export: false, server: false },
|
|
177
179
|
normaliseConfiguration: { browser: true, export: false, server: false },
|
|
@@ -449,8 +451,10 @@ var constrainScrollState = (state, overscroll = 0) => {
|
|
|
449
451
|
};
|
|
450
452
|
};
|
|
451
453
|
var getViewportForZoom = ({ viewportX, viewportY, nextZoom }, appState) => {
|
|
452
|
-
const
|
|
453
|
-
const
|
|
454
|
+
const rawAppLayerX = viewportX - appState.offsetLeft;
|
|
455
|
+
const rawAppLayerY = viewportY - appState.offsetTop;
|
|
456
|
+
const appLayerX = appState.viewpointFlip?.horizontal ? appState.width - rawAppLayerX : rawAppLayerX;
|
|
457
|
+
const appLayerY = appState.viewpointFlip?.vertical ? appState.height - rawAppLayerY : rawAppLayerY;
|
|
454
458
|
const currentZoom = appState.zoom.value;
|
|
455
459
|
const baseScrollX = appState.scrollX + (appLayerX - appLayerX / currentZoom);
|
|
456
460
|
const baseScrollY = appState.scrollY + (appLayerY - appLayerY / currentZoom);
|
|
@@ -3400,6 +3404,21 @@ var strokeRectWithRotation_simple = (context, x, y, width, height, cx, cy, angle
|
|
|
3400
3404
|
context.restore();
|
|
3401
3405
|
};
|
|
3402
3406
|
|
|
3407
|
+
// renderer/viewpoint.ts
|
|
3408
|
+
var applyZoomAndViewpointFlip = (context, appState) => {
|
|
3409
|
+
context.scale(appState.zoom.value, appState.zoom.value);
|
|
3410
|
+
if (appState.viewpointFlip.horizontal) {
|
|
3411
|
+
context.translate(appState.width / appState.zoom.value, 0);
|
|
3412
|
+
}
|
|
3413
|
+
if (appState.viewpointFlip.vertical) {
|
|
3414
|
+
context.translate(0, appState.height / appState.zoom.value);
|
|
3415
|
+
}
|
|
3416
|
+
context.scale(
|
|
3417
|
+
appState.viewpointFlip.horizontal ? -1 : 1,
|
|
3418
|
+
appState.viewpointFlip.vertical ? -1 : 1
|
|
3419
|
+
);
|
|
3420
|
+
};
|
|
3421
|
+
|
|
3403
3422
|
// renderer/staticScene.ts
|
|
3404
3423
|
var GridLineColor = {
|
|
3405
3424
|
[THEME3.LIGHT]: {
|
|
@@ -3551,7 +3570,11 @@ var _renderStaticScene = ({
|
|
|
3551
3570
|
isExporting,
|
|
3552
3571
|
viewBackgroundColor: appState.viewBackgroundColor
|
|
3553
3572
|
});
|
|
3554
|
-
|
|
3573
|
+
if (isExporting) {
|
|
3574
|
+
context.scale(appState.zoom.value, appState.zoom.value);
|
|
3575
|
+
} else {
|
|
3576
|
+
applyZoomAndViewpointFlip(context, appState);
|
|
3577
|
+
}
|
|
3555
3578
|
if (renderGrid) {
|
|
3556
3579
|
strokeGrid(
|
|
3557
3580
|
context,
|
|
@@ -5432,7 +5455,7 @@ var parseFileContents = async (blob) => {
|
|
|
5432
5455
|
let contents;
|
|
5433
5456
|
if (blob.type === MIME_TYPES6.png) {
|
|
5434
5457
|
try {
|
|
5435
|
-
return await (await import("./data/image-
|
|
5458
|
+
return await (await import("./data/image-42QGOSHA.js")).decodePngMetadata(blob);
|
|
5436
5459
|
} catch (error) {
|
|
5437
5460
|
if (error.message === "INVALID") {
|
|
5438
5461
|
throw new ImageSceneDataError(
|
|
@@ -5841,6 +5864,7 @@ export {
|
|
|
5841
5864
|
getNormalizedCanvasDimensions,
|
|
5842
5865
|
bootstrapCanvas,
|
|
5843
5866
|
strokeRectWithRotation_simple,
|
|
5867
|
+
applyZoomAndViewpointFlip,
|
|
5844
5868
|
frameClip,
|
|
5845
5869
|
renderStaticSceneThrottled,
|
|
5846
5870
|
renderStaticScene,
|
|
@@ -5870,4 +5894,4 @@ export {
|
|
|
5870
5894
|
createFile,
|
|
5871
5895
|
normalizeFile
|
|
5872
5896
|
};
|
|
5873
|
-
//# sourceMappingURL=chunk-
|
|
5897
|
+
//# sourceMappingURL=chunk-2QTO3ZBI.js.map
|