@stainless-api/docs-ui 0.1.0-beta.6 → 0.1.0-beta.61

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 (206) hide show
  1. package/dist/breadcrumbs-BVskoBYz.d.ts +25 -0
  2. package/dist/breadcrumbs-C9LLJyuJ.d.ts +25 -0
  3. package/dist/breadcrumbs-CqA6kow2.js +63 -0
  4. package/dist/chunk-BN_g-Awi.js +18 -0
  5. package/dist/cli-0bJ66S1r.js +157 -0
  6. package/dist/component-CjJJYIxG.js +23 -0
  7. package/dist/component-generics-BC_P155r.d.ts +30 -0
  8. package/dist/component-generics-BkwbbxJF.d.ts +30 -0
  9. package/dist/component-generics-POFirVVb.js +45 -0
  10. package/dist/components/MaskedInput.d.ts +14 -0
  11. package/dist/components/MaskedInput.js +76 -0
  12. package/dist/components/breadcrumbs.d.ts +2 -0
  13. package/dist/components/breadcrumbs.js +9 -0
  14. package/dist/components/icons.d.ts +60 -0
  15. package/dist/components/icons.js +3 -0
  16. package/dist/components/index.d.ts +10 -0
  17. package/dist/components/index.js +18 -0
  18. package/dist/components/method.d.ts +2 -0
  19. package/dist/components/method.js +10 -0
  20. package/dist/components/overview.d.ts +2 -0
  21. package/dist/components/overview.js +11 -0
  22. package/dist/components/primitives.d.ts +2 -0
  23. package/dist/components/primitives.js +8 -0
  24. package/dist/components/properties.d.ts +2 -0
  25. package/dist/components/properties.js +9 -0
  26. package/dist/components/sdk.d.ts +2 -0
  27. package/dist/components/sdk.js +10 -0
  28. package/dist/components/sidebar.d.ts +2 -0
  29. package/dist/components/sidebar.js +9 -0
  30. package/dist/components/snippets.d.ts +3 -0
  31. package/dist/components/snippets.js +9 -0
  32. package/dist/components-FEHnQBJC.js +70 -0
  33. package/dist/contexts/component-generics.d.ts +2 -0
  34. package/dist/contexts/component-generics.js +3 -0
  35. package/dist/contexts/component-types.d.ts +16 -0
  36. package/dist/contexts/component-types.js +0 -0
  37. package/dist/contexts/component.d.ts +29 -0
  38. package/dist/contexts/component.js +28 -0
  39. package/dist/contexts/docs.d.ts +2 -0
  40. package/dist/contexts/docs.js +3 -0
  41. package/dist/contexts/index.d.ts +22 -0
  42. package/dist/contexts/index.js +7 -0
  43. package/dist/contexts/markdown.d.ts +2 -0
  44. package/dist/contexts/markdown.js +4 -0
  45. package/dist/contexts/navigation.d.ts +2 -0
  46. package/dist/contexts/navigation.js +3 -0
  47. package/dist/contexts/use-components.d.ts +14 -0
  48. package/dist/contexts/use-components.js +4 -0
  49. package/dist/contexts-CeV_L_Iy.js +39 -0
  50. package/dist/csharp-Dl2RIiYP.js +283 -0
  51. package/dist/docs--qWFuJCM.d.ts +46 -0
  52. package/dist/docs-DSFRsmbQ.d.ts +46 -0
  53. package/dist/docs-Di94viZV.js +54 -0
  54. package/dist/go-DuKdRGqU.js +303 -0
  55. package/dist/http-C7bu4oCl.js +331 -0
  56. package/dist/icons-BYKn5X8E.js +885 -0
  57. package/dist/index-C0qvL4yP.d.ts +15 -0
  58. package/dist/index-DE1vA8T2.d.ts +302 -0
  59. package/dist/index-DsFyACw9.d.ts +15 -0
  60. package/dist/index-FDM-j9s-.d.ts +302 -0
  61. package/dist/index-zNpvNvtN.d.ts +1691 -0
  62. package/dist/index.d.ts +19 -0
  63. package/dist/index.js +30 -7542
  64. package/dist/java-DSyzO-6F.js +403 -0
  65. package/dist/languages/cli.d.ts +11 -0
  66. package/dist/languages/cli.js +20 -0
  67. package/dist/languages/csharp.d.ts +11 -0
  68. package/dist/languages/csharp.js +9 -0
  69. package/dist/languages/go.d.ts +11 -0
  70. package/dist/languages/go.js +9 -0
  71. package/dist/languages/http.d.ts +11 -0
  72. package/dist/languages/http.js +19 -0
  73. package/dist/languages/index.d.ts +11 -0
  74. package/dist/languages/index.js +27 -0
  75. package/dist/languages/java.d.ts +11 -0
  76. package/dist/languages/java.js +9 -0
  77. package/dist/languages/python.d.ts +11 -0
  78. package/dist/languages/python.js +9 -0
  79. package/dist/languages/ruby.d.ts +11 -0
  80. package/dist/languages/ruby.js +9 -0
  81. package/dist/languages/typescript.d.ts +11 -0
  82. package/dist/languages/typescript.js +9 -0
  83. package/dist/languages-BO5YJ6cy.js +28 -0
  84. package/dist/markdown/index.d.ts +12 -0
  85. package/dist/markdown/index.js +105 -0
  86. package/dist/markdown/md.d.ts +15 -0
  87. package/dist/markdown/md.js +41 -0
  88. package/dist/markdown/printer.d.ts +13 -0
  89. package/dist/markdown/printer.js +98 -0
  90. package/dist/markdown/utils.d.ts +21 -0
  91. package/dist/markdown/utils.js +31 -0
  92. package/dist/markdown-B517MrZh.d.ts +22 -0
  93. package/dist/markdown-C7Tb41LZ.d.ts +22 -0
  94. package/dist/markdown-D2JWyRws.js +49 -0
  95. package/dist/method-BaQEZVlw.d.ts +59 -0
  96. package/dist/method-Dln4ZTIB.d.ts +59 -0
  97. package/dist/method-jTnA0G8m.js +90 -0
  98. package/dist/navigation-XhIgqXwM.d.ts +29 -0
  99. package/dist/navigation-aoYZ_tl4.js +24 -0
  100. package/dist/navigation-rKdts-BR.d.ts +29 -0
  101. package/dist/overview-B3kgyac2.d.ts +39 -0
  102. package/dist/overview-BnagZfH1.js +139 -0
  103. package/dist/overview-Dp-gGl3v.d.ts +39 -0
  104. package/dist/primitives-B6zu2rrx.d.ts +105 -0
  105. package/dist/primitives-DQLc9kN7.js +250 -0
  106. package/dist/primitives-VtUGoYwX.d.ts +105 -0
  107. package/dist/properties-Bun4nfUE.d.ts +54 -0
  108. package/dist/properties-DGL2J11L.js +131 -0
  109. package/dist/properties-ZOIqpkET.d.ts +54 -0
  110. package/dist/python-D8ABqtn1.js +269 -0
  111. package/dist/routing-Ce0_tBW6.js +197 -0
  112. package/dist/routing-CtbZJru_.d.ts +54 -0
  113. package/dist/routing.d.ts +2 -0
  114. package/dist/routing.js +3 -180
  115. package/dist/ruby-261jvCjl.js +387 -0
  116. package/dist/sdk-BebFnWYL.d.ts +118 -0
  117. package/dist/sdk-CIxaNoAs.d.ts +118 -0
  118. package/dist/sdk-GGpyGTao.js +338 -0
  119. package/dist/sidebar-BWno0E4w.js +85 -0
  120. package/dist/sidebar-CLsIJZZf.d.ts +36 -0
  121. package/dist/sidebar-D4m_pVpS.d.ts +36 -0
  122. package/dist/snippets-CwVjwsAo.d.ts +53 -0
  123. package/dist/snippets-Ym3mnHO3.d.ts +53 -0
  124. package/dist/snippets-kI8eNs1F.js +164 -0
  125. package/dist/spec.d.ts +65 -0
  126. package/dist/spec.js +167 -0
  127. package/dist/style-LwfvXElj.js +170 -0
  128. package/dist/style.d.ts +169 -0
  129. package/dist/style.js +3 -0
  130. package/dist/styles/main.css +722 -755
  131. package/dist/styles/main.js +0 -0
  132. package/dist/styles/primitives.css +322 -459
  133. package/dist/styles/primitives.js +0 -0
  134. package/dist/styles/resets.css +32 -41
  135. package/dist/styles/resets.js +0 -0
  136. package/dist/styles/search.css +192 -270
  137. package/dist/styles/search.js +0 -0
  138. package/dist/styles/sidebar.css +56 -61
  139. package/dist/styles/sidebar.js +0 -0
  140. package/dist/styles/variables.css +26 -89
  141. package/dist/styles/variables.js +0 -0
  142. package/dist/styles.css +3145 -0
  143. package/dist/styles.mjs +1 -0
  144. package/dist/typescript-D924WidI.js +449 -0
  145. package/dist/use-components-BUz3GbO4.js +7 -0
  146. package/dist/utils-D01mAUfQ.js +32 -0
  147. package/dist/utils.d.ts +14 -0
  148. package/dist/utils.js +3 -0
  149. package/package.json +73 -21
  150. package/dist/mcp.js +0 -16003
  151. package/dist/styles/snippets.css +0 -132
  152. package/src/components/breadcrumbs.tsx +0 -94
  153. package/src/components/chat.tsx +0 -154
  154. package/src/components/dropdown.tsx +0 -91
  155. package/src/components/icons.tsx +0 -584
  156. package/src/components/index.ts +0 -9
  157. package/src/components/method.tsx +0 -144
  158. package/src/components/overview.tsx +0 -159
  159. package/src/components/primitives.tsx +0 -284
  160. package/src/components/properties.tsx +0 -130
  161. package/src/components/scripts/dropdown.ts +0 -78
  162. package/src/components/sdk.tsx +0 -402
  163. package/src/components/sidebar.tsx +0 -99
  164. package/src/components/snippets.tsx +0 -179
  165. package/src/contexts/component-generics.tsx +0 -48
  166. package/src/contexts/component-types.tsx +0 -5
  167. package/src/contexts/component.tsx +0 -32
  168. package/src/contexts/docs.tsx +0 -75
  169. package/src/contexts/index.tsx +0 -17
  170. package/src/contexts/markdown.tsx +0 -43
  171. package/src/contexts/navigation.tsx +0 -44
  172. package/src/contexts/search.tsx +0 -28
  173. package/src/contexts/use-components.tsx +0 -4
  174. package/src/index.ts +0 -6
  175. package/src/languages/go.tsx +0 -281
  176. package/src/languages/http.tsx +0 -321
  177. package/src/languages/index.ts +0 -26
  178. package/src/languages/java.tsx +0 -358
  179. package/src/languages/python.tsx +0 -255
  180. package/src/languages/ruby.tsx +0 -320
  181. package/src/languages/typescript.tsx +0 -393
  182. package/src/markdown/index.ts +0 -107
  183. package/src/markdown/md.ts +0 -45
  184. package/src/markdown/utils.ts +0 -49
  185. package/src/routing.ts +0 -238
  186. package/src/search/form.tsx +0 -127
  187. package/src/search/index.tsx +0 -1
  188. package/src/search/indexer.ts +0 -246
  189. package/src/search/mcp.ts +0 -61
  190. package/src/search/printer.tsx +0 -86
  191. package/src/search/providers/algolia.ts +0 -88
  192. package/src/search/providers/fuse.ts +0 -19
  193. package/src/search/providers/pagefind.ts +0 -17
  194. package/src/search/providers/walker.ts +0 -30
  195. package/src/search/results.tsx +0 -181
  196. package/src/search/state.ts +0 -64
  197. package/src/search/types.ts +0 -116
  198. package/src/style.ts +0 -197
  199. package/src/styles/main.css +0 -993
  200. package/src/styles/primitives.css +0 -573
  201. package/src/styles/resets.css +0 -47
  202. package/src/styles/search.css +0 -342
  203. package/src/styles/sidebar.css +0 -87
  204. package/src/styles/snippets.css +0 -132
  205. package/src/styles/variables.css +0 -90
  206. package/src/utils.ts +0 -41
@@ -0,0 +1,403 @@
1
+ import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
+ import { a as useLanguage } from "./docs-Di94viZV.js";
3
+ import { n as useLanguageComponents } from "./contexts-CeV_L_Iy.js";
4
+ import { t as useComponents } from "./use-components-BUz3GbO4.js";
5
+ import { t as style_default } from "./style-LwfvXElj.js";
6
+ import * as React$1 from "react";
7
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
+
9
+ //#region src/languages/java.tsx
10
+ var java_exports = /* @__PURE__ */ __exportAll({
11
+ Declaration: () => Declaration,
12
+ MethodSignature: () => MethodSignature,
13
+ Property: () => Property,
14
+ Type: () => Type,
15
+ TypeName: () => TypeName
16
+ });
17
+ function showFullType(type) {
18
+ return type.kind === "JavaTypeReference" && (type.typeName === "List" || type.typeParameters && type.typeParameters.length > 0);
19
+ }
20
+ const constStyle = {
21
+ string: style_default.LiteralString,
22
+ number: style_default.LiteralNumeric,
23
+ boolean: style_default.LiteralBoolean
24
+ };
25
+ function TypeName({ type, optional }) {
26
+ const Lang = useLanguageComponents();
27
+ if (type.kind === "JavaTypeReference" && type.typeName === "List") return "List";
28
+ return /* @__PURE__ */ jsx(Lang.Type, {
29
+ type,
30
+ optional
31
+ });
32
+ }
33
+ function Type({ type, optional }) {
34
+ const language = useLanguage();
35
+ const Lang = useLanguageComponents();
36
+ const { Join, SDKReference } = useComponents();
37
+ switch (type.kind) {
38
+ case "JavaTypeReference": {
39
+ const name = type.typeName.split(".").at(-1);
40
+ const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx(Lang.Type, {
41
+ type: param,
42
+ optional
43
+ }, key));
44
+ return /* @__PURE__ */ jsxs("span", {
45
+ className: style_default.Type,
46
+ children: [/* @__PURE__ */ jsx(SDKReference, {
47
+ stainlessPath: type.$ref,
48
+ children: name
49
+ }), params && params.length > 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
50
+ /* @__PURE__ */ jsx("span", {
51
+ className: style_default.TypeBracket,
52
+ children: "<"
53
+ }),
54
+ /* @__PURE__ */ jsx(Join, {
55
+ items: params,
56
+ limit: 3,
57
+ children: /* @__PURE__ */ jsx("span", {
58
+ className: style_default.TextOperator,
59
+ children: ", "
60
+ })
61
+ }),
62
+ /* @__PURE__ */ jsx("span", {
63
+ className: style_default.TypeBracket,
64
+ children: ">"
65
+ })
66
+ ] }) : null]
67
+ });
68
+ }
69
+ case "JavaTypeClass":
70
+ case "JavaTypeUnion": return /* @__PURE__ */ jsx("span", {
71
+ className: style_default.Type,
72
+ children: /* @__PURE__ */ jsx("span", {
73
+ className: style_default.TypeKeyword,
74
+ children: "class"
75
+ })
76
+ });
77
+ case "JavaTypeEnum": return /* @__PURE__ */ jsx("span", {
78
+ className: style_default.Type,
79
+ children: /* @__PURE__ */ jsx("span", {
80
+ className: style_default.TypeKeyword,
81
+ children: language === "kotlin" ? "enum class" : "enum"
82
+ })
83
+ });
84
+ case "JavaTypeVoid": return /* @__PURE__ */ jsx("span", {
85
+ className: style_default.Type,
86
+ children: /* @__PURE__ */ jsx("span", {
87
+ className: style_default.TypeKeyword,
88
+ children: language === "kotlin" ? "Nothing?" : "Void"
89
+ })
90
+ });
91
+ case "JavaTypeBoolean": return /* @__PURE__ */ jsx("span", {
92
+ className: style_default.Type,
93
+ children: /* @__PURE__ */ jsx("span", {
94
+ className: style_default.TypeKeyword,
95
+ children: language === "kotlin" || optional ? "Boolean" : "boolean"
96
+ })
97
+ });
98
+ case "JavaTypeDouble": return /* @__PURE__ */ jsx("span", {
99
+ className: style_default.Type,
100
+ children: /* @__PURE__ */ jsx("span", {
101
+ className: style_default.TypeKeyword,
102
+ children: language === "kotlin" || optional ? "Double" : "double"
103
+ })
104
+ });
105
+ case "JavaTypeLong": return /* @__PURE__ */ jsx("span", {
106
+ className: style_default.Type,
107
+ children: /* @__PURE__ */ jsx("span", {
108
+ className: style_default.TypeKeyword,
109
+ children: language === "kotlin" || optional ? "Long" : "long"
110
+ })
111
+ });
112
+ case "JavaTypeString": return /* @__PURE__ */ jsx("span", {
113
+ className: style_default.Type,
114
+ children: /* @__PURE__ */ jsx("span", {
115
+ className: style_default.TypeString,
116
+ children: "String"
117
+ })
118
+ });
119
+ case "JavaTypeConstant": return /* @__PURE__ */ jsxs("span", {
120
+ className: style_default.Type,
121
+ children: [/* @__PURE__ */ jsx("span", {
122
+ className: style_default.TypeKeyword,
123
+ children: "JsonValue"
124
+ }), ";"]
125
+ });
126
+ }
127
+ }
128
+ function MethodSignature({ decl }) {
129
+ const Lang = useLanguageComponents();
130
+ const language = useLanguage();
131
+ const { Join, Tooltip } = useComponents();
132
+ const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsx(React$1.Fragment, { children: /* @__PURE__ */ jsxs(Tooltip, {
133
+ content: /* @__PURE__ */ jsx(Lang.Type, { type: param.typeAnnotation }),
134
+ children: [/* @__PURE__ */ jsx("span", {
135
+ className: style_default.TextIdentifier,
136
+ children: param.ident
137
+ }), param.hasDefault && /* @__PURE__ */ jsxs(Fragment$1, { children: [
138
+ " ",
139
+ /* @__PURE__ */ jsx("span", {
140
+ className: style_default.TextOperator,
141
+ children: "="
142
+ }),
143
+ " ",
144
+ /* @__PURE__ */ jsx(Lang.Type, { type: param.typeAnnotation }),
145
+ /* @__PURE__ */ jsx("span", {
146
+ className: style_default.TextOperator,
147
+ children: "."
148
+ }),
149
+ /* @__PURE__ */ jsx("span", {
150
+ className: style_default.TextIdentifier,
151
+ children: "none"
152
+ }),
153
+ /* @__PURE__ */ jsx("span", {
154
+ className: style_default.TextOperator,
155
+ children: "()"
156
+ })
157
+ ] })]
158
+ }) }, i));
159
+ return /* @__PURE__ */ jsx("div", {
160
+ className: style_default.MethodSignature,
161
+ children: /* @__PURE__ */ jsxs("span", {
162
+ className: style_default.SignatureTitle,
163
+ children: [
164
+ decl.returnType && language !== "kotlin" && /* @__PURE__ */ jsxs("span", {
165
+ className: style_default.SignatureReturns,
166
+ children: [/* @__PURE__ */ jsx(Lang.Type, { type: decl.returnType }), " "]
167
+ }),
168
+ decl.qualified && /* @__PURE__ */ jsx("span", {
169
+ className: style_default.SignatureQualified,
170
+ children: /* @__PURE__ */ jsx("span", {
171
+ className: style_default.TextIdentifier,
172
+ children: decl.qualified?.slice(0, -decl.ident.length)
173
+ })
174
+ }),
175
+ /* @__PURE__ */ jsx("span", {
176
+ className: style_default.SignatureName,
177
+ children: /* @__PURE__ */ jsx("span", {
178
+ className: style_default.TextIdentifier,
179
+ children: decl.ident
180
+ })
181
+ }),
182
+ /* @__PURE__ */ jsxs("span", {
183
+ className: style_default.MethodSignature,
184
+ children: [
185
+ /* @__PURE__ */ jsx("span", {
186
+ className: style_default.SignatureParen,
187
+ children: "("
188
+ }),
189
+ /* @__PURE__ */ jsx("span", {
190
+ className: style_default.SignatureParams,
191
+ children: /* @__PURE__ */ jsx(Join, {
192
+ items: params,
193
+ children: /* @__PURE__ */ jsx("span", {
194
+ className: style_default.TextOperator,
195
+ children: ", "
196
+ })
197
+ })
198
+ }),
199
+ /* @__PURE__ */ jsxs("span", {
200
+ className: style_default.SignatureParen,
201
+ children: [")", " "]
202
+ }),
203
+ decl.returnType && language === "kotlin" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
204
+ /* @__PURE__ */ jsx("span", {
205
+ className: style_default.TextOperator,
206
+ children: ":"
207
+ }),
208
+ " ",
209
+ /* @__PURE__ */ jsx(Lang.Type, { type: decl.returnType })
210
+ ] })
211
+ ]
212
+ })
213
+ ]
214
+ })
215
+ });
216
+ }
217
+ function Property({ decl, children }) {
218
+ const Docs = useComponents();
219
+ const Lang = useLanguageComponents();
220
+ const language = useLanguage();
221
+ if (!decl) return null;
222
+ switch (decl.kind) {
223
+ case "JavaDeclProperty": {
224
+ const typeRaw = /* @__PURE__ */ jsx(Lang.Type, {
225
+ type: decl.type,
226
+ optional: decl.optional
227
+ });
228
+ const typeWrapped = decl.optional ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
229
+ /* @__PURE__ */ jsx("span", {
230
+ className: style_default.TypeKeyword,
231
+ children: "Optional"
232
+ }),
233
+ /* @__PURE__ */ jsx("span", {
234
+ className: style_default.TypeBracket,
235
+ children: "<"
236
+ }),
237
+ typeRaw,
238
+ /* @__PURE__ */ jsx("span", {
239
+ className: style_default.TypeBracket,
240
+ children: ">"
241
+ })
242
+ ] }) : typeRaw;
243
+ const badges = /* @__PURE__ */ jsx(Fragment$1, { children: decl.type.kind === "JavaTypeConstant" && /* @__PURE__ */ jsx(Docs.Tooltip, {
244
+ content: /* @__PURE__ */ jsx("span", {
245
+ className: style_default.TextIdentifier,
246
+ children: decl.type.value
247
+ }),
248
+ children: /* @__PURE__ */ jsx("span", {
249
+ className: style_default.TextIdentifier,
250
+ children: "constant"
251
+ })
252
+ }) });
253
+ return children({
254
+ name: decl.ident,
255
+ typeName: /* @__PURE__ */ jsx(Lang.TypeName, {
256
+ type: decl.type,
257
+ optional: decl.optional
258
+ }),
259
+ type: showFullType(decl.type) && typeWrapped,
260
+ badges
261
+ });
262
+ }
263
+ case "JavaDeclConst": return children({
264
+ name: decl.ident,
265
+ typeName: "const",
266
+ type: /* @__PURE__ */ jsx("span", {
267
+ className: constStyle[typeof decl.value],
268
+ children: JSON.stringify(decl.value)
269
+ })
270
+ });
271
+ case "JavaDeclType": {
272
+ const typeName = decl.type.kind === "JavaTypeUnion" ? "union" : decl.type.kind === "JavaTypeEnum" ? language === "kotlin" ? "enum class" : "enum" : "class";
273
+ return children({
274
+ name: decl.ident,
275
+ typeName
276
+ });
277
+ }
278
+ case "JavaDeclReference": return children({ type: /* @__PURE__ */ jsx(Lang.Type, { type: decl.type }) });
279
+ }
280
+ }
281
+ function Declaration({ decl }) {
282
+ const Docs = useComponents();
283
+ const Lang = useLanguageComponents();
284
+ const language = useLanguage();
285
+ if (!decl) return null;
286
+ switch (decl.kind) {
287
+ case "JavaDeclConst": return /* @__PURE__ */ jsxs(Fragment$1, { children: [
288
+ /* @__PURE__ */ jsx("span", {
289
+ className: style_default.TextIdentifier,
290
+ children: decl.ident
291
+ }),
292
+ /* @__PURE__ */ jsx("span", {
293
+ className: style_default.TextPunctuation,
294
+ children: "("
295
+ }),
296
+ JSON.stringify(decl.value),
297
+ /* @__PURE__ */ jsx("span", {
298
+ className: style_default.TextPunctuation,
299
+ children: ")"
300
+ })
301
+ ] });
302
+ case "JavaDeclType": {
303
+ const keyword = decl.type.kind === "JavaTypeEnum" ? language === "kotlin" ? "enum class" : "enum" : "class";
304
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
305
+ /* @__PURE__ */ jsx("span", {
306
+ className: style_default.TextKeyword,
307
+ children: keyword
308
+ }),
309
+ " ",
310
+ /* @__PURE__ */ jsx("span", {
311
+ className: style_default.TextIdentifier,
312
+ children: decl.ident
313
+ }),
314
+ /* @__PURE__ */ jsx("span", {
315
+ className: style_default.TextPunctuation,
316
+ children: ":"
317
+ }),
318
+ decl.type.kind === "JavaTypeUnion" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
319
+ " ",
320
+ /* @__PURE__ */ jsx(Docs.Tooltip, {
321
+ content: "A class that can be one of several variants.",
322
+ children: /* @__PURE__ */ jsx(Docs.Badge, {
323
+ id: "java-union",
324
+ children: "union"
325
+ })
326
+ }),
327
+ " "
328
+ ] })
329
+ ] });
330
+ }
331
+ case "JavaDeclProperty": {
332
+ const inlineType = /* @__PURE__ */ jsx(Lang.Type, {
333
+ type: decl.type,
334
+ optional: decl.optional
335
+ });
336
+ const ident = /* @__PURE__ */ jsx("span", {
337
+ className: style_default.TypePropertyName,
338
+ children: /* @__PURE__ */ jsx("span", {
339
+ className: style_default.TextIdentifier,
340
+ children: decl.ident
341
+ })
342
+ });
343
+ const suffix = decl.type.kind === "JavaTypeConstant" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [" ", /* @__PURE__ */ jsx(Docs.Tooltip, {
344
+ content: /* @__PURE__ */ jsx("span", {
345
+ className: style_default.TextIdentifier,
346
+ children: decl.type.value
347
+ }),
348
+ children: /* @__PURE__ */ jsx(Docs.Badge, {
349
+ id: "java-constant",
350
+ children: "constant"
351
+ })
352
+ })] }) : null;
353
+ if (language === "kotlin") return /* @__PURE__ */ jsxs(Fragment$1, { children: [
354
+ ident,
355
+ /* @__PURE__ */ jsx("span", {
356
+ className: style_default.TextPunctuation,
357
+ children: ":"
358
+ }),
359
+ " ",
360
+ decl.optional ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
361
+ /* @__PURE__ */ jsx("span", {
362
+ className: style_default.TypeReference,
363
+ children: "Optional"
364
+ }),
365
+ /* @__PURE__ */ jsx("span", {
366
+ className: style_default.TypeBracket,
367
+ children: "<"
368
+ }),
369
+ inlineType,
370
+ /* @__PURE__ */ jsx("span", {
371
+ className: style_default.TypeBracket,
372
+ children: ">"
373
+ })
374
+ ] }) : inlineType,
375
+ suffix
376
+ ] });
377
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
378
+ decl.optional ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
379
+ /* @__PURE__ */ jsx("span", {
380
+ className: style_default.TypeReference,
381
+ children: "Optional"
382
+ }),
383
+ /* @__PURE__ */ jsx("span", {
384
+ className: style_default.TypeBracket,
385
+ children: "<"
386
+ }),
387
+ inlineType,
388
+ /* @__PURE__ */ jsx("span", {
389
+ className: style_default.TypeBracket,
390
+ children: ">"
391
+ })
392
+ ] }) : inlineType,
393
+ " ",
394
+ ident,
395
+ suffix
396
+ ] });
397
+ }
398
+ case "JavaDeclReference": return /* @__PURE__ */ jsx(Lang.Type, { type: decl.type });
399
+ }
400
+ }
401
+
402
+ //#endregion
403
+ export { TypeName as a, Type as i, MethodSignature as n, java_exports as o, Property as r, Declaration as t };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { c as MethodSignature, d as PropertyProps, f as Type, l as MethodSignatureProps, o as Declaration, p as TypeName, s as DeclarationProps, u as Property } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,20 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import "../properties-DGL2J11L.js";
8
+ import "../method-jTnA0G8m.js";
9
+ import "../primitives-DQLc9kN7.js";
10
+ import "../icons-BYKn5X8E.js";
11
+ import "../sdk-GGpyGTao.js";
12
+ import "../snippets-kI8eNs1F.js";
13
+ import "../overview-BnagZfH1.js";
14
+ import "../breadcrumbs-CqA6kow2.js";
15
+ import "../sidebar-BWno0E4w.js";
16
+ import "../components-FEHnQBJC.js";
17
+ import "../http-C7bu4oCl.js";
18
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../cli-0bJ66S1r.js";
19
+
20
+ export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { S as TypeName, _ as MethodSignature, b as PropertyProps, g as DeclarationProps, h as Declaration, v as MethodSignatureProps, x as Type, y as Property } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,9 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../csharp-Dl2RIiYP.js";
8
+
9
+ export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { $ as DeclarationProps, Q as Declaration, at as TypeName, et as MethodSignature, it as Type, nt as Property, ot as TypeProps, rt as PropertyProps, tt as MethodSignatureProps } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
@@ -0,0 +1,9 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../go-DuKdRGqU.js";
8
+
9
+ export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { A as PropertyProps, D as MethodSignature, E as MethodInfo, M as TypeName, O as MethodSignatureProps, T as DeclarationProps, j as Type, k as Property, w as Declaration } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,19 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import "../properties-DGL2J11L.js";
8
+ import "../method-jTnA0G8m.js";
9
+ import "../primitives-DQLc9kN7.js";
10
+ import "../icons-BYKn5X8E.js";
11
+ import "../sdk-GGpyGTao.js";
12
+ import "../snippets-kI8eNs1F.js";
13
+ import "../overview-BnagZfH1.js";
14
+ import "../breadcrumbs-CqA6kow2.js";
15
+ import "../sidebar-BWno0E4w.js";
16
+ import "../components-FEHnQBJC.js";
17
+ import { a as Type, i as Property, n as MethodInfo, o as TypeName, r as MethodSignature, t as Declaration } from "../http-C7bu4oCl.js";
18
+
19
+ export { Declaration, MethodInfo, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { C as csharp_d_exports, H as ruby_d_exports, N as http_d_exports, Tt as typescript_d_exports, Z as python_d_exports, a as node, gt as java_d_exports, i as kotlin, m as cli_d_exports, n as PropertyFn, st as go_d_exports, t as LanguageComponentDefinition } from "../index-FDM-j9s-.js";
11
+ export { LanguageComponentDefinition, PropertyFn, cli_d_exports as cli, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
@@ -0,0 +1,27 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import "../properties-DGL2J11L.js";
8
+ import "../method-jTnA0G8m.js";
9
+ import "../primitives-DQLc9kN7.js";
10
+ import "../icons-BYKn5X8E.js";
11
+ import "../sdk-GGpyGTao.js";
12
+ import "../snippets-kI8eNs1F.js";
13
+ import "../overview-BnagZfH1.js";
14
+ import "../breadcrumbs-CqA6kow2.js";
15
+ import "../sidebar-BWno0E4w.js";
16
+ import "../components-FEHnQBJC.js";
17
+ import { o as typescript_exports } from "../typescript-D924WidI.js";
18
+ import { o as java_exports } from "../java-DSyzO-6F.js";
19
+ import { o as go_exports } from "../go-DuKdRGqU.js";
20
+ import { o as python_exports } from "../python-D8ABqtn1.js";
21
+ import { o as ruby_exports } from "../ruby-261jvCjl.js";
22
+ import { s as http_exports } from "../http-C7bu4oCl.js";
23
+ import { o as csharp_exports } from "../csharp-Dl2RIiYP.js";
24
+ import { o as cli_exports } from "../cli-0bJ66S1r.js";
25
+ import { r as node, t as kotlin } from "../languages-BO5YJ6cy.js";
26
+
27
+ export { cli_exports as cli, csharp_exports as csharp, go_exports as go, http_exports as http, java_exports as java, kotlin, node, python_exports as python, ruby_exports as ruby, typescript_exports as typescript };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { ct as Declaration, dt as MethodSignatureProps, ft as Property, ht as TypeName, lt as DeclarationProps, mt as Type, pt as PropertyProps, ut as MethodSignature } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,9 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../java-DSyzO-6F.js";
8
+
9
+ export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { G as MethodSignature, J as PropertyProps, K as MethodSignatureProps, U as Declaration, W as DeclarationProps, X as TypeName, Y as Type, q as Property } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,9 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../python-D8ABqtn1.js";
8
+
9
+ export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { B as Type, F as DeclarationProps, I as MethodSignature, L as MethodSignatureProps, P as Declaration, R as Property, V as TypeName, z as PropertyProps } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,9 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../ruby-261jvCjl.js";
8
+
9
+ export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -0,0 +1,11 @@
1
+ import "../primitives-VtUGoYwX.js";
2
+ import "../breadcrumbs-BVskoBYz.js";
3
+ import "../method-BaQEZVlw.js";
4
+ import "../properties-Bun4nfUE.js";
5
+ import "../sdk-CIxaNoAs.js";
6
+ import "../snippets-CwVjwsAo.js";
7
+ import "../overview-Dp-gGl3v.js";
8
+ import "../sidebar-CLsIJZZf.js";
9
+ import "../index-DsFyACw9.js";
10
+ import { Ct as Type, St as PropertyProps, _t as Declaration, bt as MethodSignatureProps, vt as DeclarationProps, wt as TypeName, xt as Property, yt as MethodSignature } from "../index-FDM-j9s-.js";
11
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -0,0 +1,9 @@
1
+ import "../docs-Di94viZV.js";
2
+ import "../component-generics-POFirVVb.js";
3
+ import "../navigation-aoYZ_tl4.js";
4
+ import "../markdown-D2JWyRws.js";
5
+ import "../contexts-CeV_L_Iy.js";
6
+ import "../use-components-BUz3GbO4.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../typescript-D924WidI.js";
8
+
9
+ export { Declaration, MethodSignature, Property, Type, TypeName };