@stainless-api/docs-ui 0.1.0-beta.5 → 0.1.0-beta.50
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/dist/breadcrumbs-C6pTTw_o.d.ts +20 -0
- package/dist/breadcrumbs-DEyC9k79.d.ts +20 -0
- package/dist/breadcrumbs-nSFZO5Gf.js +63 -0
- package/dist/chunk-DRcLgZ1e.js +18 -0
- package/dist/component-DRO8kQSp.js +23 -0
- package/dist/component-generics-B6Fn47Mz.js +45 -0
- package/dist/component-generics-D_yxZT6v.d.ts +30 -0
- package/dist/component-generics-DxN-MaP2.d.ts +30 -0
- package/dist/components/MaskedInput.d.ts +14 -0
- package/dist/components/MaskedInput.js +76 -0
- package/dist/components/breadcrumbs.d.ts +2 -0
- package/dist/components/breadcrumbs.js +9 -0
- package/dist/components/icons.d.ts +55 -0
- package/dist/components/icons.js +3 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +18 -0
- package/dist/components/method.d.ts +2 -0
- package/dist/components/method.js +10 -0
- package/dist/components/overview.d.ts +2 -0
- package/dist/components/overview.js +11 -0
- package/dist/components/primitives.d.ts +2 -0
- package/dist/components/primitives.js +8 -0
- package/dist/components/properties.d.ts +2 -0
- package/dist/components/properties.js +9 -0
- package/dist/components/sdk.d.ts +2 -0
- package/dist/components/sdk.js +10 -0
- package/dist/components/sidebar.d.ts +2 -0
- package/dist/components/sidebar.js +11 -0
- package/dist/components/snippets.d.ts +3 -0
- package/dist/components/snippets.js +9 -0
- package/dist/components-D7M-BwNI.js +71 -0
- package/dist/contexts/component-generics.d.ts +2 -0
- package/dist/contexts/component-generics.js +3 -0
- package/dist/contexts/component-types.d.ts +16 -0
- package/dist/contexts/component-types.js +0 -0
- package/dist/contexts/component.d.ts +29 -0
- package/dist/contexts/component.js +27 -0
- package/dist/contexts/docs.d.ts +2 -0
- package/dist/contexts/docs.js +3 -0
- package/dist/contexts/index.d.ts +16 -0
- package/dist/contexts/index.js +7 -0
- package/dist/contexts/markdown.d.ts +2 -0
- package/dist/contexts/markdown.js +4 -0
- package/dist/contexts/navigation.d.ts +2 -0
- package/dist/contexts/navigation.js +3 -0
- package/dist/contexts/use-components.d.ts +14 -0
- package/dist/contexts/use-components.js +4 -0
- package/dist/contexts-p3rRZDlM.js +39 -0
- package/dist/csharp-CDSxfCZE.js +283 -0
- package/dist/docs-CXqi26jB.js +54 -0
- package/dist/docs-dNFWvk6w.d.ts +47 -0
- package/dist/docs-mMDqYdkf.d.ts +47 -0
- package/dist/go-1c3S5ETL.js +303 -0
- package/dist/http-2QNWXH9t.js +330 -0
- package/dist/icons-Ckod9aod.js +869 -0
- package/dist/index-0imEqwWy.d.ts +15 -0
- package/dist/index-BJR7MT73.d.ts +13 -0
- package/dist/index-DGWbX2x8.d.ts +13 -0
- package/dist/index-DJO7hQAU.d.ts +274 -0
- package/dist/index-DMFZJxNb.d.ts +15 -0
- package/dist/index-tw6MEWKp.d.ts +274 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +29 -7542
- package/dist/java-BbjF_oUI.js +403 -0
- package/dist/languages/csharp.d.ts +11 -0
- package/dist/languages/csharp.js +9 -0
- package/dist/languages/go.d.ts +11 -0
- package/dist/languages/go.js +9 -0
- package/dist/languages/http.d.ts +11 -0
- package/dist/languages/http.js +19 -0
- package/dist/languages/index.d.ts +11 -0
- package/dist/languages/index.js +26 -0
- package/dist/languages/java.d.ts +11 -0
- package/dist/languages/java.js +9 -0
- package/dist/languages/python.d.ts +11 -0
- package/dist/languages/python.js +9 -0
- package/dist/languages/ruby.d.ts +11 -0
- package/dist/languages/ruby.js +9 -0
- package/dist/languages/typescript.d.ts +11 -0
- package/dist/languages/typescript.js +9 -0
- package/dist/languages-BCYZjzuS.js +26 -0
- package/dist/markdown/index.d.ts +12 -0
- package/dist/markdown/index.js +104 -0
- package/dist/markdown/md.d.ts +15 -0
- package/dist/markdown/md.js +3 -0
- package/dist/markdown/printer.d.ts +2 -0
- package/dist/markdown/printer.js +28 -0
- package/dist/markdown/utils.d.ts +3 -0
- package/dist/markdown/utils.js +3 -0
- package/dist/markdown-CxdeWgjV.js +48 -0
- package/dist/markdown-DeSSIANr.d.ts +22 -0
- package/dist/markdown-OuUthjwK.d.ts +22 -0
- package/dist/md-oM2tUaCA.js +41 -0
- package/dist/method-BiXJltKa.d.ts +71 -0
- package/dist/method-CE08mUME.js +115 -0
- package/dist/method-DQ3lDoTM.d.ts +71 -0
- package/dist/navigation-BX8nuda9.d.ts +29 -0
- package/dist/navigation-C5TN0SgC.js +24 -0
- package/dist/navigation-CWDfzVoR.d.ts +29 -0
- package/dist/overview-B43BuZbK.d.ts +39 -0
- package/dist/overview-MTDgZ7Xr.d.ts +39 -0
- package/dist/overview-S2hUqPXA.js +139 -0
- package/dist/primitives-1lB1L0is.d.ts +97 -0
- package/dist/primitives-BIWfwN5L.js +258 -0
- package/dist/primitives-DLv4uMoz.d.ts +97 -0
- package/dist/printer-DBw4S_Jn.d.ts +13 -0
- package/dist/printer-bNxiG6UB.js +74 -0
- package/dist/properties-B-giMW4K.d.ts +54 -0
- package/dist/properties-BvP2WAjP.d.ts +54 -0
- package/dist/properties-jlGW3USi.js +131 -0
- package/dist/python-USOwFDv_.js +279 -0
- package/dist/routing-CMqh1cTZ.d.ts +54 -0
- package/dist/routing-Wbb7YECB.js +194 -0
- package/dist/routing.d.ts +2 -0
- package/dist/routing.js +3 -180
- package/dist/ruby-CSvGbSLe.js +387 -0
- package/dist/sdk-BwXeHS3_.d.ts +118 -0
- package/dist/sdk-CSCbbn3O.js +336 -0
- package/dist/sdk-DXdNszcC.d.ts +118 -0
- package/dist/sidebar-CWyvCrJ0.js +81 -0
- package/dist/sidebar-DGGt5gik.d.ts +36 -0
- package/dist/sidebar-DfS6SWQz.d.ts +36 -0
- package/dist/snippets-BQLXEIf6.js +161 -0
- package/dist/snippets-BRs_4F1I.d.ts +51 -0
- package/dist/snippets-DxSMK50g.d.ts +51 -0
- package/dist/spec.d.ts +65 -0
- package/dist/spec.js +167 -0
- package/dist/style-D7RO5ymE.d.ts +168 -0
- package/dist/style-gnVEeXFj.js +169 -0
- package/dist/style.d.ts +2 -0
- package/dist/style.js +3 -0
- package/dist/styles/main.css +727 -754
- package/dist/styles/main.js +0 -0
- package/dist/styles/primitives.css +317 -461
- package/dist/styles/primitives.js +0 -0
- package/dist/styles/resets.css +32 -41
- package/dist/styles/resets.js +0 -0
- package/dist/styles/search.css +175 -274
- package/dist/styles/search.js +0 -0
- package/dist/styles/sidebar.css +59 -60
- package/dist/styles/sidebar.js +0 -0
- package/dist/styles/variables.css +26 -89
- package/dist/styles/variables.js +0 -0
- package/dist/styles.css +2910 -0
- package/dist/styles.mjs +1 -0
- package/dist/typescript-DXG9psK3.js +449 -0
- package/dist/use-components-RWQbviGq.js +7 -0
- package/dist/utils-BaLi5Bed.d.ts +21 -0
- package/dist/utils-CqnL9Fc3.js +31 -0
- package/dist/utils-D_1AWSRX.js +32 -0
- package/dist/utils-_AEBNJhG.d.ts +21 -0
- package/dist/utils-d8paVwKN.d.ts +14 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +3 -0
- package/package.json +73 -21
- package/dist/mcp.js +0 -16003
- package/dist/styles/snippets.css +0 -132
- package/src/components/breadcrumbs.tsx +0 -94
- package/src/components/chat.tsx +0 -154
- package/src/components/dropdown.tsx +0 -91
- package/src/components/icons.tsx +0 -584
- package/src/components/index.ts +0 -9
- package/src/components/method.tsx +0 -144
- package/src/components/overview.tsx +0 -159
- package/src/components/primitives.tsx +0 -284
- package/src/components/properties.tsx +0 -130
- package/src/components/scripts/dropdown.ts +0 -78
- package/src/components/sdk.tsx +0 -402
- package/src/components/sidebar.tsx +0 -99
- package/src/components/snippets.tsx +0 -179
- package/src/contexts/component-generics.tsx +0 -48
- package/src/contexts/component-types.tsx +0 -5
- package/src/contexts/component.tsx +0 -32
- package/src/contexts/docs.tsx +0 -75
- package/src/contexts/index.tsx +0 -17
- package/src/contexts/markdown.tsx +0 -43
- package/src/contexts/navigation.tsx +0 -44
- package/src/contexts/search.tsx +0 -28
- package/src/contexts/use-components.tsx +0 -4
- package/src/index.ts +0 -6
- package/src/languages/go.tsx +0 -281
- package/src/languages/http.tsx +0 -321
- package/src/languages/index.ts +0 -26
- package/src/languages/java.tsx +0 -358
- package/src/languages/python.tsx +0 -255
- package/src/languages/ruby.tsx +0 -320
- package/src/languages/typescript.tsx +0 -393
- package/src/markdown/index.ts +0 -107
- package/src/markdown/md.ts +0 -45
- package/src/markdown/utils.ts +0 -49
- package/src/routing.ts +0 -238
- package/src/search/form.tsx +0 -127
- package/src/search/index.tsx +0 -1
- package/src/search/indexer.ts +0 -246
- package/src/search/mcp.ts +0 -61
- package/src/search/printer.tsx +0 -86
- package/src/search/providers/algolia.ts +0 -88
- package/src/search/providers/fuse.ts +0 -19
- package/src/search/providers/pagefind.ts +0 -17
- package/src/search/providers/walker.ts +0 -30
- package/src/search/results.tsx +0 -181
- package/src/search/state.ts +0 -64
- package/src/search/types.ts +0 -116
- package/src/style.ts +0 -197
- package/src/styles/main.css +0 -993
- package/src/styles/primitives.css +0 -573
- package/src/styles/resets.css +0 -47
- package/src/styles/search.css +0 -342
- package/src/styles/sidebar.css +0 -87
- package/src/styles/snippets.css +0 -132
- package/src/styles/variables.css +0 -90
- package/src/utils.ts +0 -41
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
2
|
+
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
|
+
|
|
4
|
+
//#region src/components/breadcrumbs.d.ts
|
|
5
|
+
type BreadcrumbConfig = {
|
|
6
|
+
includeCurrentPage?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function SDKBreadcrumbs({
|
|
9
|
+
spec,
|
|
10
|
+
currentPath,
|
|
11
|
+
basePath,
|
|
12
|
+
config
|
|
13
|
+
}: {
|
|
14
|
+
spec: SDKJSON.Spec;
|
|
15
|
+
currentPath: string;
|
|
16
|
+
basePath?: string;
|
|
17
|
+
config?: BreadcrumbConfig | null;
|
|
18
|
+
}): react_jsx_runtime77.JSX.Element | null;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { SDKBreadcrumbs as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
|
+
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
|
+
|
|
4
|
+
//#region src/components/breadcrumbs.d.ts
|
|
5
|
+
type BreadcrumbConfig = {
|
|
6
|
+
includeCurrentPage?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function SDKBreadcrumbs({
|
|
9
|
+
spec,
|
|
10
|
+
currentPath,
|
|
11
|
+
basePath,
|
|
12
|
+
config
|
|
13
|
+
}: {
|
|
14
|
+
spec: SDKJSON.Spec;
|
|
15
|
+
currentPath: string;
|
|
16
|
+
basePath?: string;
|
|
17
|
+
config?: BreadcrumbConfig | null;
|
|
18
|
+
}): react_jsx_runtime1.JSX.Element | null;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { SDKBreadcrumbs as t };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as style_default } from "./style-gnVEeXFj.js";
|
|
2
|
+
import { n as Languages } from "./routing-Wbb7YECB.js";
|
|
3
|
+
import { i as Join } from "./primitives-BIWfwN5L.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronRight } from "lucide-react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/breadcrumbs.tsx
|
|
8
|
+
function generateApiBreadcrumbs(fullPath, spec, basePath) {
|
|
9
|
+
const cleanBasePath = basePath.replace(/\/+$/, "");
|
|
10
|
+
const cleanPath = fullPath.replace(/\/+$/, "");
|
|
11
|
+
if (!cleanPath.startsWith(cleanBasePath)) return null;
|
|
12
|
+
const rest = cleanPath.slice(cleanBasePath.length).split("/").filter(Boolean);
|
|
13
|
+
const breadcrumbs = [];
|
|
14
|
+
let href = cleanBasePath;
|
|
15
|
+
let i = 0;
|
|
16
|
+
if (Languages.includes(rest[0])) {
|
|
17
|
+
href += `/${rest[0]}`;
|
|
18
|
+
i++;
|
|
19
|
+
}
|
|
20
|
+
breadcrumbs.push({
|
|
21
|
+
title: "API Reference",
|
|
22
|
+
href
|
|
23
|
+
});
|
|
24
|
+
let currentSpec = spec;
|
|
25
|
+
while (i < rest.length) {
|
|
26
|
+
const idType = rest[i];
|
|
27
|
+
const idValue = rest[i + 1];
|
|
28
|
+
if (!idType || !idValue || !currentSpec?.[idType]?.[idValue]) break;
|
|
29
|
+
currentSpec = currentSpec[idType][idValue];
|
|
30
|
+
href += `/${idType}/${idValue}`;
|
|
31
|
+
const title = (idType === "methods" ? currentSpec.summary : currentSpec.title) ?? idValue;
|
|
32
|
+
breadcrumbs.push({
|
|
33
|
+
title,
|
|
34
|
+
href
|
|
35
|
+
});
|
|
36
|
+
i += 2;
|
|
37
|
+
}
|
|
38
|
+
return breadcrumbs;
|
|
39
|
+
}
|
|
40
|
+
function SDKBreadcrumbs({ spec, currentPath, basePath = "/api", config = { includeCurrentPage: false } }) {
|
|
41
|
+
const breadcrumbs = generateApiBreadcrumbs(currentPath, spec, basePath);
|
|
42
|
+
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
43
|
+
if (!config?.includeCurrentPage && breadcrumbs.length > 1) breadcrumbs.pop();
|
|
44
|
+
const items = breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsx("div", {
|
|
45
|
+
className: style_default.BreadcrumbsItem,
|
|
46
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
47
|
+
href: crumb.href,
|
|
48
|
+
className: style_default.BreadcrumbsLink,
|
|
49
|
+
children: crumb.title
|
|
50
|
+
})
|
|
51
|
+
}, index));
|
|
52
|
+
return /* @__PURE__ */ jsx("div", {
|
|
53
|
+
className: style_default.Breadcrumbs,
|
|
54
|
+
children: /* @__PURE__ */ jsx(Join, {
|
|
55
|
+
limit: breadcrumbs.length,
|
|
56
|
+
items,
|
|
57
|
+
children: /* @__PURE__ */ jsx(ChevronRight, {})
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { SDKBreadcrumbs as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __export = (all, symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) {
|
|
6
|
+
__defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
if (symbols) {
|
|
12
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
+
}
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { __export as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { n as customizeComponents, t as ComponentProvider } from "./component-generics-B6Fn47Mz.js";
|
|
2
|
+
import { t as components_exports } from "./components-D7M-BwNI.js";
|
|
3
|
+
import { n as languages_exports } from "./languages-BCYZjzuS.js";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/contexts/component.tsx
|
|
8
|
+
const defaultContextValue = {
|
|
9
|
+
components: components_exports,
|
|
10
|
+
language: languages_exports
|
|
11
|
+
};
|
|
12
|
+
function ComponentProvider$1({ components, language, children }) {
|
|
13
|
+
return /* @__PURE__ */ jsx(ComponentProvider, {
|
|
14
|
+
value: React.useMemo(() => customizeComponents(defaultContextValue, {
|
|
15
|
+
components,
|
|
16
|
+
language
|
|
17
|
+
}), [components, language]),
|
|
18
|
+
children
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { defaultContextValue as n, ComponentProvider$1 as t };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/hooks/use-strict-context.tsx
|
|
5
|
+
function createStrictContext(displayName) {
|
|
6
|
+
const Context = React.createContext(null);
|
|
7
|
+
Context.displayName = displayName;
|
|
8
|
+
function useStrictContext() {
|
|
9
|
+
const context = React.useContext(Context);
|
|
10
|
+
if (context === null) throw new Error(`use${displayName} must be used within a ${displayName}Provider`);
|
|
11
|
+
return context;
|
|
12
|
+
}
|
|
13
|
+
return [Context.Provider, useStrictContext];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/contexts/component-generics.tsx
|
|
18
|
+
const [Provider, useComponentContext] = createStrictContext("Component");
|
|
19
|
+
function useComponents() {
|
|
20
|
+
return useComponentContext().components;
|
|
21
|
+
}
|
|
22
|
+
function customizeComponents(defaults, overrides = {}) {
|
|
23
|
+
return {
|
|
24
|
+
components: {
|
|
25
|
+
...defaults.components,
|
|
26
|
+
...overrides.components ?? {}
|
|
27
|
+
},
|
|
28
|
+
language: Object.keys(defaults.language).reduce((acc, key) => {
|
|
29
|
+
acc[key] = {
|
|
30
|
+
...defaults.language[key],
|
|
31
|
+
...overrides.language?.[key] ?? {}
|
|
32
|
+
};
|
|
33
|
+
return acc;
|
|
34
|
+
}, {})
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function ComponentProvider({ value, children }) {
|
|
38
|
+
return /* @__PURE__ */ jsx(Provider, {
|
|
39
|
+
value,
|
|
40
|
+
children
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { useComponents as i, customizeComponents as n, useComponentContext as r, ComponentProvider as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/contexts/component-generics.d.ts
|
|
5
|
+
type DeepPartialMap<L> = { [K in keyof L]?: Partial<L[K]> };
|
|
6
|
+
type ComponentsContextType<C, L> = {
|
|
7
|
+
components: C;
|
|
8
|
+
language: L;
|
|
9
|
+
};
|
|
10
|
+
declare const useComponentContext: () => ComponentsContextType<any, any>;
|
|
11
|
+
declare function useComponents<C = unknown>(): C;
|
|
12
|
+
declare function customizeComponents<C, L>(defaults: {
|
|
13
|
+
components: C;
|
|
14
|
+
language: L;
|
|
15
|
+
}, overrides?: {
|
|
16
|
+
components?: Partial<C>;
|
|
17
|
+
language?: DeepPartialMap<L>;
|
|
18
|
+
}): {
|
|
19
|
+
components: C;
|
|
20
|
+
language: L;
|
|
21
|
+
};
|
|
22
|
+
declare function ComponentProvider<C, L>({
|
|
23
|
+
value,
|
|
24
|
+
children
|
|
25
|
+
}: {
|
|
26
|
+
value: ComponentsContextType<C, L>;
|
|
27
|
+
children: React$1.ReactNode;
|
|
28
|
+
}): react_jsx_runtime62.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { useComponents as a, useComponentContext as i, ComponentsContextType as n, customizeComponents as r, ComponentProvider as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/contexts/component-generics.d.ts
|
|
5
|
+
type DeepPartialMap<L> = { [K in keyof L]?: Partial<L[K]> };
|
|
6
|
+
type ComponentsContextType<C, L> = {
|
|
7
|
+
components: C;
|
|
8
|
+
language: L;
|
|
9
|
+
};
|
|
10
|
+
declare const useComponentContext: () => ComponentsContextType<any, any>;
|
|
11
|
+
declare function useComponents<C = unknown>(): C;
|
|
12
|
+
declare function customizeComponents<C, L>(defaults: {
|
|
13
|
+
components: C;
|
|
14
|
+
language: L;
|
|
15
|
+
}, overrides?: {
|
|
16
|
+
components?: Partial<C>;
|
|
17
|
+
language?: DeepPartialMap<L>;
|
|
18
|
+
}): {
|
|
19
|
+
components: C;
|
|
20
|
+
language: L;
|
|
21
|
+
};
|
|
22
|
+
declare function ComponentProvider<C, L>({
|
|
23
|
+
value,
|
|
24
|
+
children
|
|
25
|
+
}: {
|
|
26
|
+
value: ComponentsContextType<C, L>;
|
|
27
|
+
children: React$1.ReactNode;
|
|
28
|
+
}): react_jsx_runtime79.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { useComponents as a, useComponentContext as i, ComponentsContextType as n, customizeComponents as r, ComponentProvider as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { i as InputProps } from "../primitives-DLv4uMoz.js";
|
|
2
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/MaskedInput.d.ts
|
|
5
|
+
declare const MaskedInput: ({
|
|
6
|
+
left,
|
|
7
|
+
right,
|
|
8
|
+
defaultValue,
|
|
9
|
+
value,
|
|
10
|
+
ref,
|
|
11
|
+
...props
|
|
12
|
+
}: InputProps) => react_jsx_runtime65.JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { MaskedInput };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { t as style_default } from "../style-gnVEeXFj.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/MaskedInput.tsx
|
|
6
|
+
const getMaskedParts = (text) => {
|
|
7
|
+
if (!text) return {
|
|
8
|
+
prefix: "",
|
|
9
|
+
maskedSecret: ""
|
|
10
|
+
};
|
|
11
|
+
const percentLength = Math.min(Math.floor(text.length * .3), 8);
|
|
12
|
+
const nonAlphaMatches = [...text.substring(0, percentLength).matchAll(/[^a-zA-Z0-9]/g)];
|
|
13
|
+
let prefixEnd = 0;
|
|
14
|
+
if (nonAlphaMatches.length > 0) prefixEnd = nonAlphaMatches.at(-1).index + 1;
|
|
15
|
+
else prefixEnd = percentLength;
|
|
16
|
+
return {
|
|
17
|
+
prefix: text.substring(0, prefixEnd),
|
|
18
|
+
maskedSecret: "•".repeat(text.length - prefixEnd)
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
const MaskedInput = function Input({ left, right, defaultValue, value, ref, ...props }) {
|
|
22
|
+
const initialValue = (value ?? defaultValue ?? "").toString();
|
|
23
|
+
const [displayValue, setDisplayValue] = React$1.useState(initialValue);
|
|
24
|
+
const inputRef = React$1.useRef(null);
|
|
25
|
+
React$1.useImperativeHandle(ref, () => inputRef.current);
|
|
26
|
+
const updateDisplayValue = () => {
|
|
27
|
+
if (inputRef.current) setDisplayValue(inputRef.current.value);
|
|
28
|
+
};
|
|
29
|
+
const handleBlur = (e) => {
|
|
30
|
+
updateDisplayValue();
|
|
31
|
+
inputRef.current?.scrollTo({
|
|
32
|
+
behavior: "instant",
|
|
33
|
+
left: 0,
|
|
34
|
+
top: 0
|
|
35
|
+
});
|
|
36
|
+
props.onBlur?.(e);
|
|
37
|
+
};
|
|
38
|
+
const { prefix, maskedSecret } = getMaskedParts(displayValue);
|
|
39
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
40
|
+
className: style_default.Input,
|
|
41
|
+
children: [
|
|
42
|
+
left,
|
|
43
|
+
/* @__PURE__ */ jsxs("div", {
|
|
44
|
+
className: style_default.MaskedInputWrapper,
|
|
45
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
46
|
+
...props,
|
|
47
|
+
ref: inputRef,
|
|
48
|
+
defaultValue,
|
|
49
|
+
value,
|
|
50
|
+
onBlur: handleBlur,
|
|
51
|
+
onScroll: (e) => {
|
|
52
|
+
if (!e.currentTarget.matches(":focus")) {
|
|
53
|
+
e.preventDefault();
|
|
54
|
+
inputRef.current?.scrollTo({
|
|
55
|
+
behavior: "instant",
|
|
56
|
+
left: 0,
|
|
57
|
+
top: 0
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
62
|
+
className: style_default.MaskedInputDisplay,
|
|
63
|
+
"aria-hidden": "true",
|
|
64
|
+
children: [prefix, /* @__PURE__ */ jsx("span", {
|
|
65
|
+
className: style_default.MaskedInputObscured,
|
|
66
|
+
children: maskedSecret
|
|
67
|
+
})]
|
|
68
|
+
})]
|
|
69
|
+
}),
|
|
70
|
+
right
|
|
71
|
+
]
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
export { MaskedInput };
|
|
@@ -0,0 +1,9 @@
|
|
|
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 "../primitives-BIWfwN5L.js";
|
|
7
|
+
import { t as SDKBreadcrumbs } from "../breadcrumbs-nSFZO5Gf.js";
|
|
8
|
+
|
|
9
|
+
export { SDKBreadcrumbs };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/icons.d.ts
|
|
4
|
+
declare function CSharpIcon({
|
|
5
|
+
className
|
|
6
|
+
}: {
|
|
7
|
+
className?: string;
|
|
8
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
9
|
+
declare function GoIcon({
|
|
10
|
+
className
|
|
11
|
+
}: {
|
|
12
|
+
className?: string;
|
|
13
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
14
|
+
declare function JavaIcon({
|
|
15
|
+
className
|
|
16
|
+
}: {
|
|
17
|
+
className?: string;
|
|
18
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
19
|
+
declare function KotlinIcon({
|
|
20
|
+
className
|
|
21
|
+
}: {
|
|
22
|
+
className?: string;
|
|
23
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
24
|
+
declare function PythonIcon({
|
|
25
|
+
className
|
|
26
|
+
}: {
|
|
27
|
+
className?: string;
|
|
28
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
29
|
+
declare function RubyIcon({
|
|
30
|
+
className
|
|
31
|
+
}: {
|
|
32
|
+
className?: string;
|
|
33
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
34
|
+
declare function TerraformIcon({
|
|
35
|
+
className
|
|
36
|
+
}: {
|
|
37
|
+
className?: string;
|
|
38
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
39
|
+
declare function TypescriptIcon({
|
|
40
|
+
className
|
|
41
|
+
}: {
|
|
42
|
+
className?: string;
|
|
43
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
44
|
+
declare function CurlIcon({
|
|
45
|
+
className
|
|
46
|
+
}: {
|
|
47
|
+
className?: string;
|
|
48
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
49
|
+
declare function PowershellIcon({
|
|
50
|
+
className
|
|
51
|
+
}: {
|
|
52
|
+
className?: string;
|
|
53
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
54
|
+
//#endregion
|
|
55
|
+
export { CSharpIcon, CurlIcon, GoIcon, JavaIcon, KotlinIcon, PowershellIcon, PythonIcon, RubyIcon, TerraformIcon, TypescriptIcon };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as KotlinIcon, c as RubyIcon, i as JavaIcon, l as TerraformIcon, n as CurlIcon, o as PowershellIcon, r as GoIcon, s as PythonIcon, t as CSharpIcon, u as TypescriptIcon } from "../icons-Ckod9aod.js";
|
|
2
|
+
|
|
3
|
+
export { CSharpIcon, CurlIcon, GoIcon, JavaIcon, KotlinIcon, PowershellIcon, PythonIcon, RubyIcon, TerraformIcon, TypescriptIcon };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "../primitives-DLv4uMoz.js";
|
|
2
|
+
import { t as SDKBreadcrumbs } from "../breadcrumbs-C6pTTw_o.js";
|
|
3
|
+
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "../method-BiXJltKa.js";
|
|
4
|
+
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "../properties-B-giMW4K.js";
|
|
5
|
+
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "../sdk-BwXeHS3_.js";
|
|
6
|
+
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "../snippets-BRs_4F1I.js";
|
|
7
|
+
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "../overview-B43BuZbK.js";
|
|
8
|
+
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-DGGt5gik.js";
|
|
9
|
+
import "../index-DMFZJxNb.js";
|
|
10
|
+
export { Badge, Expander, HTTPMethod, HttpMethodIcons, HttpMethods, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodIconBadge, MethodIconProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, usePropertyModel, useReferenceNesting };
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { i as PropertyToggle, n as PropertyDescription, r as PropertyTitle, t as Property } from "../properties-jlGW3USi.js";
|
|
8
|
+
import { a as MethodHeader, c as MethodRoute, i as MethodDescription, n as HttpMethods, o as MethodIconBadge, r as Method, s as MethodInfo, t as HttpMethodIcons } from "../method-CE08mUME.js";
|
|
9
|
+
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "../primitives-BIWfwN5L.js";
|
|
10
|
+
import "../icons-Ckod9aod.js";
|
|
11
|
+
import { _ as useReferenceNesting, a as SDKDeclaration, c as SDKLanguageBlock, d as SDKMethodInfo, f as SDKModel, g as usePropertyModel, h as SDKSnippetLanguages, i as SDKConstraints, l as SDKMethod, m as SDKRequestTitle, n as ReferenceNestingContext, o as SDKExample, p as SDKReference, r as SDKChildren, s as SDKIcon, t as PropertyModelContext, u as SDKMethodHeader } from "../sdk-CSCbbn3O.js";
|
|
12
|
+
import { a as SnippetRequestContainer, i as SnippetContainer, n as SnippetButtons, o as SnippetResponse, r as SnippetCode, t as Snippet } from "../snippets-BQLXEIf6.js";
|
|
13
|
+
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "../overview-S2hUqPXA.js";
|
|
14
|
+
import { t as SDKBreadcrumbs } from "../breadcrumbs-nSFZO5Gf.js";
|
|
15
|
+
import { i as SidebarResource, n as SidebarExpander, r as SidebarMethod, t as Sidebar } from "../sidebar-CWyvCrJ0.js";
|
|
16
|
+
import "../components-D7M-BwNI.js";
|
|
17
|
+
|
|
18
|
+
export { Badge, Expander, HttpMethodIcons, HttpMethods, Input, Join, Link, ListView, Markdown, Method, MethodDescription, MethodHeader, MethodIconBadge, MethodInfo, MethodRoute, Property, PropertyDescription, PropertyModelContext, PropertyTitle, PropertyToggle, ReferenceNestingContext, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodSummary, SDKModel, SDKOverview, SDKReference, SDKRequestTitle, SDKResource, SDKResourceHeader, SDKRoot, SDKSnippetLanguages, Sidebar, SidebarExpander, SidebarMethod, SidebarResource, Snippet, SnippetButtons, SnippetCode, SnippetContainer, SnippetRequestContainer, SnippetResponse, ToggleButton, Tooltip, VirtualExpander, usePropertyModel, useReferenceNesting };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "../method-BiXJltKa.js";
|
|
2
|
+
export { HTTPMethod, HttpMethodIcons, HttpMethods, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodIconBadge, MethodIconProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { a as MethodHeader, c as MethodRoute, i as MethodDescription, n as HttpMethods, o as MethodIconBadge, r as Method, s as MethodInfo, t as HttpMethodIcons } from "../method-CE08mUME.js";
|
|
9
|
+
|
|
10
|
+
export { HttpMethodIcons, HttpMethods, Method, MethodDescription, MethodHeader, MethodIconBadge, MethodInfo, MethodRoute };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "../overview-B43BuZbK.js";
|
|
2
|
+
export { SDKMethodSummary, SDKMethodSummaryProps, SDKOverview, SDKOverviewProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
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 "../primitives-BIWfwN5L.js";
|
|
9
|
+
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "../overview-S2hUqPXA.js";
|
|
10
|
+
|
|
11
|
+
export { SDKMethodSummary, SDKOverview, SDKResource, SDKResourceHeader, SDKRoot };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "../primitives-DLv4uMoz.js";
|
|
2
|
+
export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, ToggleButton, ToggleButtonProps, Tooltip, VirtualExpander };
|
|
@@ -0,0 +1,8 @@
|
|
|
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 { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "../primitives-BIWfwN5L.js";
|
|
7
|
+
|
|
8
|
+
export { Badge, Expander, Input, Join, Link, ListView, Markdown, ToggleButton, Tooltip, VirtualExpander };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "../properties-B-giMW4K.js";
|
|
2
|
+
export { Property, PropertyDescription, PropertyDescriptionProps, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
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 { i as PropertyToggle, n as PropertyDescription, r as PropertyTitle, t as Property } from "../properties-jlGW3USi.js";
|
|
8
|
+
|
|
9
|
+
export { Property, PropertyDescription, PropertyTitle, PropertyToggle };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "../sdk-BwXeHS3_.js";
|
|
2
|
+
export { PropertyModelContext, PropertyModelContextType, ReferenceNestingContext, ReferenceNestingContextType, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKModel, SDKModelProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKSnippetLanguages, SDKSnippetLanguagesType, TransformRequestSnippetFn, usePropertyModel, useReferenceNesting };
|
|
@@ -0,0 +1,10 @@
|
|
|
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 "../icons-Ckod9aod.js";
|
|
8
|
+
import { _ as useReferenceNesting, a as SDKDeclaration, c as SDKLanguageBlock, d as SDKMethodInfo, f as SDKModel, g as usePropertyModel, h as SDKSnippetLanguages, i as SDKConstraints, l as SDKMethod, m as SDKRequestTitle, n as ReferenceNestingContext, o as SDKExample, p as SDKReference, r as SDKChildren, s as SDKIcon, t as PropertyModelContext, u as SDKMethodHeader } from "../sdk-CSCbbn3O.js";
|
|
9
|
+
|
|
10
|
+
export { PropertyModelContext, ReferenceNestingContext, SDKChildren, SDKConstraints, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKModel, SDKReference, SDKRequestTitle, SDKSnippetLanguages, usePropertyModel, useReferenceNesting };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-DGGt5gik.js";
|
|
2
|
+
export { Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { i as SidebarResource, n as SidebarExpander, r as SidebarMethod, t as Sidebar } from "../sidebar-CWyvCrJ0.js";
|
|
10
|
+
|
|
11
|
+
export { Sidebar, SidebarExpander, SidebarMethod, SidebarResource };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "../sdk-BwXeHS3_.js";
|
|
2
|
+
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "../snippets-BRs_4F1I.js";
|
|
3
|
+
export { Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
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 SnippetRequestContainer, i as SnippetContainer, n as SnippetButtons, o as SnippetResponse, r as SnippetCode, t as Snippet } from "../snippets-BQLXEIf6.js";
|
|
8
|
+
|
|
9
|
+
export { Snippet, SnippetButtons, SnippetCode, SnippetContainer, SnippetRequestContainer, SnippetResponse };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { t as __export } from "./chunk-DRcLgZ1e.js";
|
|
2
|
+
import { i as PropertyToggle, n as PropertyDescription, r as PropertyTitle, t as Property } from "./properties-jlGW3USi.js";
|
|
3
|
+
import { a as MethodHeader, c as MethodRoute, i as MethodDescription, n as HttpMethods, o as MethodIconBadge, r as Method, s as MethodInfo, t as HttpMethodIcons } from "./method-CE08mUME.js";
|
|
4
|
+
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "./primitives-BIWfwN5L.js";
|
|
5
|
+
import { _ as useReferenceNesting, a as SDKDeclaration, c as SDKLanguageBlock, d as SDKMethodInfo, f as SDKModel, g as usePropertyModel, h as SDKSnippetLanguages, i as SDKConstraints, l as SDKMethod, m as SDKRequestTitle, n as ReferenceNestingContext, o as SDKExample, p as SDKReference, r as SDKChildren, s as SDKIcon, t as PropertyModelContext, u as SDKMethodHeader } from "./sdk-CSCbbn3O.js";
|
|
6
|
+
import { a as SnippetRequestContainer, i as SnippetContainer, n as SnippetButtons, o as SnippetResponse, r as SnippetCode, t as Snippet } from "./snippets-BQLXEIf6.js";
|
|
7
|
+
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "./overview-S2hUqPXA.js";
|
|
8
|
+
import { t as SDKBreadcrumbs } from "./breadcrumbs-nSFZO5Gf.js";
|
|
9
|
+
import { i as SidebarResource, n as SidebarExpander, r as SidebarMethod, t as Sidebar } from "./sidebar-CWyvCrJ0.js";
|
|
10
|
+
|
|
11
|
+
//#region src/components/index.ts
|
|
12
|
+
var components_exports = /* @__PURE__ */ __export({
|
|
13
|
+
Badge: () => Badge,
|
|
14
|
+
Expander: () => Expander,
|
|
15
|
+
HttpMethodIcons: () => HttpMethodIcons,
|
|
16
|
+
HttpMethods: () => HttpMethods,
|
|
17
|
+
Input: () => Input,
|
|
18
|
+
Join: () => Join,
|
|
19
|
+
Link: () => Link,
|
|
20
|
+
ListView: () => ListView,
|
|
21
|
+
Markdown: () => Markdown,
|
|
22
|
+
Method: () => Method,
|
|
23
|
+
MethodDescription: () => MethodDescription,
|
|
24
|
+
MethodHeader: () => MethodHeader,
|
|
25
|
+
MethodIconBadge: () => MethodIconBadge,
|
|
26
|
+
MethodInfo: () => MethodInfo,
|
|
27
|
+
MethodRoute: () => MethodRoute,
|
|
28
|
+
Property: () => Property,
|
|
29
|
+
PropertyDescription: () => PropertyDescription,
|
|
30
|
+
PropertyModelContext: () => PropertyModelContext,
|
|
31
|
+
PropertyTitle: () => PropertyTitle,
|
|
32
|
+
PropertyToggle: () => PropertyToggle,
|
|
33
|
+
ReferenceNestingContext: () => ReferenceNestingContext,
|
|
34
|
+
SDKBreadcrumbs: () => SDKBreadcrumbs,
|
|
35
|
+
SDKChildren: () => SDKChildren,
|
|
36
|
+
SDKConstraints: () => SDKConstraints,
|
|
37
|
+
SDKDeclaration: () => SDKDeclaration,
|
|
38
|
+
SDKExample: () => SDKExample,
|
|
39
|
+
SDKIcon: () => SDKIcon,
|
|
40
|
+
SDKLanguageBlock: () => SDKLanguageBlock,
|
|
41
|
+
SDKMethod: () => SDKMethod,
|
|
42
|
+
SDKMethodHeader: () => SDKMethodHeader,
|
|
43
|
+
SDKMethodInfo: () => SDKMethodInfo,
|
|
44
|
+
SDKMethodSummary: () => SDKMethodSummary,
|
|
45
|
+
SDKModel: () => SDKModel,
|
|
46
|
+
SDKOverview: () => SDKOverview,
|
|
47
|
+
SDKReference: () => SDKReference,
|
|
48
|
+
SDKRequestTitle: () => SDKRequestTitle,
|
|
49
|
+
SDKResource: () => SDKResource,
|
|
50
|
+
SDKResourceHeader: () => SDKResourceHeader,
|
|
51
|
+
SDKRoot: () => SDKRoot,
|
|
52
|
+
SDKSnippetLanguages: () => SDKSnippetLanguages,
|
|
53
|
+
Sidebar: () => Sidebar,
|
|
54
|
+
SidebarExpander: () => SidebarExpander,
|
|
55
|
+
SidebarMethod: () => SidebarMethod,
|
|
56
|
+
SidebarResource: () => SidebarResource,
|
|
57
|
+
Snippet: () => Snippet,
|
|
58
|
+
SnippetButtons: () => SnippetButtons,
|
|
59
|
+
SnippetCode: () => SnippetCode,
|
|
60
|
+
SnippetContainer: () => SnippetContainer,
|
|
61
|
+
SnippetRequestContainer: () => SnippetRequestContainer,
|
|
62
|
+
SnippetResponse: () => SnippetResponse,
|
|
63
|
+
ToggleButton: () => ToggleButton,
|
|
64
|
+
Tooltip: () => Tooltip,
|
|
65
|
+
VirtualExpander: () => VirtualExpander,
|
|
66
|
+
usePropertyModel: () => usePropertyModel,
|
|
67
|
+
useReferenceNesting: () => useReferenceNesting
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
export { components_exports as t };
|