@jidekaixin2dian/dsh-file-actions 0.1.17 → 0.1.19
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 +22 -0
- package/LICENSE +21 -21
- package/README.en.md +32 -5
- package/README.md +32 -5
- package/SECURITY.md +3 -1
- package/cordis.patch.yml +5 -5
- package/icon.svg +13 -7
- package/lib/client.js +688 -54
- package/lib/index.js +13 -13
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.19 — 2026-10-31
|
|
4
|
+
|
|
5
|
+
- 设置页新增中英文「项目与反馈」区域,可打开 File Actions GitHub 项目或新建反馈。
|
|
6
|
+
- Add bilingual project and issue links to the settings page.
|
|
7
|
+
- 设置下拉框改为统一圆角选项面板:选中勾、悬停高亮、箭头旋转与双向开合动画;支持键盘选择、Esc/外部点击收起、屏幕边缘避让和减少动画偏好。
|
|
8
|
+
- Style settings dropdown panels and animate opening and closing, with keyboard navigation, dismissal, viewport positioning and reduced-motion support.
|
|
9
|
+
- 优化设置页分组、紧凑行布局与亮暗/窄屏适配;侧栏缩短为「文件操作 / File Actions」,保留详情中英文全名,新增文件与指针图标。
|
|
10
|
+
- Refine settings layout and theme support, shorten the sidebar label, and add a file-and-pointer icon while retaining the full bilingual detail name.
|
|
11
|
+
- 新增原生设置侧栏入口:首选应用查看/取消/清除、完整/精简菜单、引用前后文范围,以及关联应用缓存清理;沿用原有首选应用数据,默认行为保持不变。
|
|
12
|
+
- 设置按当前客户端保存,存储失败保留旧值并提示;缓存清理隔离尚未完成的旧查询,卸载时注销入口。菜单与页面内容保留原生 DOM,仅使用宿主 React 作为设置槽的挂载适配,不新增运行时依赖。
|
|
13
|
+
|
|
14
|
+
- 新增「查看引用上下文」:只读行号预览、高亮引用行与有限前后文;沿用 UTF-8、2 MiB、工作区外明确确认,关闭、切换目标或会话后忽略迟到结果。
|
|
15
|
+
- 新增「复制片段及来源」:复制相对路径、行段与原始引用正文;保留内部换行,动态 Markdown 围栏保护代码内容,复制前核对文件版本。
|
|
16
|
+
- 中英文详情名称同时保留中文与英文,更新简介;默认兼容验证宿主升级至 DSH rc.5,并保留 rc.2 / rc.3 / rc.4。行列跳转暂缓,rc.5 官方接口仍无位置字段。
|
|
17
|
+
- Add read-only reference context and source-attributed excerpt copying. Preserve the existing file access gates and reject stale reads; verify DSH rc.5 while retaining earlier host coverage.
|
|
18
|
+
|
|
19
|
+
## 0.1.18 — 2026-10-30
|
|
20
|
+
|
|
21
|
+
- 新增「复制引用行」:带行号的文本引用可复制对应整行或行段;保留原始内部换行,沿用 UTF-8、2 MiB 与工作区外确认限制;超出文件范围时拒绝复制。
|
|
22
|
+
- 修复应用搜索框的光标按键与输入法确认、后台关联更新丢失搜索状态、键盘重复打开遗留菜单、绝对引用缺少相对路径复制,以及点击大图连带关闭菜单。
|
|
23
|
+
- Add **Copy referenced lines**, with the existing text-copy limits and explicit errors for invalid locations. Preserve application search state during validation and fix keyboard editing, duplicate menus, relative paths and preview dismissal.
|
|
24
|
+
|
|
3
25
|
## 0.1.17 — 2026-10-28
|
|
4
26
|
|
|
5
27
|
- 发布与更新维护:明确 npm 安装、GitHub 来源迁移、市场检测与重启步骤;保留既有运行时行为。
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 jidekaixin2dian
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 jidekaixin2dian
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
# File Actions
|
|
1
|
+
# File Actions · 文件与链接操作
|
|
2
2
|
|
|
3
3
|
**Turn a file reference in your conversation into the next action.**
|
|
4
4
|
|
|
5
|
-
[中文](README.md) · [Marketplace](https://awesome-dsh-plugin.com/p/jidekaixin2dian/dsh-file-actions/) · [Download](https://github.com/jidekaixin2dian/dsh-file-actions/releases/latest) · [Changelog](CHANGELOG.md)
|
|
5
|
+
[中文](README.md) · [npm](https://www.npmjs.com/package/@jidekaixin2dian/dsh-file-actions/v/0.1.19) · [Marketplace](https://awesome-dsh-plugin.com/p/jidekaixin2dian/dsh-file-actions/) · [Download](https://github.com/jidekaixin2dian/dsh-file-actions/releases/latest) · [Changelog](CHANGELOG.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Once a model gives you a file, the next step is usually to open it, keep editing or take its contents elsewhere. File Actions puts application choices, reveal, copy, preview and save into one context menu across chat references, delivery cards, tool results and sidebars that expose file paths.
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
11
|
+
## Continue from a file reference
|
|
12
|
+
|
|
11
13
|
| Your next step | Available actions |
|
|
12
14
|
|---|---|
|
|
13
15
|
| Keep editing | Open with the default app, search applications, save a preference per file type |
|
|
@@ -15,9 +17,17 @@ Right-click a file or link to open it, choose an application, reveal it, copy it
|
|
|
15
17
|
| View and export | Preview supported documents and media, copy text, save a local file |
|
|
16
18
|
| Share a link | Open, copy the URL or text, copy as Markdown |
|
|
17
19
|
|
|
20
|
+
## Downloads
|
|
21
|
+
|
|
22
|
+
| GitHub release assets · all releases | npm 0.1.17 · past 7 days |
|
|
23
|
+
|---|---|
|
|
24
|
+
| [**350 downloads**](https://api.github.com/repos/jidekaixin2dian/dsh-file-actions/releases?per_page=100) | [**191 downloads**](https://api.npmjs.org/versions/@jidekaixin2dian%2Fdsh-file-actions/last-week) |
|
|
25
|
+
|
|
26
|
+
Snapshot: **2026-10-29**. GitHub counts release-asset requests, including checksums; npm counts downloads of the named version. Requests can include repeat installs and automation, so these are not unique-user counts and the two columns are not added together. Click a number for its live source.
|
|
27
|
+
|
|
18
28
|
## Install and update
|
|
19
29
|
|
|
20
|
-
Requires **DSH >=0.2.1-rc.2 and Node >=24**. CI verifies DSH rc.2 / rc.3 / rc.4.
|
|
30
|
+
Requires **DSH >=0.2.1-rc.2 and Node >=24**. CI verifies DSH rc.2 / rc.3 / rc.4 / rc.5.
|
|
21
31
|
|
|
22
32
|
Search for **dsh-file-actions** in the marketplace and verify author **jidekaixin2dian**. Existing users can check updates under installed plugins. Catalog and registry mirrors may take time to refresh.
|
|
23
33
|
|
|
@@ -49,15 +59,32 @@ dsh plugin --profile desktop remove @jidekaixin2dian/dsh-file-actions
|
|
|
49
59
|
1. Right-click a file reference, delivery card or file tree. Explicit references open directly; guessed text paths are verified first.
|
|
50
60
|
2. Search **Open with** and star an application to remember it for that file type. OS defaults stay unchanged.
|
|
51
61
|
3. Enlarge image thumbnails or view supported documents, audio and video in the browser.
|
|
62
|
+
4. For text references such as `src/app.ts:42:7` or `notes.md#L42-L48`, choose **Copy referenced lines** to copy that line or range. Locations beyond the current file show an error instead of copying the whole file.
|
|
63
|
+
5. Choose **View reference context** for a read-only view with line numbers, highlighted referenced lines and nearby context. **Copy excerpt with source** includes the relative path, line range and referenced text, without the surrounding context. Preview display is bounded for long lines and large selections; copying retains the complete referenced lines. Reading outside the workspace requires confirmation before any content is read.
|
|
64
|
+
|
|
65
|
+
Referenced-line copying and context preview appear only when the reference retains its line numbers. If the host renders a link as a button exposing only its path, hidden line information cannot be recovered.
|
|
52
66
|
|
|
53
67
|
Keyboard: `Shift+F10` opens the menu, `↑ ↓` move, `→` enters a submenu, `Enter` runs and `Esc` closes. `Shift+right-click` gives the page's own handler priority.
|
|
54
68
|
|
|
55
69
|
The marketplace checks versions and installs after your click; it does not silently upgrade in the background. Restart DSH when requested.
|
|
56
70
|
|
|
71
|
+
## Settings
|
|
72
|
+
|
|
73
|
+
Open **File Actions** in the DSH settings sidebar (**文件操作** in Chinese); the page retains the full bilingual name:
|
|
74
|
+
|
|
75
|
+
- **Menu display**: full by default; compact mode keeps common open, reveal, reference preview, copy and save actions.
|
|
76
|
+
- **Reference context**: 4, 8 or 16 lines before and after, with 8 as the default. This does not change which referenced lines are copied.
|
|
77
|
+
- **Preferred applications**: view and remove individual preferences or clear them all. Set new preferences from a file's **Open with** menu.
|
|
78
|
+
- **Application cache**: clear after installing or removing applications. The next file menu queries again; preferences are retained.
|
|
79
|
+
|
|
80
|
+
Changes take effect immediately and persist in this browser or Desktop client. Resetting menu and preview defaults retains preferred applications. Preferences do not change system defaults or sync automatically to other clients.
|
|
81
|
+
|
|
82
|
+
Use **Project and feedback** at the bottom of settings to visit this plugin's GitHub repository or report an issue. Ideas and suggestions are welcome.
|
|
83
|
+
|
|
57
84
|
## Boundaries
|
|
58
85
|
|
|
59
86
|
- File operations use official DSH APIs and path authorization. Application lists depend on system associations; the plugin does not repair registry entries.
|
|
60
|
-
-
|
|
87
|
+
- Copying contents or referenced lines requires **valid UTF-8 and a file no larger than 2 MiB**. Referenced lines are copied in full, retaining internal line endings; column numbers do not trim the text. Copies outside the workspace require explicit confirmation; unavailable confirmation cancels the read.
|
|
61
88
|
- Save and browser previews read up to **64 MiB** and stop on inconsistent chunks. This is not an atomic filesystem snapshot.
|
|
62
89
|
- HTML / SVG previews block scripts and external resources by default. Enable scripts and networking only for a trusted file; the preview remains isolated from DSH. Relative assets may not work. Clicking a document link is an explicit navigation.
|
|
63
90
|
- Editor actions do not jump to line/column positions. Save uses browser download behavior. The plugin needs the graphical / Web UI.
|
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
# File Actions
|
|
1
|
+
# 文件与链接操作 · File Actions
|
|
2
2
|
|
|
3
3
|
**从聊天里的文件引用,直接到你要做的操作。**
|
|
4
4
|
|
|
5
|
-
[English](README.en.md) · [插件市场](https://awesome-dsh-plugin.com/p/jidekaixin2dian/dsh-file-actions/) · [下载](https://github.com/jidekaixin2dian/dsh-file-actions/releases/latest) · [更新记录](CHANGELOG.md)
|
|
5
|
+
[English](README.en.md) · [npm](https://www.npmjs.com/package/@jidekaixin2dian/dsh-file-actions/v/0.1.19) · [插件市场](https://awesome-dsh-plugin.com/p/jidekaixin2dian/dsh-file-actions/) · [下载](https://github.com/jidekaixin2dian/dsh-file-actions/releases/latest) · [更新记录](CHANGELOG.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
模型给出文件后,下一步通常是打开、继续编辑,或把内容带走。File Actions 把打开方式、文件定位、路径与内容复制、预览和另存放进一个右键菜单,覆盖聊天引用、交付卡片、工具结果及提供文件路径的侧栏。
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
11
|
+
## 从文件引用接着做
|
|
12
|
+
|
|
11
13
|
| 想做什么 | 可以怎么做 |
|
|
12
14
|
|---|---|
|
|
13
15
|
| 接着编辑文件 | 用默认应用打开,或搜索「打开方式」并收藏首选应用 |
|
|
@@ -15,9 +17,17 @@
|
|
|
15
17
|
| 查看与带走内容 | 预览支持的文档、图片或媒体;复制文本;另存为本地文件 |
|
|
16
18
|
| 分享链接 | 打开网页,复制链接、链接文字或 Markdown |
|
|
17
19
|
|
|
20
|
+
## 下载情况
|
|
21
|
+
|
|
22
|
+
| GitHub Release 资源 · 历史累计 | npm 0.1.17 · 近 7 日 |
|
|
23
|
+
|---|---|
|
|
24
|
+
| [**350 次下载**](https://api.github.com/repos/jidekaixin2dian/dsh-file-actions/releases?per_page=100) | [**191 次下载**](https://api.npmjs.org/versions/@jidekaixin2dian%2Fdsh-file-actions/last-week) |
|
|
25
|
+
|
|
26
|
+
统计快照:**2026-10-29**。GitHub 包含安装包、校验文件等资源请求;npm 仅统计表中版本。下载可能包含重复安装和自动化请求,不代表独立用户数,两列不相加。点击数字可查看实时来源。
|
|
27
|
+
|
|
18
28
|
## 安装与更新
|
|
19
29
|
|
|
20
|
-
需要 **DSH >=0.2.1-rc.2、Node >=24**;持续验证 DSH rc.2 / rc.3 / rc.4。
|
|
30
|
+
需要 **DSH >=0.2.1-rc.2、Node >=24**;持续验证 DSH rc.2 / rc.3 / rc.4 / rc.5。
|
|
21
31
|
|
|
22
32
|
在插件市场搜索 **dsh-file-actions**,确认作者为 **jidekaixin2dian** 后安装;已有用户在「已安装」中检查更新。市场数据与 npm 镜像可能有同步延迟。
|
|
23
33
|
|
|
@@ -51,15 +61,32 @@ dsh plugin --profile desktop remove @jidekaixin2dian/dsh-file-actions
|
|
|
51
61
|
1. 在聊天文件名、文件卡片或文件树上右键。明确引用可直接操作,普通文字里的疑似路径会先验证。
|
|
52
62
|
2. 选择「打开方式」可搜索应用,点击星标保存当前文件类型的首选;不会改变系统默认应用。
|
|
53
63
|
3. 图片支持缩略图与放大预览;支持的文档、音视频可在浏览器中查看。
|
|
64
|
+
4. 对 `src/app.ts:42:7` 或 `notes.md#L42-L48` 这类文本引用,可选「复制引用行」复制该行或该段,不必复制整个文件。行号超出当前文件范围时会提示,不会改为复制全文。
|
|
65
|
+
5. 选择「查看引用上下文」,在只读预览中查看行号、高亮引用行及少量前后文;「复制片段及来源」一次带走相对路径、行号与引用正文,不包含额外上下文。长行或较大引用会在预览中缩短显示,复制保留完整引用行。
|
|
66
|
+
|
|
67
|
+
引用行复制和上下文预览仅在引用仍保留行号时出现;宿主若把链接渲染为仅暴露路径的按钮,插件无法恢复已隐藏的行号。
|
|
54
68
|
|
|
55
69
|
键盘:`Shift+F10` 打开菜单,`↑ ↓` 移动,`→` 进入子菜单,`Enter` 执行,`Esc` 关闭。`Shift+右键` 优先交给页面原有菜单。
|
|
56
70
|
|
|
57
71
|
更新由市场检查并在你点击后安装,不会静默后台升级;需要时按提示重启 DSH。
|
|
58
72
|
|
|
73
|
+
## 设置
|
|
74
|
+
|
|
75
|
+
在 DSH 设置侧栏打开 **文件操作**(英文界面为 **File Actions**);页面保留完整中英文名称:
|
|
76
|
+
|
|
77
|
+
- **菜单显示**:默认完整菜单;精简模式保留常用打开、定位、引用预览、复制和另存操作。
|
|
78
|
+
- **引用前后文**:前后各 4 / 8 / 16 行,默认各 8 行;不改变引用正文的复制范围。
|
|
79
|
+
- **首选应用**:查看已设置的文件类型,单独取消或全部清除;选择新首选仍在文件的「打开方式」菜单中完成。
|
|
80
|
+
- **关联应用缓存**:安装或卸载应用后可清除缓存,下次右键重新查询;保留首选应用。
|
|
81
|
+
|
|
82
|
+
修改立即生效,并保留在当前浏览器或 Desktop 客户端。恢复菜单与预览默认设置不会清除首选应用;这些偏好不会修改系统默认应用,也不会自动同步到其他客户端。
|
|
83
|
+
|
|
84
|
+
页尾的「项目与反馈」可打开本插件的 GitHub 项目或新建反馈;欢迎提出问题和改进想法。
|
|
85
|
+
|
|
59
86
|
## 使用边界
|
|
60
87
|
|
|
61
88
|
- 打开与定位沿用 DSH 官方接口和路径授权;应用列表取决于系统关联。失效关联可能导致列表不可用,插件不会修改注册表。
|
|
62
|
-
-
|
|
89
|
+
- 复制内容与引用行仅支持 **有效 UTF-8、文件最大 2 MiB**。引用行按整行复制,保留所选行之间的原始换行;列号不裁剪内容。工作区外复制或引用上下文预览需要先明确确认;确认不可用时取消读取。
|
|
63
90
|
- 另存为和浏览器预览最多读取 **64 MiB**,分块内容不一致时中止;不是文件系统原子快照。
|
|
64
91
|
- HTML / SVG 默认静态预览并阻止脚本和外部资源。仅在信任文件后启用脚本与联网;预览仍与 DSH 页面隔离。相对资源可能不可用,点击文件内链接属于主动导航。
|
|
65
92
|
- 编辑器打开暂不跳到行列位置;另存为使用浏览器下载行为。插件用于 DSH 图形 / Web 界面,终端界面不适用。
|
package/SECURITY.md
CHANGED
|
@@ -6,7 +6,9 @@ can include paths outside a workspace when the host's composed filesystem permit
|
|
|
6
6
|
them; the workspace label is not a containment guarantee. Copying the contents of
|
|
7
7
|
a file outside the session workspace requires an explicit confirmation, because
|
|
8
8
|
chat text can plant absolute paths; a declined or unavailable confirmation reads
|
|
9
|
-
no bytes.
|
|
9
|
+
no bytes. The same gates apply to copying referenced lines: the file must fit the
|
|
10
|
+
2 MiB text-copy cap, and invalid or out-of-file line ranges never fall back to
|
|
11
|
+
copying the full file. Invalid UTF-8 is rejected rather than silently replaced. Chunked exports
|
|
10
12
|
check file identity, version, offsets and reported size, stopping on changes;
|
|
11
13
|
this detects inconsistent responses but does not create an atomic Host snapshot.
|
|
12
14
|
|
package/cordis.patch.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Bundle patch: one row mounts the (stateless) host half; `dsh.client` in
|
|
2
|
-
# package.json makes the web app load ./client as the browser half.
|
|
3
|
-
- insert:
|
|
4
|
-
- id: dsh-file-actions
|
|
5
|
-
name: '@jidekaixin2dian/dsh-file-actions'
|
|
1
|
+
# Bundle patch: one row mounts the (stateless) host half; `dsh.client` in
|
|
2
|
+
# package.json makes the web app load ./client as the browser half.
|
|
3
|
+
- insert:
|
|
4
|
+
- id: dsh-file-actions
|
|
5
|
+
name: '@jidekaixin2dian/dsh-file-actions'
|
package/icon.svg
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
</
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="File Actions">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="surface" x1="8" y1="4" x2="56" y2="62" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#3578ef"/>
|
|
5
|
+
<stop offset="1" stop-color="#158eaa"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="1" y="1" width="62" height="62" rx="15" fill="url(#surface)"/>
|
|
9
|
+
<rect x="1.5" y="1.5" width="61" height="61" rx="14.5" fill="none" stroke="#fff" stroke-opacity=".16"/>
|
|
10
|
+
<path d="M34 13H19a3 3 0 0 0-3 3v31a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V23z" fill="#fff" fill-opacity=".12" stroke="#fff" stroke-width="2.4" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M34 13v10h10M23 31h9M23 37h6" fill="none" stroke="#fff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<path d="m34 35 16 10-8 2-3.5 8z" fill="#fff" stroke="#176b9d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
</svg>
|