typedoc 0.27.6 → 0.27.7

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 (52) hide show
  1. package/bin/typedoc +21 -2
  2. package/dist/index.d.ts +1 -1
  3. package/dist/lib/application.d.ts +30 -1
  4. package/dist/lib/application.js +96 -20
  5. package/dist/lib/cli.js +4 -4
  6. package/dist/lib/converter/converter.d.ts +2 -3
  7. package/dist/lib/converter/converter.js +15 -20
  8. package/dist/lib/converter/factories/signature.js +16 -4
  9. package/dist/lib/converter/plugins/IncludePlugin.d.ts +2 -0
  10. package/dist/lib/converter/plugins/IncludePlugin.js +177 -4
  11. package/dist/lib/converter/plugins/PackagePlugin.js +2 -0
  12. package/dist/lib/converter/symbols.js +21 -7
  13. package/dist/lib/converter/types.d.ts +2 -2
  14. package/dist/lib/converter/types.js +21 -18
  15. package/dist/lib/internationalization/internationalization.js +3 -1
  16. package/dist/lib/internationalization/locales/en.cjs +14 -0
  17. package/dist/lib/internationalization/locales/en.d.cts +13 -0
  18. package/dist/lib/internationalization/locales/ja.cjs +321 -0
  19. package/dist/lib/internationalization/locales/ja.d.cts +308 -0
  20. package/dist/lib/internationalization/locales/jp.cjs +2 -320
  21. package/dist/lib/internationalization/locales/jp.d.cts +2 -308
  22. package/dist/lib/internationalization/locales/zh.cjs +6 -3
  23. package/dist/lib/internationalization/locales/zh.d.cts +5 -2
  24. package/dist/lib/internationalization/translatable.d.ts +2 -1
  25. package/dist/lib/output/index.d.ts +1 -0
  26. package/dist/lib/output/plugins/AssetsPlugin.d.ts +1 -7
  27. package/dist/lib/output/plugins/AssetsPlugin.js +18 -7
  28. package/dist/lib/output/themes/default/DefaultTheme.d.ts +3 -39
  29. package/dist/lib/output/themes/default/DefaultTheme.js +19 -10
  30. package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts +12 -12
  31. package/dist/lib/output/themes/default/partials/icon.d.ts +17 -2
  32. package/dist/lib/output/themes/default/partials/icon.js +77 -79
  33. package/dist/lib/output/themes/default/partials/member.getterSetter.js +6 -6
  34. package/dist/lib/output/themes/default/partials/member.signatures.js +3 -3
  35. package/dist/lib/output/themes/default/templates/reflection.js +2 -2
  36. package/dist/lib/utils/fs.d.ts +2 -2
  37. package/dist/lib/utils/fs.js +4 -3
  38. package/dist/lib/utils/general.d.ts +1 -0
  39. package/dist/lib/utils/general.js +11 -0
  40. package/dist/lib/utils/options/options.d.ts +3 -2
  41. package/dist/lib/utils/options/options.js +2 -2
  42. package/dist/lib/utils/options/readers/package-json.d.ts +1 -1
  43. package/dist/lib/utils/options/readers/package-json.js +2 -2
  44. package/dist/lib/utils/options/readers/tsconfig.d.ts +1 -1
  45. package/dist/lib/utils/options/readers/tsconfig.js +2 -2
  46. package/dist/lib/utils/options/readers/typedoc.d.ts +1 -1
  47. package/dist/lib/utils/options/readers/typedoc.js +4 -4
  48. package/dist/lib/utils/tsconfig.d.ts +1 -1
  49. package/dist/lib/utils/tsconfig.js +2 -2
  50. package/package.json +1 -1
  51. package/static/main.js +3 -3
  52. package/static/style.css +5 -4
@@ -1,308 +1,2 @@
1
- declare const _default: {
2
- loaded_multiple_times_0: "TypeDoc が複数回読み込まれました。これは通常、TypeDoc を独自にインストールしたプラグインによって発生します。読み込まれたパスは次のとおりです:\n{0}";
3
- unsupported_ts_version_0: "サポートされていない TypeScript バージョンで実行されています。TypeDoc がクラッシュした場合は、これが原因です。TypeDoc は {0} をサポートしています。";
4
- no_compiler_options_set: string;
5
- loaded_plugin_0: "プラグイン {0} が読み込まれました";
6
- solution_not_supported_in_watch_mode: string;
7
- strategy_not_supported_in_watch_mode: string;
8
- found_0_errors_and_1_warnings: "{0} 件のエラーと {1} 件の警告が見つかりました";
9
- no_entry_points_for_packages: string;
10
- failed_to_find_packages: string;
11
- nested_packages_unsupported_0: "{0} のプロジェクトでは entryPointStrategy がパッケージに設定されていますが、ネストされたパッケージはサポートされていません";
12
- previous_error_occurred_when_reading_options_for_0: "前のエラーは、{0} のパッケージのオプションを読み取り中に発生しました";
13
- converting_project_at_0: "{0} のプロジェクトを変換しています";
14
- failed_to_convert_packages: string;
15
- merging_converted_projects: string;
16
- no_entry_points_to_merge: string;
17
- entrypoint_did_not_match_files_0: "エントリポイント グロブ {0} はどのファイルにも一致しませんでした";
18
- failed_to_parse_json_0: "{0} のファイルを json として解析できませんでした";
19
- failed_to_read_0_when_processing_document_tag_in_1: "{1} のコメントの @document タグの処理中にファイル {0} の読み取りに失敗しました";
20
- failed_to_read_0_when_processing_project_document: "プロジェクト ドキュメントの追加時にファイル {0} の読み取りに失敗しました";
21
- failed_to_read_0_when_processing_document_child_in_1: "{1} 内のドキュメントの子を処理するときにファイル {0} の読み取りに失敗しました";
22
- frontmatter_children_0_should_be_an_array_of_strings_or_object_with_string_values: "{0} の Frontmatter の子は、文字列の配列または文字列値を持つオブジェクトである必要があります。";
23
- converting_union_as_interface: string;
24
- converting_0_as_class_requires_value_declaration: "{0} をクラスとして変換するには、非型値を表す宣言が必要です";
25
- converting_0_as_class_without_construct_signatures: "{0} はクラスとして変換されていますが、コンストラクト シグネチャがありません";
26
- comment_for_0_should_not_contain_block_or_modifier_tags: "{0} のコメントにはブロックタグや修飾タグを含めることはできません";
27
- symbol_0_has_multiple_declarations_with_comment: "{0} にはコメント付きの宣言が複数あります。任意のコメントが使用されます";
28
- comments_for_0_are_declared_at_1: "{0} のコメントは次の場所で宣言されています:\n{1}";
29
- multiple_type_parameters_on_template_tag_unsupported: string;
30
- failed_to_find_jsdoc_tag_for_name_0: "コメントを解析した後、{0} の JSDoc タグが見つかりませんでした。バグレポートを提出してください。";
31
- inline_inheritdoc_should_not_appear_in_block_tag_in_comment_at_0: "インライン @inheritDoc タグはブロック タグ内に出現しないでください。{0} のコメントでは処理されません。";
32
- at_most_one_remarks_tag_expected_in_comment_at_0: "コメントには最大 1 つの @remarks タグが必要です。{0} のコメントの最初のタグ以外はすべて無視されます。";
33
- at_most_one_returns_tag_expected_in_comment_at_0: "コメントには最大 1 つの @returns タグが必要です。{0} のコメントの最初のタグ以外はすべて無視されます。";
34
- at_most_one_inheritdoc_tag_expected_in_comment_at_0: "コメントには最大 1 つの @inheritDoc タグが必要です。{0} のコメントの最初のタグ以外はすべて無視されます。";
35
- content_in_summary_overwritten_by_inheritdoc_in_comment_at_0: "概要セクションの内容は、{0} のコメントの @inheritDoc タグによって上書きされます。";
36
- content_in_remarks_block_overwritten_by_inheritdoc_in_comment_at_0: "@remarks ブロックの内容は、{0} のコメントの @inheritDoc タグによって上書きされます。";
37
- example_tag_literal_name: string;
38
- inheritdoc_tag_properly_capitalized: string;
39
- treating_unrecognized_tag_0_as_modifier: "認識されないタグ {0} を修飾タグとして処理します";
40
- unmatched_closing_brace: string;
41
- unescaped_open_brace_without_inline_tag: string;
42
- unknown_block_tag_0: "不明なブロック タグ {0} に遭遇しました";
43
- unknown_inline_tag_0: "不明なインライン タグ {0} に遭遇しました";
44
- open_brace_within_inline_tag: string;
45
- inline_tag_not_closed: string;
46
- failed_to_resolve_link_to_0_in_comment_for_1: "{1} のコメント内の「{0}」へのリンクを解決できませんでした";
47
- type_0_defined_in_1_is_referenced_by_2_but_not_included_in_docs: "{1} で定義されている {0} は {2} によって参照されていますが、ドキュメントには含まれていません。";
48
- reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{2} で定義されている {0} ({1}) にはドキュメントがありません";
49
- invalid_intentionally_not_exported_symbols_0: "次のシンボルは意図的にエクスポートされないものとしてマークされていますが、ドキュメントで参照されていないか、エクスポートされています:\n{0}";
50
- not_all_search_category_boosts_used_0: "searchCategoryBoosts で指定されたすべてのカテゴリがドキュメントで使用されているわけではありません。使用されていないカテゴリは次のとおりです:\n{0}";
51
- not_all_search_group_boosts_used_0: "searchGroupBoosts で指定されたすべてのグループがドキュメントで使用されているわけではありません。使用されていないグループは次のとおりです:\n{0}";
52
- comment_for_0_includes_categoryDescription_for_1_but_no_child_in_group: "{0} のコメントに「{1}」の @categoryDescription が含まれていますが、そのカテゴリに子が配置されていません";
53
- comment_for_0_includes_groupDescription_for_1_but_no_child_in_group: "{0} のコメントに \"{1}\" の @groupDescription が含まれていますが、そのグループには子が配置されていません";
54
- label_0_for_1_cannot_be_referenced: "{1} のラベル \"{0}\" は宣言参照では参照できません。ラベルには A ~ Z、0 ~ 9、_ のみを含めることができ、数字で始まることはできません。";
55
- failed_to_resolve_link_to_0_in_comment_for_1_may_have_meant_2: "{1} のコメント内の \"{0}\" へのリンクを解決できません。\"{2}\" を意味していた可能性があります。";
56
- failed_to_resolve_link_to_0_in_readme_for_1: "{1} の README ファイル内の \"{0}\" へのリンクを解決できません。";
57
- failed_to_resolve_link_to_0_in_readme_for_1_may_have_meant_2: "{1} の README ファイル内の \"{0}\" へのリンクを解決できません。\"{2}\" を意味していた可能性があります。";
58
- modifier_tag_0_is_mutually_exclusive_with_1_in_comment_for_2: "修飾子タグ {0} は、{2} のコメント内の {1} と相互に排他的です";
59
- signature_0_has_unused_param_with_name_1: "署名 {0} には、名前が \"{1}\" の @param がありますが、使用されていません。";
60
- declaration_reference_in_inheritdoc_for_0_not_fully_parsed: "{0} の @inheritDoc の宣言参照が完全に解析されていないため、正しく解決されない可能性があります";
61
- failed_to_find_0_to_inherit_comment_from_in_1: "{1} のコメントからコメントを継承する「{0}」が見つかりませんでした";
62
- reflection_0_tried_to_copy_comment_from_1_but_source_had_no_comment: "{0} は @inheritDoc を使用して {1} からコメントをコピーしようとしましたが、ソースには関連付けられたコメントがありません";
63
- inheritdoc_circular_inheritance_chain_0: "@inheritDoc は循環継承チェーンを指定します: {0}";
64
- provided_readme_at_0_could_not_be_read: "指定された README パス、{0} は読み取れませんでした";
65
- defaulting_project_name: string;
66
- disable_git_set_but_not_source_link_template: string;
67
- disable_git_set_and_git_revision_used: string;
68
- git_remote_0_not_valid: "提供された Git リモート \"{0}\" は無効です。ソース リンクは壊れます";
69
- custom_css_file_0_does_not_exist: "{0} のカスタム CSS ファイルは存在しません";
70
- unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "サポートされていないハイライト言語 {0} は、{1} のコメントではハイライトされません。";
71
- unloaded_language_0_not_highlighted_in_comment_for_1: "言語 {0} のコード ブロックは、highlightLanguages オプションに含まれていないため、{1} のコメントでは強調表示されません。";
72
- yaml_frontmatter_not_an_object: string;
73
- could_not_write_0: "{0} を書き込めませんでした";
74
- could_not_empty_output_directory_0: "出力ディレクトリ {0} を空にできませんでした";
75
- could_not_create_output_directory_0: "出力ディレクトリ {0} を作成できませんでした";
76
- theme_0_is_not_defined_available_are_1: "テーマ '{0}' は定義されていません。使用可能なテーマは次のとおりです: {1}";
77
- unable_to_find_any_entry_points: string;
78
- watch_does_not_support_packages_mode: string;
79
- watch_does_not_support_merge_mode: string;
80
- entry_point_0_not_in_program: "エントリ ポイント {0} は、tsconfig の 'files' または 'include' オプションによって参照されていません。";
81
- use_expand_or_glob_for_files_in_dir: string;
82
- glob_0_did_not_match_any_files: "グロブ {0} はどのファイルにも一致しませんでした";
83
- entry_point_0_did_not_match_any_files_after_exclude: "除外パターンを適用した後、グロブ {0} はどのファイルにも一致しませんでした";
84
- entry_point_0_did_not_exist: "指定されたエントリ ポイント {0} は存在しません";
85
- entry_point_0_did_not_match_any_packages: "エントリ ポイント glob {0} は、package.json を含むディレクトリと一致しませんでした。";
86
- file_0_not_an_object: "ファイル {0} はオブジェクトではありません";
87
- serialized_project_referenced_0_not_part_of_project: "シリアル化されたプロジェクトは、プロジェクトの一部ではないリフレクション {0} を参照しました";
88
- circular_reference_extends_0: "{0} の \"extends\" フィールドで循環参照が検出されました";
89
- failed_resolve_0_to_file_in_1: "{0} を {1} 内のファイルに解決できませんでした";
90
- option_0_can_only_be_specified_by_config_file: "'{0}' オプションは設定ファイル経由でのみ指定できます";
91
- option_0_expected_a_value_but_none_provided: "--{0} には値が期待されていましたが、引数として値が与えられませんでした";
92
- unknown_option_0_may_have_meant_1: "不明なオプション: {0}。次のオプションを意味している可能性があります:\n{1}";
93
- typedoc_key_in_0_ignored: "{0} の 'typedoc' キーは、レガシー パッケージの entryPointStrategy によって使用されており、無視されます。";
94
- typedoc_options_must_be_object_in_0: "{0} の \"typedocOptions\" フィールドを解析できませんでした。フィールドが存在し、オブジェクトが含まれていることを確認してください。";
95
- tsconfig_file_0_does_not_exist: "tsconfig ファイル {0} が存在しません";
96
- tsconfig_file_specifies_options_file: string;
97
- tsconfig_file_specifies_tsconfig_file: string;
98
- tags_0_defined_in_typedoc_json_overwritten_by_tsdoc_json: "typedoc.json で定義された {0} は、tsdoc.json の設定によって上書きされます。";
99
- failed_read_tsdoc_json_0: "{0} の tsdoc.json ファイルの読み取りに失敗しました";
100
- invalid_tsdoc_json_0: "ファイル {0} は有効な tsdoc.json ファイルではありません";
101
- options_file_0_does_not_exist: "オプションファイル {0} が存在しません";
102
- failed_read_options_file_0: "{0} の解析に失敗しました。存在し、オブジェクトをエクスポートしていることを確認してください";
103
- invalid_plugin_0_missing_load_function: "プラグイン {0} の構造が無効です。ロード関数が見つかりません";
104
- plugin_0_could_not_be_loaded: "プラグイン {0} を読み込めませんでした";
105
- help_options: string;
106
- help_tsconfig: string;
107
- help_compilerOptions: string;
108
- help_lang: string;
109
- help_locales: string;
110
- help_packageOptions: string;
111
- help_entryPoints: string;
112
- help_entryPointStrategy: string;
113
- help_alwaysCreateEntryPointModule: string;
114
- help_projectDocuments: string;
115
- help_exclude: string;
116
- help_externalPattern: string;
117
- help_excludeExternals: string;
118
- help_excludeNotDocumented: string;
119
- help_excludeNotDocumentedKinds: string;
120
- help_excludeInternal: string;
121
- help_excludeCategories: string;
122
- help_excludePrivate: string;
123
- help_excludeProtected: string;
124
- help_excludeReferences: string;
125
- help_externalSymbolLinkMappings: string;
126
- help_json: string;
127
- help_pretty: string;
128
- help_emit: string;
129
- help_theme: string;
130
- help_lightHighlightTheme: string;
131
- help_darkHighlightTheme: string;
132
- help_highlightLanguages: string;
133
- help_customCss: string;
134
- help_markdownItOptions: string;
135
- help_markdownItLoader: string;
136
- help_maxTypeConversionDepth: string;
137
- help_name: string;
138
- help_includeVersion: string;
139
- help_disableSources: string;
140
- help_sourceLinkTemplate: string;
141
- help_gitRevision: string;
142
- help_gitRemote: string;
143
- help_disableGit: string;
144
- help_basePath: string;
145
- help_excludeTags: string;
146
- help_readme: string;
147
- help_cname: string;
148
- help_sourceLinkExternal: string;
149
- help_githubPages: string;
150
- help_hostedBaseUrl: string;
151
- help_useHostedBaseUrlForAbsoluteLinks: string;
152
- help_hideGenerator: string;
153
- help_customFooterHtml: string;
154
- help_customFooterHtmlDisableWrapper: string;
155
- help_cacheBust: string;
156
- help_searchInComments: string;
157
- help_searchInDocuments: string;
158
- help_cleanOutputDir: string;
159
- help_titleLink: string;
160
- help_navigationLinks: string;
161
- help_sidebarLinks: string;
162
- help_navigationLeaves: string;
163
- help_navigation: string;
164
- help_visibilityFilters: string;
165
- help_searchCategoryBoosts: string;
166
- help_searchGroupBoosts: string;
167
- help_jsDocCompatibility: string;
168
- help_commentStyle: string;
169
- help_useTsLinkResolution: string;
170
- help_preserveLinkText: string;
171
- help_blockTags: string;
172
- help_inlineTags: string;
173
- help_modifierTags: string;
174
- help_categorizeByGroup: string;
175
- help_defaultCategory: string;
176
- help_categoryOrder: string;
177
- help_groupOrder: string;
178
- help_sort: string;
179
- help_sortEntryPoints: string;
180
- help_kindSortOrder: string;
181
- help_watch: string;
182
- help_preserveWatchOutput: string;
183
- help_skipErrorChecking: string;
184
- help_help: string;
185
- help_version: string;
186
- help_showConfig: string;
187
- help_plugin: string;
188
- help_logLevel: string;
189
- help_treatWarningsAsErrors: string;
190
- help_treatValidationWarningsAsErrors: string;
191
- help_intentionallyNotExported: string;
192
- help_requiredToBeDocumented: string;
193
- help_validation: string;
194
- unknown_option_0_you_may_have_meant_1: "不明なオプション '{0}' 次のオプションを意味している可能性があります:\n{1}";
195
- option_0_must_be_between_1_and_2: "{0} は {1} と {2} の間でなければなりません";
196
- option_0_must_be_equal_to_or_greater_than_1: "{0} は {1} 以上である必要があります";
197
- option_0_must_be_less_than_or_equal_to_1: "{0} は {1} 以下である必要があります";
198
- option_0_must_be_one_of_1: "{0} は {1} のいずれかである必要があります";
199
- flag_0_is_not_valid_for_1_expected_2: "フラグ '{0}' は {1} に対して有効ではありません。{2} のいずれかである必要があります。";
200
- expected_object_with_flag_values_for_0: "{0} または true/false のフラグ値を持つオブジェクトが必要です";
201
- flag_values_for_0_must_be_booleans: "{0} のフラグ値はブール値である必要があります";
202
- locales_must_be_an_object: string;
203
- exclude_not_documented_specified_0_valid_values_are_1: "excludeNotDocumentedKinds は既知の値のみを指定できますが、無効な値が指定されました ({0})。有効な種類は次のとおりです:\n{1}";
204
- external_symbol_link_mappings_must_be_object: string;
205
- highlight_theme_0_must_be_one_of_1: "{0} は次のいずれかである必要があります: {1}";
206
- highlightLanguages_contains_invalid_languages_0: "highlightLanguages に無効な言語が含まれています: {0}。サポートされている言語のリストについては typedoc --help を実行してください";
207
- hostedBaseUrl_must_start_with_http: string;
208
- useHostedBaseUrlForAbsoluteLinks_requires_hostedBaseUrl: string;
209
- option_0_must_be_an_object: "'{0}' オプションは配列以外のオブジェクトである必要があります";
210
- option_0_must_be_a_function: "'{0}' オプションは関数である必要があります";
211
- option_0_must_be_object_with_urls: "{0} は、キーとして文字列ラベル、URL 値として文字列ラベルを持つオブジェクトである必要があります。";
212
- visibility_filters_only_include_0: "visibilityFilters には、次の非 @ キーのみを含めることができます: {0}";
213
- visibility_filters_must_be_booleans: string;
214
- option_0_values_must_be_numbers: "{0} のすべての値は数値である必要があります";
215
- option_0_values_must_be_array_of_tags: "{0} は有効なタグ名の配列である必要があります";
216
- option_0_specified_1_but_only_2_is_valid: "{0} は既知の値のみを指定できますが、無効な値が指定されました ({1})。有効な並べ替え戦略は次のとおりです:\n{2}";
217
- kind_project: string;
218
- kind_module: string;
219
- kind_namespace: string;
220
- kind_enum: string;
221
- kind_enum_member: string;
222
- kind_variable: string;
223
- kind_function: string;
224
- kind_class: string;
225
- kind_interface: string;
226
- kind_constructor: string;
227
- kind_property: string;
228
- kind_method: string;
229
- kind_call_signature: string;
230
- kind_index_signature: string;
231
- kind_constructor_signature: string;
232
- kind_parameter: string;
233
- kind_type_literal: string;
234
- kind_type_parameter: string;
235
- kind_accessor: string;
236
- kind_get_signature: string;
237
- kind_set_signature: string;
238
- kind_type_alias: string;
239
- kind_reference: string;
240
- kind_document: string;
241
- kind_plural_project: string;
242
- kind_plural_module: string;
243
- kind_plural_namespace: string;
244
- kind_plural_enum: string;
245
- kind_plural_enum_member: string;
246
- kind_plural_variable: string;
247
- kind_plural_function: string;
248
- kind_plural_class: string;
249
- kind_plural_interface: string;
250
- kind_plural_constructor: string;
251
- kind_plural_property: string;
252
- kind_plural_method: string;
253
- kind_plural_call_signature: string;
254
- kind_plural_index_signature: string;
255
- kind_plural_constructor_signature: string;
256
- kind_plural_parameter: string;
257
- kind_plural_type_literal: string;
258
- kind_plural_type_parameter: string;
259
- kind_plural_accessor: string;
260
- kind_plural_get_signature: string;
261
- kind_plural_set_signature: string;
262
- kind_plural_type_alias: string;
263
- kind_plural_reference: string;
264
- kind_plural_document: string;
265
- flag_protected: string;
266
- flag_private: string;
267
- flag_external: string;
268
- flag_inherited: string;
269
- flag_public: string;
270
- flag_static: string;
271
- flag_optional: string;
272
- flag_rest: string;
273
- flag_abstract: string;
274
- flag_const: string;
275
- flag_readonly: string;
276
- theme_implements: string;
277
- theme_indexable: string;
278
- theme_type_declaration: string;
279
- theme_index: string;
280
- theme_hierarchy: string;
281
- theme_implemented_by: string;
282
- theme_defined_in: string;
283
- theme_implementation_of: string;
284
- theme_inherited_from: string;
285
- theme_overrides: string;
286
- theme_returns: string;
287
- theme_generated_using_typedoc: string;
288
- theme_preparing_search_index: string;
289
- theme_search_index_not_available: string;
290
- theme_settings: string;
291
- theme_member_visibility: string;
292
- theme_theme: string;
293
- theme_os: string;
294
- theme_light: string;
295
- theme_dark: string;
296
- theme_on_this_page: string;
297
- theme_search: string;
298
- theme_menu: string;
299
- theme_permalink: string;
300
- tag_see: string;
301
- tag_group: string;
302
- tag_example: string;
303
- theme_copy: string;
304
- theme_copied: string;
305
- theme_normally_hidden: string;
306
- theme_loading: string;
307
- };
308
- export = _default;
1
+ import ja = require("./ja.cjs");
2
+ export = ja;
@@ -61,6 +61,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
61
61
  reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档",
62
62
  invalid_intentionally_not_exported_symbols_0: "以下符号被标记为有意不导出,但未在文档中引用,或已被导出:\n{0}",
63
63
  reflection_0_has_unused_mergeModuleWith_tag: "{0} 中存在无法解析的 @mergeModuleWith 标签",
64
+ reflection_0_links_to_1_with_text_2_but_resolved_to_3: "“{0}”中的链接“{2}”指向“{1}”,目标虽然存在但并没有直接的链接,因此将改为链接至“{3}”。",
64
65
  not_all_search_category_boosts_used_0: "文档中并未使用 searchCategoryBoosts 中指定的所有类别。未使用的类别包括:\n{0}",
65
66
  not_all_search_group_boosts_used_0: "文档中并未使用 searchGroupBoosts 中指定的所有组。未使用的组为:\n{0}",
66
67
  comment_for_0_includes_categoryDescription_for_1_but_no_child_in_group: "{0} 的评论包含“{1}”的 @categoryDescription,但该类别中没有子项",
@@ -82,8 +83,8 @@ module.exports = localeUtils.buildIncompleteTranslation({
82
83
  include_0_in_1_specified_2_circular_include_3: "{1} 的注释中 {0} 标签指定了包含 “{2}”,导致了循环包含:\n\t{3}",
83
84
  custom_css_file_0_does_not_exist: "{0} 处的自定义 CSS 文件不存在",
84
85
  custom_js_file_0_does_not_exist: "{0} 处的自定义 JavaScript 文件不存在",
85
- unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "不支持的高亮语言 {0} 将不会在 {1} 的注释中高亮",
86
- unloaded_language_0_not_highlighted_in_comment_for_1: "语言为 {0} 的代码块将不会在 {1} 的注释中高亮,因为它未包含在 highlightLanguages 选项中",
86
+ unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中使用了不支持的高亮语言 {0} ,因此该语言将不会被高亮",
87
+ unloaded_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中语言为 {0} 的代码块将不会被高亮,因为该语言未包含在 highlightLanguages 选项中",
87
88
  yaml_frontmatter_not_an_object: "YAML Frontmatter 应当为对象",
88
89
  could_not_write_0: "无法写入 {0}",
89
90
  could_not_empty_output_directory_0: "无法清空输出目录 {0}",
@@ -150,7 +151,8 @@ module.exports = localeUtils.buildIncompleteTranslation({
150
151
  help_theme: "指定用于呈现文档的主题名称",
151
152
  help_lightHighlightTheme: "指定浅色模式下的代码高亮主题",
152
153
  help_darkHighlightTheme: "指定暗黑模式下的代码高亮主题",
153
- help_highlightLanguages: "指定渲染时将加载哪些语言来高亮代码",
154
+ help_highlightLanguages: "指定渲染时将加载的代码高亮语言",
155
+ help_ignoredHighlightLanguages: "指定哪些语言将被视为支持的代码高亮语言,但不会在运行时被语法高亮",
154
156
  help_typePrintWidth: "渲染类型时触发自动换行的代码宽度",
155
157
  help_customCss: "要导入主题的自定义 CSS 文件的路径",
156
158
  help_customJs: "要导入的自定义 JS 文件的路径",
@@ -237,6 +239,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
237
239
  highlightLanguages_contains_invalid_languages_0: "highlightLanguages 包含无效语言:{0},运行 typedoc --help 获取受支持语言的列表",
238
240
  hostedBaseUrl_must_start_with_http: "hostingBaseUrl 必须以 http:// 或 https:// 开头",
239
241
  useHostedBaseUrlForAbsoluteLinks_requires_hostedBaseUrl: "useHostedBaseUrlForAbsoluteLinks 选项要求设置 hostingBaseUrl",
242
+ favicon_must_have_one_of_the_following_extensions_0: "favicon 的后缀名必须是下列之一:{0}",
240
243
  option_0_must_be_an_object: "“{0}”选项必须是非数组对象",
241
244
  option_0_must_be_a_function: "‘{0}’ 选项必须是一个函数",
242
245
  option_0_must_be_object_with_urls: "{0} 必须是具有字符串标签作为键和 URL 值的对象",
@@ -56,6 +56,7 @@ declare const _default: {
56
56
  reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档";
57
57
  invalid_intentionally_not_exported_symbols_0: "以下符号被标记为有意不导出,但未在文档中引用,或已被导出:\n{0}";
58
58
  reflection_0_has_unused_mergeModuleWith_tag: "{0} 中存在无法解析的 @mergeModuleWith 标签";
59
+ reflection_0_links_to_1_with_text_2_but_resolved_to_3: "“{0}”中的链接“{2}”指向“{1}”,目标虽然存在但并没有直接的链接,因此将改为链接至“{3}”。";
59
60
  not_all_search_category_boosts_used_0: "文档中并未使用 searchCategoryBoosts 中指定的所有类别。未使用的类别包括:\n{0}";
60
61
  not_all_search_group_boosts_used_0: "文档中并未使用 searchGroupBoosts 中指定的所有组。未使用的组为:\n{0}";
61
62
  comment_for_0_includes_categoryDescription_for_1_but_no_child_in_group: "{0} 的评论包含“{1}”的 @categoryDescription,但该类别中没有子项";
@@ -77,8 +78,8 @@ declare const _default: {
77
78
  include_0_in_1_specified_2_circular_include_3: "{1} 的注释中 {0} 标签指定了包含 “{2}”,导致了循环包含:\n\t{3}";
78
79
  custom_css_file_0_does_not_exist: "{0} 处的自定义 CSS 文件不存在";
79
80
  custom_js_file_0_does_not_exist: "{0} 处的自定义 JavaScript 文件不存在";
80
- unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "不支持的高亮语言 {0} 将不会在 {1} 的注释中高亮";
81
- unloaded_language_0_not_highlighted_in_comment_for_1: "语言为 {0} 的代码块将不会在 {1} 的注释中高亮,因为它未包含在 highlightLanguages 选项中";
81
+ unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中使用了不支持的高亮语言 {0} ,因此该语言将不会被高亮";
82
+ unloaded_language_0_not_highlighted_in_comment_for_1: "{1} 的注释中语言为 {0} 的代码块将不会被高亮,因为该语言未包含在 highlightLanguages 选项中";
82
83
  yaml_frontmatter_not_an_object: string;
83
84
  could_not_write_0: "无法写入 {0}";
84
85
  could_not_empty_output_directory_0: "无法清空输出目录 {0}";
@@ -146,6 +147,7 @@ declare const _default: {
146
147
  help_lightHighlightTheme: string;
147
148
  help_darkHighlightTheme: string;
148
149
  help_highlightLanguages: string;
150
+ help_ignoredHighlightLanguages: string;
149
151
  help_typePrintWidth: string;
150
152
  help_customCss: string;
151
153
  help_customJs: string;
@@ -232,6 +234,7 @@ declare const _default: {
232
234
  highlightLanguages_contains_invalid_languages_0: "highlightLanguages 包含无效语言:{0},运行 typedoc --help 获取受支持语言的列表";
233
235
  hostedBaseUrl_must_start_with_http: string;
234
236
  useHostedBaseUrlForAbsoluteLinks_requires_hostedBaseUrl: string;
237
+ favicon_must_have_one_of_the_following_extensions_0: "favicon 的后缀名必须是下列之一:{0}";
235
238
  option_0_must_be_an_object: "“{0}”选项必须是非数组对象";
236
239
  option_0_must_be_a_function: "‘{0}’ 选项必须是一个函数";
237
240
  option_0_must_be_object_with_urls: "{0} 必须是具有字符串标签作为键和 URL 值的对象";
@@ -14,6 +14,7 @@ type TranslationConstraint = [
14
14
  BuildConstraint<0>,
15
15
  BuildConstraint<0 | 1>,
16
16
  BuildConstraint<0 | 1 | 2>,
17
- BuildConstraint<0 | 1 | 2 | 3>
17
+ BuildConstraint<0 | 1 | 2 | 3>,
18
+ BuildConstraint<0 | 1 | 2 | 3 | 4>
18
19
  ];
19
20
  export {};
@@ -7,3 +7,4 @@ export { Theme } from "./theme.js";
7
7
  export { DefaultTheme, type NavigationElement, } from "./themes/default/DefaultTheme.js";
8
8
  export { Slugger } from "./themes/default/Slugger.js";
9
9
  export { DefaultThemeRenderContext } from "./themes/default/DefaultThemeRenderContext.js";
10
+ export type { Icons } from "./themes/default/partials/icon.js";
@@ -9,13 +9,7 @@ export declare class AssetsPlugin extends RendererComponent {
9
9
  private accessor customCss;
10
10
  private accessor customJs;
11
11
  constructor(owner: Renderer);
12
- getTranslatedStrings(): {
13
- copy: import("../../internationalization/internationalization.js").TranslatedString;
14
- copied: import("../../internationalization/internationalization.js").TranslatedString;
15
- normally_hidden: import("../../internationalization/internationalization.js").TranslatedString;
16
- hierarchy_expand: import("../../internationalization/internationalization.js").TranslatedString;
17
- hierarchy_collapse: import("../../internationalization/internationalization.js").TranslatedString;
18
- };
12
+ getTranslatedStrings(): Record<string, string>;
19
13
  private onRenderBegin;
20
14
  /**
21
15
  * Triggered before the renderer starts rendering a project.
@@ -37,10 +37,11 @@ import { RendererEvent } from "../events.js";
37
37
  import { copySync, readFile, writeFileSync } from "../../utils/fs.js";
38
38
  import { DefaultTheme } from "../themes/default/DefaultTheme.js";
39
39
  import { getStyles } from "../../utils/highlighter.js";
40
- import { Option } from "../../utils/index.js";
40
+ import { getEnumKeys, Option } from "../../utils/index.js";
41
41
  import { existsSync } from "fs";
42
42
  import { extname, join } from "path";
43
43
  import { fileURLToPath } from "url";
44
+ import { ReflectionKind } from "../../models/index.js";
44
45
  /**
45
46
  * A plugin that copies the subdirectory ´assets´ from the current themes
46
47
  * source folder to the output directory.
@@ -83,13 +84,21 @@ let AssetsPlugin = (() => {
83
84
  this.owner.on(RendererEvent.END, this.onRenderEnd.bind(this));
84
85
  }
85
86
  getTranslatedStrings() {
86
- return {
87
- copy: this.application.i18n.theme_copy(),
88
- copied: this.application.i18n.theme_copied(),
89
- normally_hidden: this.application.i18n.theme_normally_hidden(),
90
- hierarchy_expand: this.application.i18n.theme_hierarchy_expand(),
91
- hierarchy_collapse: this.application.i18n.theme_hierarchy_collapse(),
87
+ const inter = this.application.internationalization;
88
+ const i18n = this.application.i18n;
89
+ const translations = {
90
+ copy: i18n.theme_copy(),
91
+ copied: i18n.theme_copied(),
92
+ normally_hidden: i18n.theme_normally_hidden(),
93
+ hierarchy_expand: i18n.theme_hierarchy_expand(),
94
+ hierarchy_collapse: i18n.theme_hierarchy_collapse(),
95
+ folder: i18n.theme_folder(),
92
96
  };
97
+ for (const key of getEnumKeys(ReflectionKind)) {
98
+ const kind = ReflectionKind[key];
99
+ translations[`kind_${kind}`] = inter.kindSingularString(kind);
100
+ }
101
+ return translations;
93
102
  }
94
103
  onRenderBegin(event) {
95
104
  const dest = join(event.outputDirectory, "assets");
@@ -97,6 +106,7 @@ let AssetsPlugin = (() => {
97
106
  copySync(this.favicon, join(dest, "favicon" + extname(this.favicon)));
98
107
  }
99
108
  if (this.customCss) {
109
+ this.application.watchFile(this.customCss);
100
110
  if (existsSync(this.customCss)) {
101
111
  copySync(this.customCss, join(dest, "custom.css"));
102
112
  }
@@ -105,6 +115,7 @@ let AssetsPlugin = (() => {
105
115
  }
106
116
  }
107
117
  if (this.customJs) {
118
+ this.application.watchFile(this.customJs);
108
119
  if (existsSync(this.customJs)) {
109
120
  copySync(this.customJs, join(dest, "custom.js"));
110
121
  }
@@ -6,6 +6,7 @@ import type { PageEvent } from "../../events.js";
6
6
  import type { MarkedPlugin } from "../../plugins/index.js";
7
7
  import { DefaultThemeRenderContext } from "./DefaultThemeRenderContext.js";
8
8
  import { JSX } from "../../../utils/index.js";
9
+ import { type Icons } from "./partials/icon.js";
9
10
  export interface NavigationElement {
10
11
  text: string;
11
12
  path?: string;
@@ -31,51 +32,14 @@ export declare class DefaultTheme extends Theme {
31
32
  * the icons used within the page, however TypeDoc currently assumes that all icons are svg
32
33
  * elements, so custom themes must also use svg elements.
33
34
  */
34
- icons: {
35
- search: () => JSX.Element;
36
- anchor: () => JSX.Element;
37
- 1: () => JSX.Element;
38
- 2: () => JSX.Element;
39
- 4: () => JSX.Element;
40
- 8: () => JSX.Element;
41
- 16: () => JSX.Element;
42
- 32: () => JSX.Element;
43
- 64: () => JSX.Element;
44
- 128: () => JSX.Element;
45
- 256: () => JSX.Element;
46
- 512: () => JSX.Element;
47
- 1024: () => JSX.Element;
48
- 2048: () => JSX.Element;
49
- 4096: () => JSX.Element;
50
- 8192: () => JSX.Element;
51
- 16384: () => JSX.Element;
52
- 32768: () => JSX.Element;
53
- 65536: () => JSX.Element;
54
- 131072: () => JSX.Element;
55
- 262144: () => JSX.Element;
56
- 524288: () => JSX.Element;
57
- 1048576: () => JSX.Element;
58
- 2097152: () => JSX.Element;
59
- 4194304: () => JSX.Element;
60
- 8388608: () => JSX.Element;
61
- checkbox: () => JSX.Element;
62
- chevronDown: () => JSX.Element;
63
- menu: () => JSX.Element;
64
- chevronSmall: () => JSX.Element;
65
- folder: () => JSX.Element;
66
- alertNote: () => JSX.Element;
67
- alertTip: () => JSX.Element;
68
- alertImportant: () => JSX.Element;
69
- alertWarning: () => JSX.Element;
70
- alertCaution: () => JSX.Element;
71
- };
35
+ icons: Icons;
72
36
  getRenderContext(pageEvent: PageEvent<Reflection>): DefaultThemeRenderContext;
73
37
  documentTemplate: (pageEvent: PageEvent<DocumentReflection>) => JSX.Element;
74
38
  reflectionTemplate: (pageEvent: PageEvent<ContainerReflection>) => JSX.Element;
75
39
  indexTemplate: (pageEvent: PageEvent<ProjectReflection>) => JSX.Element;
76
40
  hierarchyTemplate: (pageEvent: PageEvent<ProjectReflection>) => JSX.Element;
77
41
  defaultLayoutTemplate: (pageEvent: PageEvent<Reflection>, template: RenderTemplate<PageEvent<Reflection>>) => JSX.Element;
78
- getReflectionClasses(reflection: DeclarationReflection | DocumentReflection): string;
42
+ getReflectionClasses(reflection: Reflection): string;
79
43
  /**
80
44
  * Mappings of reflections kinds to templates used by this theme.
81
45
  */
@@ -38,7 +38,7 @@ import { UrlMapping } from "../../models/UrlMapping.js";
38
38
  import { DefaultThemeRenderContext } from "./DefaultThemeRenderContext.js";
39
39
  import { filterMap, JSX, Option } from "../../../utils/index.js";
40
40
  import { classNames, getDisplayName, getHierarchyRoots, toStyleClass } from "../lib.js";
41
- import { icons } from "./partials/icon.js";
41
+ import { getIcons } from "./partials/icon.js";
42
42
  import { Slugger } from "./Slugger.js";
43
43
  import { createNormalizedUrl } from "../../../utils/html.js";
44
44
  let DefaultTheme = (() => {
@@ -74,7 +74,7 @@ let DefaultTheme = (() => {
74
74
  * the icons used within the page, however TypeDoc currently assumes that all icons are svg
75
75
  * elements, so custom themes must also use svg elements.
76
76
  */
77
- icons = { ...icons };
77
+ icons;
78
78
  getRenderContext(pageEvent) {
79
79
  return new DefaultThemeRenderContext(this, pageEvent, this.application.options);
80
80
  }
@@ -150,6 +150,7 @@ let DefaultTheme = (() => {
150
150
  */
151
151
  constructor(renderer) {
152
152
  super(renderer);
153
+ this.icons = getIcons(renderer.application.i18n);
153
154
  this.markedPlugin = renderer.markedPlugin;
154
155
  }
155
156
  /**
@@ -431,43 +432,51 @@ let DefaultTheme = (() => {
431
432
  })();
432
433
  export { DefaultTheme };
433
434
  function getReflectionClasses(reflection, filters) {
434
- const classes = [];
435
+ const classes = new Set();
435
436
  // Filter classes should match up with the settings function in
436
437
  // partials/navigation.tsx.
437
438
  for (const key of Object.keys(filters)) {
438
439
  if (key === "inherited") {
439
440
  if (reflection.flags.isInherited) {
440
- classes.push("tsd-is-inherited");
441
+ classes.add("tsd-is-inherited");
441
442
  }
442
443
  }
443
444
  else if (key === "protected") {
444
445
  if (reflection.flags.isProtected) {
445
- classes.push("tsd-is-protected");
446
+ classes.add("tsd-is-protected");
446
447
  }
447
448
  }
448
449
  else if (key === "private") {
449
450
  if (reflection.flags.isPrivate) {
450
- classes.push("tsd-is-private");
451
+ classes.add("tsd-is-private");
451
452
  }
452
453
  }
453
454
  else if (key === "external") {
454
455
  if (reflection.flags.isExternal) {
455
- classes.push("tsd-is-external");
456
+ classes.add("tsd-is-external");
456
457
  }
457
458
  }
458
459
  else if (key.startsWith("@")) {
459
460
  if (key === "@deprecated") {
460
461
  if (reflection.isDeprecated()) {
461
- classes.push(toStyleClass(`tsd-is-${key.substring(1)}`));
462
+ classes.add(toStyleClass(`tsd-is-${key.substring(1)}`));
462
463
  }
463
464
  }
464
465
  else if (reflection.comment?.hasModifier(key) ||
465
466
  reflection.comment?.getTag(key)) {
466
- classes.push(toStyleClass(`tsd-is-${key.substring(1)}`));
467
+ classes.add(toStyleClass(`tsd-is-${key.substring(1)}`));
468
+ }
469
+ else if (reflection.isDeclaration()) {
470
+ const ownSignatures = reflection.getNonIndexSignatures();
471
+ // Check methods and accessors, find common tags, elevate
472
+ if (ownSignatures.length &&
473
+ ownSignatures.every((refl) => refl.comment?.hasModifier(key) || refl.comment?.getTag(key))) {
474
+ classes.add(toStyleClass(`tsd-is-${key.substring(1)}`));
475
+ }
467
476
  }
468
477
  }
469
478
  }
470
- return classes.join(" ");
479
+ return Array.from(classes).join(" ");
471
480
  }
472
481
  function shouldShowCategories(reflection, opts) {
473
482
  if (opts.includeCategories) {