@vustcc/icons 0.1.0-alpha.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/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/README.md +64 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +109 -0
- package/package.json +33 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),并遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)。
|
|
4
|
+
|
|
5
|
+
## [0.1.0-alpha.1] - 2026-09-10
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- 首次发布 `@vustcc/icons` SVG 图标包。
|
|
10
|
+
- 提供应用、状态、接口治理、文件传输、生命周期和窗口控制图标。
|
|
11
|
+
- 提供 `getIcon` 与 `iconMap` 接口,并在图标不存在时回退到默认图标。
|
|
12
|
+
- `common` 与 `apps` 使用独立命名空间。
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 gwj
|
|
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.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# @vustcc/icons
|
|
2
|
+
|
|
3
|
+
VUST 自有 SVG 图标包,包含通用界面图标和紧凑场景使用的应用语义图标。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @vustcc/icons
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 使用
|
|
12
|
+
|
|
13
|
+
按名称读取通用 SVG 字符串:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { getIcon } from "@vustcc/icons";
|
|
17
|
+
|
|
18
|
+
const settingsIcon = getIcon("settings");
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
读取应用命名空间中的 SVG:
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
const appSettingsIcon = getIcon("settings", "apps");
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
也可以按命名空间读取完整图标映射:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { iconMap } from "@vustcc/icons";
|
|
31
|
+
|
|
32
|
+
const commonNames = Object.keys(iconMap.common);
|
|
33
|
+
const appNames = Object.keys(iconMap.apps);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
不存在的名称会回退到 `common/fallback` 图标。
|
|
37
|
+
|
|
38
|
+
Vue 项目通常应使用 `@vustcc/vue` 提供的 `VustIcon`:
|
|
39
|
+
|
|
40
|
+
```vue
|
|
41
|
+
<VustIcon name="settings" />
|
|
42
|
+
<VustIcon name="settings" namespace="apps" />
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 命名与设计
|
|
46
|
+
|
|
47
|
+
- 文件名使用小写字母、数字和连字符。
|
|
48
|
+
- 通用图标名称表达动作或对象,例如 `search`、`download`、`server`。
|
|
49
|
+
- 应用图标名称与应用 ID 保持一致。
|
|
50
|
+
- SVG 使用 `24x24` 画布、`currentColor` 和统一的圆角描边。
|
|
51
|
+
- 不使用 Emoji、字体图标、Base64 图片或外部图标资源。
|
|
52
|
+
- `common` 用于按钮、菜单、状态和数据展示。
|
|
53
|
+
- `apps` 用于窗口标题、通知来源、菜单和空状态等紧凑应用语义场景。
|
|
54
|
+
- 应用库、桌面、任务栏和套件入口使用各项目维护的 PNG 资产。
|
|
55
|
+
|
|
56
|
+
## 新增图标
|
|
57
|
+
|
|
58
|
+
通用图标放入 `src/svgs/common/`,应用语义图标放入 `src/svgs/apps/`。`fallback.svg` 只允许存在于 `common/`。新增后执行仓库图标校验和完整检查:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
node .agents/skills/vust-icon-system/scripts/validate-icons.mjs packages/icons/src/svgs/common
|
|
62
|
+
node .agents/skills/vust-icon-system/scripts/validate-icons.mjs packages/icons/src/svgs/apps
|
|
63
|
+
pnpm check
|
|
64
|
+
```
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
//#endregion
|
|
2
|
+
//#region src/index.ts
|
|
3
|
+
var e = /* #__PURE__ */ Object.assign({
|
|
4
|
+
"./svgs/apps/disk-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M7 15h10\"/>\n <circle cx=\"17\" cy=\"9\" r=\"1\" fill=\"var(--vdl-primary)\" stroke=\"none\"/>\n <path d=\"M8 9h5\"/>\n</svg>\n",
|
|
5
|
+
"./svgs/apps/docker-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"9\" width=\"5\" height=\"4\" rx=\"1\"/>\n <rect x=\"9\" y=\"9\" width=\"5\" height=\"4\" rx=\"1\"/>\n <rect x=\"14\" y=\"9\" width=\"5\" height=\"4\" rx=\"1\"/>\n <rect x=\"7\" y=\"5\" width=\"5\" height=\"4\" rx=\"1\"/>\n <path d=\"M3 14h18l-2 4H6l-3-4z\"/>\n <path d=\"M18 6h2v2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
6
|
+
"./svgs/apps/file-editor.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M6 3h8l4 4v14H6z\"/>\n <path d=\"M14 3v5h5\"/>\n <path d=\"M9 14l6-6 2 2-6 6-3 1z\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
7
|
+
"./svgs/apps/file-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/>\n <path d=\"M7 13h10\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
8
|
+
"./svgs/apps/firewall-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z\"/>\n <path d=\"M8 10h8\"/>\n <path d=\"M8 14h8\"/>\n <path d=\"M12 8v8\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
9
|
+
"./svgs/apps/host-scanner.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 15h.01\"/>\n <path d=\"M9 11a4 4 0 0 1 6 0\"/>\n <path d=\"M11 13a1.5 1.5 0 0 1 2 0\"/>\n <path d=\"M18 6l2-2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
10
|
+
"./svgs/apps/node-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"6\" cy=\"7\" r=\"3\"/>\n <circle cx=\"18\" cy=\"7\" r=\"3\"/>\n <circle cx=\"12\" cy=\"18\" r=\"3\"/>\n <path d=\"M8.5 9l2.5 6\"/>\n <path d=\"M15.5 9L13 15\"/>\n <path d=\"M9 7h6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
11
|
+
"./svgs/apps/notification-history.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M6 10a6 6 0 0 1 12 0c0 4 2 5 2 7H4c0-2 2-3 2-7z\"/>\n <path d=\"M10 20a2 2 0 0 0 4 0\"/>\n <circle cx=\"18\" cy=\"6\" r=\"2\" fill=\"var(--vdl-primary)\" stroke=\"none\"/>\n</svg>\n",
|
|
12
|
+
"./svgs/apps/packet-capture.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3l8 4v10l-8 4-8-4V7z\"/>\n <path d=\"M4 7l8 4 8-4\"/>\n <path d=\"M12 11v10\"/>\n <path d=\"M7 16h4\"/>\n <path d=\"M14 15h3\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
13
|
+
"./svgs/apps/platform-log.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M6 3h10l3 3v15H6z\"/>\n <path d=\"M16 3v4h4\"/>\n <path d=\"M9 10h6\"/>\n <path d=\"M9 14h6\"/>\n <path d=\"M9 18h3\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
14
|
+
"./svgs/apps/process-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 9h8\"/>\n <path d=\"M8 13h5\"/>\n <path d=\"M8 17h3\"/>\n <path d=\"M15 15l2 2 3-4\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
15
|
+
"./svgs/apps/script-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"/>\n <path d=\"M14 2v6h6\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M8 13l2 2-2 2\"/>\n <path d=\"M12 17h4\"/>\n</svg>\n",
|
|
16
|
+
"./svgs/apps/settings.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3v3\"/>\n <path d=\"M12 18v3\"/>\n <path d=\"M4.8 7.2l2.1 2.1\"/>\n <path d=\"M17.1 16.9l2.1 2.1\"/>\n <path d=\"M3 12h3\"/>\n <path d=\"M18 12h3\"/>\n <path d=\"M4.8 16.8l2.1-2.1\"/>\n <path d=\"M17.1 7.1l2.1-2.1\"/>\n <circle cx=\"12\" cy=\"12\" r=\"4\"/>\n <circle cx=\"12\" cy=\"12\" r=\"1\" fill=\"var(--vdl-primary)\" stroke=\"none\"/>\n</svg>\n",
|
|
17
|
+
"./svgs/apps/simulation.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 15v4\" />\n <path d=\"M10 19h4\" />\n <circle cx=\"12\" cy=\"13\" r=\"2\" fill=\"var(--vdl-primary)\" stroke=\"var(--vdl-primary)\" />\n <path d=\"M8.8 9.8a4.5 4.5 0 0 1 6.4 0\" />\n <path d=\"M6 7a8.5 8.5 0 0 1 12 0\" stroke=\"var(--vdl-primary)\" />\n</svg>\n",
|
|
18
|
+
"./svgs/apps/ssh-manager.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"5\" y=\"10\" width=\"14\" height=\"10\" rx=\"2\"/>\n <path d=\"M8 10V7a4 4 0 0 1 8 0v3\"/>\n <path d=\"M10 15h4\"/>\n <path d=\"M15 15h1v2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
19
|
+
"./svgs/apps/suite-center.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"5\" width=\"14\" height=\"15\" rx=\"2\"/>\n <path d=\"M7 9h3\"/>\n <path d=\"M7 13h6\"/>\n <rect x=\"7\" y=\"16\" width=\"3\" height=\"2\" rx=\".5\"/>\n <rect x=\"12\" y=\"16\" width=\"3\" height=\"2\" rx=\".5\"/>\n <path d=\"M18 7h4\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M20 5v4\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M17 13h3\"/>\n <path d=\"M17 17h2\"/>\n</svg>\n",
|
|
20
|
+
"./svgs/apps/system-monitor.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"4\" width=\"16\" height=\"16\" rx=\"3\"/>\n <path d=\"M7 15l3-3 3 2 4-6\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M7 18h10\"/>\n</svg>\n",
|
|
21
|
+
"./svgs/apps/task-scheduler.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <path d=\"M12 8v5l3 2\"/>\n <path d=\"M6 20h12\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
22
|
+
"./svgs/apps/terminal.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 10l3 2-3 2\"/>\n <path d=\"M13 15h4\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
23
|
+
"./svgs/common/activity.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M3 12h4l2-6 4 12 2-6h6\"/>\n <path d=\"M15 12h6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
24
|
+
"./svgs/common/app-library.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"4\" width=\"6\" height=\"6\" rx=\"1.5\"/>\n <rect x=\"14\" y=\"4\" width=\"6\" height=\"6\" rx=\"1.5\"/>\n <rect x=\"4\" y=\"14\" width=\"6\" height=\"6\" rx=\"1.5\"/>\n <rect x=\"14\" y=\"14\" width=\"6\" height=\"6\" rx=\"1.5\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
25
|
+
"./svgs/common/arrow-left.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M19 12H5\"/>\n <path d=\"M11 6l-6 6 6 6\"/>\n</svg>\n",
|
|
26
|
+
"./svgs/common/arrow-right.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 12h14\"/>\n <path d=\"M13 6l6 6-6 6\"/>\n</svg>\n",
|
|
27
|
+
"./svgs/common/book-open.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M3 5.5A3.5 3.5 0 0 1 6.5 2H11v17H6.5A3.5 3.5 0 0 0 3 22z\"/>\n <path d=\"M21 5.5A3.5 3.5 0 0 0 17.5 2H13v17h4.5A3.5 3.5 0 0 1 21 22z\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
28
|
+
"./svgs/common/braces.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M8 4H6a2 2 0 0 0-2 2v4l-2 2 2 2v4a2 2 0 0 0 2 2h2\"/>\n <path d=\"M16 4h2a2 2 0 0 1 2 2v4l2 2-2 2v4a2 2 0 0 1-2 2h-2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
29
|
+
"./svgs/common/bug.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"7\" y=\"8\" width=\"10\" height=\"12\" rx=\"4\"/>\n <path d=\"M9 8a3 3 0 0 1 6 0\"/>\n <path d=\"M3 13h4\"/>\n <path d=\"M17 13h4\"/>\n <path d=\"M5 20l3-3\"/>\n <path d=\"M19 20l-3-3\"/>\n <path d=\"M12 12v4\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
30
|
+
"./svgs/common/chart.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M4 19V5\"/>\n <path d=\"M4 19h16\"/>\n <path d=\"M7 15l4-4 3 2 4-6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
31
|
+
"./svgs/common/chevron-down.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 9l7 7 7-7\"/>\n</svg>\n",
|
|
32
|
+
"./svgs/common/chevron-left.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M15 5l-7 7 7 7\"/>\n</svg>\n",
|
|
33
|
+
"./svgs/common/chevron-right.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M9 5l7 7-7 7\"/>\n</svg>\n",
|
|
34
|
+
"./svgs/common/chevron-up.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 15l7-7 7 7\"/>\n</svg>\n",
|
|
35
|
+
"./svgs/common/code.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M8 6l-6 6 6 6\"/>\n <path d=\"M16 6l6 6-6 6\"/>\n <path d=\"M14 4l-4 16\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
36
|
+
"./svgs/common/copy.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"></rect>\n <path d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"></path>\n</svg>\n",
|
|
37
|
+
"./svgs/common/database.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <ellipse cx=\"12\" cy=\"6\" rx=\"7\" ry=\"3\"/>\n <path d=\"M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6\"/>\n <path d=\"M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6\"/>\n <path d=\"M8 18h8\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
38
|
+
"./svgs/common/desktop.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"12\" rx=\"2\"/>\n <path d=\"M9 21h6\"/>\n <path d=\"M12 17v4\"/>\n <path d=\"M8 9h8\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
39
|
+
"./svgs/common/disk.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M7 15h10\"/>\n <circle cx=\"17\" cy=\"9\" r=\"1\" fill=\"var(--vdl-primary)\" stroke=\"none\"/>\n</svg>\n",
|
|
40
|
+
"./svgs/common/download.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 4v12\"/>\n <path d=\"M7 11l5 5 5-5\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M5 15v4a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-4\"/>\n</svg>\n",
|
|
41
|
+
"./svgs/common/edit.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 19l4-1 9-9-3-3-9 9z\"/>\n <path d=\"M14 6l3 3\"/>\n <path d=\"M5 19h14\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
42
|
+
"./svgs/common/empty.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 8h14l-2 11H7z\"/>\n <path d=\"M9 8a3 3 0 0 1 6 0\"/>\n <path d=\"M9 14h6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
43
|
+
"./svgs/common/error.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"9\"/>\n <path d=\"M9 9l6 6\"/>\n <path d=\"M15 9l-6 6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
44
|
+
"./svgs/common/external-link.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M14 4h6v6\"/>\n <path d=\"M20 4l-9 9\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M18 13v6a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6\"/>\n</svg>\n",
|
|
45
|
+
"./svgs/common/eye-off.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M3 12s3-6 9-6c2 0 3.7.6 5 1.5\"/>\n <path d=\"M21 12s-3 6-9 6c-2 0-3.7-.6-5-1.5\"/>\n <path d=\"M4 4l16 16\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
46
|
+
"./svgs/common/eye.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M3 12s3-6 9-6 9 6 9 6-3 6-9 6-9-6-9-6z\"/>\n <circle cx=\"12\" cy=\"12\" r=\"2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
47
|
+
"./svgs/common/fallback.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"4\" width=\"16\" height=\"16\" rx=\"4\"/>\n <path d=\"M9 9h6v6H9z\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
48
|
+
"./svgs/common/file-question.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\"/>\n <path d=\"M14 3v5h4\"/>\n <path d=\"M9.5 12a2.5 2.5 0 1 1 3.3 2.4c-.8.3-.8.8-.8 1.6\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M12 19h.01\"/>\n</svg>\n",
|
|
49
|
+
"./svgs/common/file.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M6 3h9l4 4v14H6z\"/>\n <path d=\"M15 3v5h5\"/>\n <path d=\"M9 14h6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
50
|
+
"./svgs/common/filter.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M4 5h16l-6 7v5l-4 2v-7z\"/>\n <path d=\"M8 9h8\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
51
|
+
"./svgs/common/folder.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/>\n <path d=\"M7 13h10\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
52
|
+
"./svgs/common/host-alive.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"m8 12 2.5 2.5L16 9\"/>\n</svg>\n",
|
|
53
|
+
"./svgs/common/host-idle.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 9h8\"/>\n <path d=\"M9 15h6\"/>\n</svg>\n",
|
|
54
|
+
"./svgs/common/host-open-ports.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 10h8\"/>\n <circle cx=\"8\" cy=\"15\" r=\"1\"/>\n <circle cx=\"12\" cy=\"15\" r=\"1\"/>\n <circle cx=\"16\" cy=\"15\" r=\"1\"/>\n</svg>\n",
|
|
55
|
+
"./svgs/common/host-scanning.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 15h.01\"/>\n <path d=\"M9 11a4 4 0 0 1 6 0\"/>\n <path d=\"M11 13a1.5 1.5 0 0 1 2 0\"/>\n</svg>\n",
|
|
56
|
+
"./svgs/common/host-unresponsive.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"m9 10 6 6M15 10l-6 6\"/>\n</svg>\n",
|
|
57
|
+
"./svgs/common/image.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <circle cx=\"9\" cy=\"10\" r=\"1.5\"/>\n <path d=\"M7 17l4-4 3 3 2-2 2 3\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
58
|
+
"./svgs/common/info.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"9\"/>\n <path d=\"M12 11v5\"/>\n <path d=\"M12 8h.01\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
59
|
+
"./svgs/common/lock.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"5\" y=\"10\" width=\"14\" height=\"10\" rx=\"2\"/>\n <path d=\"M8 10V7a4 4 0 0 1 8 0v3\"/>\n <path d=\"M12 15v2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
60
|
+
"./svgs/common/log.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M6 3h10l3 3v15H6z\"/>\n <path d=\"M16 3v4h4\"/>\n <path d=\"M9 10h6\"/>\n <path d=\"M9 14h6\"/>\n <path d=\"M9 18h3\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
61
|
+
"./svgs/common/logout.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M10 5H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4\"/>\n <path d=\"M14 8l4 4-4 4\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M18 12H9\"/>\n</svg>\n",
|
|
62
|
+
"./svgs/common/maximize.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M8 3H3v5M16 3h5v5M21 16v5h-5M8 21H3v-5\"/>\n</svg>\n",
|
|
63
|
+
"./svgs/common/minimize.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M9 3v6H3M15 3v6h6M21 15h-6v6M3 15h6v6\"/>\n</svg>\n",
|
|
64
|
+
"./svgs/common/minus.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 12h14\"/>\n</svg>\n",
|
|
65
|
+
"./svgs/common/more-horizontal.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M5 12h.01M12 12h.01M19 12h.01\"/>\n</svg>\n",
|
|
66
|
+
"./svgs/common/more-vertical.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 5h.01M12 12h.01M12 19h.01\"/>\n</svg>\n",
|
|
67
|
+
"./svgs/common/network.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"6\" cy=\"12\" r=\"3\"/>\n <circle cx=\"18\" cy=\"7\" r=\"3\"/>\n <circle cx=\"18\" cy=\"17\" r=\"3\"/>\n <path d=\"M9 11l6-3\"/>\n <path d=\"M9 13l6 3\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
68
|
+
"./svgs/common/package.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3l8 4-8 4-8-4z\"/>\n <path d=\"M4 7v10l8 4 8-4V7\"/>\n <path d=\"M12 11v10\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
69
|
+
"./svgs/common/packet.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3l8 4v10l-8 4-8-4V7z\"/>\n <path d=\"M4 7l8 4 8-4\"/>\n <path d=\"M12 11v10\"/>\n <path d=\"M8 9l8 4\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
70
|
+
"./svgs/common/pause.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"6\" y=\"4\" width=\"4\" height=\"16\" rx=\"1\"/>\n <rect x=\"14\" y=\"4\" width=\"4\" height=\"16\" rx=\"1\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
71
|
+
"./svgs/common/play.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <polygon points=\"5 3 19 12 5 21 5 3\"></polygon>\n</svg>\n",
|
|
72
|
+
"./svgs/common/plus.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\"></line>\n <line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\"></line>\n</svg>\n",
|
|
73
|
+
"./svgs/common/refresh.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M23 4v6h-6\"></path>\n <path d=\"M20.49 15a9 9 0 1 1-2.12-9.36L23 10\"></path>\n</svg>\n",
|
|
74
|
+
"./svgs/common/restart.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M20 7v5h-5\"/>\n <path d=\"M19 12a7 7 0 1 0-2 5\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M19 12a7 7 0 0 0-12-5\"/>\n</svg>\n",
|
|
75
|
+
"./svgs/common/save.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\"></path>\n <polyline points=\"17 21 17 13 7 13 7 21\"></polyline>\n <polyline points=\"7 3 7 8 15 8\"></polyline>\n</svg>\n",
|
|
76
|
+
"./svgs/common/scan.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M4 8V5a1 1 0 0 1 1-1h3\"/>\n <path d=\"M16 4h3a1 1 0 0 1 1 1v3\"/>\n <path d=\"M20 16v3a1 1 0 0 1-1 1h-3\"/>\n <path d=\"M8 20H5a1 1 0 0 1-1-1v-3\"/>\n <path d=\"M5 12h14\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
77
|
+
"./svgs/common/search.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"11\" cy=\"11\" r=\"8\"></circle>\n <line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\"></line>\n</svg>\n",
|
|
78
|
+
"./svgs/common/server.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"6\" rx=\"2\"/>\n <rect x=\"3\" y=\"14\" width=\"18\" height=\"6\" rx=\"2\"/>\n <path d=\"M7 7h.01M7 17h.01\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M11 7h6M11 17h6\"/>\n</svg>\n",
|
|
79
|
+
"./svgs/common/settings.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"4\"/>\n <path d=\"M12 3v3\"/>\n <path d=\"M12 18v3\"/>\n <path d=\"M4.8 7.2l2.1 2.1\"/>\n <path d=\"M17.1 16.9l2.1 2.1\"/>\n <path d=\"M3 12h3\"/>\n <path d=\"M18 12h3\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
80
|
+
"./svgs/common/shield-check.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3l8 3v5c0 5-3.4 8.6-8 10-4.6-1.4-8-5-8-10V6z\"/>\n <path d=\"M8.5 12l2.2 2.2 4.8-5\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
81
|
+
"./svgs/common/status-created.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <path d=\"M12 8v8\"/>\n <path d=\"M8 12h8\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
82
|
+
"./svgs/common/status-paused.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <path d=\"M10 9v6\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M14 9v6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
83
|
+
"./svgs/common/status-restarting.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M19 12a7 7 0 1 1-2-5\"/>\n <path d=\"M17 3v4h4\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
84
|
+
"./svgs/common/status-running.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <path d=\"M10 8l6 4-6 4z\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
85
|
+
"./svgs/common/status-stopped.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <rect x=\"9\" y=\"9\" width=\"6\" height=\"6\" rx=\"1\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
86
|
+
"./svgs/common/status-unknown.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <path d=\"M9.5 9a2.7 2.7 0 0 1 5 1.4c0 2-2.5 2-2.5 4\"/>\n <path d=\"M12 17h.01\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
87
|
+
"./svgs/common/stop.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"5\" y=\"5\" width=\"14\" height=\"14\" rx=\"2\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
88
|
+
"./svgs/common/success.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"9\"/>\n <path d=\"M8 12l3 3 5-6\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
89
|
+
"./svgs/common/target.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"8\"/>\n <circle cx=\"12\" cy=\"12\" r=\"3\"/>\n <path d=\"M12 2v4\"/>\n <path d=\"M12 18v4\"/>\n <path d=\"M2 12h4\"/>\n <path d=\"M18 12h4\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
90
|
+
"./svgs/common/terminal-output.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"14\" rx=\"3\"/>\n <path d=\"M8 10l3 2-3 2\"/>\n <path d=\"M13 15h4\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M7 18h10\"/>\n</svg>\n",
|
|
91
|
+
"./svgs/common/trash.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <polyline points=\"3 6 5 6 21 6\"></polyline>\n <path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"></path>\n</svg>\n",
|
|
92
|
+
"./svgs/common/upload.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 16V4\"/>\n <path d=\"M7 9l5-5 5 5\" stroke=\"var(--vdl-primary)\"/>\n <path d=\"M5 15v4a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-4\"/>\n</svg>\n",
|
|
93
|
+
"./svgs/common/warning.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M12 3l9 16H3z\"/>\n <path d=\"M12 9v4\"/>\n <path d=\"M12 16h.01\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
94
|
+
"./svgs/common/workflow.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"6\" height=\"5\" rx=\"1\"/>\n <rect x=\"15\" y=\"15\" width=\"6\" height=\"5\" rx=\"1\"/>\n <path d=\"M9 6.5h3a4 4 0 0 1 4 4V15\"/>\n <path d=\"M12 12H8a3 3 0 0 0-3 3v1\" stroke=\"var(--vdl-primary)\"/>\n</svg>\n",
|
|
95
|
+
"./svgs/common/x.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line>\n <line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line>\n</svg>\n"
|
|
96
|
+
}), t = {
|
|
97
|
+
common: {},
|
|
98
|
+
apps: {}
|
|
99
|
+
};
|
|
100
|
+
for (let [n, r] of Object.entries(e)) {
|
|
101
|
+
let e = n.includes("/apps/") ? "apps" : "common", i = n.split("/").pop()?.replace(".svg", "");
|
|
102
|
+
i && (t[e][i.toLowerCase()] = r);
|
|
103
|
+
}
|
|
104
|
+
function n(e, n = "common") {
|
|
105
|
+
let r = (e || "").trim().toLowerCase();
|
|
106
|
+
return t[n][r] || t.common.fallback || "";
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
export { n as getIcon, t as iconMap };
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vustcc/icons",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "VUST SVG Icon Assets",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"CHANGELOG.md"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/vustcc/vust-ui.git",
|
|
23
|
+
"directory": "packages/icons"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"registry": "https://registry.npmjs.org",
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "vite build",
|
|
31
|
+
"type-check": "tsc --noEmit -p tsconfig.json"
|
|
32
|
+
}
|
|
33
|
+
}
|