@apify/docusaurus-plugin-typedoc-api 4.4.11 → 5.0.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 +38 -296
- package/lib/components/AnchorLink.d.ts +5 -0
- package/lib/components/AnchorLink.d.ts.map +1 -0
- package/lib/components/AnchorLink.js +7 -26
- package/lib/components/AnchorLink.js.map +1 -1
- package/lib/components/ApiChangelog.d.ts +6 -0
- package/lib/components/ApiChangelog.d.ts.map +1 -0
- package/lib/components/ApiChangelog.js +7 -24
- package/lib/components/ApiChangelog.js.map +1 -1
- package/lib/components/ApiDataContext.d.ts +6 -0
- package/lib/components/ApiDataContext.d.ts.map +1 -0
- package/lib/components/ApiDataContext.js +12 -15
- package/lib/components/ApiDataContext.js.map +1 -1
- package/lib/components/ApiIndex.d.ts +14 -0
- package/lib/components/ApiIndex.d.ts.map +1 -0
- package/lib/components/ApiIndex.js +33 -93
- package/lib/components/ApiIndex.js.map +1 -1
- package/lib/components/ApiItem.d.ts +6 -0
- package/lib/components/ApiItem.d.ts.map +1 -0
- package/lib/components/ApiItem.js +131 -191
- package/lib/components/ApiItem.js.map +1 -1
- package/lib/components/ApiItemLayout.d.ts +14 -0
- package/lib/components/ApiItemLayout.d.ts.map +1 -0
- package/lib/components/ApiItemLayout.js +21 -97
- package/lib/components/ApiItemLayout.js.map +1 -1
- package/lib/components/ApiOptionsContext.d.ts +5 -0
- package/lib/components/ApiOptionsContext.d.ts.map +1 -0
- package/lib/components/ApiOptionsContext.js +5 -9
- package/lib/components/ApiOptionsContext.js.map +1 -1
- package/lib/components/ApiOptionsLayout.d.ts +4 -0
- package/lib/components/ApiOptionsLayout.d.ts.map +1 -0
- package/lib/components/ApiOptionsLayout.js +10 -34
- package/lib/components/ApiOptionsLayout.js.map +1 -1
- package/lib/components/ApiPage.d.ts +11 -0
- package/lib/components/ApiPage.d.ts.map +1 -0
- package/lib/components/ApiPage.js +50 -63
- package/lib/components/ApiPage.js.map +1 -1
- package/lib/components/Breadcrumb.d.ts +7 -0
- package/lib/components/Breadcrumb.d.ts.map +1 -0
- package/lib/components/Breadcrumb.js +17 -49
- package/lib/components/Breadcrumb.js.map +1 -1
- package/lib/components/Comment.d.ts +10 -0
- package/lib/components/Comment.d.ts.map +1 -0
- package/lib/components/Comment.js +33 -60
- package/lib/components/Comment.js.map +1 -1
- package/lib/components/CommentBadges.d.ts +9 -0
- package/lib/components/CommentBadges.d.ts.map +1 -0
- package/lib/components/CommentBadges.js +16 -28
- package/lib/components/CommentBadges.js.map +1 -1
- package/lib/components/DefaultValue.d.ts +10 -0
- package/lib/components/DefaultValue.d.ts.map +1 -0
- package/lib/components/DefaultValue.js +25 -55
- package/lib/components/DefaultValue.js.map +1 -1
- package/lib/components/Flags.d.ts +6 -0
- package/lib/components/Flags.d.ts.map +1 -0
- package/lib/components/Flags.js +11 -22
- package/lib/components/Flags.js.map +1 -1
- package/lib/components/Footer.d.ts +2 -0
- package/lib/components/Footer.d.ts.map +1 -0
- package/lib/components/Footer.js +4 -16
- package/lib/components/Footer.js.map +1 -1
- package/lib/components/Hierarchy.d.ts +6 -0
- package/lib/components/Hierarchy.d.ts.map +1 -0
- package/lib/components/Hierarchy.js +5 -25
- package/lib/components/Hierarchy.js.map +1 -1
- package/lib/components/Icon.d.ts +6 -0
- package/lib/components/Icon.d.ts.map +1 -0
- package/lib/components/Icon.js +10 -21
- package/lib/components/Icon.js.map +1 -1
- package/lib/components/Index.d.ts +9 -0
- package/lib/components/Index.d.ts.map +1 -0
- package/lib/components/Index.js +30 -113
- package/lib/components/Index.js.map +1 -1
- package/lib/components/Markdown.d.ts +5 -0
- package/lib/components/Markdown.d.ts.map +1 -0
- package/lib/components/Markdown.js +138 -202
- package/lib/components/Markdown.js.map +1 -1
- package/lib/components/Member.d.ts +5 -0
- package/lib/components/Member.d.ts.map +1 -0
- package/lib/components/Member.js +40 -69
- package/lib/components/Member.js.map +1 -1
- package/lib/components/MemberDeclaration.d.ts +5 -0
- package/lib/components/MemberDeclaration.d.ts.map +1 -0
- package/lib/components/MemberDeclaration.js +20 -71
- package/lib/components/MemberDeclaration.js.map +1 -1
- package/lib/components/MemberGetterSetter.d.ts +8 -0
- package/lib/components/MemberGetterSetter.d.ts.map +1 -0
- package/lib/components/MemberGetterSetter.js +13 -68
- package/lib/components/MemberGetterSetter.js.map +1 -1
- package/lib/components/MemberReference.d.ts +6 -0
- package/lib/components/MemberReference.d.ts.map +1 -0
- package/lib/components/MemberReference.js +18 -48
- package/lib/components/MemberReference.js.map +1 -1
- package/lib/components/MemberSignatureBody.d.ts +9 -0
- package/lib/components/MemberSignatureBody.d.ts.map +1 -0
- package/lib/components/MemberSignatureBody.js +85 -182
- package/lib/components/MemberSignatureBody.js.map +1 -1
- package/lib/components/MemberSignatureTitle.d.ts +11 -0
- package/lib/components/MemberSignatureTitle.d.ts.map +1 -0
- package/lib/components/MemberSignatureTitle.js +27 -81
- package/lib/components/MemberSignatureTitle.js.map +1 -1
- package/lib/components/MemberSignatures.d.ts +7 -0
- package/lib/components/MemberSignatures.d.ts.map +1 -0
- package/lib/components/MemberSignatures.js +18 -66
- package/lib/components/MemberSignatures.js.map +1 -1
- package/lib/components/MemberSources.d.ts +7 -0
- package/lib/components/MemberSources.d.ts.map +1 -0
- package/lib/components/MemberSources.js +10 -34
- package/lib/components/MemberSources.js.map +1 -1
- package/lib/components/Members.d.ts +6 -0
- package/lib/components/Members.d.ts.map +1 -0
- package/lib/components/Members.js +29 -49
- package/lib/components/Members.js.map +1 -1
- package/lib/components/MembersGroup.d.ts +6 -0
- package/lib/components/MembersGroup.d.ts.map +1 -0
- package/lib/components/MembersGroup.js +16 -40
- package/lib/components/MembersGroup.js.map +1 -1
- package/lib/components/Parameter.d.ts +6 -0
- package/lib/components/Parameter.d.ts.map +1 -0
- package/lib/components/Parameter.js +35 -171
- package/lib/components/Parameter.js.map +1 -1
- package/lib/components/Reflection.d.ts +6 -0
- package/lib/components/Reflection.d.ts.map +1 -0
- package/lib/components/Reflection.js +29 -132
- package/lib/components/Reflection.js.map +1 -1
- package/lib/components/SourceLink.d.ts +10 -0
- package/lib/components/SourceLink.d.ts.map +1 -0
- package/lib/components/SourceLink.js +16 -36
- package/lib/components/SourceLink.js.map +1 -1
- package/lib/components/Type.d.ts +12 -0
- package/lib/components/Type.d.ts.map +1 -0
- package/lib/components/Type.js +142 -464
- package/lib/components/Type.js.map +1 -1
- package/lib/components/TypeAndParent.d.ts +6 -0
- package/lib/components/TypeAndParent.d.ts.map +1 -0
- package/lib/components/TypeAndParent.js +11 -27
- package/lib/components/TypeAndParent.js.map +1 -1
- package/lib/components/TypeParameters.d.ts +6 -0
- package/lib/components/TypeParameters.d.ts.map +1 -0
- package/lib/components/TypeParameters.js +10 -38
- package/lib/components/TypeParameters.js.map +1 -1
- package/lib/components/TypeParametersGeneric.d.ts +6 -0
- package/lib/components/TypeParametersGeneric.d.ts.map +1 -0
- package/lib/components/TypeParametersGeneric.js +8 -27
- package/lib/components/TypeParametersGeneric.js.map +1 -1
- package/lib/components/VersionBanner.d.ts +2 -0
- package/lib/components/VersionBanner.d.ts.map +1 -0
- package/lib/components/VersionBanner.js +18 -49
- package/lib/components/VersionBanner.js.map +1 -1
- package/lib/hooks/useBreadcrumbs.d.ts +2 -0
- package/lib/hooks/useBreadcrumbs.d.ts.map +1 -0
- package/lib/hooks/useBreadcrumbs.js +5 -8
- package/lib/hooks/useBreadcrumbs.js.map +1 -1
- package/lib/hooks/useGitRefName.d.ts +2 -0
- package/lib/hooks/useGitRefName.d.ts.map +1 -0
- package/lib/hooks/useGitRefName.js +5 -8
- package/lib/hooks/useGitRefName.js.map +1 -1
- package/lib/hooks/useMinimalLayout.d.ts +2 -0
- package/lib/hooks/useMinimalLayout.d.ts.map +1 -0
- package/lib/hooks/useMinimalLayout.js +5 -8
- package/lib/hooks/useMinimalLayout.js.map +1 -1
- package/lib/hooks/useReflection.d.ts +4 -0
- package/lib/hooks/useReflection.d.ts.map +1 -0
- package/lib/hooks/useReflection.js +15 -21
- package/lib/hooks/useReflection.js.map +1 -1
- package/lib/hooks/useReflectionMap.d.ts +3 -0
- package/lib/hooks/useReflectionMap.d.ts.map +1 -0
- package/lib/hooks/useReflectionMap.js +5 -8
- package/lib/hooks/useReflectionMap.js.map +1 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +349 -361
- package/lib/index.js.map +1 -1
- package/lib/markdownLoader.d.ts +6 -0
- package/lib/markdownLoader.d.ts.map +1 -0
- package/lib/markdownLoader.js +6 -10
- package/lib/markdownLoader.js.map +1 -1
- package/lib/plugin/data.d.ts +21 -0
- package/lib/plugin/data.d.ts.map +1 -0
- package/lib/plugin/data.js +391 -429
- package/lib/plugin/data.js.map +1 -1
- package/lib/plugin/python/consts.d.ts +35 -0
- package/lib/plugin/python/consts.d.ts.map +1 -0
- package/lib/plugin/python/consts.js +44 -44
- package/lib/plugin/python/consts.js.map +1 -1
- package/lib/plugin/python/index.d.ts +12 -0
- package/lib/plugin/python/index.d.ts.map +1 -0
- package/lib/plugin/python/index.js +25 -36
- package/lib/plugin/python/index.js.map +1 -1
- package/lib/plugin/python/inheritance.d.ts +42 -0
- package/lib/plugin/python/inheritance.d.ts.map +1 -0
- package/lib/plugin/python/inheritance.js +148 -153
- package/lib/plugin/python/inheritance.js.map +1 -1
- package/lib/plugin/python/packageVersions.d.ts +7 -0
- package/lib/plugin/python/packageVersions.d.ts.map +1 -0
- package/lib/plugin/python/packageVersions.js +30 -38
- package/lib/plugin/python/packageVersions.js.map +1 -1
- package/lib/plugin/python/transformation.d.ts +80 -0
- package/lib/plugin/python/transformation.d.ts.map +1 -0
- package/lib/plugin/python/transformation.js +350 -392
- package/lib/plugin/python/transformation.js.map +1 -1
- package/lib/plugin/python/type-parsing/index.d.ts +34 -0
- package/lib/plugin/python/type-parsing/index.d.ts.map +1 -0
- package/lib/plugin/python/type-parsing/index.js +78 -85
- package/lib/plugin/python/type-parsing/index.js.map +1 -1
- package/lib/plugin/python/types.d.ts +112 -0
- package/lib/plugin/python/types.d.ts.map +1 -0
- package/lib/plugin/python/types.js +2 -2
- package/lib/plugin/python/types.js.map +1 -1
- package/lib/plugin/python/utils.d.ts +40 -0
- package/lib/plugin/python/utils.d.ts.map +1 -0
- package/lib/plugin/python/utils.js +74 -73
- package/lib/plugin/python/utils.js.map +1 -1
- package/lib/plugin/sidebar.d.ts +6 -0
- package/lib/plugin/sidebar.d.ts.map +1 -0
- package/lib/plugin/sidebar.js +94 -96
- package/lib/plugin/sidebar.js.map +1 -1
- package/lib/plugin/structure/0.23.d.ts +3 -0
- package/lib/plugin/structure/0.23.d.ts.map +1 -0
- package/lib/plugin/structure/0.23.js +33 -41
- package/lib/plugin/structure/0.23.js.map +1 -1
- package/lib/plugin/url.d.ts +6 -0
- package/lib/plugin/url.d.ts.map +1 -0
- package/lib/plugin/url.js +36 -46
- package/lib/plugin/url.js.map +1 -1
- package/lib/plugin/version.d.ts +5 -0
- package/lib/plugin/version.d.ts.map +1 -0
- package/lib/plugin/version.js +73 -78
- package/lib/plugin/version.js.map +1 -1
- package/lib/types.d.ts +142 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +2 -2
- package/lib/types.js.map +1 -1
- package/lib/utils/helpers.d.ts +2 -0
- package/lib/utils/helpers.d.ts.map +1 -0
- package/lib/utils/helpers.js +5 -7
- package/lib/utils/helpers.js.map +1 -1
- package/lib/utils/hierarchy.d.ts +8 -0
- package/lib/utils/hierarchy.d.ts.map +1 -0
- package/lib/utils/hierarchy.js +31 -33
- package/lib/utils/hierarchy.js.map +1 -1
- package/lib/utils/icons.d.ts +5 -0
- package/lib/utils/icons.d.ts.map +1 -0
- package/lib/utils/icons.js +82 -114
- package/lib/utils/icons.js.map +1 -1
- package/lib/utils/links.d.ts +2 -0
- package/lib/utils/links.d.ts.map +1 -0
- package/lib/utils/links.js +24 -41
- package/lib/utils/links.js.map +1 -1
- package/lib/utils/markdown.d.ts +4 -0
- package/lib/utils/markdown.d.ts.map +1 -0
- package/lib/utils/markdown.js +45 -54
- package/lib/utils/markdown.js.map +1 -1
- package/lib/utils/reexports.d.ts +5 -0
- package/lib/utils/reexports.d.ts.map +1 -0
- package/lib/utils/reexports.js +90 -90
- package/lib/utils/reexports.js.map +1 -1
- package/lib/utils/removeScopes.d.ts +2 -0
- package/lib/utils/removeScopes.d.ts.map +1 -0
- package/lib/utils/removeScopes.js +7 -0
- package/lib/utils/removeScopes.js.map +1 -0
- package/lib/utils/visibility.d.ts +6 -0
- package/lib/utils/visibility.d.ts.map +1 -0
- package/lib/utils/visibility.js +14 -19
- package/lib/utils/visibility.js.map +1 -1
- package/package.json +24 -17
- package/src/components/ApiIndex.tsx +1 -1
- package/src/components/Type.tsx +4 -4
- package/src/index.ts +2 -2
- package/src/plugin/data.ts +3 -3
- package/src/plugin/python/index.ts +3 -3
- package/src/plugin/python/packageVersions.ts +3 -3
- package/src/plugin/sidebar.ts +1 -1
- package/src/plugin/url.ts +1 -1
- package/src/plugin/version.ts +1 -1
- package/src/utils/links.ts +1 -12
- package/src/utils/removeScopes.ts +10 -0
- /package/{assets/styles-8ad572ec.css → lib/components/styles.css} +0 -0
package/lib/utils/icons.js
CHANGED
|
@@ -1,122 +1,90 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
1
|
/* eslint-disable no-fallthrough */
|
|
4
|
-
|
|
5
2
|
// We have to map these manually instead of using the `ReflectionKind` enum,
|
|
6
3
|
// otherwise the `typedoc` package ends up in the bundle and crashes.
|
|
7
4
|
const KIND_ICONS = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
4096: 'symbol-method',
|
|
33
|
-
// CallSignature
|
|
34
|
-
8192: 'bracket-dot',
|
|
35
|
-
// IndexSignature
|
|
36
|
-
16_384: 'symbol-method',
|
|
37
|
-
// ConstructorSignature
|
|
38
|
-
32_768: 'symbol-property',
|
|
39
|
-
// Parameter
|
|
40
|
-
65_536: 'symbol-key',
|
|
41
|
-
// TypeLiteral
|
|
42
|
-
131_072: 'symbol-type-parameter',
|
|
43
|
-
// TypeParameter
|
|
44
|
-
262_144: 'symbol-field',
|
|
45
|
-
// Accessor
|
|
46
|
-
524_288: 'symbol-field',
|
|
47
|
-
// GetSignature
|
|
48
|
-
1_048_576: 'symbol-field',
|
|
49
|
-
// SetSignature
|
|
50
|
-
2_097_152: 'symbol-parameter',
|
|
51
|
-
// TypeAlias
|
|
52
|
-
4_194_304: 'references',
|
|
53
|
-
// Reference
|
|
54
|
-
8_388_608: 'references' // a Non-TS document (new in TypeDoc `0.26.0`, unused by `docusaurus-plugin-typedoc-api`)
|
|
5
|
+
1: 'project', // Project
|
|
6
|
+
2: 'package', // Module
|
|
7
|
+
4: 'symbol-namespace', // Namespace
|
|
8
|
+
8: 'symbol-enum', // Enum
|
|
9
|
+
16: 'symbol-enum-member', // EnumMember
|
|
10
|
+
32: 'symbol-variable', // Variable
|
|
11
|
+
64: 'symbol-function', // Function
|
|
12
|
+
128: 'symbol-class', // Class
|
|
13
|
+
256: 'symbol-interface', // Interface
|
|
14
|
+
512: 'symbol-constructor', // Constructor
|
|
15
|
+
1024: 'symbol-property', // Property
|
|
16
|
+
2048: 'symbol-method', // Method
|
|
17
|
+
4096: 'symbol-method', // CallSignature
|
|
18
|
+
8192: 'bracket-dot', // IndexSignature
|
|
19
|
+
16384: 'symbol-method', // ConstructorSignature
|
|
20
|
+
32768: 'symbol-property', // Parameter
|
|
21
|
+
65536: 'symbol-key', // TypeLiteral
|
|
22
|
+
131072: 'symbol-type-parameter', // TypeParameter
|
|
23
|
+
262144: 'symbol-field', // Accessor
|
|
24
|
+
524288: 'symbol-field', // GetSignature
|
|
25
|
+
1048576: 'symbol-field', // SetSignature
|
|
26
|
+
2097152: 'symbol-parameter', // TypeAlias
|
|
27
|
+
4194304: 'references', // Reference
|
|
28
|
+
8388608: 'references', // a Non-TS document (new in TypeDoc `0.26.0`, unused by `docusaurus-plugin-typedoc-api`)
|
|
55
29
|
};
|
|
56
|
-
function getKindIcon(kind, name) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
30
|
+
export function getKindIcon(kind, name) {
|
|
31
|
+
if (!name)
|
|
32
|
+
return null;
|
|
33
|
+
let icon = KIND_ICONS[kind];
|
|
34
|
+
// Use event icon when property starts with "on"
|
|
35
|
+
if (kind === 1024 && name.match(/^on[A-Z]/)) {
|
|
36
|
+
icon = 'symbol-event';
|
|
37
|
+
}
|
|
38
|
+
return icon;
|
|
65
39
|
}
|
|
66
|
-
function getKindIconColor(kind) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
default:
|
|
108
|
-
return 'inherit';
|
|
109
|
-
}
|
|
40
|
+
export function getKindIconColor(kind) {
|
|
41
|
+
switch (kind) {
|
|
42
|
+
// Function
|
|
43
|
+
case 64:
|
|
44
|
+
// Constructor
|
|
45
|
+
case 512:
|
|
46
|
+
// Method
|
|
47
|
+
case 2048:
|
|
48
|
+
// CallSignature
|
|
49
|
+
case 4096:
|
|
50
|
+
// ConstructorSignature
|
|
51
|
+
case 16384:
|
|
52
|
+
// Accessor
|
|
53
|
+
case 262144:
|
|
54
|
+
return 'var(--ifm-color-info)';
|
|
55
|
+
// EnumMember
|
|
56
|
+
case 16:
|
|
57
|
+
// Variable
|
|
58
|
+
case 32:
|
|
59
|
+
// Property
|
|
60
|
+
case 1024:
|
|
61
|
+
// GetSignature
|
|
62
|
+
case 524288:
|
|
63
|
+
// SetSignature
|
|
64
|
+
case 1048576:
|
|
65
|
+
return 'var(--ifm-color-success)';
|
|
66
|
+
// Namespace
|
|
67
|
+
case 4:
|
|
68
|
+
// Class
|
|
69
|
+
case 128:
|
|
70
|
+
return 'var(--ifm-color-warning)';
|
|
71
|
+
// Enum
|
|
72
|
+
case 8:
|
|
73
|
+
// Interface
|
|
74
|
+
case 256:
|
|
75
|
+
// TypeAlias
|
|
76
|
+
case 4194304:
|
|
77
|
+
return 'var(--ifm-color-danger)';
|
|
78
|
+
default:
|
|
79
|
+
return 'inherit';
|
|
80
|
+
}
|
|
110
81
|
}
|
|
111
|
-
function getKindIconHtml(kind, name) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
82
|
+
export function getKindIconHtml(kind, name) {
|
|
83
|
+
const icon = getKindIcon(kind, name);
|
|
84
|
+
if (!icon) {
|
|
85
|
+
return '';
|
|
86
|
+
}
|
|
87
|
+
const color = getKindIconColor(kind);
|
|
88
|
+
return `<i class="codicon codicon-${icon}" style="color:${color};"></i>`;
|
|
118
89
|
}
|
|
119
|
-
|
|
120
|
-
exports.getKindIconColor = getKindIconColor;
|
|
121
|
-
exports.getKindIconHtml = getKindIconHtml;
|
|
122
|
-
//# sourceMappingURL=icons.js.map
|
|
90
|
+
//# sourceMappingURL=icons.js.map
|
package/lib/utils/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":["../../src/utils/icons.ts"],"
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/utils/icons.ts"],"names":[],"mappings":"AAAA,mCAAmC;AAInC,4EAA4E;AAC5E,qEAAqE;AACrE,MAAM,UAAU,GAAmC;IAClD,CAAC,EAAE,SAAS,EAAE,UAAU;IACxB,CAAC,EAAE,SAAS,EAAE,SAAS;IACvB,CAAC,EAAE,kBAAkB,EAAE,YAAY;IACnC,CAAC,EAAE,aAAa,EAAE,OAAO;IACzB,EAAE,EAAE,oBAAoB,EAAE,aAAa;IACvC,EAAE,EAAE,iBAAiB,EAAE,WAAW;IAClC,EAAE,EAAE,iBAAiB,EAAE,WAAW;IAClC,GAAG,EAAE,cAAc,EAAE,QAAQ;IAC7B,GAAG,EAAE,kBAAkB,EAAE,YAAY;IACrC,GAAG,EAAE,oBAAoB,EAAE,cAAc;IACzC,IAAI,EAAE,iBAAiB,EAAE,WAAW;IACpC,IAAI,EAAE,eAAe,EAAE,SAAS;IAChC,IAAI,EAAE,eAAe,EAAE,gBAAgB;IACvC,IAAI,EAAE,aAAa,EAAE,iBAAiB;IACtC,KAAM,EAAE,eAAe,EAAE,uBAAuB;IAChD,KAAM,EAAE,iBAAiB,EAAE,YAAY;IACvC,KAAM,EAAE,YAAY,EAAE,cAAc;IACpC,MAAO,EAAE,uBAAuB,EAAE,gBAAgB;IAClD,MAAO,EAAE,cAAc,EAAE,WAAW;IACpC,MAAO,EAAE,cAAc,EAAE,eAAe;IACxC,OAAS,EAAE,cAAc,EAAE,eAAe;IAC1C,OAAS,EAAE,kBAAkB,EAAE,YAAY;IAC3C,OAAS,EAAE,YAAY,EAAE,YAAY;IACrC,OAAS,EAAE,YAAY,EAAE,yFAAyF;CAClH,CAAC;AA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AAC;QACX,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAErC,OAAO,6BAA6B,IAAI,kBAAkB,KAAK,SAAS,CAAC;AAC1E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/utils/links.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,mBAAmB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CA6BxF"}
|
package/lib/utils/links.js
CHANGED
|
@@ -1,44 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
if (Array.isArray(obj)) {
|
|
23
|
-
obj.forEach(walkAndInjectRevision);
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Check if this object has sources property with line and fileName
|
|
28
|
-
if (obj.sources && Array.isArray(obj.sources)) {
|
|
29
|
-
obj.sources.forEach(source => {
|
|
30
|
-
if (source?.line !== undefined && source?.fileName !== undefined) {
|
|
31
|
-
source.gitRevision = gitRevision;
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
export function injectGitRevision(typedocJsonFilePath, gitRevision) {
|
|
3
|
+
const typedocJson = JSON.parse(fs.readFileSync(typedocJsonFilePath, 'utf8'));
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
|
+
function walkAndInjectRevision(obj) {
|
|
6
|
+
if (typeof obj !== 'object' || obj === null) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
if (Array.isArray(obj)) {
|
|
10
|
+
obj.forEach(walkAndInjectRevision);
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
// Check if this object has sources property with line and fileName
|
|
14
|
+
if (obj.sources && Array.isArray(obj.sources)) {
|
|
15
|
+
obj.sources.forEach((source) => {
|
|
16
|
+
if ((source === null || source === void 0 ? void 0 : source.line) !== undefined && (source === null || source === void 0 ? void 0 : source.fileName) !== undefined) {
|
|
17
|
+
source.gitRevision = gitRevision;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
32
20
|
}
|
|
33
|
-
|
|
21
|
+
// Recursively walk all object properties
|
|
22
|
+
Object.values(obj).forEach(walkAndInjectRevision);
|
|
34
23
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Object.values(obj).forEach(walkAndInjectRevision);
|
|
38
|
-
}
|
|
39
|
-
walkAndInjectRevision(typedocJson);
|
|
40
|
-
fs__default.default.writeFileSync(typedocJsonFilePath, JSON.stringify(typedocJson, null, 4));
|
|
24
|
+
walkAndInjectRevision(typedocJson);
|
|
25
|
+
fs.writeFileSync(typedocJsonFilePath, JSON.stringify(typedocJson, null, 4));
|
|
41
26
|
}
|
|
42
|
-
|
|
43
|
-
exports.removeScopes = removeScopes;
|
|
44
|
-
//# sourceMappingURL=links.js.map
|
|
27
|
+
//# sourceMappingURL=links.js.map
|
package/lib/utils/links.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.js","sources":["../../src/utils/links.ts"],"
|
|
1
|
+
{"version":3,"file":"links.js","sourceRoot":"","sources":["../../src/utils/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AAGzB,MAAM,UAAU,iBAAiB,CAAC,mBAA2B,EAAE,WAAmB;IACjF,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAoB,CAAC;IAEhG,8DAA8D;IAC9D,SAAS,qBAAqB,CAAC,GAAqG;QACnI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO;QACR,CAAC;QAED,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACxB,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;YACnC,OAAO;QACR,CAAC;QAED,mEAAmE;QACnE,IAAI,GAAG,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/C,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAkE,EAAE,EAAE;gBAC1F,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAK,SAAS,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,MAAK,SAAS,EAAE,CAAC;oBAClE,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;gBAClC,CAAC;YACF,CAAC,CAAC,CAAC;QACJ,CAAC;QAED,yCAAyC;QACzC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACnD,CAAC;IAED,qBAAqB,CAAC,WAAW,CAAC,CAAC;IACnC,EAAE,CAAC,aAAa,CAAC,mBAAmB,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC7E,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PropVersionMetadata } from '@docusaurus/plugin-content-docs';
|
|
2
|
+
import type { TSDDeclarationReflectionMap } from '../types';
|
|
3
|
+
export declare function replaceLinkTokens(markdown: string, reflections: TSDDeclarationReflectionMap, currentVersion: PropVersionMetadata, docsBaseUrl: string): string;
|
|
4
|
+
//# sourceMappingURL=markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../src/utils/markdown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AA0E5D,wBAAgB,iBAAiB,CAChC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,2BAA2B,EACxC,cAAc,EAAE,mBAAmB,EACnC,WAAW,EAAE,MAAM,UAKnB"}
|
package/lib/utils/markdown.js
CHANGED
|
@@ -1,67 +1,58 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
4
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
6
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
8
|
-
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
9
1
|
function splitLinkText(text) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
let splitIndex = text.indexOf('|');
|
|
3
|
+
if (splitIndex === -1) {
|
|
4
|
+
splitIndex = text.search(/\s/);
|
|
5
|
+
}
|
|
6
|
+
if (splitIndex !== -1) {
|
|
7
|
+
return {
|
|
8
|
+
caption: text
|
|
9
|
+
.slice(splitIndex + 1)
|
|
10
|
+
.replace(/\n+/, ' ')
|
|
11
|
+
.trim(),
|
|
12
|
+
target: text.slice(0, Math.max(0, splitIndex)).trim(),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
15
|
return {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
caption: text,
|
|
17
|
+
target: text,
|
|
18
18
|
};
|
|
19
|
-
}
|
|
20
|
-
return {
|
|
21
|
-
caption: text,
|
|
22
|
-
target: text
|
|
23
|
-
};
|
|
24
19
|
}
|
|
25
20
|
function findReflectionWithMatchingTarget(reflections, symbol, member) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
return Object.values(reflections).find((ref) => {
|
|
22
|
+
var _a;
|
|
23
|
+
if (ref.name !== symbol) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
return member ? (_a = ref.children) === null || _a === void 0 ? void 0 : _a.some((child) => child.name === member) : true;
|
|
27
|
+
});
|
|
32
28
|
}
|
|
33
29
|
function replaceApiLinks(reflections) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
if (!reflection?.permalink) {
|
|
45
|
-
return label;
|
|
46
|
-
}
|
|
47
|
-
return `[${label}](${reflection.permalink}${member ? `#${member}` : ''})`;
|
|
48
|
-
};
|
|
30
|
+
return (match, tagName, content) => {
|
|
31
|
+
const { caption, target } = splitLinkText(content);
|
|
32
|
+
const [symbol, member] = target.split('.');
|
|
33
|
+
const reflection = findReflectionWithMatchingTarget(reflections, symbol, member);
|
|
34
|
+
const label = tagName === 'linkcode' ? `\`${caption}\`` : caption;
|
|
35
|
+
if (!(reflection === null || reflection === void 0 ? void 0 : reflection.permalink)) {
|
|
36
|
+
return label;
|
|
37
|
+
}
|
|
38
|
+
return `[${label}](${reflection.permalink}${member ? `#${member}` : ''})`;
|
|
39
|
+
};
|
|
49
40
|
}
|
|
50
41
|
function replaceDocLinks(currentVersion, baseUrl) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
42
|
+
return (match, content) => {
|
|
43
|
+
const { caption, target } = splitLinkText(content);
|
|
44
|
+
const version = currentVersion.version === 'current' ? 'next' : currentVersion.version;
|
|
45
|
+
const url = currentVersion.isLast
|
|
46
|
+
? `${baseUrl === '/' ? '' : baseUrl}/${target}`
|
|
47
|
+
: `${baseUrl === '/' ? '' : baseUrl}/${version}/${target}`;
|
|
48
|
+
return `[${caption}](${url})`;
|
|
49
|
+
};
|
|
59
50
|
}
|
|
60
|
-
|
|
61
51
|
// TypeDoc JSON output does not replace links, so we need to do this manually.
|
|
62
52
|
// @see https://github.com/TypeStrong/typedoc/blob/master/src/lib/output/plugins/MarkedLinksPlugin.ts
|
|
63
|
-
function replaceLinkTokens(markdown, reflections, currentVersion, docsBaseUrl) {
|
|
64
|
-
|
|
53
|
+
export function replaceLinkTokens(markdown, reflections, currentVersion, docsBaseUrl) {
|
|
54
|
+
return markdown
|
|
55
|
+
.replace(/{@(link|linkcode|linkplain|apilink)\s+([^}]+?)}/gi, replaceApiLinks(reflections))
|
|
56
|
+
.replace(/{@doclink\s+([^}]+?)}/gi, replaceDocLinks(currentVersion, docsBaseUrl));
|
|
65
57
|
}
|
|
66
|
-
|
|
67
|
-
//# sourceMappingURL=markdown.js.map
|
|
58
|
+
//# sourceMappingURL=markdown.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.js","sources":["../../src/utils/markdown.ts"],"
|
|
1
|
+
{"version":3,"file":"markdown.js","sourceRoot":"","sources":["../../src/utils/markdown.ts"],"names":[],"mappings":"AAGA,SAAS,aAAa,CAAC,IAAY;IAClC,IAAI,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEnC,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC;QACvB,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC;QACvB,OAAO;YACN,OAAO,EAAE,IAAI;iBACX,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC;iBACrB,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC;iBACnB,IAAI,EAAE;YACR,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE;SACrD,CAAC;IACH,CAAC;IAED,OAAO;QACN,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;KACZ,CAAC;AACH,CAAC;AAED,SAAS,gCAAgC,CACxC,WAAwC,EACxC,MAAc,EACd,MAAe;IAEf,OAAO,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;;QAC9C,IAAI,GAAG,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;YACzB,OAAO,KAAK,CAAC;QACd,CAAC;QAED,OAAO,MAAM,CAAC,CAAC,CAAC,MAAA,GAAG,CA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