@stainless-api/docs-ui 0.1.0-beta.47 → 0.1.0-beta.49

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 (159) hide show
  1. package/dist/breadcrumbs-nSFZO5Gf.js +63 -0
  2. package/dist/component-DRO8kQSp.js +23 -0
  3. package/dist/{component-generics-F0_Dx7UT.js → component-generics-B6Fn47Mz.js} +1 -1
  4. package/dist/{component-generics-DrrwsjTH.d.ts → component-generics-COP53CRn.d.ts} +2 -2
  5. package/dist/component-generics-fyFHB6qA.d.ts +30 -0
  6. package/dist/components/MaskedInput.d.ts +1 -1
  7. package/dist/components/MaskedInput.js +1 -1
  8. package/dist/components/breadcrumbs.d.ts +1 -1
  9. package/dist/components/breadcrumbs.js +7 -13
  10. package/dist/components/icons.js +1 -1
  11. package/dist/components/index.d.ts +9 -10
  12. package/dist/components/index.js +16 -13
  13. package/dist/components/method.d.ts +1 -1
  14. package/dist/components/method.js +8 -13
  15. package/dist/components/overview.d.ts +1 -1
  16. package/dist/components/overview.js +9 -13
  17. package/dist/components/primitives.d.ts +1 -1
  18. package/dist/components/primitives.js +6 -13
  19. package/dist/components/properties.d.ts +1 -1
  20. package/dist/components/properties.js +7 -13
  21. package/dist/components/sdk.d.ts +1 -2
  22. package/dist/components/sdk.js +8 -13
  23. package/dist/components/sidebar.d.ts +1 -1
  24. package/dist/components/sidebar.js +9 -13
  25. package/dist/components/snippets.d.ts +2 -3
  26. package/dist/components/snippets.js +7 -13
  27. package/dist/components-D7M-BwNI.js +71 -0
  28. package/dist/contexts/component-generics.d.ts +1 -1
  29. package/dist/contexts/component-generics.js +1 -1
  30. package/dist/contexts/component-types.d.ts +10 -11
  31. package/dist/contexts/component.d.ts +13 -14
  32. package/dist/contexts/component.js +25 -13
  33. package/dist/contexts/docs.d.ts +1 -1
  34. package/dist/contexts/docs.js +1 -1
  35. package/dist/contexts/index.d.ts +16 -19
  36. package/dist/contexts/index.js +6 -14
  37. package/dist/contexts/markdown.d.ts +1 -1
  38. package/dist/contexts/markdown.js +2 -2
  39. package/dist/contexts/navigation.d.ts +1 -2
  40. package/dist/contexts/navigation.js +1 -1
  41. package/dist/contexts/use-components.d.ts +9 -10
  42. package/dist/contexts/use-components.js +2 -2
  43. package/dist/contexts-p3rRZDlM.js +39 -0
  44. package/dist/csharp-CDSxfCZE.js +283 -0
  45. package/dist/docs-yYrp-uzs.d.ts +47 -0
  46. package/dist/go-1c3S5ETL.js +303 -0
  47. package/dist/http-2QNWXH9t.js +330 -0
  48. package/dist/{index-CeFeLPGr.d.ts → index-BQpRynot.d.ts} +8 -8
  49. package/dist/index-CnilsjrJ.d.ts +274 -0
  50. package/dist/{index-CTSOZqei.d.ts → index-Ct0NcQUK.d.ts} +1 -1
  51. package/dist/{index-Bt01VI67.d.ts → index-D6NhcxHd.d.ts} +6 -7
  52. package/dist/index-LboM0f0c.d.ts +15 -0
  53. package/dist/index-avtZIGmX.d.ts +13 -0
  54. package/dist/index.d.ts +18 -20
  55. package/dist/index.js +27 -13
  56. package/dist/java-BbjF_oUI.js +403 -0
  57. package/dist/languages/csharp.d.ts +10 -11
  58. package/dist/languages/csharp.js +7 -13
  59. package/dist/languages/go.d.ts +10 -11
  60. package/dist/languages/go.js +7 -13
  61. package/dist/languages/http.d.ts +10 -11
  62. package/dist/languages/http.js +17 -13
  63. package/dist/languages/index.d.ts +10 -11
  64. package/dist/languages/index.js +24 -13
  65. package/dist/languages/java.d.ts +10 -11
  66. package/dist/languages/java.js +7 -13
  67. package/dist/languages/python.d.ts +10 -11
  68. package/dist/languages/python.js +7 -13
  69. package/dist/languages/ruby.d.ts +10 -11
  70. package/dist/languages/ruby.js +7 -13
  71. package/dist/languages/typescript.d.ts +10 -11
  72. package/dist/languages/typescript.js +7 -13
  73. package/dist/languages-BCYZjzuS.js +26 -0
  74. package/dist/markdown/index.d.ts +4 -4
  75. package/dist/markdown/index.js +103 -14
  76. package/dist/markdown/md.js +1 -1
  77. package/dist/markdown/printer.d.ts +2 -0
  78. package/dist/markdown/printer.js +28 -0
  79. package/dist/markdown/utils.d.ts +2 -3
  80. package/dist/markdown/utils.js +1 -1
  81. package/dist/{markdown-Bx-mQFEj.js → markdown-CxdeWgjV.js} +1 -1
  82. package/dist/markdown-DA2cRtlr.d.ts +22 -0
  83. package/dist/method-CE08mUME.js +115 -0
  84. package/dist/{navigation-Cg69h_9U.d.ts → navigation-BfAVGPgw.d.ts} +3 -3
  85. package/dist/navigation-CjBnMcop.d.ts +29 -0
  86. package/dist/overview-DeZSiqFa.d.ts +39 -0
  87. package/dist/overview-S2hUqPXA.js +139 -0
  88. package/dist/primitives-BIWfwN5L.js +258 -0
  89. package/dist/primitives-CbqXZ-5f.d.ts +97 -0
  90. package/dist/printer-DBw4S_Jn.d.ts +13 -0
  91. package/dist/printer-DVZVkqAr.d.ts +13 -0
  92. package/dist/printer-bNxiG6UB.js +74 -0
  93. package/dist/properties-jlGW3USi.js +131 -0
  94. package/dist/python-USOwFDv_.js +279 -0
  95. package/dist/routing-CMqh1cTZ.d.ts +54 -0
  96. package/dist/{routing-BGBmkDBL.js → routing-Wbb7YECB.js} +1 -1
  97. package/dist/routing.d.ts +1 -1
  98. package/dist/routing.js +1 -1
  99. package/dist/ruby-CSvGbSLe.js +387 -0
  100. package/dist/{sdk-Ck0IERc7.d.ts → sdk-BOwYR0k6.d.ts} +1 -1
  101. package/dist/sdk-CSCbbn3O.js +336 -0
  102. package/dist/sdk-CdhDsvo3.d.ts +118 -0
  103. package/dist/sidebar-CWyvCrJ0.js +81 -0
  104. package/dist/snippets-BQLXEIf6.js +161 -0
  105. package/dist/snippets-CbVFNmfq.d.ts +51 -0
  106. package/dist/{snippets-XTXit9Ya.d.ts → snippets-Wjo2dJNw.d.ts} +1 -1
  107. package/dist/spec.d.ts +3 -3
  108. package/dist/spec.js +2 -2
  109. package/dist/style.d.ts +1 -1
  110. package/dist/style.js +1 -1
  111. package/dist/styles/resets.css +2 -1
  112. package/dist/styles.css +1099 -1
  113. package/dist/typescript-DXG9psK3.js +449 -0
  114. package/dist/{use-components-BAHidYIO.js → use-components-RWQbviGq.js} +1 -1
  115. package/dist/{utils-CJElSUwc.d.ts → utils-CTGH5e8c.d.ts} +2 -2
  116. package/dist/utils-DNKOwa7D.d.ts +21 -0
  117. package/dist/{utils-0z34vxY4.js → utils-D_1AWSRX.js} +2 -2
  118. package/dist/utils.d.ts +1 -1
  119. package/dist/utils.js +1 -2
  120. package/package.json +6 -20
  121. package/dist/contexts/search.d.ts +0 -4
  122. package/dist/contexts/search.js +0 -15
  123. package/dist/contexts-D3ClFTt3.js +0 -4117
  124. package/dist/pagefind-BHm6c3fb.js +0 -15
  125. package/dist/search/index.d.ts +0 -26
  126. package/dist/search/index.js +0 -334
  127. package/dist/search/mcp.d.ts +0 -13
  128. package/dist/search/mcp.js +0 -45
  129. package/dist/search/providers/algolia.d.ts +0 -25
  130. package/dist/search/providers/algolia.js +0 -15
  131. package/dist/search/providers/fuse.d.ts +0 -18
  132. package/dist/search/providers/fuse.js +0 -30
  133. package/dist/search/providers/pagefind.d.ts +0 -7
  134. package/dist/search/providers/pagefind.js +0 -3
  135. package/dist/search/providers/walker.d.ts +0 -9
  136. package/dist/search/providers/walker.js +0 -34
  137. package/dist/search/types.d.ts +0 -3
  138. package/dist/search/types.js +0 -3
  139. package/dist/search-B9SJyFXg.d.ts +0 -21
  140. package/dist/types-D7Ipu1J2.d.ts +0 -91
  141. package/dist/types-mRzd9aqe.js +0 -35
  142. /package/dist/{breadcrumbs-Bg3nNgu9.d.ts → breadcrumbs-DEyC9k79.d.ts} +0 -0
  143. /package/dist/{chunk-BWfJHHBp.js → chunk-DRcLgZ1e.js} +0 -0
  144. /package/dist/{docs-DGpIHBGY.d.ts → docs-B8-nCRaa.d.ts} +0 -0
  145. /package/dist/{docs-CNvEp0VL.js → docs-CXqi26jB.js} +0 -0
  146. /package/dist/{icons-DzBceOQw.js → icons-Ckod9aod.js} +0 -0
  147. /package/dist/{markdown-COcowhve.d.ts → markdown-C8o8WrwG.d.ts} +0 -0
  148. /package/dist/{md-D5AxFoS4.js → md-oM2tUaCA.js} +0 -0
  149. /package/dist/{method-DI8ARQ3m.d.ts → method-B6eAtYl2.d.ts} +0 -0
  150. /package/dist/{navigation-bydkHNUW.js → navigation-C5TN0SgC.js} +0 -0
  151. /package/dist/{overview-Bv43Hf_w.d.ts → overview-CswoJHww.d.ts} +0 -0
  152. /package/dist/{primitives-Br-H_CYo.d.ts → primitives-Caj5rKBc.d.ts} +0 -0
  153. /package/dist/{properties-RPXKwEeY.d.ts → properties-BkUlpvU4.d.ts} +0 -0
  154. /package/dist/{routing-nN1nc0jx.d.ts → routing-Dhmv52Fd.d.ts} +0 -0
  155. /package/dist/{sidebar-b3y7VIbU.d.ts → sidebar-BXz93vSy.d.ts} +0 -0
  156. /package/dist/{style-D8hwSwrv.d.ts → style-D7RO5ymE.d.ts} +0 -0
  157. /package/dist/{style-0miv2y38.js → style-gnVEeXFj.js} +0 -0
  158. /package/dist/{utils-CiZXDoFR.js → utils-CqnL9Fc3.js} +0 -0
  159. /package/dist/{utils-BcWczffA.d.ts → utils-d8paVwKN.d.ts} +0 -0
@@ -0,0 +1,403 @@
1
+ import { t as __export } from "./chunk-DRcLgZ1e.js";
2
+ import { a as useLanguage } from "./docs-CXqi26jB.js";
3
+ import { n as useLanguageComponents } from "./contexts-p3rRZDlM.js";
4
+ import { t as useComponents } from "./use-components-RWQbviGq.js";
5
+ import { t as style_default } from "./style-gnVEeXFj.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__ */ __export({
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 };
@@ -1,12 +1,11 @@
1
- import "../primitives-Br-H_CYo.js";
2
- import "../breadcrumbs-Bg3nNgu9.js";
3
- import "../method-DI8ARQ3m.js";
4
- import "../properties-RPXKwEeY.js";
5
- import "../routing-nN1nc0jx.js";
6
- import "../sdk-Ck0IERc7.js";
7
- import "../snippets-XTXit9Ya.js";
8
- import "../overview-Bv43Hf_w.js";
9
- import "../sidebar-b3y7VIbU.js";
10
- import "../index-CeFeLPGr.js";
11
- 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-CTSOZqei.js";
1
+ import "../primitives-Caj5rKBc.js";
2
+ import "../breadcrumbs-DEyC9k79.js";
3
+ import "../method-B6eAtYl2.js";
4
+ import "../properties-BkUlpvU4.js";
5
+ import "../sdk-BOwYR0k6.js";
6
+ import "../snippets-Wjo2dJNw.js";
7
+ import "../overview-CswoJHww.js";
8
+ import "../sidebar-BXz93vSy.js";
9
+ import "../index-BQpRynot.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-Ct0NcQUK.js";
12
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,15 +1,9 @@
1
- import "../docs-CNvEp0VL.js";
2
- import "../component-generics-F0_Dx7UT.js";
3
- import "../navigation-bydkHNUW.js";
4
- import "../markdown-Bx-mQFEj.js";
5
- import "../routing-BGBmkDBL.js";
6
- import "../style-0miv2y38.js";
7
- import "../use-components-BAHidYIO.js";
8
- import { C as TypeName, S as Type, b as MethodSignature, x as Property, y as Declaration } from "../contexts-D3ClFTt3.js";
9
- import "../icons-DzBceOQw.js";
10
- import "../utils-0z34vxY4.js";
11
- import "../md-D5AxFoS4.js";
12
- import "../utils-CiZXDoFR.js";
13
- import "../types-mRzd9aqe.js";
1
+ import "../docs-CXqi26jB.js";
2
+ import "../component-generics-B6Fn47Mz.js";
3
+ import "../navigation-C5TN0SgC.js";
4
+ import "../markdown-CxdeWgjV.js";
5
+ import "../contexts-p3rRZDlM.js";
6
+ import "../use-components-RWQbviGq.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../csharp-CDSxfCZE.js";
14
8
 
15
9
  export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -1,12 +1,11 @@
1
- import "../primitives-Br-H_CYo.js";
2
- import "../breadcrumbs-Bg3nNgu9.js";
3
- import "../method-DI8ARQ3m.js";
4
- import "../properties-RPXKwEeY.js";
5
- import "../routing-nN1nc0jx.js";
6
- import "../sdk-Ck0IERc7.js";
7
- import "../snippets-XTXit9Ya.js";
8
- import "../overview-Bv43Hf_w.js";
9
- import "../sidebar-b3y7VIbU.js";
10
- import "../index-CeFeLPGr.js";
11
- import { G as MethodSignature, J as PropertyProps, K as MethodSignatureProps, U as Declaration, W as DeclarationProps, X as TypeName, Y as Type, Z as TypeProps, q as Property } from "../index-CTSOZqei.js";
1
+ import "../primitives-Caj5rKBc.js";
2
+ import "../breadcrumbs-DEyC9k79.js";
3
+ import "../method-B6eAtYl2.js";
4
+ import "../properties-BkUlpvU4.js";
5
+ import "../sdk-BOwYR0k6.js";
6
+ import "../snippets-Wjo2dJNw.js";
7
+ import "../overview-CswoJHww.js";
8
+ import "../sidebar-BXz93vSy.js";
9
+ import "../index-BQpRynot.js";
10
+ import { G as MethodSignature, J as PropertyProps, K as MethodSignatureProps, U as Declaration, W as DeclarationProps, X as TypeName, Y as Type, Z as TypeProps, q as Property } from "../index-Ct0NcQUK.js";
12
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
@@ -1,15 +1,9 @@
1
- import "../docs-CNvEp0VL.js";
2
- import "../component-generics-F0_Dx7UT.js";
3
- import "../navigation-bydkHNUW.js";
4
- import "../markdown-Bx-mQFEj.js";
5
- import "../routing-BGBmkDBL.js";
6
- import "../style-0miv2y38.js";
7
- import "../use-components-BAHidYIO.js";
8
- import { G as MethodSignature, J as TypeName, K as Property, W as Declaration, q as Type } from "../contexts-D3ClFTt3.js";
9
- import "../icons-DzBceOQw.js";
10
- import "../utils-0z34vxY4.js";
11
- import "../md-D5AxFoS4.js";
12
- import "../utils-CiZXDoFR.js";
13
- import "../types-mRzd9aqe.js";
1
+ import "../docs-CXqi26jB.js";
2
+ import "../component-generics-B6Fn47Mz.js";
3
+ import "../navigation-C5TN0SgC.js";
4
+ import "../markdown-CxdeWgjV.js";
5
+ import "../contexts-p3rRZDlM.js";
6
+ import "../use-components-RWQbviGq.js";
7
+ import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../go-1c3S5ETL.js";
14
8
 
15
9
  export { Declaration, MethodSignature, Property, Type, TypeName };
@@ -1,12 +1,11 @@
1
- import "../primitives-Br-H_CYo.js";
2
- import "../breadcrumbs-Bg3nNgu9.js";
3
- import "../method-DI8ARQ3m.js";
4
- import "../properties-RPXKwEeY.js";
5
- import "../routing-nN1nc0jx.js";
6
- import "../sdk-Ck0IERc7.js";
7
- import "../snippets-XTXit9Ya.js";
8
- import "../overview-Bv43Hf_w.js";
9
- import "../sidebar-b3y7VIbU.js";
10
- import "../index-CeFeLPGr.js";
11
- import { C as TypeName, S as Type, _ as MethodInfo, b as Property, g as DeclarationProps, h as Declaration, v as MethodSignature, x as PropertyProps, y as MethodSignatureProps } from "../index-CTSOZqei.js";
1
+ import "../primitives-Caj5rKBc.js";
2
+ import "../breadcrumbs-DEyC9k79.js";
3
+ import "../method-B6eAtYl2.js";
4
+ import "../properties-BkUlpvU4.js";
5
+ import "../sdk-BOwYR0k6.js";
6
+ import "../snippets-Wjo2dJNw.js";
7
+ import "../overview-CswoJHww.js";
8
+ import "../sidebar-BXz93vSy.js";
9
+ import "../index-BQpRynot.js";
10
+ import { C as TypeName, S as Type, _ as MethodInfo, b as Property, g as DeclarationProps, h as Declaration, v as MethodSignature, x as PropertyProps, y as MethodSignatureProps } from "../index-Ct0NcQUK.js";
12
11
  export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,15 +1,19 @@
1
- import "../docs-CNvEp0VL.js";
2
- import "../component-generics-F0_Dx7UT.js";
3
- import "../navigation-bydkHNUW.js";
4
- import "../markdown-Bx-mQFEj.js";
5
- import "../routing-BGBmkDBL.js";
6
- import "../style-0miv2y38.js";
7
- import "../use-components-BAHidYIO.js";
8
- import { A as TypeName, D as MethodSignature, E as MethodInfo, O as Property, T as Declaration, k as Type } from "../contexts-D3ClFTt3.js";
9
- import "../icons-DzBceOQw.js";
10
- import "../utils-0z34vxY4.js";
11
- import "../md-D5AxFoS4.js";
12
- import "../utils-CiZXDoFR.js";
13
- import "../types-mRzd9aqe.js";
1
+ import "../docs-CXqi26jB.js";
2
+ import "../component-generics-B6Fn47Mz.js";
3
+ import "../navigation-C5TN0SgC.js";
4
+ import "../markdown-CxdeWgjV.js";
5
+ import "../contexts-p3rRZDlM.js";
6
+ import "../use-components-RWQbviGq.js";
7
+ import "../properties-jlGW3USi.js";
8
+ import "../method-CE08mUME.js";
9
+ import "../primitives-BIWfwN5L.js";
10
+ import "../icons-Ckod9aod.js";
11
+ import "../sdk-CSCbbn3O.js";
12
+ import "../snippets-BQLXEIf6.js";
13
+ import "../overview-S2hUqPXA.js";
14
+ import "../breadcrumbs-nSFZO5Gf.js";
15
+ import "../sidebar-CWyvCrJ0.js";
16
+ import "../components-D7M-BwNI.js";
17
+ import { a as Type, i as Property, n as MethodInfo, o as TypeName, r as MethodSignature, t as Declaration } from "../http-2QNWXH9t.js";
14
18
 
15
19
  export { Declaration, MethodInfo, MethodSignature, Property, Type, TypeName };
@@ -1,12 +1,11 @@
1
- import "../primitives-Br-H_CYo.js";
2
- import "../breadcrumbs-Bg3nNgu9.js";
3
- import "../method-DI8ARQ3m.js";
4
- import "../properties-RPXKwEeY.js";
5
- import "../routing-nN1nc0jx.js";
6
- import "../sdk-Ck0IERc7.js";
7
- import "../snippets-XTXit9Ya.js";
8
- import "../overview-Bv43Hf_w.js";
9
- import "../sidebar-b3y7VIbU.js";
10
- import "../index-CeFeLPGr.js";
11
- import { H as python_d_exports, N as ruby_d_exports, Q as go_d_exports, a as node, gt as typescript_d_exports, i as kotlin, m as csharp_d_exports, n as PropertyFn, st as java_d_exports, t as LanguageComponentDefinition, w as http_d_exports } from "../index-CTSOZqei.js";
1
+ import "../primitives-Caj5rKBc.js";
2
+ import "../breadcrumbs-DEyC9k79.js";
3
+ import "../method-B6eAtYl2.js";
4
+ import "../properties-BkUlpvU4.js";
5
+ import "../sdk-BOwYR0k6.js";
6
+ import "../snippets-Wjo2dJNw.js";
7
+ import "../overview-CswoJHww.js";
8
+ import "../sidebar-BXz93vSy.js";
9
+ import "../index-BQpRynot.js";
10
+ import { H as python_d_exports, N as ruby_d_exports, Q as go_d_exports, a as node, gt as typescript_d_exports, i as kotlin, m as csharp_d_exports, n as PropertyFn, st as java_d_exports, t as LanguageComponentDefinition, w as http_d_exports } from "../index-Ct0NcQUK.js";
12
11
  export { LanguageComponentDefinition, PropertyFn, 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 };
@@ -1,15 +1,26 @@
1
- import "../docs-CNvEp0VL.js";
2
- import "../component-generics-F0_Dx7UT.js";
3
- import "../navigation-bydkHNUW.js";
4
- import "../markdown-Bx-mQFEj.js";
5
- import "../routing-BGBmkDBL.js";
6
- import "../style-0miv2y38.js";
7
- import "../use-components-BAHidYIO.js";
8
- import { L as ruby_exports, U as python_exports, Y as go_exports, g as kotlin, j as http_exports, st as typescript_exports, tt as java_exports, v as node, w as csharp_exports } from "../contexts-D3ClFTt3.js";
9
- import "../icons-DzBceOQw.js";
10
- import "../utils-0z34vxY4.js";
11
- import "../md-D5AxFoS4.js";
12
- import "../utils-CiZXDoFR.js";
13
- import "../types-mRzd9aqe.js";
1
+ import "../docs-CXqi26jB.js";
2
+ import "../component-generics-B6Fn47Mz.js";
3
+ import "../navigation-C5TN0SgC.js";
4
+ import "../markdown-CxdeWgjV.js";
5
+ import "../contexts-p3rRZDlM.js";
6
+ import "../use-components-RWQbviGq.js";
7
+ import "../properties-jlGW3USi.js";
8
+ import "../method-CE08mUME.js";
9
+ import "../primitives-BIWfwN5L.js";
10
+ import "../icons-Ckod9aod.js";
11
+ import "../sdk-CSCbbn3O.js";
12
+ import "../snippets-BQLXEIf6.js";
13
+ import "../overview-S2hUqPXA.js";
14
+ import "../breadcrumbs-nSFZO5Gf.js";
15
+ import "../sidebar-CWyvCrJ0.js";
16
+ import "../components-D7M-BwNI.js";
17
+ import { o as typescript_exports } from "../typescript-DXG9psK3.js";
18
+ import { o as java_exports } from "../java-BbjF_oUI.js";
19
+ import { o as go_exports } from "../go-1c3S5ETL.js";
20
+ import { o as python_exports } from "../python-USOwFDv_.js";
21
+ import { o as ruby_exports } from "../ruby-CSvGbSLe.js";
22
+ import { s as http_exports } from "../http-2QNWXH9t.js";
23
+ import { o as csharp_exports } from "../csharp-CDSxfCZE.js";
24
+ import { r as node, t as kotlin } from "../languages-BCYZjzuS.js";
14
25
 
15
26
  export { 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 };
@@ -1,12 +1,11 @@
1
- import "../primitives-Br-H_CYo.js";
2
- import "../breadcrumbs-Bg3nNgu9.js";
3
- import "../method-DI8ARQ3m.js";
4
- import "../properties-RPXKwEeY.js";
5
- import "../routing-nN1nc0jx.js";
6
- import "../sdk-Ck0IERc7.js";
7
- import "../snippets-XTXit9Ya.js";
8
- import "../overview-Bv43Hf_w.js";
9
- import "../sidebar-b3y7VIbU.js";
10
- import "../index-CeFeLPGr.js";
11
- import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-CTSOZqei.js";
1
+ import "../primitives-Caj5rKBc.js";
2
+ import "../breadcrumbs-DEyC9k79.js";
3
+ import "../method-B6eAtYl2.js";
4
+ import "../properties-BkUlpvU4.js";
5
+ import "../sdk-BOwYR0k6.js";
6
+ import "../snippets-Wjo2dJNw.js";
7
+ import "../overview-CswoJHww.js";
8
+ import "../sidebar-BXz93vSy.js";
9
+ import "../index-BQpRynot.js";
10
+ import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-Ct0NcQUK.js";
12
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };