@spark233/plugin-traffic 0.0.0-stage → 0.2.5
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/LICENSE.spark233 +21 -0
- package/README.md +34 -2
- package/assets/LICENSE.lucide +43 -0
- package/assets/icon.ico +0 -0
- package/assets/icon.png +0 -0
- package/assets/icon.svg +1 -0
- package/assets/theme-icons/blue-dark/icon.ico +0 -0
- package/assets/theme-icons/blue-dark/icon.png +0 -0
- package/assets/theme-icons/blue-light/icon.ico +0 -0
- package/assets/theme-icons/blue-light/icon.png +0 -0
- package/assets/theme-icons/green-dark/icon.ico +0 -0
- package/assets/theme-icons/green-dark/icon.png +0 -0
- package/assets/theme-icons/green-light/icon.ico +0 -0
- package/assets/theme-icons/green-light/icon.png +0 -0
- package/assets/theme-icons/orange-dark/icon.ico +0 -0
- package/assets/theme-icons/orange-dark/icon.png +0 -0
- package/assets/theme-icons/orange-light/icon.ico +0 -0
- package/assets/theme-icons/orange-light/icon.png +0 -0
- package/assets/theme-icons/purple-dark/icon.ico +0 -0
- package/assets/theme-icons/purple-dark/icon.png +0 -0
- package/assets/theme-icons/purple-light/icon.ico +0 -0
- package/assets/theme-icons/purple-light/icon.png +0 -0
- package/assets/theme-icons/rose-dark/icon.ico +0 -0
- package/assets/theme-icons/rose-dark/icon.png +0 -0
- package/assets/theme-icons/rose-light/icon.ico +0 -0
- package/assets/theme-icons/rose-light/icon.png +0 -0
- package/backend.mjs +8144 -0
- package/collector.ps1 +46 -0
- package/legal/HarmonyOS_Fonts.txt +34 -0
- package/legal/SourceHanSerif.txt +96 -0
- package/legal/spark233-renderer-THIRD_PARTY_NOTICES.md +670 -0
- package/native/Dia2Lib.dll +0 -0
- package/native/KernelTraceControl.dll +0 -0
- package/native/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/native/Microsoft.Data.Sqlite.dll +0 -0
- package/native/Microsoft.Diagnostics.FastSerialization.dll +0 -0
- package/native/Microsoft.Diagnostics.NETCore.Client.dll +0 -0
- package/native/Microsoft.Diagnostics.Tracing.TraceEvent.dll +0 -0
- package/native/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/native/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/native/Microsoft.Win32.Registry.dll +0 -0
- package/native/SQLitePCLRaw.batteries_v2.dll +0 -0
- package/native/SQLitePCLRaw.core.dll +0 -0
- package/native/SQLitePCLRaw.provider.dynamic_cdecl.dll +0 -0
- package/native/System.Buffers.dll +0 -0
- package/native/System.Collections.Immutable.dll +0 -0
- package/native/System.IO.Pipelines.dll +0 -0
- package/native/System.Memory.dll +0 -0
- package/native/System.Numerics.Vectors.dll +0 -0
- package/native/System.Reflection.Metadata.dll +0 -0
- package/native/System.Reflection.TypeExtensions.dll +0 -0
- package/native/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/native/System.Security.AccessControl.dll +0 -0
- package/native/System.Security.Principal.Windows.dll +0 -0
- package/native/System.Text.Encodings.Web.dll +0 -0
- package/native/System.Text.Json.dll +0 -0
- package/native/System.Threading.Tasks.Extensions.dll +0 -0
- package/native/TraceReloggerLib.dll +0 -0
- package/native/e_sqlite3.dll +0 -0
- package/native/licenses/Microsoft.Bcl.AsyncInterfaces.nuspec +27 -0
- package/native/licenses/Microsoft.Data.Sqlite.Core.nuspec +37 -0
- package/native/licenses/Microsoft.Data.Sqlite.nuspec +36 -0
- package/native/licenses/Microsoft.Diagnostics.NETCore.Client.nuspec +30 -0
- package/native/licenses/Microsoft.Diagnostics.Tracing.TraceEvent.nuspec +41 -0
- package/native/licenses/Microsoft.Extensions.DependencyInjection.Abstractions-LICENSE.TXT +23 -0
- package/native/licenses/Microsoft.Extensions.DependencyInjection.Abstractions.nuspec +35 -0
- package/native/licenses/Microsoft.Extensions.Logging.Abstractions-LICENSE.TXT +23 -0
- package/native/licenses/Microsoft.Extensions.Logging.Abstractions.nuspec +48 -0
- package/native/licenses/Microsoft.Win32.Registry-LICENSE.TXT +23 -0
- package/native/licenses/Microsoft.Win32.Registry.nuspec +94 -0
- package/native/licenses/SQLitePCLRaw.bundle_e_sqlite3.nuspec +43 -0
- package/native/licenses/SQLitePCLRaw.core.nuspec +19 -0
- package/native/licenses/SQLitePCLRaw.lib.e_sqlite3.nuspec +17 -0
- package/native/licenses/SQLitePCLRaw.provider.dynamic_cdecl.nuspec +19 -0
- package/native/licenses/System.Buffers.nuspec +24 -0
- package/native/licenses/System.Collections.Immutable.nuspec +33 -0
- package/native/licenses/System.IO.Pipelines.nuspec +38 -0
- package/native/licenses/System.Memory.nuspec +32 -0
- package/native/licenses/System.Numerics.Vectors.nuspec +27 -0
- package/native/licenses/System.Reflection.Metadata-LICENSE.TXT +23 -0
- package/native/licenses/System.Reflection.Metadata.nuspec +34 -0
- package/native/licenses/System.Reflection.TypeExtensions-LICENSE.TXT +23 -0
- package/native/licenses/System.Reflection.TypeExtensions.nuspec +64 -0
- package/native/licenses/System.Runtime.CompilerServices.Unsafe.nuspec +27 -0
- package/native/licenses/System.Security.AccessControl-LICENSE.TXT +23 -0
- package/native/licenses/System.Security.AccessControl.nuspec +55 -0
- package/native/licenses/System.Security.Principal.Windows-LICENSE.TXT +23 -0
- package/native/licenses/System.Security.Principal.Windows.nuspec +68 -0
- package/native/licenses/System.Text.Encodings.Web.nuspec +38 -0
- package/native/licenses/System.Text.Json.nuspec +50 -0
- package/native/licenses/System.Threading.Tasks.Extensions.nuspec +28 -0
- package/native/licenses/System.ValueTuple.nuspec +25 -0
- package/native/licenses/dependencies.json +158 -0
- package/native/msdia140.dll +0 -0
- package/native/resources.json +226 -0
- package/native/spark233.Traffic.Core.dll +0 -0
- package/native/spark233.Traffic.Core.dll.config +59 -0
- package/native/spark233.TrafficClient.exe +0 -0
- package/native/spark233.TrafficClient.exe.config +62 -0
- package/native/spark233.TrafficService.exe +0 -0
- package/native/spark233.TrafficService.exe.config +62 -0
- package/native/spark233.TrafficSetup.exe +0 -0
- package/native/spark233.TrafficSetup.exe.config +62 -0
- package/package.json +356 -3
- package/renderer/assets/HarmonyOS_Sans_SC-BKicpBgU.ttf +0 -0
- package/renderer/assets/SourceHanSerifSC-Regular-KhFegrri.woff2 +0 -0
- package/renderer/assets/index-D40wqc6o.css +2 -0
- package/renderer/assets/index-DqTMamUW.js +2 -0
- package/renderer/assets/rolldown-runtime-WkwZ5CU-.js +1 -0
- package/renderer/assets/vendor-react-DCTAcUCH.js +9 -0
- package/renderer/index.html +15 -0
- package/renderer/spark233-renderer.json +1 -0
- package/renderer/spark233-shared-ui.json +18 -0
- package/renderer/spark233-ui.json +11 -0
- package/widgets/hud.json +59 -0
- package/widgets/traffic-hover.json +36 -0
package/widgets/hud.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"padding": 2,
|
|
4
|
+
"background": "card",
|
|
5
|
+
"root": {
|
|
6
|
+
"type": "stack",
|
|
7
|
+
"direction": "column",
|
|
8
|
+
"gap": 0,
|
|
9
|
+
"align": "start",
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"type": "stack",
|
|
13
|
+
"direction": "row",
|
|
14
|
+
"gap": 0,
|
|
15
|
+
"align": "center",
|
|
16
|
+
"children": [
|
|
17
|
+
{
|
|
18
|
+
"type": "icon",
|
|
19
|
+
"name": "arrow-up",
|
|
20
|
+
"size": 16,
|
|
21
|
+
"tone": "upload"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "text",
|
|
25
|
+
"value": {
|
|
26
|
+
"dataKey": "tx-text"
|
|
27
|
+
},
|
|
28
|
+
"size": "body",
|
|
29
|
+
"tone": "upload",
|
|
30
|
+
"maxLines": 1
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "stack",
|
|
36
|
+
"direction": "row",
|
|
37
|
+
"gap": 0,
|
|
38
|
+
"align": "center",
|
|
39
|
+
"children": [
|
|
40
|
+
{
|
|
41
|
+
"type": "icon",
|
|
42
|
+
"name": "arrow-down",
|
|
43
|
+
"size": 16,
|
|
44
|
+
"tone": "download"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "text",
|
|
48
|
+
"value": {
|
|
49
|
+
"dataKey": "rx-text"
|
|
50
|
+
},
|
|
51
|
+
"size": "body",
|
|
52
|
+
"tone": "download",
|
|
53
|
+
"maxLines": 1
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"padding": 12,
|
|
4
|
+
"background": "card",
|
|
5
|
+
"root": {
|
|
6
|
+
"type": "stack",
|
|
7
|
+
"direction": "column",
|
|
8
|
+
"gap": 8,
|
|
9
|
+
"align": "start",
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"value": { "text": "上传排行" },
|
|
14
|
+
"size": "body",
|
|
15
|
+
"tone": "upload",
|
|
16
|
+
"maxLines": 1
|
|
17
|
+
},
|
|
18
|
+
{ "type": "rank-list", "dataKey": "upload-top", "tone": "upload" },
|
|
19
|
+
{
|
|
20
|
+
"type": "text",
|
|
21
|
+
"value": { "text": "下载排行" },
|
|
22
|
+
"size": "body",
|
|
23
|
+
"tone": "download",
|
|
24
|
+
"maxLines": 1
|
|
25
|
+
},
|
|
26
|
+
{ "type": "rank-list", "dataKey": "download-top", "tone": "download" },
|
|
27
|
+
{
|
|
28
|
+
"type": "text",
|
|
29
|
+
"value": { "dataKey": "process-status" },
|
|
30
|
+
"size": "caption",
|
|
31
|
+
"tone": "muted",
|
|
32
|
+
"maxLines": 2
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|