@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.
Files changed (116) hide show
  1. package/LICENSE.spark233 +21 -0
  2. package/README.md +34 -2
  3. package/assets/LICENSE.lucide +43 -0
  4. package/assets/icon.ico +0 -0
  5. package/assets/icon.png +0 -0
  6. package/assets/icon.svg +1 -0
  7. package/assets/theme-icons/blue-dark/icon.ico +0 -0
  8. package/assets/theme-icons/blue-dark/icon.png +0 -0
  9. package/assets/theme-icons/blue-light/icon.ico +0 -0
  10. package/assets/theme-icons/blue-light/icon.png +0 -0
  11. package/assets/theme-icons/green-dark/icon.ico +0 -0
  12. package/assets/theme-icons/green-dark/icon.png +0 -0
  13. package/assets/theme-icons/green-light/icon.ico +0 -0
  14. package/assets/theme-icons/green-light/icon.png +0 -0
  15. package/assets/theme-icons/orange-dark/icon.ico +0 -0
  16. package/assets/theme-icons/orange-dark/icon.png +0 -0
  17. package/assets/theme-icons/orange-light/icon.ico +0 -0
  18. package/assets/theme-icons/orange-light/icon.png +0 -0
  19. package/assets/theme-icons/purple-dark/icon.ico +0 -0
  20. package/assets/theme-icons/purple-dark/icon.png +0 -0
  21. package/assets/theme-icons/purple-light/icon.ico +0 -0
  22. package/assets/theme-icons/purple-light/icon.png +0 -0
  23. package/assets/theme-icons/rose-dark/icon.ico +0 -0
  24. package/assets/theme-icons/rose-dark/icon.png +0 -0
  25. package/assets/theme-icons/rose-light/icon.ico +0 -0
  26. package/assets/theme-icons/rose-light/icon.png +0 -0
  27. package/backend.mjs +8144 -0
  28. package/collector.ps1 +46 -0
  29. package/legal/HarmonyOS_Fonts.txt +34 -0
  30. package/legal/SourceHanSerif.txt +96 -0
  31. package/legal/spark233-renderer-THIRD_PARTY_NOTICES.md +670 -0
  32. package/native/Dia2Lib.dll +0 -0
  33. package/native/KernelTraceControl.dll +0 -0
  34. package/native/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  35. package/native/Microsoft.Data.Sqlite.dll +0 -0
  36. package/native/Microsoft.Diagnostics.FastSerialization.dll +0 -0
  37. package/native/Microsoft.Diagnostics.NETCore.Client.dll +0 -0
  38. package/native/Microsoft.Diagnostics.Tracing.TraceEvent.dll +0 -0
  39. package/native/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  40. package/native/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  41. package/native/Microsoft.Win32.Registry.dll +0 -0
  42. package/native/SQLitePCLRaw.batteries_v2.dll +0 -0
  43. package/native/SQLitePCLRaw.core.dll +0 -0
  44. package/native/SQLitePCLRaw.provider.dynamic_cdecl.dll +0 -0
  45. package/native/System.Buffers.dll +0 -0
  46. package/native/System.Collections.Immutable.dll +0 -0
  47. package/native/System.IO.Pipelines.dll +0 -0
  48. package/native/System.Memory.dll +0 -0
  49. package/native/System.Numerics.Vectors.dll +0 -0
  50. package/native/System.Reflection.Metadata.dll +0 -0
  51. package/native/System.Reflection.TypeExtensions.dll +0 -0
  52. package/native/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  53. package/native/System.Security.AccessControl.dll +0 -0
  54. package/native/System.Security.Principal.Windows.dll +0 -0
  55. package/native/System.Text.Encodings.Web.dll +0 -0
  56. package/native/System.Text.Json.dll +0 -0
  57. package/native/System.Threading.Tasks.Extensions.dll +0 -0
  58. package/native/TraceReloggerLib.dll +0 -0
  59. package/native/e_sqlite3.dll +0 -0
  60. package/native/licenses/Microsoft.Bcl.AsyncInterfaces.nuspec +27 -0
  61. package/native/licenses/Microsoft.Data.Sqlite.Core.nuspec +37 -0
  62. package/native/licenses/Microsoft.Data.Sqlite.nuspec +36 -0
  63. package/native/licenses/Microsoft.Diagnostics.NETCore.Client.nuspec +30 -0
  64. package/native/licenses/Microsoft.Diagnostics.Tracing.TraceEvent.nuspec +41 -0
  65. package/native/licenses/Microsoft.Extensions.DependencyInjection.Abstractions-LICENSE.TXT +23 -0
  66. package/native/licenses/Microsoft.Extensions.DependencyInjection.Abstractions.nuspec +35 -0
  67. package/native/licenses/Microsoft.Extensions.Logging.Abstractions-LICENSE.TXT +23 -0
  68. package/native/licenses/Microsoft.Extensions.Logging.Abstractions.nuspec +48 -0
  69. package/native/licenses/Microsoft.Win32.Registry-LICENSE.TXT +23 -0
  70. package/native/licenses/Microsoft.Win32.Registry.nuspec +94 -0
  71. package/native/licenses/SQLitePCLRaw.bundle_e_sqlite3.nuspec +43 -0
  72. package/native/licenses/SQLitePCLRaw.core.nuspec +19 -0
  73. package/native/licenses/SQLitePCLRaw.lib.e_sqlite3.nuspec +17 -0
  74. package/native/licenses/SQLitePCLRaw.provider.dynamic_cdecl.nuspec +19 -0
  75. package/native/licenses/System.Buffers.nuspec +24 -0
  76. package/native/licenses/System.Collections.Immutable.nuspec +33 -0
  77. package/native/licenses/System.IO.Pipelines.nuspec +38 -0
  78. package/native/licenses/System.Memory.nuspec +32 -0
  79. package/native/licenses/System.Numerics.Vectors.nuspec +27 -0
  80. package/native/licenses/System.Reflection.Metadata-LICENSE.TXT +23 -0
  81. package/native/licenses/System.Reflection.Metadata.nuspec +34 -0
  82. package/native/licenses/System.Reflection.TypeExtensions-LICENSE.TXT +23 -0
  83. package/native/licenses/System.Reflection.TypeExtensions.nuspec +64 -0
  84. package/native/licenses/System.Runtime.CompilerServices.Unsafe.nuspec +27 -0
  85. package/native/licenses/System.Security.AccessControl-LICENSE.TXT +23 -0
  86. package/native/licenses/System.Security.AccessControl.nuspec +55 -0
  87. package/native/licenses/System.Security.Principal.Windows-LICENSE.TXT +23 -0
  88. package/native/licenses/System.Security.Principal.Windows.nuspec +68 -0
  89. package/native/licenses/System.Text.Encodings.Web.nuspec +38 -0
  90. package/native/licenses/System.Text.Json.nuspec +50 -0
  91. package/native/licenses/System.Threading.Tasks.Extensions.nuspec +28 -0
  92. package/native/licenses/System.ValueTuple.nuspec +25 -0
  93. package/native/licenses/dependencies.json +158 -0
  94. package/native/msdia140.dll +0 -0
  95. package/native/resources.json +226 -0
  96. package/native/spark233.Traffic.Core.dll +0 -0
  97. package/native/spark233.Traffic.Core.dll.config +59 -0
  98. package/native/spark233.TrafficClient.exe +0 -0
  99. package/native/spark233.TrafficClient.exe.config +62 -0
  100. package/native/spark233.TrafficService.exe +0 -0
  101. package/native/spark233.TrafficService.exe.config +62 -0
  102. package/native/spark233.TrafficSetup.exe +0 -0
  103. package/native/spark233.TrafficSetup.exe.config +62 -0
  104. package/package.json +356 -3
  105. package/renderer/assets/HarmonyOS_Sans_SC-BKicpBgU.ttf +0 -0
  106. package/renderer/assets/SourceHanSerifSC-Regular-KhFegrri.woff2 +0 -0
  107. package/renderer/assets/index-D40wqc6o.css +2 -0
  108. package/renderer/assets/index-DqTMamUW.js +2 -0
  109. package/renderer/assets/rolldown-runtime-WkwZ5CU-.js +1 -0
  110. package/renderer/assets/vendor-react-DCTAcUCH.js +9 -0
  111. package/renderer/index.html +15 -0
  112. package/renderer/spark233-renderer.json +1 -0
  113. package/renderer/spark233-shared-ui.json +18 -0
  114. package/renderer/spark233-ui.json +11 -0
  115. package/widgets/hud.json +59 -0
  116. package/widgets/traffic-hover.json +36 -0
@@ -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
+ }