typedoc 0.27.9 → 0.28.0-beta.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.
Files changed (324) hide show
  1. package/README.md +26 -26
  2. package/bin/package.json +1 -1
  3. package/dist/browser-locales/en.d.ts +2 -0
  4. package/dist/browser-locales/en.js +62 -0
  5. package/dist/browser-locales/ja.d.ts +2 -0
  6. package/dist/browser-locales/ja.js +62 -0
  7. package/dist/browser-locales/ko.d.ts +2 -0
  8. package/dist/browser-locales/ko.js +62 -0
  9. package/dist/browser-locales/zh.d.ts +2 -0
  10. package/dist/browser-locales/zh.js +62 -0
  11. package/dist/browser-utils.d.ts +3 -0
  12. package/dist/browser-utils.js +3 -0
  13. package/dist/index.d.ts +15 -9
  14. package/dist/index.js +13 -7
  15. package/dist/lib/application.d.ts +9 -10
  16. package/dist/lib/application.js +75 -56
  17. package/dist/lib/cli.js +4 -3
  18. package/dist/lib/converter/comments/blockLexer.js +2 -2
  19. package/dist/lib/converter/comments/declarationReferenceResolver.d.ts +1 -1
  20. package/dist/lib/converter/comments/declarationReferenceResolver.js +8 -10
  21. package/dist/lib/converter/comments/discovery.d.ts +1 -1
  22. package/dist/lib/converter/comments/discovery.js +3 -4
  23. package/dist/lib/converter/comments/index.d.ts +1 -1
  24. package/dist/lib/converter/comments/index.js +5 -7
  25. package/dist/lib/converter/comments/linkResolver.d.ts +1 -1
  26. package/dist/lib/converter/comments/linkResolver.js +10 -16
  27. package/dist/lib/converter/comments/parser.d.ts +2 -2
  28. package/dist/lib/converter/comments/parser.js +8 -8
  29. package/dist/lib/converter/comments/textParser.d.ts +3 -2
  30. package/dist/lib/converter/comments/textParser.js +1 -2
  31. package/dist/lib/converter/context.d.ts +13 -14
  32. package/dist/lib/converter/context.js +49 -13
  33. package/dist/lib/converter/converter.d.ts +10 -5
  34. package/dist/lib/converter/converter.js +59 -42
  35. package/dist/lib/converter/factories/index-signature.js +3 -2
  36. package/dist/lib/converter/factories/signature.js +5 -6
  37. package/dist/lib/converter/factories/symbol-id.d.ts +4 -0
  38. package/dist/lib/converter/factories/symbol-id.js +92 -0
  39. package/dist/lib/converter/factories/types.d.ts +4 -0
  40. package/dist/lib/converter/factories/types.js +13 -0
  41. package/dist/lib/converter/index.d.ts +3 -4
  42. package/dist/lib/converter/index.js +2 -2
  43. package/dist/lib/converter/jsdoc.js +5 -4
  44. package/dist/lib/converter/plugins/CategoryPlugin.js +4 -2
  45. package/dist/lib/converter/plugins/CommentPlugin.d.ts +0 -1
  46. package/dist/lib/converter/plugins/CommentPlugin.js +8 -6
  47. package/dist/lib/converter/plugins/GroupPlugin.d.ts +2 -3
  48. package/dist/lib/converter/plugins/GroupPlugin.js +8 -7
  49. package/dist/lib/converter/plugins/ImplementsPlugin.js +6 -8
  50. package/dist/lib/converter/plugins/IncludePlugin.d.ts +1 -1
  51. package/dist/lib/converter/plugins/IncludePlugin.js +19 -16
  52. package/dist/lib/converter/plugins/InheritDocPlugin.js +7 -9
  53. package/dist/lib/converter/plugins/MergeModuleWithPlugin.js +3 -2
  54. package/dist/lib/converter/plugins/PackagePlugin.d.ts +3 -2
  55. package/dist/lib/converter/plugins/PackagePlugin.js +23 -19
  56. package/dist/lib/converter/plugins/SourcePlugin.d.ts +2 -1
  57. package/dist/lib/converter/plugins/SourcePlugin.js +10 -9
  58. package/dist/lib/converter/plugins/TypePlugin.d.ts +1 -1
  59. package/dist/lib/converter/plugins/TypePlugin.js +1 -1
  60. package/dist/lib/converter/plugins/index.d.ts +1 -1
  61. package/dist/lib/converter/plugins/index.js +1 -1
  62. package/dist/lib/converter/symbols.js +103 -32
  63. package/dist/lib/converter/types.js +14 -13
  64. package/dist/lib/converter/utils/repository.d.ts +1 -1
  65. package/dist/lib/converter/utils/repository.js +2 -2
  66. package/dist/lib/debug/index.d.ts +2 -2
  67. package/dist/lib/debug/index.js +2 -2
  68. package/dist/lib/debug/{debugReflectionLifetimes.d.ts → reflectionLifetimes.d.ts} +2 -1
  69. package/dist/lib/debug/{debugReflectionLifetimes.js → reflectionLifetimes.js} +12 -4
  70. package/dist/lib/debug/{debugRendererUrls.d.ts → rendererUrls.d.ts} +1 -0
  71. package/dist/lib/debug/rendererUrls.js +68 -0
  72. package/dist/lib/internationalization/index.d.ts +2 -1
  73. package/dist/lib/internationalization/index.js +2 -1
  74. package/dist/lib/internationalization/internationalization.d.ts +16 -46
  75. package/dist/lib/internationalization/internationalization.js +44 -213
  76. package/dist/lib/internationalization/locales/en.cjs +9 -1
  77. package/dist/lib/internationalization/locales/en.d.cts +9 -1
  78. package/dist/lib/internationalization/locales/ja.cjs +1 -0
  79. package/dist/lib/internationalization/locales/zh.cjs +61 -5
  80. package/dist/lib/internationalization/locales/zh.d.cts +26 -2
  81. package/dist/lib/internationalization/translatable.d.ts +2 -1
  82. package/dist/lib/models/{comments/comment.d.ts → Comment.d.ts} +9 -8
  83. package/dist/lib/models/{comments/comment.js → Comment.js} +15 -18
  84. package/dist/lib/models/{reflections/container.d.ts → ContainerReflection.d.ts} +6 -6
  85. package/dist/lib/models/{reflections/container.js → ContainerReflection.js} +4 -5
  86. package/dist/lib/models/{reflections/declaration.d.ts → DeclarationReflection.d.ts} +11 -19
  87. package/dist/lib/models/{reflections/declaration.js → DeclarationReflection.js} +11 -29
  88. package/dist/lib/models/{reflections/document.d.ts → DocumentReflection.d.ts} +3 -3
  89. package/dist/lib/models/{reflections/document.js → DocumentReflection.js} +3 -3
  90. package/dist/lib/models/FileRegistry.d.ts +12 -20
  91. package/dist/lib/models/FileRegistry.js +8 -44
  92. package/dist/lib/models/{reflections/parameter.d.ts → ParameterReflection.d.ts} +4 -4
  93. package/dist/lib/models/{reflections/parameter.js → ParameterReflection.js} +2 -2
  94. package/dist/lib/models/{reflections/project.d.ts → ProjectReflection.d.ts} +12 -21
  95. package/dist/lib/models/{reflections/project.js → ProjectReflection.js} +16 -48
  96. package/dist/lib/models/{reflections/reference.d.ts → ReferenceReflection.d.ts} +3 -3
  97. package/dist/lib/models/{reflections/reference.js → ReferenceReflection.js} +3 -4
  98. package/dist/lib/models/{reflections/abstract.d.ts → Reflection.d.ts} +15 -28
  99. package/dist/lib/models/{reflections/abstract.js → Reflection.js} +38 -21
  100. package/dist/lib/models/ReflectionCategory.d.ts +2 -6
  101. package/dist/lib/models/ReflectionCategory.js +3 -9
  102. package/dist/lib/models/ReflectionGroup.d.ts +1 -5
  103. package/dist/lib/models/ReflectionGroup.js +2 -8
  104. package/dist/lib/models/{reflections/ReflectionSymbolId.d.ts → ReflectionSymbolId.d.ts} +23 -10
  105. package/dist/lib/models/ReflectionSymbolId.js +75 -0
  106. package/dist/lib/models/{reflections/signature.d.ts → SignatureReflection.d.ts} +8 -7
  107. package/dist/lib/models/{reflections/signature.js → SignatureReflection.js} +7 -11
  108. package/dist/lib/models/{sources/file.d.ts → SourceReference.d.ts} +3 -4
  109. package/dist/lib/models/{reflections/type-parameter.d.ts → TypeParameterReflection.d.ts} +6 -5
  110. package/dist/lib/models/{reflections/type-parameter.js → TypeParameterReflection.js} +4 -1
  111. package/dist/lib/models/index.d.ts +18 -6
  112. package/dist/lib/models/index.js +18 -6
  113. package/dist/lib/models/{reflections/kind.d.ts → kind.d.ts} +2 -8
  114. package/dist/lib/models/{reflections/kind.js → kind.js} +99 -30
  115. package/dist/lib/models/types.d.ts +8 -10
  116. package/dist/lib/models/types.js +11 -22
  117. package/dist/lib/models/{reflections/variant.d.ts → variant.d.ts} +7 -7
  118. package/dist/lib/output/components.d.ts +2 -2
  119. package/dist/lib/output/components.js +1 -1
  120. package/dist/lib/output/events.d.ts +10 -18
  121. package/dist/lib/output/events.js +10 -27
  122. package/dist/lib/output/formatter.d.ts +8 -5
  123. package/dist/lib/output/formatter.js +45 -18
  124. package/dist/lib/output/index.d.ts +4 -5
  125. package/dist/lib/output/index.js +4 -4
  126. package/dist/lib/output/output.js +5 -4
  127. package/dist/lib/output/plugins/AssetsPlugin.js +7 -6
  128. package/dist/lib/output/plugins/HierarchyPlugin.js +4 -3
  129. package/dist/lib/output/plugins/IconsPlugin.js +3 -3
  130. package/dist/lib/output/plugins/JavascriptIndexPlugin.js +12 -17
  131. package/dist/lib/output/plugins/SitemapPlugin.js +6 -7
  132. package/dist/lib/output/renderer.d.ts +22 -14
  133. package/dist/lib/output/renderer.js +76 -36
  134. package/dist/lib/output/router.d.ts +175 -0
  135. package/dist/lib/output/router.js +478 -0
  136. package/dist/lib/output/theme.d.ts +3 -28
  137. package/dist/lib/output/theme.js +2 -15
  138. package/dist/lib/output/themes/MarkedPlugin.d.ts +2 -2
  139. package/dist/lib/output/themes/MarkedPlugin.js +32 -30
  140. package/dist/lib/output/themes/default/DefaultTheme.d.ts +11 -40
  141. package/dist/lib/output/themes/default/DefaultTheme.js +207 -406
  142. package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts +49 -47
  143. package/dist/lib/output/themes/default/DefaultThemeRenderContext.js +17 -14
  144. package/dist/lib/output/themes/default/Slugger.js +1 -1
  145. package/dist/lib/output/themes/default/layouts/default.d.ts +1 -1
  146. package/dist/lib/output/themes/default/layouts/default.js +6 -6
  147. package/dist/lib/output/themes/default/partials/anchor-icon.d.ts +4 -1
  148. package/dist/lib/output/themes/default/partials/anchor-icon.js +12 -2
  149. package/dist/lib/output/themes/default/partials/breadcrumb.d.ts +2 -2
  150. package/dist/lib/output/themes/default/partials/breadcrumb.js +11 -5
  151. package/dist/lib/output/themes/default/partials/comment.d.ts +1 -1
  152. package/dist/lib/output/themes/default/partials/comment.js +9 -9
  153. package/dist/lib/output/themes/default/partials/footer.d.ts +1 -1
  154. package/dist/lib/output/themes/default/partials/footer.js +2 -2
  155. package/dist/lib/output/themes/default/partials/header.d.ts +2 -2
  156. package/dist/lib/output/themes/default/partials/header.js +4 -3
  157. package/dist/lib/output/themes/default/partials/hierarchy.d.ts +1 -1
  158. package/dist/lib/output/themes/default/partials/hierarchy.js +10 -8
  159. package/dist/lib/output/themes/default/partials/icon.d.ts +2 -3
  160. package/dist/lib/output/themes/default/partials/icon.js +3 -3
  161. package/dist/lib/output/themes/default/partials/index.d.ts +1 -1
  162. package/dist/lib/output/themes/default/partials/index.js +10 -18
  163. package/dist/lib/output/themes/default/partials/member.d.ts +1 -1
  164. package/dist/lib/output/themes/default/partials/member.declaration.d.ts +1 -1
  165. package/dist/lib/output/themes/default/partials/member.declaration.js +2 -2
  166. package/dist/lib/output/themes/default/partials/member.getterSetter.d.ts +1 -1
  167. package/dist/lib/output/themes/default/partials/member.getterSetter.js +5 -5
  168. package/dist/lib/output/themes/default/partials/member.js +10 -9
  169. package/dist/lib/output/themes/default/partials/member.signature.body.d.ts +1 -1
  170. package/dist/lib/output/themes/default/partials/member.signature.body.js +4 -4
  171. package/dist/lib/output/themes/default/partials/member.signature.title.d.ts +1 -1
  172. package/dist/lib/output/themes/default/partials/member.signature.title.js +1 -1
  173. package/dist/lib/output/themes/default/partials/member.signatures.d.ts +1 -1
  174. package/dist/lib/output/themes/default/partials/member.signatures.js +4 -4
  175. package/dist/lib/output/themes/default/partials/member.sources.d.ts +1 -1
  176. package/dist/lib/output/themes/default/partials/member.sources.js +7 -7
  177. package/dist/lib/output/themes/default/partials/members.d.ts +1 -1
  178. package/dist/lib/output/themes/default/partials/members.js +2 -2
  179. package/dist/lib/output/themes/default/partials/moduleReflection.d.ts +2 -2
  180. package/dist/lib/output/themes/default/partials/moduleReflection.js +5 -5
  181. package/dist/lib/output/themes/default/partials/navigation.d.ts +1 -1
  182. package/dist/lib/output/themes/default/partials/navigation.js +17 -15
  183. package/dist/lib/output/themes/default/partials/reflectionPreview.d.ts +1 -1
  184. package/dist/lib/output/themes/default/partials/reflectionPreview.js +2 -2
  185. package/dist/lib/output/themes/default/partials/toolbar.d.ts +1 -1
  186. package/dist/lib/output/themes/default/partials/toolbar.js +10 -13
  187. package/dist/lib/output/themes/default/partials/type.d.ts +1 -1
  188. package/dist/lib/output/themes/default/partials/type.js +1 -1
  189. package/dist/lib/output/themes/default/partials/typeAndParent.d.ts +1 -1
  190. package/dist/lib/output/themes/default/partials/typeAndParent.js +3 -3
  191. package/dist/lib/output/themes/default/partials/typeDetails.d.ts +1 -1
  192. package/dist/lib/output/themes/default/partials/typeDetails.js +23 -19
  193. package/dist/lib/output/themes/default/partials/typeParameters.d.ts +1 -1
  194. package/dist/lib/output/themes/default/partials/typeParameters.js +12 -7
  195. package/dist/lib/output/themes/default/templates/document.d.ts +1 -1
  196. package/dist/lib/output/themes/default/templates/document.js +2 -2
  197. package/dist/lib/output/themes/default/templates/hierarchy.d.ts +1 -1
  198. package/dist/lib/output/themes/default/templates/hierarchy.js +4 -3
  199. package/dist/lib/output/themes/default/templates/index.d.ts +1 -1
  200. package/dist/lib/output/themes/default/templates/index.js +2 -2
  201. package/dist/lib/output/themes/default/templates/reflection.d.ts +1 -1
  202. package/dist/lib/output/themes/default/templates/reflection.js +9 -12
  203. package/dist/lib/output/themes/lib.d.ts +1 -1
  204. package/dist/lib/output/themes/lib.js +3 -3
  205. package/dist/lib/serialization/components.d.ts +1 -1
  206. package/dist/lib/serialization/deserializer.d.ts +9 -13
  207. package/dist/lib/serialization/deserializer.js +22 -24
  208. package/dist/lib/serialization/events.d.ts +1 -1
  209. package/dist/lib/serialization/index.d.ts +1 -1
  210. package/dist/lib/serialization/index.js +1 -1
  211. package/dist/lib/serialization/schema.d.ts +15 -10
  212. package/dist/lib/serialization/schema.js +1 -1
  213. package/dist/lib/serialization/serializer.d.ts +4 -4
  214. package/dist/lib/serialization/serializer.js +1 -2
  215. package/dist/lib/utils/ValidatingFileRegistry.d.ts +10 -0
  216. package/dist/lib/utils/ValidatingFileRegistry.js +34 -0
  217. package/dist/lib/utils/component.d.ts +1 -1
  218. package/dist/lib/utils/component.js +1 -1
  219. package/dist/lib/utils/entry-point.d.ts +3 -3
  220. package/dist/lib/utils/entry-point.js +29 -26
  221. package/dist/lib/utils/fs.d.ts +5 -13
  222. package/dist/lib/utils/fs.js +11 -67
  223. package/dist/lib/utils/general.d.ts +1 -47
  224. package/dist/lib/utils/general.js +4 -74
  225. package/dist/lib/utils/highlighter.js +1 -2
  226. package/dist/lib/utils/html.d.ts +0 -1
  227. package/dist/lib/utils/html.js +4 -13
  228. package/dist/lib/utils/index.d.ts +9 -17
  229. package/dist/lib/utils/index.js +8 -15
  230. package/dist/lib/utils/loggers.d.ts +5 -108
  231. package/dist/lib/utils/loggers.js +24 -168
  232. package/dist/lib/utils/options/declaration.d.ts +63 -38
  233. package/dist/lib/utils/options/declaration.js +124 -66
  234. package/dist/lib/utils/options/defaults.d.ts +1 -1
  235. package/dist/lib/utils/options/help.d.ts +1 -2
  236. package/dist/lib/utils/options/help.js +5 -5
  237. package/dist/lib/utils/options/index.d.ts +4 -4
  238. package/dist/lib/utils/options/index.js +3 -3
  239. package/dist/lib/utils/options/options.d.ts +3 -6
  240. package/dist/lib/utils/options/options.js +10 -12
  241. package/dist/lib/utils/options/readers/arguments.d.ts +2 -2
  242. package/dist/lib/utils/options/readers/arguments.js +4 -3
  243. package/dist/lib/utils/options/readers/package-json.d.ts +1 -1
  244. package/dist/lib/utils/options/readers/package-json.js +3 -2
  245. package/dist/lib/utils/options/readers/tsconfig.d.ts +1 -1
  246. package/dist/lib/utils/options/readers/tsconfig.js +27 -27
  247. package/dist/lib/utils/options/readers/typedoc.d.ts +1 -1
  248. package/dist/lib/utils/options/readers/typedoc.js +8 -9
  249. package/dist/lib/utils/options/sources/typedoc.js +143 -135
  250. package/dist/lib/utils/options/tsdoc-defaults.d.ts +1 -1
  251. package/dist/lib/utils/options/tsdoc-defaults.js +3 -1
  252. package/dist/lib/utils/package-manifest.d.ts +3 -3
  253. package/dist/lib/utils/package-manifest.js +9 -8
  254. package/dist/lib/utils/paths.d.ts +17 -6
  255. package/dist/lib/utils/paths.js +94 -11
  256. package/dist/lib/utils/perf.d.ts +4 -1
  257. package/dist/lib/utils/perf.js +32 -13
  258. package/dist/lib/utils/plugins.js +4 -3
  259. package/dist/lib/utils/sort.d.ts +1 -1
  260. package/dist/lib/utils/sort.js +8 -3
  261. package/dist/lib/utils/tsconfig.d.ts +1 -1
  262. package/dist/lib/utils/tsconfig.js +4 -3
  263. package/dist/lib/utils-common/general.d.ts +40 -0
  264. package/dist/lib/utils-common/general.js +20 -0
  265. package/dist/lib/utils-common/i18n.d.ts +17 -0
  266. package/dist/lib/utils-common/i18n.js +39 -0
  267. package/dist/lib/utils-common/index.d.ts +16 -0
  268. package/dist/lib/utils-common/index.js +18 -0
  269. package/dist/lib/{utils → utils-common}/jsx.d.ts +3 -3
  270. package/dist/lib/{utils → utils-common}/jsx.js +1 -1
  271. package/dist/lib/utils-common/logger.d.ts +86 -0
  272. package/dist/lib/utils-common/logger.js +120 -0
  273. package/dist/lib/{utils → utils-common}/minimalSourceFile.d.ts +7 -2
  274. package/dist/lib/{utils → utils-common}/minimalSourceFile.js +3 -2
  275. package/dist/lib/utils-common/path.d.ts +35 -0
  276. package/dist/lib/utils-common/path.js +123 -0
  277. package/dist/lib/utils-common/string.d.ts +11 -0
  278. package/dist/lib/utils-common/string.js +84 -0
  279. package/dist/lib/validation/documentation.d.ts +2 -2
  280. package/dist/lib/validation/documentation.js +5 -6
  281. package/dist/lib/validation/exports.d.ts +1 -1
  282. package/dist/lib/validation/exports.js +4 -4
  283. package/dist/lib/validation/links.d.ts +1 -1
  284. package/dist/lib/validation/links.js +9 -8
  285. package/dist/lib/validation/unusedMergeModuleWith.d.ts +1 -1
  286. package/dist/lib/validation/unusedMergeModuleWith.js +3 -2
  287. package/package.json +57 -36
  288. package/static/main.js +4 -4
  289. package/static/style.css +232 -209
  290. package/tsdoc.json +8 -0
  291. package/dist/lib/debug/debugRendererUrls.js +0 -59
  292. package/dist/lib/internationalization/locales/jp.cjs +0 -3
  293. package/dist/lib/internationalization/locales/jp.d.cts +0 -2
  294. package/dist/lib/models/comments/index.d.ts +0 -2
  295. package/dist/lib/models/comments/index.js +0 -1
  296. package/dist/lib/models/reflections/ReflectionSymbolId.js +0 -133
  297. package/dist/lib/models/reflections/index.d.ts +0 -15
  298. package/dist/lib/models/reflections/index.js +0 -12
  299. package/dist/lib/models/sources/index.d.ts +0 -1
  300. package/dist/lib/models/sources/index.js +0 -1
  301. package/dist/lib/output/models/UrlMapping.d.ts +0 -13
  302. package/dist/lib/output/models/UrlMapping.js +0 -10
  303. /package/dist/lib/models/{sources/file.js → SourceReference.js} +0 -0
  304. /package/dist/lib/models/{reflections/utils.d.ts → utils.d.ts} +0 -0
  305. /package/dist/lib/models/{reflections/utils.js → utils.js} +0 -0
  306. /package/dist/lib/models/{reflections/variant.js → variant.js} +0 -0
  307. /package/dist/lib/{utils → utils-common}/array.d.ts +0 -0
  308. /package/dist/lib/{utils → utils-common}/array.js +0 -0
  309. /package/dist/lib/{converter/comments → utils-common}/declarationReference.d.ts +0 -0
  310. /package/dist/lib/{converter/comments → utils-common}/declarationReference.js +0 -0
  311. /package/dist/lib/{utils → utils-common}/enum.d.ts +0 -0
  312. /package/dist/lib/{utils → utils-common}/enum.js +0 -0
  313. /package/dist/lib/{utils → utils-common}/events.d.ts +0 -0
  314. /package/dist/lib/{utils → utils-common}/events.js +0 -0
  315. /package/dist/lib/{utils → utils-common}/hooks.d.ts +0 -0
  316. /package/dist/lib/{utils → utils-common}/hooks.js +0 -0
  317. /package/dist/lib/{utils → utils-common}/jsx.elements.d.ts +0 -0
  318. /package/dist/lib/{utils → utils-common}/jsx.elements.js +0 -0
  319. /package/dist/lib/{utils → utils-common}/map.d.ts +0 -0
  320. /package/dist/lib/{utils → utils-common}/map.js +0 -0
  321. /package/dist/lib/{utils → utils-common}/set.d.ts +0 -0
  322. /package/dist/lib/{utils → utils-common}/set.js +0 -0
  323. /package/dist/lib/{utils → utils-common}/validation.d.ts +0 -0
  324. /package/dist/lib/{utils → utils-common}/validation.js +0 -0
@@ -10,6 +10,8 @@ module.exports = localeUtils.buildIncompleteTranslation({
10
10
  loaded_plugin_0: "已加载插件 {0}",
11
11
  solution_not_supported_in_watch_mode: "提供的 tsconfig 文件看起来像解决方案样式的 tsconfig,在监视模式下不受支持",
12
12
  strategy_not_supported_in_watch_mode: "对于监视模式,entryPointStrategy 必须设置为 resolve 或 expand",
13
+ file_0_changed_restarting: "配置文件 {0} 已更改:需要重新启动……",
14
+ file_0_changed_rebuilding: "文件 {0} 已更改:正在重新构建输出……",
13
15
  found_0_errors_and_1_warnings: "发现 {0} 个错误和 {1} 个警告",
14
16
  output_0_could_not_be_generated: "由于以上错误无法生成 {0} 输出",
15
17
  output_0_generated_at_1: "已生成 {0} 输出,位于 {1}",
@@ -33,6 +35,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
33
35
  comment_for_0_should_not_contain_block_or_modifier_tags: "{0} 的注释不应包含任何块级标签或修饰符标签",
34
36
  symbol_0_has_multiple_declarations_with_comment: "{0} 有多个带注释的声明。将使用任意注释",
35
37
  comments_for_0_are_declared_at_1: "{0} 的注释声明于:\n{1}",
38
+ // comments/parser.ts
36
39
  multiple_type_parameters_on_template_tag_unsupported: "TypeDoc 不支持在带有注释的单个 @template 标签中定义多个类型参数",
37
40
  failed_to_find_jsdoc_tag_for_name_0: "解析注释后无法找到 {0} 的 JSDoc 标签,请提交错误报告",
38
41
  relative_path_0_is_not_a_file_and_will_not_be_copied_to_output: "找不到相对路径 {0} 对应的文件,该文件不会被复制至输出目录",
@@ -51,6 +54,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
51
54
  unknown_inline_tag_0: "遇到未知的内联标签 {0}",
52
55
  open_brace_within_inline_tag: "在内联标签中遇到左括号,这可能是一个错误",
53
56
  inline_tag_not_closed: "内联标签未关闭",
57
+ // validation
54
58
  failed_to_resolve_link_to_0_in_comment_for_1: "无法解析 {1} 注释中指向 “{0}” 的链接",
55
59
  failed_to_resolve_link_to_0_in_comment_for_1_may_have_meant_2: "无法解析 {1} 的注释中指向 “{0}” 的链接。您可能想要 “{2}”",
56
60
  failed_to_resolve_link_to_0_in_readme_for_1: "无法解析 {1} 的自述文件中指向 “{0}” 的链接",
@@ -59,9 +63,11 @@ module.exports = localeUtils.buildIncompleteTranslation({
59
63
  failed_to_resolve_link_to_0_in_document_1_may_have_meant_2: "无法解析文档 {1} 中指向 “{0}” 的链接。您可能想要 “{2}”",
60
64
  type_0_defined_in_1_is_referenced_by_2_but_not_included_in_docs: "{0} 在 {1} 中定义,被 {2} 引用,但未包含在文档中",
61
65
  reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档",
62
- invalid_intentionally_not_exported_symbols_0: "以下符号被标记为有意不导出,但未在文档中引用,或已被导出:\n{0}",
66
+ invalid_intentionally_not_documented_names_0: "以下的限定反射名称被设定为刻意无文档说明,但它们要么未在文档中被引用,要么已有文档说明:\n\t{0}",
67
+ invalid_intentionally_not_exported_symbols_0: "以下符号被设定为刻意非导出,但它们要么未在文档中被引用,要么已为导出符号:\n{0}",
63
68
  reflection_0_has_unused_mergeModuleWith_tag: "{0} 中存在无法解析的 @mergeModuleWith 标签",
64
69
  reflection_0_links_to_1_with_text_2_but_resolved_to_3: "“{0}”中的链接“{2}”指向“{1}”,目标虽然存在但并没有直接的链接,因此将改为链接至“{3}”。",
70
+ // conversion plugins
65
71
  not_all_search_category_boosts_used_0: "文档中并未使用 searchCategoryBoosts 中指定的所有类别。未使用的类别包括:\n{0}",
66
72
  not_all_search_group_boosts_used_0: "文档中并未使用 searchGroupBoosts 中指定的所有组。未使用的组为:\n{0}",
67
73
  comment_for_0_includes_categoryDescription_for_1_but_no_child_in_group: "{0} 的评论包含“{1}”的 @categoryDescription,但该类别中没有子项",
@@ -81,16 +87,30 @@ module.exports = localeUtils.buildIncompleteTranslation({
81
87
  reflection_0_tried_to_merge_into_child_1: "反射 {0} 尝试使用 @mergeModuleWith 合并到其子项之一:{1}",
82
88
  include_0_in_1_specified_2_resolved_to_3_does_not_exist: "{1} 的注释中 {0} 标签指定了包含 “{2}”,解析为 “{3}”,该文件并不存在或并非文件。",
83
89
  include_0_in_1_specified_2_circular_include_3: "{1} 的注释中 {0} 标签指定了包含 “{2}”,导致了循环包含:\n\t{3}",
90
+ include_0_tag_in_1_specified_2_file_3_region_4_region_not_found: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件找不到该区域。`,
91
+ include_0_tag_in_1_region_2_region_not_supported: `{1} 中的 标签 {0} 指定了 “{2}”,但尚不支持对应的文件扩展名。`,
92
+ include_0_tag_in_1_specified_2_file_3_region_4_region_close_not_found: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中找不到该区域的结束注释。`,
93
+ include_0_tag_in_1_specified_2_file_3_region_4_region_open_not_found: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中找不到该区域的起始注释。`,
94
+ include_0_tag_in_1_specified_2_file_3_region_4_region_close_found_multiple_times: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域的结束注释出现了多次。`,
95
+ include_0_tag_in_1_specified_2_file_3_region_4_region_open_found_multiple_times: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域的起始注释出现了多次。`,
96
+ include_0_tag_in_1_specified_2_file_3_region_4_region_found_multiple_times: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域出现了多次。`,
97
+ include_0_tag_in_1_specified_2_file_3_region_4_region_empty: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域不包含内容或仅包含空白字符。`,
98
+ include_0_tag_in_1_specified_2_file_3_lines_4_invalid_range: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中的 {4} 行,但指定的行范围无效。`,
99
+ include_0_tag_in_1_specified_2_file_3_lines_4_but_only_5_lines: `{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中的 {4} 行,但该文件只有 {5} 行。`,
100
+ // output plugins
84
101
  custom_css_file_0_does_not_exist: "{0} 处的自定义 CSS 文件不存在",
85
102
  custom_js_file_0_does_not_exist: "{0} 处的自定义 JavaScript 文件不存在",
86
103
  unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中使用了不支持的高亮语言 {0} ,因此该语言将不会被高亮",
87
104
  unloaded_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中语言为 {0} 的代码块将不会被高亮,因为该语言未包含在 highlightLanguages 选项中",
88
105
  yaml_frontmatter_not_an_object: "YAML Frontmatter 应当为对象",
106
+ // renderer
89
107
  could_not_write_0: "无法写入 {0}",
90
108
  could_not_empty_output_directory_0: "无法清空输出目录 {0}",
91
109
  could_not_create_output_directory_0: "无法创建输出目录 {0}",
92
110
  theme_0_is_not_defined_available_are_1: "主题“{0}”未定义。可用主题为:{1}",
111
+ router_0_is_not_defined_available_are_1: `路由 “{0}” 未定义。可用的路由为:{1}`,
93
112
  reflection_0_links_to_1_but_anchor_does_not_exist_try_2: "{0} 链接至 {1},但对应锚点不存在。你是否是指:\n\t{2}",
113
+ // entry points
94
114
  no_entry_points_provided: "没有提供入口点,这可能是配置错误",
95
115
  unable_to_find_any_entry_points: "无法找到任何入口点。请参阅先前的警告",
96
116
  watch_does_not_support_packages_mode: "监视模式不支持“包”样式的入口点",
@@ -99,12 +119,15 @@ module.exports = localeUtils.buildIncompleteTranslation({
99
119
  failed_to_resolve_0_to_ts_path: "无法将 package.json 中的入口点 {0} 解析至 TypeScript 源文件",
100
120
  use_expand_or_glob_for_files_in_dir: "如果要包含此目录中的文件,请设置 --entryPointStrategy 以展开或指定 glob",
101
121
  glob_0_did_not_match_any_files: "glob {0} 与任何文件均不匹配",
122
+ glob_should_use_posix_slash: `请将 Windows 路径分隔符(\\)替换为 POSIX 路径分隔符(/)`,
102
123
  entry_point_0_did_not_match_any_files_after_exclude: "应用排除模式后,glob {0} 没有匹配任何文件",
103
124
  entry_point_0_did_not_exist: "提供的入口点 {0} 不存在",
104
125
  entry_point_0_did_not_match_any_packages: "入口点 glob {0} 与任何包含 package.json 的目录不匹配",
105
126
  file_0_not_an_object: "文件 {0} 不是对象",
127
+ // deserialization
106
128
  serialized_project_referenced_0_not_part_of_project: "序列化项目引用了反射 {0},但它不是项目的一部分",
107
129
  saved_relative_path_0_resolved_from_1_is_not_a_file: "序列化项目引用的 {0} 不存在或无法在 {1} 下找到",
130
+ // options
108
131
  circular_reference_extends_0: "{0} 的“extends”字段出现循环引用",
109
132
  failed_resolve_0_to_file_in_1: "无法将 {0} 解析为 {1} 中的文件",
110
133
  option_0_can_only_be_specified_by_config_file: "“{0}”选项只能通过配置文件指定",
@@ -120,8 +143,10 @@ module.exports = localeUtils.buildIncompleteTranslation({
120
143
  invalid_tsdoc_json_0: "文件 {0} 不是有效的 tsdoc.json 文件",
121
144
  options_file_0_does_not_exist: "选项文件 {0} 不存在",
122
145
  failed_read_options_file_0: "无法解析 {0},请确保其存在并导出对象",
146
+ // plugins
123
147
  invalid_plugin_0_missing_load_function: "插件 {0} 中的结构无效,未找到加载函数",
124
148
  plugin_0_could_not_be_loaded: "无法加载插件 {0}",
149
+ // option declarations help
125
150
  help_options: "指定应加载的 json 选项文件。如果未指定,TypeDoc 将在当前目录中查找“typedoc.json”",
126
151
  help_tsconfig: "指定应加载的 TypeScript 配置文件。如果未指定,TypeDoc 将在当前目录中查找“tsconfig.json”",
127
152
  help_compilerOptions: "有选择地覆盖 TypeDoc 使用的 TypeScript 编译器选项",
@@ -149,6 +174,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
149
174
  help_pretty: "指定输出 JSON 是否应使用制表符进行格式化",
150
175
  help_emit: "指定 TypeDoc 应发出的内容,“docs”、“both”或“none”",
151
176
  help_theme: "指定用于呈现文档的主题名称",
177
+ help_router: "指定需要使用路由的名称以决定文档中文件的命名方式",
152
178
  help_lightHighlightTheme: "指定浅色模式下的代码高亮主题",
153
179
  help_darkHighlightTheme: "指定暗黑模式下的代码高亮主题",
154
180
  help_highlightLanguages: "指定渲染时将加载的代码高亮语言",
@@ -169,6 +195,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
169
195
  help_basePath: "指定显示文件路径时使用的基本路径",
170
196
  help_excludeTags: "从文档注释中删除列出的块级/修饰符标签",
171
197
  help_notRenderedTags: "保留在文档注释中但在创建输出时不渲染的标签",
198
+ help_cascadedModifierTags: "需要从父反射复制至所有子反射的修饰符标签",
172
199
  help_readme: "应显示在索引页上的自述文件路径。传递“none”以禁用索引页并在全局页上启动文档",
173
200
  help_cname: "设置 CNAME 文件文本,这对于 GitHub Pages 上的自定义域很有用",
174
201
  help_favicon: "作为站点图标包含的 favicon 的路径",
@@ -197,6 +224,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
197
224
  help_searchGroupBoosts: "配置搜索以增强所选种类(例如“类别”)的相关性",
198
225
  help_useFirstParagraphOfCommentAsSummary: "如果设置,且没有指定 @summary 标签,TypeDoc 会使用注释的第一行作为在模块/命名空间一览里的概述",
199
226
  help_jsDocCompatibility: "设置注释解析的兼容性选项,以增加与 JSDoc 注释的相似度",
227
+ help_suppressCommentWarningsInDeclarationFiles: "阻止 .d.ts 文件的注释中因为存在未指定的标签而弹出的警告。",
200
228
  help_commentStyle: "确定 TypeDoc 如何搜索注释",
201
229
  help_useTsLinkResolution: "使用 TypeScript 的链接解析来确定 @link 标签指向的位置。这仅适用于 JSDoc 样式注释",
202
230
  help_preserveLinkText: "如果设置,不带链接文本的 @link 标签将使用文本内容作为链接。如果未设置,将使用目标反射名称",
@@ -221,9 +249,14 @@ module.exports = localeUtils.buildIncompleteTranslation({
221
249
  help_logLevel: "指定应使用什么级别的日志记录",
222
250
  help_treatWarningsAsErrors: "如果设置,所有警告都将被视为错误",
223
251
  help_treatValidationWarningsAsErrors: "如果设置,验证期间发出的警告将被视为错误。此选项不能用于禁用验证警告的 treatWarningsAsErrors",
224
- help_intentionallyNotExported: "不应产生“引用但未记录”警告的类型列表",
225
- help_requiredToBeDocumented: "必须记录的反射类型列表",
252
+ help_intentionallyNotExported: "不会因为“引用但并未导出”而产生警告的符号列表",
253
+ help_requiredToBeDocumented: "需要有文档说明的反射类型列表",
254
+ help_packagesRequiringDocumentation: "需要有文档说明的包的列表",
255
+ help_intentionallyNotDocumented: "不会因为无文档说明而产生警告的完整反射名称列表",
226
256
  help_validation: "指定 TypeDoc 应对生成的文档执行哪些验证步骤",
257
+ // ==================================================================
258
+ // Option validation
259
+ // ==================================================================
227
260
  unknown_option_0_you_may_have_meant_1: "未知选项“{0}” 你可能指的是:\n{1}",
228
261
  option_0_must_be_between_1_and_2: "{0} 必须介于 {1} 和 {2} 之间",
229
262
  option_0_must_be_equal_to_or_greater_than_1: "{0} 必须等于或大于 {1}",
@@ -250,11 +283,13 @@ module.exports = localeUtils.buildIncompleteTranslation({
250
283
  option_0_specified_1_but_only_2_is_valid: "{0} 只能指定已知值,并且提供了无效值 ({1})。有效的排序策略为:\n{2}",
251
284
  option_outputs_must_be_array: "“outputs” 选项必须为一个数组,其成员均为 { name: string, path: string, options?: TypeDocOptions }。",
252
285
  specified_output_0_has_not_been_defined: "指定的输出类型 {0} 未被定义。",
286
+ // https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts
253
287
  alert_note: "注意",
254
288
  alert_tip: "提示",
255
289
  alert_important: "重要",
256
290
  alert_warning: "警告",
257
291
  alert_caution: "小心",
292
+ // ReflectionKind singular translations
258
293
  kind_project: "项目",
259
294
  kind_module: "模块",
260
295
  kind_namespace: "命名空间",
@@ -279,6 +314,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
279
314
  kind_type_alias: "类型别名",
280
315
  kind_reference: "参考",
281
316
  kind_document: "文档",
317
+ // ReflectionKind plural translations
282
318
  kind_plural_project: "项目",
283
319
  kind_plural_module: "模块",
284
320
  kind_plural_namespace: "命名空间",
@@ -303,6 +339,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
303
339
  kind_plural_type_alias: "类型别名",
304
340
  kind_plural_reference: "参考",
305
341
  kind_plural_document: "文档",
342
+ // ReflectionFlag translations
306
343
  flag_private: "私有",
307
344
  flag_protected: "受保护",
308
345
  flag_public: "公开",
@@ -314,6 +351,10 @@ module.exports = localeUtils.buildIncompleteTranslation({
314
351
  flag_const: "常量",
315
352
  flag_readonly: "只读",
316
353
  flag_inherited: "继承",
354
+ // ==================================================================
355
+ // Strings that show up in the default theme
356
+ // ==================================================================
357
+ // Page headings/labels
317
358
  theme_implements: "实现",
318
359
  theme_indexable: "可索引",
319
360
  theme_type_declaration: "类型声明",
@@ -327,10 +368,12 @@ module.exports = localeUtils.buildIncompleteTranslation({
327
368
  theme_inherited_from: "继承自",
328
369
  theme_overrides: "重写了",
329
370
  theme_returns: "返回",
330
- theme_generated_using_typedoc: "使用 TypeDoc 生成",
371
+ theme_generated_using_typedoc: "使用 TypeDoc 生成", // If this includes "TypeDoc", theme will insert a link at that location.
372
+ // Search
331
373
  theme_preparing_search_index: "正在准备搜索索引...",
332
- theme_search_index_not_available: "搜索索引不可用",
374
+ // Left nav bar
333
375
  theme_loading: "加载中……",
376
+ // Right nav bar
334
377
  theme_settings: "显示设置",
335
378
  theme_member_visibility: "成员可见性",
336
379
  theme_theme: "配色",
@@ -338,14 +381,24 @@ module.exports = localeUtils.buildIncompleteTranslation({
338
381
  theme_light: "浅色",
339
382
  theme_dark: "深色",
340
383
  theme_on_this_page: "目录",
384
+ // aria-label
341
385
  theme_search: "搜索",
342
386
  theme_menu: "菜单",
343
387
  theme_permalink: "永久链接",
388
+ theme_folder: "文件夹",
389
+ // Used by the frontend JS
390
+ // For the English translations only, these should also be added to
391
+ // src/lib/output/themes/default/assets/typedoc/Application.ts
392
+ // Also uses theme_folder and singular kinds
344
393
  theme_copy: "复制",
345
394
  theme_copied: "已复制!",
346
395
  theme_normally_hidden: "由于您的过滤器设置,该成员已被隐藏。",
347
396
  theme_hierarchy_expand: "展开",
348
397
  theme_hierarchy_collapse: "折叠",
398
+ theme_search_index_not_available: "搜索索引不可用",
399
+ theme_search_no_results_found_for_0: "找不到包含 {0} 的结果",
400
+ theme_search_placeholder: "搜索文档",
401
+ // Block tags
349
402
  tag_defaultValue: "默认值",
350
403
  tag_deprecated: "已被弃用",
351
404
  tag_example: "示例",
@@ -382,12 +435,14 @@ module.exports = localeUtils.buildIncompleteTranslation({
382
435
  tag_type: "类型",
383
436
  tag_typedef: "类型定义",
384
437
  tag_summary: "概述",
438
+ // Inline tags
385
439
  tag_link: "链接",
386
440
  tag_label: "标记",
387
441
  tag_linkcode: "链接",
388
442
  tag_linkplain: "链接",
389
443
  tag_include: "包含",
390
444
  tag_includeCode: "包含",
445
+ // Modifier tags
391
446
  tag_alpha: "alpha",
392
447
  tag_beta: "beta",
393
448
  tag_eventProperty: "事件属性",
@@ -418,4 +473,5 @@ module.exports = localeUtils.buildIncompleteTranslation({
418
473
  tag_showCategories: "在类别中显示",
419
474
  tag_showGroups: "在分组中显示",
420
475
  tag_useDeclaredType: "使用声明类型",
476
+ tag_primaryExport: "主要导出",
421
477
  });
@@ -5,6 +5,8 @@ declare const _default: {
5
5
  loaded_plugin_0: "已加载插件 {0}";
6
6
  solution_not_supported_in_watch_mode: string;
7
7
  strategy_not_supported_in_watch_mode: string;
8
+ file_0_changed_restarting: "配置文件 {0} 已更改:需要重新启动……";
9
+ file_0_changed_rebuilding: "文件 {0} 已更改:正在重新构建输出……";
8
10
  found_0_errors_and_1_warnings: "发现 {0} 个错误和 {1} 个警告";
9
11
  output_0_could_not_be_generated: "由于以上错误无法生成 {0} 输出";
10
12
  output_0_generated_at_1: "已生成 {0} 输出,位于 {1}";
@@ -54,7 +56,8 @@ declare const _default: {
54
56
  failed_to_resolve_link_to_0_in_document_1_may_have_meant_2: "无法解析文档 {1} 中指向 “{0}” 的链接。您可能想要 “{2}”";
55
57
  type_0_defined_in_1_is_referenced_by_2_but_not_included_in_docs: "{0} 在 {1} 中定义,被 {2} 引用,但未包含在文档中";
56
58
  reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档";
57
- invalid_intentionally_not_exported_symbols_0: "以下符号被标记为有意不导出,但未在文档中引用,或已被导出:\n{0}";
59
+ invalid_intentionally_not_documented_names_0: "以下的限定反射名称被设定为刻意无文档说明,但它们要么未在文档中被引用,要么已有文档说明:\n\t{0}";
60
+ invalid_intentionally_not_exported_symbols_0: "以下符号被设定为刻意非导出,但它们要么未在文档中被引用,要么已为导出符号:\n{0}";
58
61
  reflection_0_has_unused_mergeModuleWith_tag: "{0} 中存在无法解析的 @mergeModuleWith 标签";
59
62
  reflection_0_links_to_1_with_text_2_but_resolved_to_3: "“{0}”中的链接“{2}”指向“{1}”,目标虽然存在但并没有直接的链接,因此将改为链接至“{3}”。";
60
63
  not_all_search_category_boosts_used_0: "文档中并未使用 searchCategoryBoosts 中指定的所有类别。未使用的类别包括:\n{0}";
@@ -76,6 +79,16 @@ declare const _default: {
76
79
  reflection_0_tried_to_merge_into_child_1: "反射 {0} 尝试使用 @mergeModuleWith 合并到其子项之一:{1}";
77
80
  include_0_in_1_specified_2_resolved_to_3_does_not_exist: "{1} 的注释中 {0} 标签指定了包含 “{2}”,解析为 “{3}”,该文件并不存在或并非文件。";
78
81
  include_0_in_1_specified_2_circular_include_3: "{1} 的注释中 {0} 标签指定了包含 “{2}”,导致了循环包含:\n\t{3}";
82
+ include_0_tag_in_1_specified_2_file_3_region_4_region_not_found: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件找不到该区域。";
83
+ include_0_tag_in_1_region_2_region_not_supported: "{1} 中的 标签 {0} 指定了 “{2}”,但尚不支持对应的文件扩展名。";
84
+ include_0_tag_in_1_specified_2_file_3_region_4_region_close_not_found: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中找不到该区域的结束注释。";
85
+ include_0_tag_in_1_specified_2_file_3_region_4_region_open_not_found: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中找不到该区域的起始注释。";
86
+ include_0_tag_in_1_specified_2_file_3_region_4_region_close_found_multiple_times: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域的结束注释出现了多次。";
87
+ include_0_tag_in_1_specified_2_file_3_region_4_region_open_found_multiple_times: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域的起始注释出现了多次。";
88
+ include_0_tag_in_1_specified_2_file_3_region_4_region_found_multiple_times: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域出现了多次。";
89
+ include_0_tag_in_1_specified_2_file_3_region_4_region_empty: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中标记为 “{4}” 的区域,但在对应的文件中该区域不包含内容或仅包含空白字符。";
90
+ include_0_tag_in_1_specified_2_file_3_lines_4_invalid_range: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中的 {4} 行,但指定的行范围无效。";
91
+ include_0_tag_in_1_specified_2_file_3_lines_4_but_only_5_lines: "{1} 中的标签 {0} 指定 “{2}” 以包含文件 “{3}” 中的 {4} 行,但该文件只有 {5} 行。";
79
92
  custom_css_file_0_does_not_exist: "{0} 处的自定义 CSS 文件不存在";
80
93
  custom_js_file_0_does_not_exist: "{0} 处的自定义 JavaScript 文件不存在";
81
94
  unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中使用了不支持的高亮语言 {0} ,因此该语言将不会被高亮";
@@ -85,6 +98,7 @@ declare const _default: {
85
98
  could_not_empty_output_directory_0: "无法清空输出目录 {0}";
86
99
  could_not_create_output_directory_0: "无法创建输出目录 {0}";
87
100
  theme_0_is_not_defined_available_are_1: "主题“{0}”未定义。可用主题为:{1}";
101
+ router_0_is_not_defined_available_are_1: "路由 “{0}” 未定义。可用的路由为:{1}";
88
102
  reflection_0_links_to_1_but_anchor_does_not_exist_try_2: "{0} 链接至 {1},但对应锚点不存在。你是否是指:\n\t{2}";
89
103
  no_entry_points_provided: string;
90
104
  unable_to_find_any_entry_points: string;
@@ -94,6 +108,7 @@ declare const _default: {
94
108
  failed_to_resolve_0_to_ts_path: "无法将 package.json 中的入口点 {0} 解析至 TypeScript 源文件";
95
109
  use_expand_or_glob_for_files_in_dir: string;
96
110
  glob_0_did_not_match_any_files: "glob {0} 与任何文件均不匹配";
111
+ glob_should_use_posix_slash: string;
97
112
  entry_point_0_did_not_match_any_files_after_exclude: "应用排除模式后,glob {0} 没有匹配任何文件";
98
113
  entry_point_0_did_not_exist: "提供的入口点 {0} 不存在";
99
114
  entry_point_0_did_not_match_any_packages: "入口点 glob {0} 与任何包含 package.json 的目录不匹配";
@@ -144,6 +159,7 @@ declare const _default: {
144
159
  help_pretty: string;
145
160
  help_emit: string;
146
161
  help_theme: string;
162
+ help_router: string;
147
163
  help_lightHighlightTheme: string;
148
164
  help_darkHighlightTheme: string;
149
165
  help_highlightLanguages: string;
@@ -164,6 +180,7 @@ declare const _default: {
164
180
  help_basePath: string;
165
181
  help_excludeTags: string;
166
182
  help_notRenderedTags: string;
183
+ help_cascadedModifierTags: string;
167
184
  help_readme: string;
168
185
  help_cname: string;
169
186
  help_favicon: string;
@@ -192,6 +209,7 @@ declare const _default: {
192
209
  help_searchGroupBoosts: string;
193
210
  help_useFirstParagraphOfCommentAsSummary: string;
194
211
  help_jsDocCompatibility: string;
212
+ help_suppressCommentWarningsInDeclarationFiles: string;
195
213
  help_commentStyle: string;
196
214
  help_useTsLinkResolution: string;
197
215
  help_preserveLinkText: string;
@@ -218,6 +236,8 @@ declare const _default: {
218
236
  help_treatValidationWarningsAsErrors: string;
219
237
  help_intentionallyNotExported: string;
220
238
  help_requiredToBeDocumented: string;
239
+ help_packagesRequiringDocumentation: string;
240
+ help_intentionallyNotDocumented: string;
221
241
  help_validation: string;
222
242
  unknown_option_0_you_may_have_meant_1: "未知选项“{0}” 你可能指的是:\n{1}";
223
243
  option_0_must_be_between_1_and_2: "{0} 必须介于 {1} 和 {2} 之间";
@@ -324,7 +344,6 @@ declare const _default: {
324
344
  theme_returns: string;
325
345
  theme_generated_using_typedoc: string;
326
346
  theme_preparing_search_index: string;
327
- theme_search_index_not_available: string;
328
347
  theme_loading: string;
329
348
  theme_settings: string;
330
349
  theme_member_visibility: string;
@@ -336,11 +355,15 @@ declare const _default: {
336
355
  theme_search: string;
337
356
  theme_menu: string;
338
357
  theme_permalink: string;
358
+ theme_folder: string;
339
359
  theme_copy: string;
340
360
  theme_copied: string;
341
361
  theme_normally_hidden: string;
342
362
  theme_hierarchy_expand: string;
343
363
  theme_hierarchy_collapse: string;
364
+ theme_search_index_not_available: string;
365
+ theme_search_no_results_found_for_0: "找不到包含 {0} 的结果";
366
+ theme_search_placeholder: string;
344
367
  tag_defaultValue: string;
345
368
  tag_deprecated: string;
346
369
  tag_example: string;
@@ -413,5 +436,6 @@ declare const _default: {
413
436
  tag_showCategories: string;
414
437
  tag_showGroups: string;
415
438
  tag_useDeclaredType: string;
439
+ tag_primaryExport: string;
416
440
  };
417
441
  export = _default;
@@ -15,6 +15,7 @@ type TranslationConstraint = [
15
15
  BuildConstraint<0 | 1>,
16
16
  BuildConstraint<0 | 1 | 2>,
17
17
  BuildConstraint<0 | 1 | 2 | 3>,
18
- BuildConstraint<0 | 1 | 2 | 3 | 4>
18
+ BuildConstraint<0 | 1 | 2 | 3 | 4>,
19
+ BuildConstraint<0 | 1 | 2 | 3 | 4 | 5>
19
20
  ];
20
21
  export {};
@@ -1,6 +1,7 @@
1
- import type { Reflection } from "../reflections/index.js";
2
- import { ReflectionSymbolId } from "../reflections/ReflectionSymbolId.js";
3
- import type { Serializer, Deserializer, JSONOutput } from "../../serialization/index.js";
1
+ import { type NormalizedPath } from "#utils";
2
+ import type { Reflection } from "./Reflection.js";
3
+ import { ReflectionSymbolId } from "./ReflectionSymbolId.js";
4
+ import type { Deserializer, JSONOutput, Serializer } from "#serialization";
4
5
  /**
5
6
  * Represents a parsed piece of a comment.
6
7
  * @category Comments
@@ -17,7 +18,7 @@ export type CommentDisplayPart =
17
18
  /**
18
19
  * Represents a code block separated out form the plain text entry so
19
20
  * that TypeDoc knows to skip it when parsing relative links and inline tags.
20
- **/
21
+ */
21
22
  | {
22
23
  kind: "code";
23
24
  text: string;
@@ -104,7 +105,7 @@ export declare class CommentTag {
104
105
  */
105
106
  similarTo(other: CommentTag): boolean;
106
107
  clone(): CommentTag;
107
- toObject(serializer: Serializer): JSONOutput.CommentTag;
108
+ toObject(): JSONOutput.CommentTag;
108
109
  fromObject(de: Deserializer, obj: JSONOutput.CommentTag): void;
109
110
  }
110
111
  /**
@@ -124,9 +125,9 @@ export declare class Comment {
124
125
  * Helper utility to clone {@link Comment.summary} or {@link CommentTag.content}
125
126
  */
126
127
  static cloneDisplayParts(parts: readonly CommentDisplayPart[]): CommentDisplayPart[];
127
- static serializeDisplayParts(serializer: Serializer, parts: CommentDisplayPart[]): JSONOutput.CommentDisplayPart[];
128
+ static serializeDisplayParts(parts: CommentDisplayPart[]): JSONOutput.CommentDisplayPart[];
128
129
  /** @hidden no point in showing this signature in api docs */
129
- static serializeDisplayParts(serializer: Serializer, parts: CommentDisplayPart[] | undefined): JSONOutput.CommentDisplayPart[] | undefined;
130
+ static serializeDisplayParts(parts: CommentDisplayPart[] | undefined): JSONOutput.CommentDisplayPart[] | undefined;
130
131
  static deserializeDisplayParts(de: Deserializer, parts: JSONOutput.CommentDisplayPart[]): CommentDisplayPart[];
131
132
  /**
132
133
  * Splits the provided parts into a header (first line, as a string)
@@ -159,7 +160,7 @@ export declare class Comment {
159
160
  *
160
161
  * Note: This field is non-enumerable to make testing comment contents with `deepEqual` easier.
161
162
  */
162
- sourcePath?: string;
163
+ sourcePath?: NormalizedPath;
163
164
  /**
164
165
  * Internal discovery ID used to prevent symbol comments from
165
166
  * being duplicated on signatures. Only set when the comment was created
@@ -32,9 +32,8 @@ var __runInitializers = (this && this.__runInitializers) || function (thisArg, i
32
32
  }
33
33
  return useValue ? value : void 0;
34
34
  };
35
- import { assertNever, removeIf } from "../../utils/index.js";
36
- import { ReflectionSymbolId } from "../reflections/ReflectionSymbolId.js";
37
- import { NonEnumerable } from "../../utils/general.js";
35
+ import { assertNever, i18n, NonEnumerable, removeIf } from "#utils";
36
+ import { ReflectionSymbolId } from "./ReflectionSymbolId.js";
38
37
  /**
39
38
  * A model that represents a single TypeDoc comment tag.
40
39
  *
@@ -86,11 +85,11 @@ export class CommentTag {
86
85
  }
87
86
  return tag;
88
87
  }
89
- toObject(serializer) {
88
+ toObject() {
90
89
  return {
91
90
  tag: this.tag,
92
91
  name: this.name,
93
- content: Comment.serializeDisplayParts(serializer, this.content),
92
+ content: Comment.serializeDisplayParts(this.content),
94
93
  };
95
94
  }
96
95
  fromObject(de, obj) {
@@ -155,7 +154,7 @@ let Comment = (() => {
155
154
  static cloneDisplayParts(parts) {
156
155
  return parts.map((p) => ({ ...p }));
157
156
  }
158
- static serializeDisplayParts(serializer, parts) {
157
+ static serializeDisplayParts(parts) {
159
158
  return parts?.map((part) => {
160
159
  switch (part.kind) {
161
160
  case "text":
@@ -171,7 +170,7 @@ let Comment = (() => {
171
170
  target = part.target.id;
172
171
  }
173
172
  else {
174
- target = part.target.toObject(serializer);
173
+ target = part.target.toObject();
175
174
  }
176
175
  }
177
176
  return {
@@ -187,7 +186,7 @@ let Comment = (() => {
187
186
  }
188
187
  });
189
188
  }
190
- //Since display parts are plain objects, this lives here
189
+ // Since display parts are plain objects, this lives here
191
190
  static deserializeDisplayParts(de, parts) {
192
191
  const links = [];
193
192
  const files = [];
@@ -259,7 +258,7 @@ let Comment = (() => {
259
258
  for (const [oldId, part] of links) {
260
259
  part.target = project.getReflectionById(de.oldIdToNewId[oldId] ?? -1);
261
260
  if (!part.target) {
262
- de.logger.warn(de.application.i18n.serialized_project_referenced_0_not_part_of_project(oldId.toString()));
261
+ de.logger.warn(i18n.serialized_project_referenced_0_not_part_of_project(oldId.toString()));
263
262
  }
264
263
  }
265
264
  });
@@ -431,8 +430,7 @@ let Comment = (() => {
431
430
  const comment = new Comment(Comment.cloneDisplayParts(this.summary), this.blockTags.map((tag) => tag.clone()), new Set(this.modifierTags));
432
431
  comment.discoveryId = this.discoveryId;
433
432
  comment.sourcePath = this.sourcePath;
434
- comment.inheritedFromParentDeclaration =
435
- this.inheritedFromParentDeclaration;
433
+ comment.inheritedFromParentDeclaration = this.inheritedFromParentDeclaration;
436
434
  return comment;
437
435
  }
438
436
  /**
@@ -490,7 +488,7 @@ let Comment = (() => {
490
488
  }
491
489
  toObject(serializer) {
492
490
  return {
493
- summary: Comment.serializeDisplayParts(serializer, this.summary),
491
+ summary: Comment.serializeDisplayParts(this.summary),
494
492
  blockTags: serializer.toObjectsOptional(this.blockTags),
495
493
  modifierTags: this.modifierTags.size > 0
496
494
  ? Array.from(this.modifierTags)
@@ -500,12 +498,11 @@ let Comment = (() => {
500
498
  }
501
499
  fromObject(de, obj) {
502
500
  this.summary = Comment.deserializeDisplayParts(de, obj.summary);
503
- this.blockTags =
504
- obj.blockTags?.map((tagObj) => {
505
- const tag = new CommentTag(tagObj.tag, []);
506
- de.fromObject(tag, tagObj);
507
- return tag;
508
- }) || [];
501
+ this.blockTags = obj.blockTags?.map((tagObj) => {
502
+ const tag = new CommentTag(tagObj.tag, []);
503
+ de.fromObject(tag, tagObj);
504
+ return tag;
505
+ }) || [];
509
506
  this.modifierTags = new Set(obj.modifierTags);
510
507
  this.label = obj.label;
511
508
  }
@@ -1,10 +1,10 @@
1
- import { Reflection, type TraverseCallback } from "./abstract.js";
2
- import { ReflectionCategory } from "../ReflectionCategory.js";
3
- import { ReflectionGroup } from "../ReflectionGroup.js";
1
+ import { Reflection, type TraverseCallback } from "./Reflection.js";
2
+ import { ReflectionCategory } from "./ReflectionCategory.js";
3
+ import { ReflectionGroup } from "./ReflectionGroup.js";
4
4
  import type { ReflectionKind } from "./kind.js";
5
- import type { Serializer, JSONOutput, Deserializer } from "../../serialization/index.js";
6
- import type { DocumentReflection } from "./document.js";
7
- import type { DeclarationReflection } from "./declaration.js";
5
+ import type { Deserializer, JSONOutput, Serializer } from "#serialization";
6
+ import type { DocumentReflection } from "./DocumentReflection.js";
7
+ import type { DeclarationReflection } from "./DeclarationReflection.js";
8
8
  /**
9
9
  * @category Reflections
10
10
  */
@@ -1,7 +1,7 @@
1
- import { Reflection, TraverseProperty, } from "./abstract.js";
2
- import { ReflectionCategory } from "../ReflectionCategory.js";
3
- import { ReflectionGroup } from "../ReflectionGroup.js";
4
- import { removeIfPresent } from "../../utils/index.js";
1
+ import { Reflection, TraverseProperty } from "./Reflection.js";
2
+ import { ReflectionCategory } from "./ReflectionCategory.js";
3
+ import { ReflectionGroup } from "./ReflectionGroup.js";
4
+ import { removeIfPresent } from "#utils";
5
5
  /**
6
6
  * @category Reflections
7
7
  */
@@ -123,7 +123,6 @@ export class ContainerReflection extends Reflection {
123
123
  }
124
124
  if (byId.size) {
125
125
  // Anything left in byId wasn't included in the childrenIncludingDocuments array.
126
- // This is expected if we're dealing with a JSON file produced by TypeDoc 0.25.
127
126
  this.childrenIncludingDocuments ||= [];
128
127
  this.childrenIncludingDocuments.push(...byId.values());
129
128
  }
@@ -1,12 +1,11 @@
1
- import type ts from "typescript";
2
- import { type ReferenceType, type SomeType } from "../types.js";
3
- import { type TraverseCallback } from "./abstract.js";
4
- import { ContainerReflection } from "./container.js";
5
- import type { SignatureReflection } from "./signature.js";
6
- import type { TypeParameterReflection } from "./type-parameter.js";
7
- import type { Serializer, JSONOutput, Deserializer } from "../../serialization/index.js";
8
- import { type CommentDisplayPart } from "../comments/index.js";
9
- import { SourceReference } from "../sources/file.js";
1
+ import { type ReferenceType, type SomeType } from "./types.js";
2
+ import { type TraverseCallback } from "./Reflection.js";
3
+ import { ContainerReflection } from "./ContainerReflection.js";
4
+ import type { SignatureReflection } from "./SignatureReflection.js";
5
+ import type { TypeParameterReflection } from "./TypeParameterReflection.js";
6
+ import type { Deserializer, JSONOutput, Serializer } from "#serialization";
7
+ import { type CommentDisplayPart } from "./Comment.js";
8
+ import { SourceReference } from "./SourceReference.js";
10
9
  /**
11
10
  * Stores hierarchical type data.
12
11
  *
@@ -30,7 +29,7 @@ export interface DeclarationHierarchy {
30
29
  * A reflection that represents a single declaration emitted by the TypeScript compiler.
31
30
  *
32
31
  * All parts of a project are represented by DeclarationReflection instances. The actual
33
- * kind of a reflection is stored in its ´kind´ member.
32
+ * kind of a reflection is stored in its `kind` member.
34
33
  * @category Reflections
35
34
  */
36
35
  export declare class DeclarationReflection extends ContainerReflection {
@@ -39,21 +38,14 @@ export declare class DeclarationReflection extends ContainerReflection {
39
38
  * A list of all source files that contributed to this reflection.
40
39
  */
41
40
  sources?: SourceReference[];
42
- /**
43
- * Precomputed boost for search results, may be less than 1 to de-emphasize this member in search results.
44
- * Does NOT include group/category values as they are computed when building the JS index.
45
- *
46
- * This is preserved for plugins, and may be removed in 0.28 if no plugins have used it yet.
47
- */
48
- relevanceBoost?: number;
49
41
  /**
50
42
  * The escaped name of this declaration assigned by the TS compiler if there is an associated symbol.
51
43
  * This is used to retrieve properties for analyzing inherited members.
52
44
  *
53
- * Not serialized, only useful during conversion.
45
+ * Not serialized, only useful during conversion. This is a `ts.__String`.
54
46
  * @internal
55
47
  */
56
- escapedName?: ts.__String;
48
+ escapedName?: string;
57
49
  /**
58
50
  * The type of the reflection.
59
51
  *