@medeo-plugin/plugin-screenshot 1.0.0 → 1.0.2
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/README.md +8 -5
- package/package.json +18 -5
- package/plugin.medeoplugin +0 -0
- package/src/README.md +28 -0
- package/src/README.zh-CN.md +20 -0
- package/src/about.json +7 -0
- package/src/icon.svg +1 -0
- package/src/locales/en.json +141 -0
- package/src/locales/zh-CN.json +141 -0
- package/src/locales/zh-TW.json +141 -0
- package/src/manifest.json +125 -0
- package/src/media/en/editor.png +0 -0
- package/src/media/en/settings.png +0 -0
- package/src/media/zh-CN/editor.png +0 -0
- package/src/media/zh-CN/settings.png +0 -0
- package/src/resources/helper.js +99 -0
- package/src/resources/trayTemplate.png +0 -0
- package/src/resources/trayTemplate.svg +1 -0
- package/src/src/annotations.ts +398 -0
- package/src/src/beautify.ts +41 -0
- package/src/src/geometry.ts +79 -0
- package/src/src/naming.ts +19 -0
- package/src/src/protocol.ts +53 -0
- package/src/src/settings.ts +48 -0
- package/src/src/shortcuts.ts +25 -0
- package/src/src/ui/overlay.ts +874 -0
- package/src/src/ui/settings.ts +140 -0
- package/src/tests/logic.test.mjs +101 -0
- package/src/ui/entry.ts +4 -0
- package/src/ui/icons/align-center.svg +1 -0
- package/src/ui/icons/align-left.svg +1 -0
- package/src/ui/icons/align-right.svg +1 -0
- package/src/ui/icons/arrow-double.svg +1 -0
- package/src/ui/icons/arrow-open.svg +1 -0
- package/src/ui/icons/arrow-single.svg +1 -0
- package/src/ui/icons/arrow-tail.svg +1 -0
- package/src/ui/icons/arrow-thick.svg +1 -0
- package/src/ui/icons/arrow.svg +1 -0
- package/src/ui/icons/beautify.svg +1 -0
- package/src/ui/icons/bold.svg +1 -0
- package/src/ui/icons/censor.svg +1 -0
- package/src/ui/icons/close.svg +1 -0
- package/src/ui/icons/copy-doc.svg +1 -0
- package/src/ui/icons/copy.svg +1 -0
- package/src/ui/icons/ellipse.svg +1 -0
- package/src/ui/icons/fill-fill.svg +1 -0
- package/src/ui/icons/fill-stroke.svg +1 -0
- package/src/ui/icons/fill-strokeFill.svg +1 -0
- package/src/ui/icons/highlight.svg +1 -0
- package/src/ui/icons/invert.svg +1 -0
- package/src/ui/icons/italic.svg +1 -0
- package/src/ui/icons/line-dashed.svg +1 -0
- package/src/ui/icons/line-dotted.svg +1 -0
- package/src/ui/icons/line-solid.svg +1 -0
- package/src/ui/icons/line.svg +1 -0
- package/src/ui/icons/marker.svg +1 -0
- package/src/ui/icons/measure.svg +1 -0
- package/src/ui/icons/number.svg +1 -0
- package/src/ui/icons/ocr.svg +1 -0
- package/src/ui/icons/open.svg +1 -0
- package/src/ui/icons/pencil.svg +1 -0
- package/src/ui/icons/rect.svg +1 -0
- package/src/ui/icons/redo.svg +1 -0
- package/src/ui/icons/sampler.svg +1 -0
- package/src/ui/icons/save.svg +1 -0
- package/src/ui/icons/select.svg +1 -0
- package/src/ui/icons/stamp.svg +1 -0
- package/src/ui/icons/text-bg.svg +1 -0
- package/src/ui/icons/text.svg +1 -0
- package/src/ui/icons/trash.svg +1 -0
- package/src/ui/icons/underline.svg +1 -0
- package/src/ui/icons/undo.svg +1 -0
- package/src/ui/index.html +12 -0
- package/src/ui/settings.html +5 -0
- package/src/ui/style.css +105 -0
- package/src/worker.ts +285 -0
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Screenshot
|
|
2
2
|
|
|
3
|
-
Capture any part of the screen and annotate it in place
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Capture any part of the screen and annotate it in place: select, add arrows, blur, number the
|
|
4
|
+
steps, then copy or save in one go.
|
|
5
|
+
|
|
6
|
+

|
|
6
7
|
|
|
7
8
|
- **Capture**: ⌘⇧X (area), plus optional shortcuts for full screen, quick capture and OCR; the
|
|
8
9
|
menu-bar icon and the launcher (`shot`). The display under the pointer is frozen with macOS's
|
|
@@ -16,6 +17,8 @@ implementation and contains none of its code.
|
|
|
16
17
|
- **Actions**: copy ⌘C, save ⌘S (PNG or JPEG, optional 1×), read text and QR codes with Apple
|
|
17
18
|
Vision, beautify (gradient, padding, window frame), invert.
|
|
18
19
|
|
|
20
|
+

|
|
21
|
+
|
|
19
22
|
Runtime: Node (macOS). Permissions: `node`, `app_windows`, `window_management` (the full-screen
|
|
20
23
|
overlay), `screen_capture` (reports and requests macOS Screen Recording), `global_shortcuts`,
|
|
21
24
|
`tray`, `notifications`. AppKit access goes through `resources/helper.js`, run with
|
|
@@ -29,8 +32,8 @@ multi-display selections.
|
|
|
29
32
|
Install from npm in Medeo's plugin center, or use Discover.
|
|
30
33
|
|
|
31
34
|
Plugin ID: app.medeo.screenshot
|
|
32
|
-
Version: 1.0.
|
|
35
|
+
Version: 1.0.2
|
|
33
36
|
Publisher: 6ac813f5c19a51d6fea83a03fa1306e1d0e88c80f5af3a2000ff80a0e2f116f9
|
|
34
|
-
SHA-256:
|
|
37
|
+
SHA-256: 388416fc77b086f65324f56500dbc6ec579de8fcb90a5cff3bc0c63fd0c90226
|
|
35
38
|
|
|
36
39
|
Approve permissions in Medeo before use.
|