typedoc 0.27.7 → 0.28.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/bin/package.json +1 -1
- package/dist/browser-locales/en.d.ts +2 -0
- package/dist/browser-locales/en.js +62 -0
- package/dist/browser-locales/ja.d.ts +2 -0
- package/dist/browser-locales/ja.js +62 -0
- package/dist/browser-locales/ko.d.ts +2 -0
- package/dist/browser-locales/ko.js +62 -0
- package/dist/browser-locales/zh.d.ts +2 -0
- package/dist/browser-locales/zh.js +62 -0
- package/dist/browser-utils.d.ts +3 -0
- package/dist/browser-utils.d.ts.map +1 -0
- package/dist/browser-utils.js +3 -0
- package/dist/browser-utils.js.map +1 -0
- package/dist/generated/en.d.ts +2 -0
- package/dist/generated/en.js +62 -0
- package/dist/generated/ja.d.ts +2 -0
- package/dist/generated/ja.js +62 -0
- package/dist/generated/ko.d.ts +2 -0
- package/dist/generated/ko.js +62 -0
- package/dist/generated/zh.d.ts +2 -0
- package/dist/generated/zh.js +62 -0
- package/dist/index.d.ts +15 -9
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -0
- package/dist/lib/application-events.d.ts.map +1 -0
- package/dist/lib/application-events.js.map +1 -0
- package/dist/lib/application.d.ts +8 -9
- package/dist/lib/application.d.ts.map +1 -0
- package/dist/lib/application.js +69 -56
- package/dist/lib/application.js.map +1 -0
- package/dist/lib/cli.d.ts.map +1 -0
- package/dist/lib/cli.js +4 -3
- package/dist/lib/cli.js.map +1 -0
- package/dist/lib/converter/comments/blockLexer.d.ts.map +1 -0
- package/dist/lib/converter/comments/blockLexer.js +2 -2
- package/dist/lib/converter/comments/blockLexer.js.map +1 -0
- package/dist/lib/converter/comments/declarationReferenceResolver.d.ts +1 -1
- package/dist/lib/converter/comments/declarationReferenceResolver.d.ts.map +1 -0
- package/dist/lib/converter/comments/declarationReferenceResolver.js +8 -10
- package/dist/lib/converter/comments/declarationReferenceResolver.js.map +1 -0
- package/dist/lib/converter/comments/discovery.d.ts +1 -1
- package/dist/lib/converter/comments/discovery.d.ts.map +1 -0
- package/dist/lib/converter/comments/discovery.js +3 -4
- package/dist/lib/converter/comments/discovery.js.map +1 -0
- package/dist/lib/converter/comments/index.d.ts +1 -1
- package/dist/lib/converter/comments/index.d.ts.map +1 -0
- package/dist/lib/converter/comments/index.js +5 -7
- package/dist/lib/converter/comments/index.js.map +1 -0
- package/dist/lib/converter/comments/lexer.d.ts.map +1 -0
- package/dist/lib/converter/comments/lexer.js.map +1 -0
- package/dist/lib/converter/comments/lineLexer.d.ts.map +1 -0
- package/dist/lib/converter/comments/lineLexer.js.map +1 -0
- package/dist/lib/converter/comments/linkResolver.d.ts +1 -1
- package/dist/lib/converter/comments/linkResolver.d.ts.map +1 -0
- package/dist/lib/converter/comments/linkResolver.js +10 -16
- package/dist/lib/converter/comments/linkResolver.js.map +1 -0
- package/dist/lib/converter/comments/parser.d.ts +2 -2
- package/dist/lib/converter/comments/parser.d.ts.map +1 -0
- package/dist/lib/converter/comments/parser.js +8 -8
- package/dist/lib/converter/comments/parser.js.map +1 -0
- package/dist/lib/converter/comments/rawLexer.d.ts.map +1 -0
- package/dist/lib/converter/comments/rawLexer.js.map +1 -0
- package/dist/lib/converter/comments/tagName.d.ts.map +1 -0
- package/dist/lib/converter/comments/tagName.js.map +1 -0
- package/dist/lib/converter/comments/textParser.d.ts +3 -2
- package/dist/lib/converter/comments/textParser.d.ts.map +1 -0
- package/dist/lib/converter/comments/textParser.js +1 -2
- package/dist/lib/converter/comments/textParser.js.map +1 -0
- package/dist/lib/converter/components.d.ts.map +1 -0
- package/dist/lib/converter/components.js.map +1 -0
- package/dist/lib/converter/context.d.ts +13 -14
- package/dist/lib/converter/context.d.ts.map +1 -0
- package/dist/lib/converter/context.js +50 -13
- package/dist/lib/converter/context.js.map +1 -0
- package/dist/lib/converter/convert-expression.d.ts.map +1 -0
- package/dist/lib/converter/convert-expression.js.map +1 -0
- package/dist/lib/converter/converter-events.d.ts.map +1 -0
- package/dist/lib/converter/converter-events.js.map +1 -0
- package/dist/lib/converter/converter.d.ts +10 -5
- package/dist/lib/converter/converter.d.ts.map +1 -0
- package/dist/lib/converter/converter.js +59 -42
- package/dist/lib/converter/converter.js.map +1 -0
- package/dist/lib/converter/factories/index-signature.d.ts.map +1 -0
- package/dist/lib/converter/factories/index-signature.js.map +1 -0
- package/dist/lib/converter/factories/signature.d.ts.map +1 -0
- package/dist/lib/converter/factories/signature.js +5 -6
- package/dist/lib/converter/factories/signature.js.map +1 -0
- package/dist/lib/converter/factories/symbol-id.d.ts +4 -0
- package/dist/lib/converter/factories/symbol-id.d.ts.map +1 -0
- package/dist/lib/converter/factories/symbol-id.js +92 -0
- package/dist/lib/converter/factories/symbol-id.js.map +1 -0
- package/dist/lib/converter/factories/types.d.ts +4 -0
- package/dist/lib/converter/factories/types.d.ts.map +1 -0
- package/dist/lib/converter/factories/types.js +13 -0
- package/dist/lib/converter/factories/types.js.map +1 -0
- package/dist/lib/converter/index.d.ts +3 -4
- package/dist/lib/converter/index.d.ts.map +1 -0
- package/dist/lib/converter/index.js +2 -2
- package/dist/lib/converter/index.js.map +1 -0
- package/dist/lib/converter/jsdoc.d.ts.map +1 -0
- package/dist/lib/converter/jsdoc.js +3 -3
- package/dist/lib/converter/jsdoc.js.map +1 -0
- package/dist/lib/converter/plugins/CategoryPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/CategoryPlugin.js +4 -2
- package/dist/lib/converter/plugins/CategoryPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/CommentPlugin.d.ts +0 -1
- package/dist/lib/converter/plugins/CommentPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/CommentPlugin.js +8 -6
- package/dist/lib/converter/plugins/CommentPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/GroupPlugin.d.ts +2 -3
- package/dist/lib/converter/plugins/GroupPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/GroupPlugin.js +8 -7
- package/dist/lib/converter/plugins/GroupPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/ImplementsPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/ImplementsPlugin.js +6 -8
- package/dist/lib/converter/plugins/ImplementsPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/IncludePlugin.d.ts +1 -1
- package/dist/lib/converter/plugins/IncludePlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/IncludePlugin.js +19 -16
- package/dist/lib/converter/plugins/IncludePlugin.js.map +1 -0
- package/dist/lib/converter/plugins/InheritDocPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/InheritDocPlugin.js +7 -9
- package/dist/lib/converter/plugins/InheritDocPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/LinkResolverPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/LinkResolverPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/MergeModuleWithPlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/MergeModuleWithPlugin.js +3 -2
- package/dist/lib/converter/plugins/MergeModuleWithPlugin.js.map +1 -0
- package/dist/lib/converter/plugins/PackagePlugin.d.ts +3 -2
- package/dist/lib/converter/plugins/PackagePlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/PackagePlugin.js +7 -13
- package/dist/lib/converter/plugins/PackagePlugin.js.map +1 -0
- package/dist/lib/converter/plugins/SourcePlugin.d.ts +2 -1
- package/dist/lib/converter/plugins/SourcePlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/SourcePlugin.js +10 -9
- package/dist/lib/converter/plugins/SourcePlugin.js.map +1 -0
- package/dist/lib/converter/plugins/TypePlugin.d.ts +1 -1
- package/dist/lib/converter/plugins/TypePlugin.d.ts.map +1 -0
- package/dist/lib/converter/plugins/TypePlugin.js +1 -1
- package/dist/lib/converter/plugins/TypePlugin.js.map +1 -0
- package/dist/lib/converter/plugins/index.d.ts +1 -1
- package/dist/lib/converter/plugins/index.d.ts.map +1 -0
- package/dist/lib/converter/plugins/index.js +1 -1
- package/dist/lib/converter/plugins/index.js.map +1 -0
- package/dist/lib/converter/symbols.d.ts.map +1 -0
- package/dist/lib/converter/symbols.js +58 -30
- package/dist/lib/converter/symbols.js.map +1 -0
- package/dist/lib/converter/types.d.ts.map +1 -0
- package/dist/lib/converter/types.js +14 -13
- package/dist/lib/converter/types.js.map +1 -0
- package/dist/lib/converter/utils/nodes.d.ts.map +1 -0
- package/dist/lib/converter/utils/nodes.js.map +1 -0
- package/dist/lib/converter/utils/reflections.d.ts.map +1 -0
- package/dist/lib/converter/utils/reflections.js.map +1 -0
- package/dist/lib/converter/utils/repository.d.ts +1 -1
- package/dist/lib/converter/utils/repository.d.ts.map +1 -0
- package/dist/lib/converter/utils/repository.js +2 -2
- package/dist/lib/converter/utils/repository.js.map +1 -0
- package/dist/lib/converter/utils/symbols.d.ts.map +1 -0
- package/dist/lib/converter/utils/symbols.js.map +1 -0
- package/dist/lib/debug/index.d.ts +2 -2
- package/dist/lib/debug/index.d.ts.map +1 -0
- package/dist/lib/debug/index.js +2 -2
- package/dist/lib/debug/index.js.map +1 -0
- package/dist/lib/debug/{debugReflectionLifetimes.d.ts → reflectionLifetimes.d.ts} +2 -1
- package/dist/lib/debug/reflectionLifetimes.d.ts.map +1 -0
- package/dist/lib/debug/{debugReflectionLifetimes.js → reflectionLifetimes.js} +12 -4
- package/dist/lib/debug/reflectionLifetimes.js.map +1 -0
- package/dist/lib/debug/{debugRendererUrls.d.ts → rendererUrls.d.ts} +1 -0
- package/dist/lib/debug/rendererUrls.d.ts.map +1 -0
- package/dist/lib/debug/rendererUrls.js +68 -0
- package/dist/lib/debug/rendererUrls.js.map +1 -0
- package/dist/lib/internationalization/index.d.ts +2 -1
- package/dist/lib/internationalization/index.d.ts.map +1 -0
- package/dist/lib/internationalization/index.js +2 -1
- package/dist/lib/internationalization/index.js.map +1 -0
- package/dist/lib/internationalization/internationalization.d.ts +16 -46
- package/dist/lib/internationalization/internationalization.d.ts.map +1 -0
- package/dist/lib/internationalization/internationalization.js +44 -211
- package/dist/lib/internationalization/internationalization.js.map +1 -0
- package/dist/lib/internationalization/locale-utils.cjs.map +1 -0
- package/dist/lib/internationalization/locale-utils.d.cts.map +1 -0
- package/dist/lib/internationalization/locales/en.cjs +11 -2
- package/dist/lib/internationalization/locales/en.cjs.map +1 -0
- package/dist/lib/internationalization/locales/en.d.cts +11 -2
- package/dist/lib/internationalization/locales/en.d.cts.map +1 -0
- package/dist/lib/internationalization/locales/ja.cjs +1 -0
- package/dist/lib/internationalization/locales/ja.cjs.map +1 -0
- package/dist/lib/internationalization/locales/ja.d.cts.map +1 -0
- package/dist/lib/internationalization/locales/ko.cjs.map +1 -0
- package/dist/lib/internationalization/locales/ko.d.cts.map +1 -0
- package/dist/lib/internationalization/locales/zh.cjs +53 -2
- package/dist/lib/internationalization/locales/zh.cjs.map +1 -0
- package/dist/lib/internationalization/locales/zh.d.cts +20 -1
- package/dist/lib/internationalization/locales/zh.d.cts.map +1 -0
- package/dist/lib/internationalization/translatable.d.ts +2 -1
- package/dist/lib/internationalization/translatable.d.ts.map +1 -0
- package/dist/lib/internationalization/translatable.js.map +1 -0
- package/dist/lib/models/{comments/comment.d.ts → Comment.d.ts} +9 -8
- package/dist/lib/models/Comment.d.ts.map +1 -0
- package/dist/lib/models/{comments/comment.js → Comment.js} +15 -18
- package/dist/lib/models/Comment.js.map +1 -0
- package/dist/lib/models/{reflections/container.d.ts → ContainerReflection.d.ts} +6 -6
- package/dist/lib/models/ContainerReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/container.js → ContainerReflection.js} +4 -5
- package/dist/lib/models/ContainerReflection.js.map +1 -0
- package/dist/lib/models/{reflections/declaration.d.ts → DeclarationReflection.d.ts} +11 -19
- package/dist/lib/models/DeclarationReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/declaration.js → DeclarationReflection.js} +11 -29
- package/dist/lib/models/DeclarationReflection.js.map +1 -0
- package/dist/lib/models/{reflections/document.d.ts → DocumentReflection.d.ts} +3 -3
- package/dist/lib/models/DocumentReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/document.js → DocumentReflection.js} +3 -3
- package/dist/lib/models/DocumentReflection.js.map +1 -0
- package/dist/lib/models/FileRegistry.d.ts +12 -20
- package/dist/lib/models/FileRegistry.d.ts.map +1 -0
- package/dist/lib/models/FileRegistry.js +8 -44
- package/dist/lib/models/FileRegistry.js.map +1 -0
- package/dist/lib/models/{reflections/parameter.d.ts → ParameterReflection.d.ts} +4 -4
- package/dist/lib/models/ParameterReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/parameter.js → ParameterReflection.js} +2 -2
- package/dist/lib/models/ParameterReflection.js.map +1 -0
- package/dist/lib/models/{reflections/project.d.ts → ProjectReflection.d.ts} +12 -21
- package/dist/lib/models/ProjectReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/project.js → ProjectReflection.js} +16 -48
- package/dist/lib/models/ProjectReflection.js.map +1 -0
- package/dist/lib/models/{reflections/reference.d.ts → ReferenceReflection.d.ts} +3 -3
- package/dist/lib/models/ReferenceReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/reference.js → ReferenceReflection.js} +3 -4
- package/dist/lib/models/ReferenceReflection.js.map +1 -0
- package/dist/lib/models/{reflections/abstract.d.ts → Reflection.d.ts} +15 -28
- package/dist/lib/models/Reflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/abstract.js → Reflection.js} +38 -21
- package/dist/lib/models/Reflection.js.map +1 -0
- package/dist/lib/models/ReflectionCategory.d.ts +2 -6
- package/dist/lib/models/ReflectionCategory.d.ts.map +1 -0
- package/dist/lib/models/ReflectionCategory.js +3 -9
- package/dist/lib/models/ReflectionCategory.js.map +1 -0
- package/dist/lib/models/ReflectionGroup.d.ts +1 -5
- package/dist/lib/models/ReflectionGroup.d.ts.map +1 -0
- package/dist/lib/models/ReflectionGroup.js +2 -8
- package/dist/lib/models/ReflectionGroup.js.map +1 -0
- package/dist/lib/models/{reflections/ReflectionSymbolId.d.ts → ReflectionSymbolId.d.ts} +23 -10
- package/dist/lib/models/ReflectionSymbolId.d.ts.map +1 -0
- package/dist/lib/models/ReflectionSymbolId.js +75 -0
- package/dist/lib/models/ReflectionSymbolId.js.map +1 -0
- package/dist/lib/models/{reflections/signature.d.ts → SignatureReflection.d.ts} +8 -7
- package/dist/lib/models/SignatureReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/signature.js → SignatureReflection.js} +7 -11
- package/dist/lib/models/SignatureReflection.js.map +1 -0
- package/dist/lib/models/{sources/file.d.ts → SourceReference.d.ts} +3 -4
- package/dist/lib/models/SourceReference.d.ts.map +1 -0
- package/dist/lib/models/SourceReference.js.map +1 -0
- package/dist/lib/models/{reflections/type-parameter.d.ts → TypeParameterReflection.d.ts} +6 -5
- package/dist/lib/models/TypeParameterReflection.d.ts.map +1 -0
- package/dist/lib/models/{reflections/type-parameter.js → TypeParameterReflection.js} +4 -1
- package/dist/lib/models/TypeParameterReflection.js.map +1 -0
- package/dist/lib/models/index.d.ts +18 -6
- package/dist/lib/models/index.d.ts.map +1 -0
- package/dist/lib/models/index.js +18 -6
- package/dist/lib/models/index.js.map +1 -0
- package/dist/lib/models/{reflections/kind.d.ts → kind.d.ts} +2 -8
- package/dist/lib/models/kind.d.ts.map +1 -0
- package/dist/lib/models/{reflections/kind.js → kind.js} +99 -30
- package/dist/lib/models/kind.js.map +1 -0
- package/dist/lib/models/types.d.ts +8 -10
- package/dist/lib/models/types.d.ts.map +1 -0
- package/dist/lib/models/types.js +11 -22
- package/dist/lib/models/types.js.map +1 -0
- package/dist/lib/models/utils.d.ts.map +1 -0
- package/dist/lib/models/utils.js.map +1 -0
- package/dist/lib/models/{reflections/variant.d.ts → variant.d.ts} +7 -7
- package/dist/lib/models/variant.d.ts.map +1 -0
- package/dist/lib/models/variant.js.map +1 -0
- package/dist/lib/output/components.d.ts +2 -2
- package/dist/lib/output/components.d.ts.map +1 -0
- package/dist/lib/output/components.js +1 -1
- package/dist/lib/output/components.js.map +1 -0
- package/dist/lib/output/events.d.ts +10 -18
- package/dist/lib/output/events.d.ts.map +1 -0
- package/dist/lib/output/events.js +10 -27
- package/dist/lib/output/events.js.map +1 -0
- package/dist/lib/output/formatter.d.ts +8 -5
- package/dist/lib/output/formatter.d.ts.map +1 -0
- package/dist/lib/output/formatter.js +51 -19
- package/dist/lib/output/formatter.js.map +1 -0
- package/dist/lib/output/index.d.ts +4 -3
- package/dist/lib/output/index.d.ts.map +1 -0
- package/dist/lib/output/index.js +4 -3
- package/dist/lib/output/index.js.map +1 -0
- package/dist/lib/output/models/UrlMapping.d.ts +1 -1
- package/dist/lib/output/models/UrlMapping.d.ts.map +1 -0
- package/dist/lib/output/models/UrlMapping.js.map +1 -0
- package/dist/lib/output/output.d.ts.map +1 -0
- package/dist/lib/output/output.js +5 -4
- package/dist/lib/output/output.js.map +1 -0
- package/dist/lib/output/plugins/AssetsPlugin.d.ts.map +1 -0
- package/dist/lib/output/plugins/AssetsPlugin.js +9 -7
- package/dist/lib/output/plugins/AssetsPlugin.js.map +1 -0
- package/dist/lib/output/plugins/HierarchyPlugin.d.ts.map +1 -0
- package/dist/lib/output/plugins/HierarchyPlugin.js +4 -3
- package/dist/lib/output/plugins/HierarchyPlugin.js.map +1 -0
- package/dist/lib/output/plugins/IconsPlugin.d.ts.map +1 -0
- package/dist/lib/output/plugins/IconsPlugin.js +3 -3
- package/dist/lib/output/plugins/IconsPlugin.js.map +1 -0
- package/dist/lib/output/plugins/JavascriptIndexPlugin.d.ts.map +1 -0
- package/dist/lib/output/plugins/JavascriptIndexPlugin.js +12 -17
- package/dist/lib/output/plugins/JavascriptIndexPlugin.js.map +1 -0
- package/dist/lib/output/plugins/NavigationPlugin.d.ts.map +1 -0
- package/dist/lib/output/plugins/NavigationPlugin.js.map +1 -0
- package/dist/lib/output/plugins/SitemapPlugin.d.ts.map +1 -0
- package/dist/lib/output/plugins/SitemapPlugin.js +6 -7
- package/dist/lib/output/plugins/SitemapPlugin.js.map +1 -0
- package/dist/lib/output/plugins/index.d.ts.map +1 -0
- package/dist/lib/output/plugins/index.js.map +1 -0
- package/dist/lib/output/renderer.d.ts +22 -14
- package/dist/lib/output/renderer.d.ts.map +1 -0
- package/dist/lib/output/renderer.js +76 -36
- package/dist/lib/output/renderer.js.map +1 -0
- package/dist/lib/output/router.d.ts +175 -0
- package/dist/lib/output/router.d.ts.map +1 -0
- package/dist/lib/output/router.js +472 -0
- package/dist/lib/output/router.js.map +1 -0
- package/dist/lib/output/theme.d.ts +3 -28
- package/dist/lib/output/theme.d.ts.map +1 -0
- package/dist/lib/output/theme.js +2 -15
- package/dist/lib/output/theme.js.map +1 -0
- package/dist/lib/output/themes/MarkedPlugin.d.ts +2 -2
- package/dist/lib/output/themes/MarkedPlugin.d.ts.map +1 -0
- package/dist/lib/output/themes/MarkedPlugin.js +36 -32
- package/dist/lib/output/themes/MarkedPlugin.js.map +1 -0
- package/dist/lib/output/themes/default/DefaultTheme.d.ts +7 -40
- package/dist/lib/output/themes/default/DefaultTheme.d.ts.map +1 -0
- package/dist/lib/output/themes/default/DefaultTheme.js +208 -406
- package/dist/lib/output/themes/default/DefaultTheme.js.map +1 -0
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts +49 -47
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts.map +1 -0
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.js +27 -14
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.js.map +1 -0
- package/dist/lib/output/themes/default/Slugger.d.ts.map +1 -0
- package/dist/lib/output/themes/default/Slugger.js +1 -1
- package/dist/lib/output/themes/default/Slugger.js.map +1 -0
- package/dist/lib/output/themes/default/layouts/default.d.ts +1 -1
- package/dist/lib/output/themes/default/layouts/default.d.ts.map +1 -0
- package/dist/lib/output/themes/default/layouts/default.js +9 -6
- package/dist/lib/output/themes/default/layouts/default.js.map +1 -0
- package/dist/lib/output/themes/default/partials/anchor-icon.d.ts +4 -1
- package/dist/lib/output/themes/default/partials/anchor-icon.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/anchor-icon.js +12 -2
- package/dist/lib/output/themes/default/partials/anchor-icon.js.map +1 -0
- package/dist/lib/output/themes/default/partials/breadcrumb.d.ts +2 -2
- package/dist/lib/output/themes/default/partials/breadcrumb.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/breadcrumb.js +11 -5
- package/dist/lib/output/themes/default/partials/breadcrumb.js.map +1 -0
- package/dist/lib/output/themes/default/partials/comment.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/comment.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/comment.js +9 -9
- package/dist/lib/output/themes/default/partials/comment.js.map +1 -0
- package/dist/lib/output/themes/default/partials/footer.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/footer.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/footer.js +2 -2
- package/dist/lib/output/themes/default/partials/footer.js.map +1 -0
- package/dist/lib/output/themes/default/partials/header.d.ts +2 -2
- package/dist/lib/output/themes/default/partials/header.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/header.js +4 -3
- package/dist/lib/output/themes/default/partials/header.js.map +1 -0
- package/dist/lib/output/themes/default/partials/hierarchy.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/hierarchy.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/hierarchy.js +10 -8
- package/dist/lib/output/themes/default/partials/hierarchy.js.map +1 -0
- package/dist/lib/output/themes/default/partials/icon.d.ts +2 -3
- package/dist/lib/output/themes/default/partials/icon.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/icon.js +3 -3
- package/dist/lib/output/themes/default/partials/icon.js.map +1 -0
- package/dist/lib/output/themes/default/partials/index.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/index.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/index.js +10 -18
- package/dist/lib/output/themes/default/partials/index.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.declaration.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.declaration.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.declaration.js +2 -2
- package/dist/lib/output/themes/default/partials/member.declaration.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.getterSetter.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.getterSetter.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.getterSetter.js +5 -5
- package/dist/lib/output/themes/default/partials/member.getterSetter.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.js +10 -9
- package/dist/lib/output/themes/default/partials/member.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.signature.body.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.signature.body.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.signature.body.js +4 -4
- package/dist/lib/output/themes/default/partials/member.signature.body.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.signature.title.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.signature.title.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.signature.title.js +1 -1
- package/dist/lib/output/themes/default/partials/member.signature.title.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.signatures.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.signatures.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.signatures.js +4 -4
- package/dist/lib/output/themes/default/partials/member.signatures.js.map +1 -0
- package/dist/lib/output/themes/default/partials/member.sources.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/member.sources.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/member.sources.js +7 -7
- package/dist/lib/output/themes/default/partials/member.sources.js.map +1 -0
- package/dist/lib/output/themes/default/partials/members.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/members.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/members.js +2 -2
- package/dist/lib/output/themes/default/partials/members.js.map +1 -0
- package/dist/lib/output/themes/default/partials/moduleReflection.d.ts +2 -2
- package/dist/lib/output/themes/default/partials/moduleReflection.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/moduleReflection.js +5 -5
- package/dist/lib/output/themes/default/partials/moduleReflection.js.map +1 -0
- package/dist/lib/output/themes/default/partials/navigation.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/navigation.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/navigation.js +17 -15
- package/dist/lib/output/themes/default/partials/navigation.js.map +1 -0
- package/dist/lib/output/themes/default/partials/reflectionPreview.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/reflectionPreview.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/reflectionPreview.js +2 -2
- package/dist/lib/output/themes/default/partials/reflectionPreview.js.map +1 -0
- package/dist/lib/output/themes/default/partials/toolbar.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/toolbar.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/toolbar.js +10 -13
- package/dist/lib/output/themes/default/partials/toolbar.js.map +1 -0
- package/dist/lib/output/themes/default/partials/type.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/type.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/type.js +1 -1
- package/dist/lib/output/themes/default/partials/type.js.map +1 -0
- package/dist/lib/output/themes/default/partials/typeAndParent.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/typeAndParent.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/typeAndParent.js +3 -3
- package/dist/lib/output/themes/default/partials/typeAndParent.js.map +1 -0
- package/dist/lib/output/themes/default/partials/typeDetails.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/typeDetails.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/typeDetails.js +23 -19
- package/dist/lib/output/themes/default/partials/typeDetails.js.map +1 -0
- package/dist/lib/output/themes/default/partials/typeParameters.d.ts +1 -1
- package/dist/lib/output/themes/default/partials/typeParameters.d.ts.map +1 -0
- package/dist/lib/output/themes/default/partials/typeParameters.js +7 -8
- package/dist/lib/output/themes/default/partials/typeParameters.js.map +1 -0
- package/dist/lib/output/themes/default/templates/document.d.ts +1 -1
- package/dist/lib/output/themes/default/templates/document.d.ts.map +1 -0
- package/dist/lib/output/themes/default/templates/document.js +2 -2
- package/dist/lib/output/themes/default/templates/document.js.map +1 -0
- package/dist/lib/output/themes/default/templates/hierarchy.d.ts +1 -1
- package/dist/lib/output/themes/default/templates/hierarchy.d.ts.map +1 -0
- package/dist/lib/output/themes/default/templates/hierarchy.js +4 -3
- package/dist/lib/output/themes/default/templates/hierarchy.js.map +1 -0
- package/dist/lib/output/themes/default/templates/index.d.ts +1 -1
- package/dist/lib/output/themes/default/templates/index.d.ts.map +1 -0
- package/dist/lib/output/themes/default/templates/index.js +2 -2
- package/dist/lib/output/themes/default/templates/index.js.map +1 -0
- package/dist/lib/output/themes/default/templates/reflection.d.ts +1 -1
- package/dist/lib/output/themes/default/templates/reflection.d.ts.map +1 -0
- package/dist/lib/output/themes/default/templates/reflection.js +9 -12
- package/dist/lib/output/themes/default/templates/reflection.js.map +1 -0
- package/dist/lib/output/themes/lib.d.ts +1 -1
- package/dist/lib/output/themes/lib.d.ts.map +1 -0
- package/dist/lib/output/themes/lib.js +3 -3
- package/dist/lib/output/themes/lib.js.map +1 -0
- package/dist/lib/serialization/components.d.ts +1 -1
- package/dist/lib/serialization/components.d.ts.map +1 -0
- package/dist/lib/serialization/components.js.map +1 -0
- package/dist/lib/serialization/deserializer.d.ts +9 -13
- package/dist/lib/serialization/deserializer.d.ts.map +1 -0
- package/dist/lib/serialization/deserializer.js +22 -24
- package/dist/lib/serialization/deserializer.js.map +1 -0
- package/dist/lib/serialization/events.d.ts +1 -1
- package/dist/lib/serialization/events.d.ts.map +1 -0
- package/dist/lib/serialization/events.js.map +1 -0
- package/dist/lib/serialization/index.d.ts +1 -1
- package/dist/lib/serialization/index.d.ts.map +1 -0
- package/dist/lib/serialization/index.js +1 -1
- package/dist/lib/serialization/index.js.map +1 -0
- package/dist/lib/serialization/schema.d.ts +15 -10
- package/dist/lib/serialization/schema.d.ts.map +1 -0
- package/dist/lib/serialization/schema.js +1 -1
- package/dist/lib/serialization/schema.js.map +1 -0
- package/dist/lib/serialization/serializer.d.ts +4 -4
- package/dist/lib/serialization/serializer.d.ts.map +1 -0
- package/dist/lib/serialization/serializer.js +1 -2
- package/dist/lib/serialization/serializer.js.map +1 -0
- package/dist/lib/utils/ValidatingFileRegistry.d.ts +10 -0
- package/dist/lib/utils/ValidatingFileRegistry.d.ts.map +1 -0
- package/dist/lib/utils/ValidatingFileRegistry.js +34 -0
- package/dist/lib/utils/ValidatingFileRegistry.js.map +1 -0
- package/dist/lib/utils/component.d.ts +1 -1
- package/dist/lib/utils/component.d.ts.map +1 -0
- package/dist/lib/utils/component.js +1 -1
- package/dist/lib/utils/component.js.map +1 -0
- package/dist/lib/utils/compress.d.ts.map +1 -0
- package/dist/lib/utils/compress.js.map +1 -0
- package/dist/lib/utils/entry-point.d.ts +3 -3
- package/dist/lib/utils/entry-point.d.ts.map +1 -0
- package/dist/lib/utils/entry-point.js +29 -26
- package/dist/lib/utils/entry-point.js.map +1 -0
- package/dist/lib/utils/fs.d.ts +5 -9
- package/dist/lib/utils/fs.d.ts.map +1 -0
- package/dist/lib/utils/fs.js +11 -46
- package/dist/lib/utils/fs.js.map +1 -0
- package/dist/lib/utils/general.d.ts +1 -47
- package/dist/lib/utils/general.d.ts.map +1 -0
- package/dist/lib/utils/general.js +4 -74
- package/dist/lib/utils/general.js.map +1 -0
- package/dist/lib/utils/highlighter.d.ts.map +1 -0
- package/dist/lib/utils/highlighter.js +1 -2
- package/dist/lib/utils/highlighter.js.map +1 -0
- package/dist/lib/utils/html-entities.d.ts.map +1 -0
- package/dist/lib/utils/html-entities.js.map +1 -0
- package/dist/lib/utils/html.d.ts +0 -1
- package/dist/lib/utils/html.d.ts.map +1 -0
- package/dist/lib/utils/html.js +4 -13
- package/dist/lib/utils/html.js.map +1 -0
- package/dist/lib/utils/index.d.ts +9 -17
- package/dist/lib/utils/index.d.ts.map +1 -0
- package/dist/lib/utils/index.js +8 -15
- package/dist/lib/utils/index.js.map +1 -0
- package/dist/lib/utils/loggers.d.ts +5 -108
- package/dist/lib/utils/loggers.d.ts.map +1 -0
- package/dist/lib/utils/loggers.js +24 -168
- package/dist/lib/utils/loggers.js.map +1 -0
- package/dist/lib/utils/options/declaration.d.ts +67 -48
- package/dist/lib/utils/options/declaration.d.ts.map +1 -0
- package/dist/lib/utils/options/declaration.js +87 -70
- package/dist/lib/utils/options/declaration.js.map +1 -0
- package/dist/lib/utils/options/defaults.d.ts +1 -1
- package/dist/lib/utils/options/defaults.d.ts.map +1 -0
- package/dist/lib/utils/options/defaults.js.map +1 -0
- package/dist/lib/utils/options/help.d.ts +1 -2
- package/dist/lib/utils/options/help.d.ts.map +1 -0
- package/dist/lib/utils/options/help.js +5 -5
- package/dist/lib/utils/options/help.js.map +1 -0
- package/dist/lib/utils/options/index.d.ts +4 -4
- package/dist/lib/utils/options/index.d.ts.map +1 -0
- package/dist/lib/utils/options/index.js +3 -3
- package/dist/lib/utils/options/index.js.map +1 -0
- package/dist/lib/utils/options/options.d.ts +3 -6
- package/dist/lib/utils/options/options.d.ts.map +1 -0
- package/dist/lib/utils/options/options.js +10 -12
- package/dist/lib/utils/options/options.js.map +1 -0
- package/dist/lib/utils/options/readers/arguments.d.ts +2 -2
- package/dist/lib/utils/options/readers/arguments.d.ts.map +1 -0
- package/dist/lib/utils/options/readers/arguments.js +4 -3
- package/dist/lib/utils/options/readers/arguments.js.map +1 -0
- package/dist/lib/utils/options/readers/index.d.ts.map +1 -0
- package/dist/lib/utils/options/readers/index.js.map +1 -0
- package/dist/lib/utils/options/readers/package-json.d.ts +1 -1
- package/dist/lib/utils/options/readers/package-json.d.ts.map +1 -0
- package/dist/lib/utils/options/readers/package-json.js +3 -2
- package/dist/lib/utils/options/readers/package-json.js.map +1 -0
- package/dist/lib/utils/options/readers/tsconfig.d.ts +1 -1
- package/dist/lib/utils/options/readers/tsconfig.d.ts.map +1 -0
- package/dist/lib/utils/options/readers/tsconfig.js +27 -27
- package/dist/lib/utils/options/readers/tsconfig.js.map +1 -0
- package/dist/lib/utils/options/readers/typedoc.d.ts +1 -1
- package/dist/lib/utils/options/readers/typedoc.d.ts.map +1 -0
- package/dist/lib/utils/options/readers/typedoc.js +8 -9
- package/dist/lib/utils/options/readers/typedoc.js.map +1 -0
- package/dist/lib/utils/options/sources/index.d.ts.map +1 -0
- package/dist/lib/utils/options/sources/index.js.map +1 -0
- package/dist/lib/utils/options/sources/typedoc.d.ts.map +1 -0
- package/dist/lib/utils/options/sources/typedoc.js +152 -137
- package/dist/lib/utils/options/sources/typedoc.js.map +1 -0
- package/dist/lib/utils/options/tsdoc-defaults.d.ts +1 -1
- package/dist/lib/utils/options/tsdoc-defaults.d.ts.map +1 -0
- package/dist/lib/utils/options/tsdoc-defaults.js +2 -1
- package/dist/lib/utils/options/tsdoc-defaults.js.map +1 -0
- package/dist/lib/utils/package-manifest.d.ts +3 -3
- package/dist/lib/utils/package-manifest.d.ts.map +1 -0
- package/dist/lib/utils/package-manifest.js +9 -8
- package/dist/lib/utils/package-manifest.js.map +1 -0
- package/dist/lib/utils/paths.d.ts +17 -6
- package/dist/lib/utils/paths.d.ts.map +1 -0
- package/dist/lib/utils/paths.js +94 -11
- package/dist/lib/utils/paths.js.map +1 -0
- package/dist/lib/utils/perf.d.ts +4 -1
- package/dist/lib/utils/perf.d.ts.map +1 -0
- package/dist/lib/utils/perf.js +32 -13
- package/dist/lib/utils/perf.js.map +1 -0
- package/dist/lib/utils/plugins.d.ts.map +1 -0
- package/dist/lib/utils/plugins.js +4 -3
- package/dist/lib/utils/plugins.js.map +1 -0
- package/dist/lib/utils/reflections.d.ts.map +1 -0
- package/dist/lib/utils/reflections.js.map +1 -0
- package/dist/lib/utils/sort.d.ts +1 -1
- package/dist/lib/utils/sort.d.ts.map +1 -0
- package/dist/lib/utils/sort.js +8 -3
- package/dist/lib/utils/sort.js.map +1 -0
- package/dist/lib/utils/tsconfig.d.ts +1 -1
- package/dist/lib/utils/tsconfig.d.ts.map +1 -0
- package/dist/lib/utils/tsconfig.js +4 -3
- package/dist/lib/utils/tsconfig.js.map +1 -0
- package/dist/lib/utils/tsutils.d.ts.map +1 -0
- package/dist/lib/utils/tsutils.js.map +1 -0
- package/dist/lib/utils-common/array.d.ts.map +1 -0
- package/dist/lib/utils-common/array.js.map +1 -0
- package/dist/lib/utils-common/declarationReference.d.ts.map +1 -0
- package/dist/lib/utils-common/declarationReference.js.map +1 -0
- package/dist/lib/utils-common/enum.d.ts.map +1 -0
- package/dist/lib/utils-common/enum.js.map +1 -0
- package/dist/lib/utils-common/events.d.ts.map +1 -0
- package/dist/lib/utils-common/events.js.map +1 -0
- package/dist/lib/utils-common/general.d.ts +40 -0
- package/dist/lib/utils-common/general.d.ts.map +1 -0
- package/dist/lib/utils-common/general.js +20 -0
- package/dist/lib/utils-common/general.js.map +1 -0
- package/dist/lib/utils-common/hooks.d.ts.map +1 -0
- package/dist/lib/utils-common/hooks.js.map +1 -0
- package/dist/lib/utils-common/i18n.d.ts +17 -0
- package/dist/lib/utils-common/i18n.d.ts.map +1 -0
- package/dist/lib/utils-common/i18n.js +39 -0
- package/dist/lib/utils-common/i18n.js.map +1 -0
- package/dist/lib/utils-common/index.d.ts +16 -0
- package/dist/lib/utils-common/index.d.ts.map +1 -0
- package/dist/lib/utils-common/index.js +18 -0
- package/dist/lib/utils-common/index.js.map +1 -0
- package/dist/lib/{utils → utils-common}/jsx.d.ts +3 -3
- package/dist/lib/utils-common/jsx.d.ts.map +1 -0
- package/dist/lib/utils-common/jsx.elements.d.ts.map +1 -0
- package/dist/lib/utils-common/jsx.elements.js.map +1 -0
- package/dist/lib/{utils → utils-common}/jsx.js +1 -1
- package/dist/lib/utils-common/jsx.js.map +1 -0
- package/dist/lib/utils-common/logger.d.ts +86 -0
- package/dist/lib/utils-common/logger.d.ts.map +1 -0
- package/dist/lib/utils-common/logger.js +120 -0
- package/dist/lib/utils-common/logger.js.map +1 -0
- package/dist/lib/utils-common/map.d.ts.map +1 -0
- package/dist/lib/utils-common/map.js.map +1 -0
- package/dist/lib/{utils → utils-common}/minimalSourceFile.d.ts +7 -2
- package/dist/lib/utils-common/minimalSourceFile.d.ts.map +1 -0
- package/dist/lib/{utils → utils-common}/minimalSourceFile.js +3 -2
- package/dist/lib/utils-common/minimalSourceFile.js.map +1 -0
- package/dist/lib/utils-common/path.d.ts +35 -0
- package/dist/lib/utils-common/path.d.ts.map +1 -0
- package/dist/lib/utils-common/path.js +123 -0
- package/dist/lib/utils-common/path.js.map +1 -0
- package/dist/lib/utils-common/set.d.ts.map +1 -0
- package/dist/lib/utils-common/set.js.map +1 -0
- package/dist/lib/utils-common/string.d.ts +11 -0
- package/dist/lib/utils-common/string.d.ts.map +1 -0
- package/dist/lib/utils-common/string.js +84 -0
- package/dist/lib/utils-common/string.js.map +1 -0
- package/dist/lib/utils-common/validation.d.ts.map +1 -0
- package/dist/lib/utils-common/validation.js.map +1 -0
- package/dist/lib/validation/documentation.d.ts +2 -2
- package/dist/lib/validation/documentation.d.ts.map +1 -0
- package/dist/lib/validation/documentation.js +14 -5
- package/dist/lib/validation/documentation.js.map +1 -0
- package/dist/lib/validation/exports.d.ts +1 -1
- package/dist/lib/validation/exports.d.ts.map +1 -0
- package/dist/lib/validation/exports.js +4 -4
- package/dist/lib/validation/exports.js.map +1 -0
- package/dist/lib/validation/links.d.ts +1 -1
- package/dist/lib/validation/links.d.ts.map +1 -0
- package/dist/lib/validation/links.js +9 -8
- package/dist/lib/validation/links.js.map +1 -0
- package/dist/lib/validation/unusedMergeModuleWith.d.ts +1 -1
- package/dist/lib/validation/unusedMergeModuleWith.d.ts.map +1 -0
- package/dist/lib/validation/unusedMergeModuleWith.js +3 -2
- package/dist/lib/validation/unusedMergeModuleWith.js.map +1 -0
- package/package.json +59 -38
- package/static/main.js +4 -4
- package/static/style.css +218 -200
- package/tsdoc.json +4 -0
- package/dist/lib/debug/debugRendererUrls.js +0 -59
- package/dist/lib/internationalization/locales/jp.cjs +0 -3
- package/dist/lib/internationalization/locales/jp.d.cts +0 -2
- package/dist/lib/models/comments/index.d.ts +0 -2
- package/dist/lib/models/comments/index.js +0 -1
- package/dist/lib/models/reflections/ReflectionSymbolId.js +0 -133
- package/dist/lib/models/reflections/index.d.ts +0 -15
- package/dist/lib/models/reflections/index.js +0 -12
- package/dist/lib/models/sources/index.d.ts +0 -1
- package/dist/lib/models/sources/index.js +0 -1
- /package/dist/lib/models/{sources/file.js → SourceReference.js} +0 -0
- /package/dist/lib/models/{reflections/utils.d.ts → utils.d.ts} +0 -0
- /package/dist/lib/models/{reflections/utils.js → utils.js} +0 -0
- /package/dist/lib/models/{reflections/variant.js → variant.js} +0 -0
- /package/dist/lib/{utils → utils-common}/array.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/array.js +0 -0
- /package/dist/lib/{converter/comments → utils-common}/declarationReference.d.ts +0 -0
- /package/dist/lib/{converter/comments → utils-common}/declarationReference.js +0 -0
- /package/dist/lib/{utils → utils-common}/enum.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/enum.js +0 -0
- /package/dist/lib/{utils → utils-common}/events.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/events.js +0 -0
- /package/dist/lib/{utils → utils-common}/hooks.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/hooks.js +0 -0
- /package/dist/lib/{utils → utils-common}/jsx.elements.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/jsx.elements.js +0 -0
- /package/dist/lib/{utils → utils-common}/map.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/map.js +0 -0
- /package/dist/lib/{utils → utils-common}/set.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/set.js +0 -0
- /package/dist/lib/{utils → utils-common}/validation.d.ts +0 -0
- /package/dist/lib/{utils → utils-common}/validation.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OptionsReader } from "../index.js";
|
|
2
|
-
import type { Logger } from "../../loggers.js";
|
|
3
2
|
import type { Options } from "../options.js";
|
|
3
|
+
import { type Logger } from "#utils";
|
|
4
4
|
export declare class PackageJsonReader implements OptionsReader {
|
|
5
5
|
order: number;
|
|
6
6
|
supportsPackages: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../../../../src/lib/utils/options/readers/package-json.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAK7C,OAAO,EAAQ,KAAK,MAAM,EAAyB,MAAM,QAAQ,CAAC;AAElE,qBAAa,iBAAkB,YAAW,aAAa;IAGnD,KAAK,SAAO;IAEZ,gBAAgB,UAAQ;IAExB,IAAI,SAAkB;IAEtB,IAAI,CACA,SAAS,EAAE,OAAO,EAClB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GACjC,IAAI;CAmCV"}
|
|
@@ -2,6 +2,7 @@ import { ok } from "assert";
|
|
|
2
2
|
import { nicePath } from "../../paths.js";
|
|
3
3
|
import { discoverPackageJson } from "../../fs.js";
|
|
4
4
|
import { dirname } from "path";
|
|
5
|
+
import { i18n } from "#utils";
|
|
5
6
|
export class PackageJsonReader {
|
|
6
7
|
// Should run after the TypeDoc config reader but before the TS config
|
|
7
8
|
// reader, so that it can still specify a path to a `tsconfig.json` file.
|
|
@@ -15,7 +16,7 @@ export class PackageJsonReader {
|
|
|
15
16
|
}
|
|
16
17
|
const { file, content } = result;
|
|
17
18
|
if ("typedoc" in content) {
|
|
18
|
-
logger.warn(
|
|
19
|
+
logger.warn(i18n.typedoc_key_in_0_ignored(nicePath(file)));
|
|
19
20
|
}
|
|
20
21
|
const optsKey = "typedocOptions";
|
|
21
22
|
if (!(optsKey in content)) {
|
|
@@ -23,7 +24,7 @@ export class PackageJsonReader {
|
|
|
23
24
|
}
|
|
24
25
|
const opts = content[optsKey];
|
|
25
26
|
if (opts === null || typeof opts !== "object") {
|
|
26
|
-
logger.error(
|
|
27
|
+
logger.error(i18n.typedoc_options_must_be_object_in_0(nicePath(file)));
|
|
27
28
|
return;
|
|
28
29
|
}
|
|
29
30
|
for (const [opt, val] of Object.entries(opts)) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-json.js","sourceRoot":"","sources":["../../../../../src/lib/utils/options/readers/package-json.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAsC,MAAM,QAAQ,CAAC;AAElE,MAAM,OAAO,iBAAiB;IAC1B,sEAAsE;IACtE,yEAAyE;IACzE,KAAK,GAAG,GAAG,CAAC;IAEZ,gBAAgB,GAAG,IAAI,CAAC;IAExB,IAAI,GAAG,cAAc,CAAC;IAEtB,IAAI,CACA,SAAkB,EAClB,MAAc,EACd,GAAW,EACX,QAAgC;QAEhC,MAAM,MAAM,GAAG,mBAAmB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QAElD,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,OAAO;QACX,CAAC;QAED,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAEjC,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;YACvB,MAAM,CA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IAExB,OAAO,CAAC,cAAc,CAAqB;IAE3C,IAAI,CACA,SAAS,EAAE,OAAO,EAClB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAClC,IAAI;IA2DP,OAAO,CAAC,oBAAoB;IA2D5B,OAAO,CAAC,SAAS;CAmDpB"}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dirname, join, resolve } from "path";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
import { isFile } from "../../fs.js";
|
|
4
4
|
import { ok } from "assert";
|
|
5
|
-
import {
|
|
5
|
+
import { i18n, unique, Validation } from "#utils";
|
|
6
6
|
import { nicePath, normalizePath } from "../../paths.js";
|
|
7
7
|
import { createRequire } from "module";
|
|
8
|
-
import { tsdocBlockTags, tsdocInlineTags, tsdocModifierTags
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { tsdocBlockTags, tsdocInlineTags, tsdocModifierTags } from "../tsdoc-defaults.js";
|
|
9
|
+
import { findTsConfigFile, getTypeDocOptionsFromTsConfig, readTsConfig } from "../../tsconfig.js";
|
|
10
|
+
import { diagnostics } from "../../loggers.js";
|
|
11
11
|
function isSupportForTags(obj) {
|
|
12
|
-
return (validate({}, obj) &&
|
|
12
|
+
return (Validation.validate({}, obj) &&
|
|
13
13
|
Object.entries(obj).every(([key, val]) => {
|
|
14
14
|
return (/^@[a-zA-Z][a-zA-Z0-9]*$/.test(key) && typeof val === "boolean");
|
|
15
15
|
}));
|
|
16
16
|
}
|
|
17
17
|
const tsDocSchema = {
|
|
18
|
-
$schema: optional(String),
|
|
19
|
-
extends: optional([Array, String]),
|
|
20
|
-
noStandardTags: optional(Boolean),
|
|
21
|
-
tagDefinitions: optional([
|
|
18
|
+
$schema: Validation.optional(String),
|
|
19
|
+
extends: Validation.optional([Array, String]),
|
|
20
|
+
noStandardTags: Validation.optional(Boolean),
|
|
21
|
+
tagDefinitions: Validation.optional([
|
|
22
22
|
Array,
|
|
23
23
|
{
|
|
24
|
-
tagName: isTagString,
|
|
24
|
+
tagName: Validation.isTagString,
|
|
25
25
|
syntaxKind: ["inline", "block", "modifier"],
|
|
26
|
-
allowMultiple: optional(Boolean),
|
|
27
|
-
[additionalProperties]: false,
|
|
26
|
+
allowMultiple: Validation.optional(Boolean),
|
|
27
|
+
[Validation.additionalProperties]: false,
|
|
28
28
|
},
|
|
29
29
|
]),
|
|
30
|
-
supportForTags: optional(isSupportForTags),
|
|
30
|
+
supportForTags: Validation.optional(isSupportForTags),
|
|
31
31
|
// The official parser has code to support for these two, but
|
|
32
32
|
// the schema doesn't allow them... just silently ignore them for now.
|
|
33
|
-
supportedHtmlElements: optional({}),
|
|
34
|
-
reportUnsupportedHtmlElements: optional(Boolean),
|
|
35
|
-
[additionalProperties]: false,
|
|
33
|
+
supportedHtmlElements: Validation.optional({}),
|
|
34
|
+
reportUnsupportedHtmlElements: Validation.optional(Boolean),
|
|
35
|
+
[Validation.additionalProperties]: false,
|
|
36
36
|
};
|
|
37
37
|
export class TSConfigReader {
|
|
38
38
|
/**
|
|
@@ -48,7 +48,7 @@ export class TSConfigReader {
|
|
|
48
48
|
if (!fileToRead) {
|
|
49
49
|
// If the user didn't give us this option, we shouldn't complain about not being able to find it.
|
|
50
50
|
if (container.isSet("tsconfig")) {
|
|
51
|
-
logger.error(
|
|
51
|
+
logger.error(i18n.tsconfig_file_0_does_not_exist(nicePath(file)));
|
|
52
52
|
}
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
@@ -59,17 +59,17 @@ export class TSConfigReader {
|
|
|
59
59
|
if (!parsed) {
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
diagnostics(logger, parsed.errors);
|
|
63
63
|
if (parsed.errors.length) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
const typedocOptions = getTypeDocOptionsFromTsConfig(fileToRead);
|
|
67
67
|
if (typedocOptions.options) {
|
|
68
|
-
logger.error(
|
|
68
|
+
logger.error(i18n.tsconfig_file_specifies_options_file());
|
|
69
69
|
delete typedocOptions.options;
|
|
70
70
|
}
|
|
71
71
|
if (typedocOptions.tsconfig) {
|
|
72
|
-
logger.error(
|
|
72
|
+
logger.error(i18n.tsconfig_file_specifies_tsconfig_file());
|
|
73
73
|
delete typedocOptions.tsconfig;
|
|
74
74
|
}
|
|
75
75
|
container.setCompilerOptions(parsed.fileNames, parsed.options, parsed.projectReferences);
|
|
@@ -92,7 +92,7 @@ export class TSConfigReader {
|
|
|
92
92
|
}
|
|
93
93
|
const overwritten = ["blockTags", "inlineTags", "modifierTags"].filter((opt) => container.isSet(opt));
|
|
94
94
|
if (overwritten.length) {
|
|
95
|
-
logger.warn(
|
|
95
|
+
logger.warn(i18n.tags_0_defined_in_typedoc_json_overwritten_by_tsdoc_json(overwritten.join(", ")));
|
|
96
96
|
}
|
|
97
97
|
const config = this.readTsDoc(logger, tsdoc);
|
|
98
98
|
if (!config)
|
|
@@ -124,17 +124,17 @@ export class TSConfigReader {
|
|
|
124
124
|
}
|
|
125
125
|
readTsDoc(logger, path) {
|
|
126
126
|
if (this.seenTsdocPaths.has(path)) {
|
|
127
|
-
logger.error(
|
|
127
|
+
logger.error(i18n.circular_reference_extends_0(nicePath(path)));
|
|
128
128
|
return;
|
|
129
129
|
}
|
|
130
130
|
this.seenTsdocPaths.add(path);
|
|
131
131
|
const { config, error } = ts.readConfigFile(normalizePath(path), ts.sys.readFile);
|
|
132
132
|
if (error) {
|
|
133
|
-
logger.error(
|
|
133
|
+
logger.error(i18n.failed_read_tsdoc_json_0(nicePath(path)));
|
|
134
134
|
return;
|
|
135
135
|
}
|
|
136
|
-
if (!validate(tsDocSchema, config)) {
|
|
137
|
-
logger.error(
|
|
136
|
+
if (!Validation.validate(tsDocSchema, config)) {
|
|
137
|
+
logger.error(i18n.invalid_tsdoc_json_0(nicePath(path)));
|
|
138
138
|
return;
|
|
139
139
|
}
|
|
140
140
|
const workingConfig = {};
|
|
@@ -146,7 +146,7 @@ export class TSConfigReader {
|
|
|
146
146
|
resolvedPath = resolver.resolve(extendedPath);
|
|
147
147
|
}
|
|
148
148
|
catch {
|
|
149
|
-
logger.error(
|
|
149
|
+
logger.error(i18n.failed_resolve_0_to_file_in_1(extendedPath, nicePath(path)));
|
|
150
150
|
return;
|
|
151
151
|
}
|
|
152
152
|
const parentConfig = this.readTsDoc(logger, resolvedPath);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsconfig.js","sourceRoot":"","sources":["../../../../../src/lib/utils/options/readers/tsconfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAsC,MAAM,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,SAAS,gBAAgB,CAAC,GAAY;IAClC,OAAO,CACH,UAAU,CAAC,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,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AC;IAiBhB;;;;;OAKG;YACW,QAAQ;IA2FtB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;CA0B1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dirname, join, resolve } from "path";
|
|
2
2
|
import * as FS from "fs";
|
|
3
3
|
import ts from "typescript";
|
|
4
4
|
import { ok } from "assert";
|
|
@@ -6,11 +6,10 @@ import { nicePath, normalizePath } from "../../paths.js";
|
|
|
6
6
|
import { isFile } from "../../fs.js";
|
|
7
7
|
import { createRequire } from "module";
|
|
8
8
|
import { pathToFileURL } from "url";
|
|
9
|
+
import { i18n } from "#utils";
|
|
9
10
|
/**
|
|
10
11
|
* Obtains option values from typedoc.json
|
|
11
12
|
*/
|
|
12
|
-
// Changes need to happen here at some point. I think we should follow ESLint's new config
|
|
13
|
-
// system eventually: https://eslint.org/blog/2022/08/new-config-system-part-1/
|
|
14
13
|
export class TypeDocReader {
|
|
15
14
|
/**
|
|
16
15
|
* Should run before the tsconfig reader so that it can specify a tsconfig file to read.
|
|
@@ -26,7 +25,7 @@ export class TypeDocReader {
|
|
|
26
25
|
const file = this.findTypedocFile(path, usedFile);
|
|
27
26
|
if (!file) {
|
|
28
27
|
if (container.isSet("options")) {
|
|
29
|
-
logger.error(
|
|
28
|
+
logger.error(i18n.options_file_0_does_not_exist(nicePath(path)));
|
|
30
29
|
}
|
|
31
30
|
return;
|
|
32
31
|
}
|
|
@@ -41,7 +40,7 @@ export class TypeDocReader {
|
|
|
41
40
|
*/
|
|
42
41
|
async readFile(file, container, logger, seen) {
|
|
43
42
|
if (seen.has(file)) {
|
|
44
|
-
logger.error(
|
|
43
|
+
logger.error(i18n.circular_reference_extends_0(nicePath(file)));
|
|
45
44
|
return;
|
|
46
45
|
}
|
|
47
46
|
seen.add(file);
|
|
@@ -49,7 +48,7 @@ export class TypeDocReader {
|
|
|
49
48
|
if (file.endsWith(".json") || file.endsWith(".jsonc")) {
|
|
50
49
|
const readResult = ts.readConfigFile(normalizePath(file), (path) => FS.readFileSync(path, "utf-8"));
|
|
51
50
|
if (readResult.error) {
|
|
52
|
-
logger.error(
|
|
51
|
+
logger.error(i18n.failed_read_options_file_0(nicePath(file)));
|
|
53
52
|
return;
|
|
54
53
|
}
|
|
55
54
|
else {
|
|
@@ -64,13 +63,13 @@ export class TypeDocReader {
|
|
|
64
63
|
fileContent = await (await import(esmPath)).default;
|
|
65
64
|
}
|
|
66
65
|
catch (error) {
|
|
67
|
-
logger.error(
|
|
66
|
+
logger.error(i18n.failed_read_options_file_0(nicePath(file)));
|
|
68
67
|
logger.error(String(error instanceof Error ? error.message : error));
|
|
69
68
|
return;
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
if (typeof fileContent !== "object" || !fileContent) {
|
|
73
|
-
logger.error(
|
|
72
|
+
logger.error(i18n.failed_read_options_file_0(nicePath(file)));
|
|
74
73
|
return;
|
|
75
74
|
}
|
|
76
75
|
// clone option object to avoid of property changes in re-calling this file
|
|
@@ -85,7 +84,7 @@ export class TypeDocReader {
|
|
|
85
84
|
resolvedParent = resolver.resolve(extendedFile);
|
|
86
85
|
}
|
|
87
86
|
catch {
|
|
88
|
-
logger.error(
|
|
87
|
+
logger.error(i18n.failed_resolve_0_to_file_in_1(extendedFile, nicePath(file)));
|
|
89
88
|
continue;
|
|
90
89
|
}
|
|
91
90
|
await this.readFile(resolvedParent, container, logger, seen);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typedoc.js","sourceRoot":"","sources":["../../../../../src/lib/utils/options/readers/typedoc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,EAAE,MAAM,YAAY,CAAC;AAI5B,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,aA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GAAG,CAAC,CAAC,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/utils/options/sources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/utils/options/sources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typedoc.d.ts","sourceRoot":"","sources":["../../../../../src/lib/utils/options/sources/typedoc.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAY7C,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,gBAAgB,CAAC,QAk9BzE"}
|