@tnotesjs/core 0.1.21 → 0.1.23

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 (122) hide show
  1. package/README.md +87 -87
  2. package/dist/{chunk-4MO7F7Q4.js → chunk-BSTQOJVE.js} +1 -1
  3. package/dist/{chunk-SQVHJR2Z.js → chunk-O4DCXHOV.js} +0 -3
  4. package/dist/cli/index.js +2 -2
  5. package/dist/index.js +1 -1
  6. package/dist/vitepress/config/index.js +2 -2
  7. package/package.json +3 -4
  8. package/types/config.ts +60 -61
  9. package/types/index.ts +11 -11
  10. package/types/note.ts +33 -33
  11. package/vitepress/assets/icons/icon__check.svg +3 -3
  12. package/vitepress/assets/icons/icon__clipboard.svg +7 -7
  13. package/vitepress/assets/icons/icon__close.svg +1 -1
  14. package/vitepress/assets/icons/icon__collapse.svg +1 -1
  15. package/vitepress/assets/icons/icon__confirm.svg +1 -1
  16. package/vitepress/assets/icons/icon__copy.svg +4 -4
  17. package/vitepress/assets/icons/icon__focus.svg +1 -1
  18. package/vitepress/assets/icons/icon__fold.svg +3 -3
  19. package/vitepress/assets/icons/icon__folder.svg +1 -1
  20. package/vitepress/assets/icons/icon__fullscreen.svg +1 -1
  21. package/vitepress/assets/icons/icon__fullscreen_exit.svg +1 -1
  22. package/vitepress/assets/icons/icon__github.svg +3 -3
  23. package/vitepress/assets/icons/icon__mindmap.svg +1 -1
  24. package/vitepress/assets/icons/icon__next.svg +1 -1
  25. package/vitepress/assets/icons/icon__number_gray.svg +1 -1
  26. package/vitepress/assets/icons/icon__number_purple.svg +1 -1
  27. package/vitepress/assets/icons/icon__prev.svg +1 -1
  28. package/vitepress/assets/icons/icon__restore.svg +1 -1
  29. package/vitepress/assets/icons/icon__rotate.svg +4 -4
  30. package/vitepress/assets/icons/icon__search.svg +1 -1
  31. package/vitepress/assets/icons/icon__sidebar_collapsed.svg +1 -1
  32. package/vitepress/assets/icons/icon__sidebar_opened.svg +1 -1
  33. package/vitepress/assets/icons/icon__totop.svg +5 -5
  34. package/vitepress/assets/icons/icon__vscode.svg +5 -5
  35. package/vitepress/assets/icons/icon__zoom_fit.svg +1 -1
  36. package/vitepress/assets/icons/icon__zoom_in.svg +1 -1
  37. package/vitepress/assets/icons/icon__zoom_out.svg +1 -1
  38. package/vitepress/assets/icons/icon__zoom_reset.svg +1 -1
  39. package/vitepress/assets/icons/index.ts +39 -39
  40. package/vitepress/components/BilibiliOutsidePlayer/BilibiliOutsidePlayer.vue +20 -20
  41. package/vitepress/components/CodeBlockFullscreen/CodeBlockFullscreen.vue +369 -369
  42. package/vitepress/components/CodeBlockFullscreen/index.ts +209 -213
  43. package/vitepress/components/CodeBlockFullscreen/styles.css +126 -126
  44. package/vitepress/components/Discussions/Discussions.vue +244 -211
  45. package/vitepress/components/EnWordList/EnWordList.vue +663 -543
  46. package/vitepress/components/EnWordList/RightClickMenu.vue +89 -66
  47. package/vitepress/components/Footprints/Footprints.vue +472 -377
  48. package/vitepress/components/Layout/AboutModal.vue +331 -105
  49. package/vitepress/components/Layout/AboutPanel.vue +484 -270
  50. package/vitepress/components/Layout/ContentCollapse.vue +590 -603
  51. package/vitepress/components/Layout/CustomSidebar.vue +817 -817
  52. package/vitepress/components/Layout/DocBeforeControls.vue +351 -149
  53. package/vitepress/components/Layout/DocFooter.vue +233 -233
  54. package/vitepress/components/Layout/ImagePreview.vue +484 -281
  55. package/vitepress/components/Layout/Layout.vue +744 -621
  56. package/vitepress/components/Layout/NavBarSettingsTrigger.vue +0 -2
  57. package/vitepress/components/Layout/NoteStatus.vue +140 -140
  58. package/vitepress/components/Layout/SidebarItems.vue +1083 -1083
  59. package/vitepress/components/Layout/SidebarNavBefore.vue +170 -171
  60. package/vitepress/components/Layout/SidebarResizeHandle.vue +311 -319
  61. package/vitepress/components/Layout/Swiper.vue +167 -167
  62. package/vitepress/components/Layout/ToggleFullContent.vue +47 -35
  63. package/vitepress/components/Layout/ToggleSidebar.vue +37 -26
  64. package/vitepress/components/Layout/composables/useCollapseControl.ts +88 -88
  65. package/vitepress/components/Layout/composables/useNoteConfig.ts +119 -119
  66. package/vitepress/components/Layout/composables/useNoteSave.ts +178 -178
  67. package/vitepress/components/Layout/composables/useNoteValidation.ts +85 -85
  68. package/vitepress/components/Layout/composables/useRedirect.ts +113 -113
  69. package/vitepress/components/Layout/composables/useSidebarLayout.ts +122 -122
  70. package/vitepress/components/Layout/composables/useVSCodeIntegration.ts +85 -85
  71. package/vitepress/components/Layout/homeReadme.data.ts +124 -124
  72. package/vitepress/components/LoadingPage/LoadingPage.vue +1 -6
  73. package/vitepress/components/MarkMap/MarkMap.vue +564 -405
  74. package/vitepress/components/Mermaid/Mermaid.vue +643 -365
  75. package/vitepress/components/NotesTable/NotesTable.vue +174 -98
  76. package/vitepress/components/NotesTable/README.md +67 -67
  77. package/vitepress/components/Settings/Settings.vue +711 -334
  78. package/vitepress/components/Settings/SettingsDialog.vue +1 -11
  79. package/vitepress/components/SidebarCard/MindMapView.vue +484 -484
  80. package/vitepress/components/SidebarCard/NotesTrendChart.vue +108 -108
  81. package/vitepress/components/SidebarCard/SidebarCard.vue +945 -946
  82. package/vitepress/components/Tooltip/Tooltip.vue +70 -70
  83. package/vitepress/components/constants.ts +109 -109
  84. package/vitepress/components/notesConfig.data.ts +73 -73
  85. package/vitepress/components/sidebar.data.ts +59 -59
  86. package/vitepress/components/tnotes-config.data.ts +21 -21
  87. package/vitepress/components/utils.ts +26 -26
  88. package/vitepress/config/index.ts +169 -169
  89. package/vitepress/configs/constants.ts +26 -26
  90. package/vitepress/configs/head.config.ts +25 -25
  91. package/vitepress/configs/index.ts +9 -9
  92. package/vitepress/configs/markdown-it.d.ts +23 -23
  93. package/vitepress/configs/markdown.config.ts +368 -367
  94. package/vitepress/configs/theme.config.ts +108 -108
  95. package/vitepress/plugins/buildProgressPlugin.ts +434 -434
  96. package/vitepress/plugins/getNoteByConfigIdPlugin.ts +107 -107
  97. package/vitepress/plugins/renameNotePlugin.ts +68 -68
  98. package/vitepress/plugins/sidebarStructurePlugin.ts +260 -260
  99. package/vitepress/plugins/updateConfigPlugin.ts +63 -63
  100. package/vitepress/theme/index.ts +137 -137
  101. package/vitepress/theme/styles/base.scss +66 -64
  102. package/vitepress/theme/styles/components/404.scss +31 -31
  103. package/vitepress/theme/styles/components/collapse.scss +172 -172
  104. package/vitepress/theme/styles/components/markmap.scss +101 -101
  105. package/vitepress/theme/styles/components/swiper.scss +255 -255
  106. package/vitepress/theme/styles/index.scss +25 -25
  107. package/vitepress/theme/styles/layout.scss +78 -78
  108. package/vitepress/theme/styles/utilities.scss +39 -39
  109. package/vitepress/theme/styles/vitepress-override.scss +25 -25
  110. package/vitepress/components/Discussions/Discussions.module.scss +0 -32
  111. package/vitepress/components/EnWordList/EnWordList.module.scss +0 -124
  112. package/vitepress/components/EnWordList/RightClickMenu.module.scss +0 -22
  113. package/vitepress/components/Footprints/Footprints.module.scss +0 -93
  114. package/vitepress/components/Layout/AboutModal.module.scss +0 -233
  115. package/vitepress/components/Layout/ImagePreview.module.scss +0 -201
  116. package/vitepress/components/Layout/Layout.module.scss +0 -661
  117. package/vitepress/components/Layout/ToggleFullContent.module.scss +0 -11
  118. package/vitepress/components/Layout/ToggleSidebar.module.scss +0 -11
  119. package/vitepress/components/MarkMap/MarkMap.module.scss +0 -159
  120. package/vitepress/components/Mermaid/Mermaid.module.scss +0 -275
  121. package/vitepress/components/NotesTable/NotesTable.module.scss +0 -77
  122. package/vitepress/components/Settings/Settings.module.scss +0 -375
package/README.md CHANGED
@@ -1,87 +1,87 @@
1
- # @tnotesjs/core
2
-
3
- TNotes 知识库系统的核心框架,以 NPM 包形式发布,被所有
4
- [TNotes.xxx](https://github.com/orgs/tnotesjs/repositories) 知识库引用。
5
-
6
- ## 简介
7
-
8
- `@tnotesjs/core` 包含了 TNotes 知识库系统的 CLI 命令、VitePress
9
- 配置/主题、服务层、工具函数等核心代码。各 TNotes.xxx 仓库通过
10
- `npm install @tnotesjs/core` 安装即可使用。
11
-
12
- ## 目录结构
13
-
14
- ```text
15
- @tnotesjs/core
16
- ├── commands/ # CLI 命令(dev、build、push、update 等)
17
- ├── config/ # 配置管理(ConfigManager、默认配置、模板)
18
- ├── core/ # 核心模块(GitManager、NoteManager、ReadmeGenerator 等)
19
- ├── services/ # 服务层(file-watcher、git、note、readme、vitepress 等)
20
- ├── types/ # TypeScript 类型定义
21
- ├── utils/ # 工具函数(日志、文件操作、Markdown 解析、校验等)
22
- ├── vitepress/ # VitePress 主题、组件、插件、样式
23
- │ ├── components/ # 自定义 Vue 组件
24
- │ ├── config/ # VitePress 配置(defineNotesConfig)
25
- │ ├── plugins/ # VitePress 插件
26
- │ └── theme/ # 主题入口与样式
27
- ├── index.ts # CLI 入口
28
- └── src/index.ts # 公共 API 导出
29
- ```
30
-
31
- ## 安装
32
-
33
- ```bash
34
- # 安装核心包
35
- pnpm add @tnotesjs/core
36
-
37
- # 安装 peerDependencies
38
- pnpm add -D vite vitepress vue
39
- ```
40
-
41
- ## 使用方式
42
-
43
- ### VitePress 配置
44
-
45
- ```ts
46
- // .vitepress/config.mts
47
- import { defineNotesConfig } from '@tnotesjs/core/vitepress/config'
48
- export default defineNotesConfig()
49
- ```
50
-
51
- ### VitePress 主题
52
-
53
- ```ts
54
- // .vitepress/theme/index.ts
55
- export { default } from '@tnotesjs/core/vitepress/theme'
56
- ```
57
-
58
- ### CLI 命令
59
-
60
- 在 `package.json` 中配置脚本:
61
-
62
- ```json
63
- {
64
- "scripts": {
65
- "tn:dev": "tnotes --dev",
66
- "tn:build": "tnotes --build",
67
- "tn:preview": "tnotes --preview",
68
- "tn:update": "tnotes --update",
69
- "tn:push": "tnotes --push",
70
- "tn:pull": "tnotes --pull",
71
- "tn:create-notes": "tnotes --create-notes",
72
- "tn:fix-timestamps": "tnotes --fix-timestamps",
73
- "tn:help": "tnotes --help"
74
- }
75
- }
76
- ```
77
-
78
- ## 版本管理
79
-
80
- - 版本号遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)
81
- - 变更记录见 [CHANGELOG.md](./CHANGELOG.md)
82
- - 发布:`npm publish --access public`
83
- - 每个版本通过 Git Tag 标记(如 `v1.0.0`)
84
-
85
- ## 许可证
86
-
87
- MIT
1
+ # @tnotesjs/core
2
+
3
+ TNotes 知识库系统的核心框架,以 NPM 包形式发布,被所有
4
+ [TNotes.xxx](https://github.com/orgs/tnotesjs/repositories) 知识库引用。
5
+
6
+ ## 简介
7
+
8
+ `@tnotesjs/core` 包含了 TNotes 知识库系统的 CLI 命令、VitePress
9
+ 配置/主题、服务层、工具函数等核心代码。各 TNotes.xxx 仓库通过
10
+ `npm install @tnotesjs/core` 安装即可使用。
11
+
12
+ ## 目录结构
13
+
14
+ ```text
15
+ @tnotesjs/core
16
+ ├── commands/ # CLI 命令(dev、build、push、update 等)
17
+ ├── config/ # 配置管理(ConfigManager、默认配置、模板)
18
+ ├── core/ # 核心模块(GitManager、NoteManager、ReadmeGenerator 等)
19
+ ├── services/ # 服务层(file-watcher、git、note、readme、vitepress 等)
20
+ ├── types/ # TypeScript 类型定义
21
+ ├── utils/ # 工具函数(日志、文件操作、Markdown 解析、校验等)
22
+ ├── vitepress/ # VitePress 主题、组件、插件、样式
23
+ │ ├── components/ # 自定义 Vue 组件
24
+ │ ├── config/ # VitePress 配置(defineNotesConfig)
25
+ │ ├── plugins/ # VitePress 插件
26
+ │ └── theme/ # 主题入口与样式
27
+ ├── index.ts # CLI 入口
28
+ └── src/index.ts # 公共 API 导出
29
+ ```
30
+
31
+ ## 安装
32
+
33
+ ```bash
34
+ # 安装核心包
35
+ pnpm add @tnotesjs/core
36
+
37
+ # 安装 peerDependencies
38
+ pnpm add -D vite vitepress vue
39
+ ```
40
+
41
+ ## 使用方式
42
+
43
+ ### VitePress 配置
44
+
45
+ ```ts
46
+ // .vitepress/config.mts
47
+ import { defineNotesConfig } from '@tnotesjs/core/vitepress/config'
48
+ export default defineNotesConfig()
49
+ ```
50
+
51
+ ### VitePress 主题
52
+
53
+ ```ts
54
+ // .vitepress/theme/index.ts
55
+ export { default } from '@tnotesjs/core/vitepress/theme'
56
+ ```
57
+
58
+ ### CLI 命令
59
+
60
+ 在 `package.json` 中配置脚本:
61
+
62
+ ```json
63
+ {
64
+ "scripts": {
65
+ "tn:dev": "tnotes --dev",
66
+ "tn:build": "tnotes --build",
67
+ "tn:preview": "tnotes --preview",
68
+ "tn:update": "tnotes --update",
69
+ "tn:push": "tnotes --push",
70
+ "tn:pull": "tnotes --pull",
71
+ "tn:create-notes": "tnotes --create-notes",
72
+ "tn:fix-timestamps": "tnotes --fix-timestamps",
73
+ "tn:help": "tnotes --help"
74
+ }
75
+ }
76
+ ```
77
+
78
+ ## 版本管理
79
+
80
+ - 版本号遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)
81
+ - 变更记录见 [CHANGELOG.md](./CHANGELOG.md)
82
+ - 发布:`npm publish --access public`
83
+ - 每个版本通过 Git Tag 标记(如 `v1.0.0`)
84
+
85
+ ## 许可证
86
+
87
+ MIT
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ConfigManager,
3
3
  getConfigManager
4
- } from "./chunk-SQVHJR2Z.js";
4
+ } from "./chunk-O4DCXHOV.js";
5
5
 
6
6
  // utils/errorHandler.ts
7
7
  var TNotesError = class _TNotesError extends Error {
@@ -57,21 +57,18 @@ function getDefaultConfig(repoName) {
57
57
  // 社交链接
58
58
  socialLinks: [
59
59
  {
60
- ariaLabel: "Tdahuyou \u8BED\u96C0\u4E3B\u9875\u94FE\u63A5",
61
60
  link: "https://www.yuque.com/tdahuyou",
62
61
  icon: {
63
62
  svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.28 2.955c2.97.203 3.756 2.342 3.84 2.597l1.297.096c.13 0 .169.18.054.236c-1.323.716-1.727 2.17-1.49 3.118c.09.358.254.69.412 1.02c.307.642.651 1.418.707 2.981c.117 3.24-2.51 6.175-5.789 6.593c1.17-1.187 1.815-2.444 2.12-3.375c.606-1.846.508-3.316.055-4.44a4.46 4.46 0 0 0-1.782-2.141c-1.683-1.02-3.22-1.09-4.444-.762c.465-.594.876-1.201 1.2-1.864c.584-1.65-.102-2.848-.704-3.519c-.192-.246-.061-.655.305-.655c1.41 0 2.813.02 4.22.115M3.32 19.107c1.924-2.202 4.712-5.394 7.162-8.15c.559-.63 2.769-2.338 5.748-.533c.878.532 2.43 2.165 1.332 5.51c-.803 2.446-4.408 7.796-15.76 5.844c-.227-.039-.511-.354-.218-.687z"/></svg>'
64
63
  }
65
64
  },
66
65
  {
67
- ariaLabel: "Tdahuyou B \u7AD9\u4E3B\u9875\u94FE\u63A5",
68
66
  link: "https://space.bilibili.com/407241004",
69
67
  icon: {
70
68
  svg: '<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><g fill="currentColor"><path d="M310.134 596.45c-7.999-4.463-16.498-8.43-24.997-11.9a274 274 0 0 0-26.996-7.438c-2.5-.992-2.5.991-2.5 1.487c0 7.934.5 18.843 1.5 27.768c1 7.438 2 15.372 4 22.81c0 .496 0 .991.5 1.487c.999.992 1.999 1.488 2.999.496c7.999-4.463 15.998-8.43 22.997-13.388c7.499-5.454 15.498-11.9 21.997-18.347c1.5-1.487 0-2.479.5-2.975m323.96-11.9a274 274 0 0 0-26.997-7.438c-2.5-.992-2.5.991-2.5 1.487c0 7.934.5 18.843 1.5 27.768c1 7.438 2 15.372 4 22.81c0 .496 0 .991.5 1.487c1 .992 2 1.488 3 .496c7.999-4.463 15.998-8.43 22.997-13.388c7.499-5.454 15.498-11.9 21.997-18.347c2-1.487.5-2.479.5-2.975c-7.5-4.463-16.498-8.43-24.997-11.9"/><path d="M741.496 112H283c-94.501 0-171 76.5-171 171.5v458c.5 94 77 170.5 170.999 170.5h457.997c94.5 0 171.002-76.5 171.002-170.5v-458c.497-95-76.002-171.5-170.502-171.5m95 343.5h15.5v48h-15.5zm-95.5-1.5l2 43l-13.5 1.5l-5-44.5zm-23.5 0l4 45.5l-14.5 1.5l-6.5-47.5h17zm-230.498 1.5h15v48h-15zm-96-1.5l2 43l-13.5 1.5l-5-44.5zm-23.5 0l4 45.5l-14.5 2l-6-47.5zm-3.5 149C343.498 668.5 216 662.5 204.5 660.5C195.5 499 181.5 464 170 385l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 47c.5 3 0 6-1.5 8.5m20.5 35.5l-23.5-124h35.5l13 123zm44.5-8l-27-235l33.5-1.5l21 236H429zm34-175h17.5v48H467zm41 190h-26.5l-9.5-126h36zm209.998-43C693.496 668 565.997 662 554.497 660c-9-161-23-196-34.5-275l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 46.5c.5 3 0 6-1.5 8.5m19.5 36l-23-124h35.5l13 123zm45.5-8l-27.5-235l33.5-1.5l21 236h-27zm33.5-175h17.5v48h-13zm41 190h-26.5l-9.5-126h36z"/></g></svg>'
71
69
  }
72
70
  },
73
71
  {
74
- ariaLabel: `${name} github \u4ED3\u5E93\u94FE\u63A5`,
75
72
  link: `https://github.com/tnotesjs/${name}`,
76
73
  icon: "github"
77
74
  }
package/dist/cli/index.js CHANGED
@@ -22,10 +22,10 @@ import {
22
22
  parseArgs,
23
23
  parseReadmeCompletedNotes,
24
24
  runCommand
25
- } from "../chunk-4MO7F7Q4.js";
25
+ } from "../chunk-BSTQOJVE.js";
26
26
  import {
27
27
  ConfigManager
28
- } from "../chunk-SQVHJR2Z.js";
28
+ } from "../chunk-O4DCXHOV.js";
29
29
 
30
30
  // commands/update/UpdateCommand.ts
31
31
  import { existsSync, readFileSync, writeFileSync } from "fs";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ConfigManager,
3
3
  getConfigManager
4
- } from "./chunk-SQVHJR2Z.js";
4
+ } from "./chunk-O4DCXHOV.js";
5
5
  export {
6
6
  ConfigManager,
7
7
  getConfigManager
@@ -7,8 +7,8 @@ import {
7
7
  UpdateNoteConfigCommand,
8
8
  generateAnchor,
9
9
  logger
10
- } from "../../chunk-4MO7F7Q4.js";
11
- import "../../chunk-SQVHJR2Z.js";
10
+ } from "../../chunk-BSTQOJVE.js";
11
+ import "../../chunk-O4DCXHOV.js";
12
12
 
13
13
  // vitepress/config/index.ts
14
14
  import fs2 from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tnotesjs/core",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "TNotes 知识库核心框架 —— 基于 VitePress 的笔记管理系统",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -62,14 +62,13 @@
62
62
  "@eslint/js": "^9.39.4",
63
63
  "@types/markdown-it": "^14.1.2",
64
64
  "@types/node": "^24.6.2",
65
- "@typescript-eslint/parser": "^8.59.0",
66
65
  "eslint": "^9.39.4",
67
66
  "eslint-plugin-import": "^2.32.0",
68
67
  "eslint-plugin-vue": "^10.9.0",
69
- "globals": "^17.5.0",
68
+ "globals": "^17.6.0",
70
69
  "tsup": "^8.5.1",
71
70
  "typescript": "^5.9.3",
72
- "typescript-eslint": "^8.59.0",
71
+ "typescript-eslint": "^8.59.1",
73
72
  "vue-eslint-parser": "^10.4.0",
74
73
  "vue-tsc": "^3.2.7"
75
74
  },
package/types/config.ts CHANGED
@@ -1,61 +1,60 @@
1
- /**
2
- * .vitepress/tnotes/types/config.ts
3
- *
4
- * 配置相关类型定义
5
- */
6
-
7
- /**
8
- * 知识库的 .tnotes.json 配置文件类型
9
- */
10
- export interface TNotesConfig {
11
- id?: string
12
- author: string
13
- ignore_dirs: string[]
14
- repoName: string
15
- keywords: string[]
16
- socialLinks: SocialLink[]
17
- menuItems: MenuItem[]
18
- sidebarShowNoteId: boolean
19
- port?: number
20
- packageManager?: 'pnpm' | 'npm' | 'yarn'
21
- root_item: RootItem
22
- }
23
-
24
- /**
25
- * 图标配置
26
- */
27
- export interface IconConfig {
28
- svg?: string
29
- src?: string
30
- }
31
-
32
- /**
33
- * 社交链接类型
34
- */
35
- export interface SocialLink {
36
- ariaLabel?: string
37
- icon: string | IconConfig
38
- link: string
39
- }
40
-
41
- /**
42
- * 菜单项类型
43
- */
44
- export interface MenuItem {
45
- text: string
46
- link: string
47
- }
48
-
49
- /**
50
- * 根项目配置
51
- */
52
- export interface RootItem {
53
- icon?: IconConfig
54
- title: string
55
- completed_notes_count: Record<string, number>
56
- details: string
57
- link: string
58
- created_at?: number
59
- updated_at?: number
60
- days_since_birth?: number
61
- }
1
+ /**
2
+ * .vitepress/tnotes/types/config.ts
3
+ *
4
+ * 配置相关类型定义
5
+ */
6
+
7
+ /**
8
+ * 知识库的 .tnotes.json 配置文件类型
9
+ */
10
+ export interface TNotesConfig {
11
+ id?: string
12
+ author: string
13
+ ignore_dirs: string[]
14
+ repoName: string
15
+ keywords: string[]
16
+ socialLinks: SocialLink[]
17
+ menuItems: MenuItem[]
18
+ sidebarShowNoteId: boolean
19
+ port?: number
20
+ packageManager?: 'pnpm' | 'npm' | 'yarn'
21
+ root_item: RootItem
22
+ }
23
+
24
+ /**
25
+ * 图标配置
26
+ */
27
+ export interface IconConfig {
28
+ svg?: string
29
+ src?: string
30
+ }
31
+
32
+ /**
33
+ * 社交链接类型
34
+ */
35
+ export interface SocialLink {
36
+ icon: string | IconConfig
37
+ link: string
38
+ }
39
+
40
+ /**
41
+ * 菜单项类型
42
+ */
43
+ export interface MenuItem {
44
+ text: string
45
+ link: string
46
+ }
47
+
48
+ /**
49
+ * 根项目配置
50
+ */
51
+ export interface RootItem {
52
+ icon?: IconConfig
53
+ title: string
54
+ completed_notes_count: Record<string, number>
55
+ details: string
56
+ link: string
57
+ created_at?: number
58
+ updated_at?: number
59
+ days_since_birth?: number
60
+ }
package/types/index.ts CHANGED
@@ -1,11 +1,11 @@
1
- /**
2
- * .vitepress/tnotes/types/index.ts
3
- *
4
- * 类型定义统一导出
5
- */
6
-
7
- // 配置相关类型
8
- export type { TNotesConfig } from './config'
9
-
10
- // 笔记相关类型
11
- export type { NoteConfig, NoteInfo } from './note'
1
+ /**
2
+ * .vitepress/tnotes/types/index.ts
3
+ *
4
+ * 类型定义统一导出
5
+ */
6
+
7
+ // 配置相关类型
8
+ export type { TNotesConfig } from './config'
9
+
10
+ // 笔记相关类型
11
+ export type { NoteConfig, NoteInfo } from './note'
package/types/note.ts CHANGED
@@ -1,33 +1,33 @@
1
- /**
2
- * .vitepress/tnotes/types/note.ts
3
- *
4
- * 笔记相关类型定义
5
- */
6
-
7
- /**
8
- * 笔记的 .tnotes.json 配置类型
9
- */
10
- export interface NoteConfig {
11
- id: string
12
- bilibili: string[]
13
- tnotes: string[]
14
- yuque: string[]
15
- done: boolean
16
- category?: string
17
- enableDiscussions: boolean
18
- description?: string // 笔记简介(一句话描述)
19
- created_at?: number
20
- updated_at?: number
21
- }
22
-
23
- /**
24
- * 笔记信息
25
- */
26
- export interface NoteInfo {
27
- index: string
28
- path: string
29
- dirName: string
30
- readmePath: string
31
- configPath: string
32
- config?: NoteConfig
33
- }
1
+ /**
2
+ * .vitepress/tnotes/types/note.ts
3
+ *
4
+ * 笔记相关类型定义
5
+ */
6
+
7
+ /**
8
+ * 笔记的 .tnotes.json 配置类型
9
+ */
10
+ export interface NoteConfig {
11
+ id: string
12
+ bilibili: string[]
13
+ tnotes: string[]
14
+ yuque: string[]
15
+ done: boolean
16
+ category?: string
17
+ enableDiscussions: boolean
18
+ description?: string // 笔记简介(一句话描述)
19
+ created_at?: number
20
+ updated_at?: number
21
+ }
22
+
23
+ /**
24
+ * 笔记信息
25
+ */
26
+ export interface NoteInfo {
27
+ index: string
28
+ path: string
29
+ dirName: string
30
+ readmePath: string
31
+ configPath: string
32
+ config?: NoteConfig
33
+ }
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
- <polyline points="20 6 9 17 4 12"></polyline>
3
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
+ <polyline points="20 6 9 17 4 12"></polyline>
3
+ </svg>
@@ -1,8 +1,8 @@
1
- <svg t="1735090484450" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4809"
2
- width="1em" height="1em">
3
- <path
4
- d="M752 176V64c0-35.3-28.7-64-64-64H144c-35.3 0-64 28.7-64 64v704c0 35.3 28.7 64 64 64h112c8.8 0 16 7.2 16 16v112c0 35.3 28.7 64 64 64h544c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H768c-8.8 0-16-7.2-16-16zM256 768h-96c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h512c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H336c-35.3 0-64 28.7-64 64v496c0 8.8-7.2 16-16 16z m608 192H352c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h512c8.8 0 16 7.2 16 16v672c0 8.8-7.2 16-16 16z"
5
- p-id="4810" fill="#646cff"></path>
6
- <path d="M704 352H512c-17.7 0-32-14.3-32-32s14.3-32 32-32h192c17.7 0 32 14.3 32 32s-14.3 32-32 32z" p-id="4811"
7
- fill="#646cff"></path>
1
+ <svg t="1735090484450" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4809"
2
+ width="1em" height="1em">
3
+ <path
4
+ d="M752 176V64c0-35.3-28.7-64-64-64H144c-35.3 0-64 28.7-64 64v704c0 35.3 28.7 64 64 64h112c8.8 0 16 7.2 16 16v112c0 35.3 28.7 64 64 64h544c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H768c-8.8 0-16-7.2-16-16zM256 768h-96c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h512c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H336c-35.3 0-64 28.7-64 64v496c0 8.8-7.2 16-16 16z m608 192H352c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h512c8.8 0 16 7.2 16 16v672c0 8.8-7.2 16-16 16z"
5
+ p-id="4810" fill="#646cff"></path>
6
+ <path d="M704 352H512c-17.7 0-32-14.3-32-32s14.3-32 32-32h192c17.7 0 32 14.3 32 32s-14.3 32-32 32z" p-id="4811"
7
+ fill="#646cff"></path>
8
8
  </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="m3 3l18 18M3 21L21 3"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="m3 3l18 18M3 21L21 3"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="#646cff" d="M17.1 5L14 8.1L29.9 24L14 39.9l3.1 3.1L36 24z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="#646cff" d="M17.1 5L14 8.1L29.9 24L14 39.9l3.1 3.1L36 24z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-dasharray="24" stroke-dashoffset="24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 11l6 6l10 -10"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.4s" values="24;0"/></path></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-dasharray="24" stroke-dashoffset="24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 11l6 6l10 -10"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.4s" values="24;0"/></path></svg>
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
3
- <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
4
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
+ <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
3
+ <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
4
+ </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M19 12a7 7 0 1 1-14 0a7 7 0 0 1 14 0"/><path stroke="#646cff" stroke-linecap="square" stroke-width="2" d="M19 12a7 7 0 0 1-7 7m7-7a7 7 0 0 0-7-7m7 7h3m-10 7a7 7 0 0 1-7-7m7 7v3M5 12a7 7 0 0 1 7-7m-7 7H2m10-7V2m1 10a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M19 12a7 7 0 1 1-14 0a7 7 0 0 1 14 0"/><path stroke="#646cff" stroke-linecap="square" stroke-width="2" d="M19 12a7 7 0 0 1-7 7m7-7a7 7 0 0 0-7-7m7 7h3m-10 7a7 7 0 0 1-7-7m7 7v3M5 12a7 7 0 0 1 7-7m-7 7H2m10-7V2m1 10a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/></g></svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
- <path fill="#5961ff" d="M2 4h20v2H2zm0 5.57L5.887 12L2 14.43zM7 11h15v2H7zm-5 7h20v2H2z" />
3
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#5961ff" d="M2 4h20v2H2zm0 5.57L5.887 12L2 14.43zM7 11h15v2H7zm-5 7h20v2H2z" />
3
+ </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="#5961ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2 11V4.6a.6.6 0 0 1 .6-.6h6.178a.6.6 0 0 1 .39.144l3.164 2.712a.6.6 0 0 0 .39.144H21.4a.6.6 0 0 1 .6.6V11M2 11v8.4a.6.6 0 0 0 .6.6h18.8a.6.6 0 0 0 .6-.6V11M2 11h20"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="#5961ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2 11V4.6a.6.6 0 0 1 .6-.6h6.178a.6.6 0 0 1 .39.144l3.164 2.712a.6.6 0 0 0 .39.144H21.4a.6.6 0 0 1 .6.6V11M2 11v8.4a.6.6 0 0 0 .6.6h18.8a.6.6 0 0 0 .6-.6V11M2 11h20"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path d="M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"/><path fill="#646cff" d="M9.793 12.793a1 1 0 0 1 1.497 1.32l-.083.094L6.414 19H9a1 1 0 0 1 .117 1.993L9 21H4a1 1 0 0 1-.993-.883L3 20v-5a1 1 0 0 1 1.993-.117L5 15v2.586zM20 3a1 1 0 0 1 .993.883L21 4v5a1 1 0 0 1-1.993.117L19 9V6.414l-4.793 4.793a1 1 0 0 1-1.497-1.32l.083-.094L17.586 5H15a1 1 0 0 1-.117-1.993L15 3z"/></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path d="M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"/><path fill="#646cff" d="M9.793 12.793a1 1 0 0 1 1.497 1.32l-.083.094L6.414 19H9a1 1 0 0 1 .117 1.993L9 21H4a1 1 0 0 1-.993-.883L3 20v-5a1 1 0 0 1 1.993-.117L5 15v2.586zM20 3a1 1 0 0 1 .993.883L21 4v5a1 1 0 0 1-1.993.117L19 9V6.414l-4.793 4.793a1 1 0 0 1-1.497-1.32l.083-.094L17.586 5H15a1 1 0 0 1-.117-1.993L15 3z"/></g></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#646cff" d="m10 15.4l-5.9 5.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7L8.6 14H5q-.425 0-.712-.288T4 13t.288-.712T5 12h6q.425 0 .713.288T12 13v6q0 .425-.288.713T11 20t-.712-.288T10 19zm5.4-5.4H19q.425 0 .713.288T20 11t-.288.713T19 12h-6q-.425 0-.712-.288T12 11V5q0-.425.288-.712T13 4t.713.288T14 5v3.6l5.9-5.9q.275-.275.7-.275t.7.275t.275.7t-.275.7z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#646cff" d="m10 15.4l-5.9 5.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7L8.6 14H5q-.425 0-.712-.288T4 13t.288-.712T5 12h6q.425 0 .713.288T12 13v6q0 .425-.288.713T11 20t-.712-.288T10 19zm5.4-5.4H19q.425 0 .713.288T20 11t-.288.713T19 12h-6q-.425 0-.712-.288T12 11V5q0-.425.288-.712T13 4t.713.288T14 5v3.6l5.9-5.9q.275-.275.7-.275t.7.275t.275.7t-.275.7z"/></svg>
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
2
- <path fill="#646cff"
3
- d="M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
2
+ <path fill="#646cff"
3
+ d="M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
4
4
  </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="none" stroke="#646cff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M26 24h16M26 38h16M26 10h16M18 24H6h4m8 14c-6-2-2-14-8-14m8-14c-6 2-2 14-8 14"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="none" stroke="#646cff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M26 24h16M26 38h16M26 10h16M18 24H6h4m8 14c-6-2-2-14-8-14m8-14c-6 2-2 14-8 14"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="m9 6l6 6l-6 6"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="m9 6l6 6l-6 6"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#98989f" d="M6.44 13.8q0 .26-.007.531q-.007.272-.007.545c0 .4-.325.726-.726.726h-.486a.726.726 0 0 1-.725-.726q0-.273-.007-.545a22 22 0 0 1-.006-.531v-1.504q0-.258.025-.647q.033-.396.059-.804q.032-.408.026-.713l-.052-1.931a4 4 0 0 1 .499-.065a8 8 0 0 1 .9 0c.296.016.506.279.506.575zm-3.254.985c.095 0 .89-.004 1.08 0c-.095 0 .19.004 0 0h2.16c.1 0 .337.004.54 0c-.095 0 .207-.004 0 0h.285c.466 0 .854.325.854.79c0 .488-.346.83-.833.83H3.018a.49.49 0 0 1-.493-.408a3.6 3.6 0 0 1-.019-.638c.023-.343.336-.574.68-.574m-.888-3.253c-.276-.38-.036-.863.342-1.142q.54-.4.928-.809c.406-.428.698-1.112.966-1.38c.093.035.203.227.307.464c.299.68.281 1.494-.21 2.05a4.8 4.8 0 0 1-1.151.943c-.392.236-.905.238-1.182-.126m7.547-.907c-.464-.171-.574-.73-.331-1.16a3 3 0 0 1 .247-.376A2.76 2.76 0 0 1 12.003 8q.83 0 1.446.324q.615.318.952.9q.345.578.344 1.362q0 .544-.214.985t-.564.816t-.771.733l-.927.725l-.486.409q-.26.221-.447.427c-.125.139-.045.005-.05.104l-.107.804a.94.94 0 0 1-.932.816a.88.88 0 0 1-.707-.337a7 7 0 0 1-.207-.285a1.2 1.2 0 0 1-.207-.674q0-.356.201-.72q.207-.362.544-.725q.345-.369.74-.726l1.405-1.212q.285-.246.48-.538q.195-.291.194-.66a.88.88 0 0 0-.233-.623q-.233-.26-.66-.259a.91.91 0 0 0-.753.363l-.034.044c-.293.384-.708.73-1.165.572m3.88 4.166c.74-.003 1.402.665.942 1.245q-.29.37-.979.37h-3.252a.76.76 0 0 1-.695-.451c-.182-.404.02-.877.454-.968q.189-.039.396-.072c.912-.155 1.845-.132 2.77-.125l.327.002h.038Zm6.208-1.004q0-.512-.337-.784a1.2 1.2 0 0 0-.81-.279q-.181 0-.357.04c-.222.049-.468.051-.628-.111a2 2 0 0 1-.195-.24c-.142-.212-.266-.29-.266-.616c.672-.149.776-.161 1.07-.226c.294-.07.473-.117.978-.117q.745 0 1.335.279q.59.271.934.81q.343.531.343 1.315a2.6 2.6 0 0 1-.253 1.167a2.5 2.5 0 0 1-.68.855q-.434.35-.998.532q-.564.18-1.193.181a4.6 4.6 0 0 1-1.613-.266a5 5 0 0 1-.519-.233c-.427-.227-.602-.749-.337-1.153c.265-.394.804-.375 1.235-.175l.055.025q.428.182.92.182q.403 0 .694-.143q.297-.149.46-.414q.162-.267.162-.629m.337-2.625a3.2 3.2 0 0 1-.616.486a5.5 5.5 0 0 1-.68.363c-.3.13-.165-.347-.49-.318l-1.144.104c.19-.343 1.2-1.173 1.2-1.173q.123-.123.285-.278a19 19 0 0 1 .564-.5a.05.05 0 0 0 .016-.062a.06.06 0 0 0-.063-.033a3 3 0 0 1-.45.027q-.045.001-.09.005c-.114.009-.214-.02-.352-.005c-.15.013-.274 0-.434 0h-.903c-.256 0-.668-.064-.693-.32a4 4 0 0 1-.02-.324q0-.188.033-.44c.04-.312.344-.493.657-.493h3.389c.478 0 .955.248 1.093.706q.084.272.085.48q0 .428-.39.836z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#98989f" d="M6.44 13.8q0 .26-.007.531q-.007.272-.007.545c0 .4-.325.726-.726.726h-.486a.726.726 0 0 1-.725-.726q0-.273-.007-.545a22 22 0 0 1-.006-.531v-1.504q0-.258.025-.647q.033-.396.059-.804q.032-.408.026-.713l-.052-1.931a4 4 0 0 1 .499-.065a8 8 0 0 1 .9 0c.296.016.506.279.506.575zm-3.254.985c.095 0 .89-.004 1.08 0c-.095 0 .19.004 0 0h2.16c.1 0 .337.004.54 0c-.095 0 .207-.004 0 0h.285c.466 0 .854.325.854.79c0 .488-.346.83-.833.83H3.018a.49.49 0 0 1-.493-.408a3.6 3.6 0 0 1-.019-.638c.023-.343.336-.574.68-.574m-.888-3.253c-.276-.38-.036-.863.342-1.142q.54-.4.928-.809c.406-.428.698-1.112.966-1.38c.093.035.203.227.307.464c.299.68.281 1.494-.21 2.05a4.8 4.8 0 0 1-1.151.943c-.392.236-.905.238-1.182-.126m7.547-.907c-.464-.171-.574-.73-.331-1.16a3 3 0 0 1 .247-.376A2.76 2.76 0 0 1 12.003 8q.83 0 1.446.324q.615.318.952.9q.345.578.344 1.362q0 .544-.214.985t-.564.816t-.771.733l-.927.725l-.486.409q-.26.221-.447.427c-.125.139-.045.005-.05.104l-.107.804a.94.94 0 0 1-.932.816a.88.88 0 0 1-.707-.337a7 7 0 0 1-.207-.285a1.2 1.2 0 0 1-.207-.674q0-.356.201-.72q.207-.362.544-.725q.345-.369.74-.726l1.405-1.212q.285-.246.48-.538q.195-.291.194-.66a.88.88 0 0 0-.233-.623q-.233-.26-.66-.259a.91.91 0 0 0-.753.363l-.034.044c-.293.384-.708.73-1.165.572m3.88 4.166c.74-.003 1.402.665.942 1.245q-.29.37-.979.37h-3.252a.76.76 0 0 1-.695-.451c-.182-.404.02-.877.454-.968q.189-.039.396-.072c.912-.155 1.845-.132 2.77-.125l.327.002h.038Zm6.208-1.004q0-.512-.337-.784a1.2 1.2 0 0 0-.81-.279q-.181 0-.357.04c-.222.049-.468.051-.628-.111a2 2 0 0 1-.195-.24c-.142-.212-.266-.29-.266-.616c.672-.149.776-.161 1.07-.226c.294-.07.473-.117.978-.117q.745 0 1.335.279q.59.271.934.81q.343.531.343 1.315a2.6 2.6 0 0 1-.253 1.167a2.5 2.5 0 0 1-.68.855q-.434.35-.998.532q-.564.18-1.193.181a4.6 4.6 0 0 1-1.613-.266a5 5 0 0 1-.519-.233c-.427-.227-.602-.749-.337-1.153c.265-.394.804-.375 1.235-.175l.055.025q.428.182.92.182q.403 0 .694-.143q.297-.149.46-.414q.162-.267.162-.629m.337-2.625a3.2 3.2 0 0 1-.616.486a5.5 5.5 0 0 1-.68.363c-.3.13-.165-.347-.49-.318l-1.144.104c.19-.343 1.2-1.173 1.2-1.173q.123-.123.285-.278a19 19 0 0 1 .564-.5a.05.05 0 0 0 .016-.062a.06.06 0 0 0-.063-.033a3 3 0 0 1-.45.027q-.045.001-.09.005c-.114.009-.214-.02-.352-.005c-.15.013-.274 0-.434 0h-.903c-.256 0-.668-.064-.693-.32a4 4 0 0 1-.02-.324q0-.188.033-.44c.04-.312.344-.493.657-.493h3.389c.478 0 .955.248 1.093.706q.084.272.085.48q0 .428-.39.836z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#646cff" d="M6.44 13.8q0 .26-.007.531q-.007.272-.007.545c0 .4-.325.726-.726.726h-.486a.726.726 0 0 1-.725-.726q0-.273-.007-.545a22 22 0 0 1-.006-.531v-1.504q0-.258.025-.647q.033-.396.059-.804q.032-.408.026-.713l-.052-1.931a4 4 0 0 1 .499-.065a8 8 0 0 1 .9 0c.296.016.506.279.506.575zm-3.254.985c.095 0 .89-.004 1.08 0c-.095 0 .19.004 0 0h2.16c.1 0 .337.004.54 0c-.095 0 .207-.004 0 0h.285c.466 0 .854.325.854.79c0 .488-.346.83-.833.83H3.018a.49.49 0 0 1-.493-.408a3.6 3.6 0 0 1-.019-.638c.023-.343.336-.574.68-.574m-.888-3.253c-.276-.38-.036-.863.342-1.142q.54-.4.928-.809c.406-.428.698-1.112.966-1.38c.093.035.203.227.307.464c.299.68.281 1.494-.21 2.05a4.8 4.8 0 0 1-1.151.943c-.392.236-.905.238-1.182-.126m7.547-.907c-.464-.171-.574-.73-.331-1.16a3 3 0 0 1 .247-.376A2.76 2.76 0 0 1 12.003 8q.83 0 1.446.324q.615.318.952.9q.345.578.344 1.362q0 .544-.214.985t-.564.816t-.771.733l-.927.725l-.486.409q-.26.221-.447.427c-.125.139-.045.005-.05.104l-.107.804a.94.94 0 0 1-.932.816a.88.88 0 0 1-.707-.337a7 7 0 0 1-.207-.285a1.2 1.2 0 0 1-.207-.674q0-.356.201-.72q.207-.362.544-.725q.345-.369.74-.726l1.405-1.212q.285-.246.48-.538q.195-.291.194-.66a.88.88 0 0 0-.233-.623q-.233-.26-.66-.259a.91.91 0 0 0-.753.363l-.034.044c-.293.384-.708.73-1.165.572m3.88 4.166c.74-.003 1.402.665.942 1.245q-.29.37-.979.37h-3.252a.76.76 0 0 1-.695-.451c-.182-.404.02-.877.454-.968q.189-.039.396-.072c.912-.155 1.845-.132 2.77-.125l.327.002h.038Zm6.208-1.004q0-.512-.337-.784a1.2 1.2 0 0 0-.81-.279q-.181 0-.357.04c-.222.049-.468.051-.628-.111a2 2 0 0 1-.195-.24c-.142-.212-.266-.29-.266-.616c.672-.149.776-.161 1.07-.226c.294-.07.473-.117.978-.117q.745 0 1.335.279q.59.271.934.81q.343.531.343 1.315a2.6 2.6 0 0 1-.253 1.167a2.5 2.5 0 0 1-.68.855q-.434.35-.998.532q-.564.18-1.193.181a4.6 4.6 0 0 1-1.613-.266a5 5 0 0 1-.519-.233c-.427-.227-.602-.749-.337-1.153c.265-.394.804-.375 1.235-.175l.055.025q.428.182.92.182q.403 0 .694-.143q.297-.149.46-.414q.162-.267.162-.629m.337-2.625a3.2 3.2 0 0 1-.616.486a5.5 5.5 0 0 1-.68.363c-.3.13-.165-.347-.49-.318l-1.144.104c.19-.343 1.2-1.173 1.2-1.173q.123-.123.285-.278a19 19 0 0 1 .564-.5a.05.05 0 0 0 .016-.062a.06.06 0 0 0-.063-.033a3 3 0 0 1-.45.027q-.045.001-.09.005c-.114.009-.214-.02-.352-.005c-.15.013-.274 0-.434 0h-.903c-.256 0-.668-.064-.693-.32a4 4 0 0 1-.02-.324q0-.188.033-.44c.04-.312.344-.493.657-.493h3.389c.478 0 .955.248 1.093.706q.084.272.085.48q0 .428-.39.836z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#646cff" d="M6.44 13.8q0 .26-.007.531q-.007.272-.007.545c0 .4-.325.726-.726.726h-.486a.726.726 0 0 1-.725-.726q0-.273-.007-.545a22 22 0 0 1-.006-.531v-1.504q0-.258.025-.647q.033-.396.059-.804q.032-.408.026-.713l-.052-1.931a4 4 0 0 1 .499-.065a8 8 0 0 1 .9 0c.296.016.506.279.506.575zm-3.254.985c.095 0 .89-.004 1.08 0c-.095 0 .19.004 0 0h2.16c.1 0 .337.004.54 0c-.095 0 .207-.004 0 0h.285c.466 0 .854.325.854.79c0 .488-.346.83-.833.83H3.018a.49.49 0 0 1-.493-.408a3.6 3.6 0 0 1-.019-.638c.023-.343.336-.574.68-.574m-.888-3.253c-.276-.38-.036-.863.342-1.142q.54-.4.928-.809c.406-.428.698-1.112.966-1.38c.093.035.203.227.307.464c.299.68.281 1.494-.21 2.05a4.8 4.8 0 0 1-1.151.943c-.392.236-.905.238-1.182-.126m7.547-.907c-.464-.171-.574-.73-.331-1.16a3 3 0 0 1 .247-.376A2.76 2.76 0 0 1 12.003 8q.83 0 1.446.324q.615.318.952.9q.345.578.344 1.362q0 .544-.214.985t-.564.816t-.771.733l-.927.725l-.486.409q-.26.221-.447.427c-.125.139-.045.005-.05.104l-.107.804a.94.94 0 0 1-.932.816a.88.88 0 0 1-.707-.337a7 7 0 0 1-.207-.285a1.2 1.2 0 0 1-.207-.674q0-.356.201-.72q.207-.362.544-.725q.345-.369.74-.726l1.405-1.212q.285-.246.48-.538q.195-.291.194-.66a.88.88 0 0 0-.233-.623q-.233-.26-.66-.259a.91.91 0 0 0-.753.363l-.034.044c-.293.384-.708.73-1.165.572m3.88 4.166c.74-.003 1.402.665.942 1.245q-.29.37-.979.37h-3.252a.76.76 0 0 1-.695-.451c-.182-.404.02-.877.454-.968q.189-.039.396-.072c.912-.155 1.845-.132 2.77-.125l.327.002h.038Zm6.208-1.004q0-.512-.337-.784a1.2 1.2 0 0 0-.81-.279q-.181 0-.357.04c-.222.049-.468.051-.628-.111a2 2 0 0 1-.195-.24c-.142-.212-.266-.29-.266-.616c.672-.149.776-.161 1.07-.226c.294-.07.473-.117.978-.117q.745 0 1.335.279q.59.271.934.81q.343.531.343 1.315a2.6 2.6 0 0 1-.253 1.167a2.5 2.5 0 0 1-.68.855q-.434.35-.998.532q-.564.18-1.193.181a4.6 4.6 0 0 1-1.613-.266a5 5 0 0 1-.519-.233c-.427-.227-.602-.749-.337-1.153c.265-.394.804-.375 1.235-.175l.055.025q.428.182.92.182q.403 0 .694-.143q.297-.149.46-.414q.162-.267.162-.629m.337-2.625a3.2 3.2 0 0 1-.616.486a5.5 5.5 0 0 1-.68.363c-.3.13-.165-.347-.49-.318l-1.144.104c.19-.343 1.2-1.173 1.2-1.173q.123-.123.285-.278a19 19 0 0 1 .564-.5a.05.05 0 0 0 .016-.062a.06.06 0 0 0-.063-.033a3 3 0 0 1-.45.027q-.045.001-.09.005c-.114.009-.214-.02-.352-.005c-.15.013-.274 0-.434 0h-.903c-.256 0-.668-.064-.693-.32a4 4 0 0 1-.02-.324q0-.188.033-.44c.04-.312.344-.493.657-.493h3.389c.478 0 .955.248 1.093.706q.084.272.085.48q0 .428-.39.836z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="m15 6l-6 6l6 6"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="m15 6l-6 6l6 6"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="M17.333 9.333C16.398 7.36 14.358 6 12 6a6 6 0 1 0 6 6m.5-6v4h-4"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="#646cff" stroke-width="2" d="M17.333 9.333C16.398 7.36 14.358 6 12 6a6 6 0 1 0 6 6m.5-6v4h-4"/></svg>