@stainless-api/docs-ui 0.1.0-beta.3 → 0.1.0-beta.31
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-D2C-ipke.d.ts +20 -0
- package/dist/chunk-DsStOjWQ.js +13 -0
- package/dist/component-generics-CGwo6qAl.d.ts +30 -0
- package/dist/component-generics-D3ybuN5r.js +45 -0
- package/dist/components/breadcrumbs.d.ts +2 -0
- package/dist/components/breadcrumbs.js +15 -0
- package/dist/components/chat.d.ts +14 -0
- package/dist/components/chat.js +142 -0
- package/dist/components/icons.d.ts +50 -0
- package/dist/components/icons.js +3 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.js +15 -0
- package/dist/components/method.d.ts +2 -0
- package/dist/components/method.js +15 -0
- package/dist/components/overview.d.ts +2 -0
- package/dist/components/overview.js +15 -0
- package/dist/components/primitives.d.ts +2 -0
- package/dist/components/primitives.js +15 -0
- package/dist/components/properties.d.ts +2 -0
- package/dist/components/properties.js +15 -0
- package/dist/components/sdk.d.ts +3 -0
- package/dist/components/sdk.js +15 -0
- package/dist/components/sidebar.d.ts +2 -0
- package/dist/components/sidebar.js +15 -0
- package/dist/components/snippets.d.ts +4 -0
- package/dist/components/snippets.js +15 -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 +17 -0
- package/dist/contexts/component-types.js +0 -0
- package/dist/contexts/component.d.ts +30 -0
- package/dist/contexts/component.js +15 -0
- package/dist/contexts/docs.d.ts +2 -0
- package/dist/contexts/docs.js +3 -0
- package/dist/contexts/index.d.ts +19 -0
- package/dist/contexts/index.js +15 -0
- package/dist/contexts/markdown.d.ts +2 -0
- package/dist/contexts/markdown.js +4 -0
- package/dist/contexts/navigation.d.ts +3 -0
- package/dist/contexts/navigation.js +3 -0
- package/dist/contexts/search.d.ts +4 -0
- package/dist/contexts/search.js +15 -0
- package/dist/contexts/use-components.d.ts +15 -0
- package/dist/contexts/use-components.js +4 -0
- package/dist/contexts-Bpupku3r.js +3804 -0
- package/dist/docs-C5sBbvz9.d.ts +46 -0
- package/dist/docs-CopwX9a7.js +54 -0
- package/dist/icons-yb-Jhkmg.js +753 -0
- package/dist/index-BZvOzjGA.d.ts +15 -0
- package/dist/index-Cwjt4PqJ.d.ts +240 -0
- package/dist/index-Cx9sLoAB.d.ts +14 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +15 -7542
- package/dist/languages/go.d.ts +12 -0
- package/dist/languages/go.js +15 -0
- package/dist/languages/http.d.ts +12 -0
- package/dist/languages/http.js +15 -0
- package/dist/languages/index.d.ts +12 -0
- package/dist/languages/index.js +15 -0
- package/dist/languages/java.d.ts +12 -0
- package/dist/languages/java.js +15 -0
- package/dist/languages/python.d.ts +12 -0
- package/dist/languages/python.js +15 -0
- package/dist/languages/ruby.d.ts +12 -0
- package/dist/languages/ruby.js +15 -0
- package/dist/languages/typescript.d.ts +12 -0
- package/dist/languages/typescript.js +15 -0
- package/dist/markdown/index.d.ts +12 -0
- package/dist/markdown/index.js +15 -0
- package/dist/markdown/md.d.ts +15 -0
- package/dist/markdown/md.js +3 -0
- package/dist/markdown/utils.d.ts +4 -0
- package/dist/markdown/utils.js +3 -0
- package/dist/markdown-CI4kbU64.js +44 -0
- package/dist/markdown-CswQW7Au.d.ts +22 -0
- package/dist/md-DxiV1_vy.js +41 -0
- package/dist/method-D0-gsw3H.d.ts +71 -0
- package/dist/navigation-Bc58Zt6l.d.ts +29 -0
- package/dist/navigation-CGr5_w6z.js +24 -0
- package/dist/overview-Ds69MW_g.d.ts +39 -0
- package/dist/pagefind-BaK1krMe.js +15 -0
- package/dist/primitives-DKSwbXPi.d.ts +99 -0
- package/dist/properties-4IkL0IVR.d.ts +46 -0
- package/dist/routing-8itEXLx6.js +189 -0
- package/dist/routing-ByeZ2P3d.d.ts +54 -0
- package/dist/routing.d.ts +2 -0
- package/dist/routing.js +3 -180
- package/dist/sdk-D1acaxlr.d.ts +119 -0
- package/dist/search/index.d.ts +26 -0
- package/dist/search/index.js +334 -0
- package/dist/search/providers/algolia.d.ts +24 -0
- package/dist/search/providers/algolia.js +15 -0
- package/dist/search/providers/fuse.d.ts +18 -0
- package/dist/search/providers/fuse.js +30 -0
- package/dist/search/providers/pagefind.d.ts +7 -0
- package/dist/search/providers/pagefind.js +3 -0
- package/dist/search/providers/walker.d.ts +9 -0
- package/dist/search/providers/walker.js +34 -0
- package/dist/search/types.d.ts +3 -0
- package/dist/search/types.js +3 -0
- package/dist/search-BwZ0UK72.d.ts +21 -0
- package/dist/sidebar-rqdLbjBO.d.ts +36 -0
- package/dist/snippets-Coq_j3S0.d.ts +46 -0
- package/dist/style-BEMLtSIK.d.ts +172 -0
- package/dist/style-CPgcT0Fw.js +173 -0
- package/dist/style.d.ts +2 -0
- package/dist/style.js +3 -0
- package/dist/styles/main.css +763 -736
- package/dist/styles/main.js +0 -0
- package/dist/styles/primitives.css +285 -464
- package/dist/styles/primitives.js +0 -0
- package/dist/styles/resets.css +31 -41
- package/dist/styles/resets.js +0 -0
- package/dist/styles/search.css +266 -248
- package/dist/styles/search.js +0 -0
- package/dist/styles/sidebar.css +59 -60
- package/dist/styles/sidebar.js +0 -0
- package/dist/styles/snippets.css +87 -88
- package/dist/styles/snippets.js +0 -0
- package/dist/styles/variables.css +87 -89
- package/dist/styles/variables.js +0 -0
- package/dist/types-BKUIuYYk.d.ts +83 -0
- package/dist/types-__XoFvJ_.js +34 -0
- package/dist/use-components-BHEwm0mE.js +7 -0
- package/dist/utils-2FmcHPHp.js +32 -0
- package/dist/utils-BCfb0F9R.js +30 -0
- package/dist/utils-D43p_yTd.d.ts +14 -0
- package/dist/utils-NYMx28lc.d.ts +21 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +4 -0
- package/package.json +78 -16
- package/dist/mcp.js +0 -16003
- 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 -572
- 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_runtime49 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_runtime49.JSX.Element | null;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { SDKBreadcrumbs as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __export = (all) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
return target;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __export as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime0 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_runtime0.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { useComponents as a, useComponentContext as i, ComponentsContextType as n, customizeComponents as r, ComponentProvider 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 { createStrictContext as a, useComponents as i, customizeComponents as n, useComponentContext as r, ComponentProvider as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { ot as SDKBreadcrumbs } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { SDKBreadcrumbs };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/chat.d.ts
|
|
4
|
+
declare function Chat(): react_jsx_runtime39.JSX.Element;
|
|
5
|
+
type ChatModalProps = {
|
|
6
|
+
id?: string;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function ChatModal({
|
|
10
|
+
id,
|
|
11
|
+
open: isOpen
|
|
12
|
+
}: ChatModalProps): react_jsx_runtime39.JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Chat, ChatModal, ChatModalProps };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { a as useLanguage } from "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import { t as style_default } from "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { Bt as Markdown, a as useSearchContext } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
import * as React$1 from "react";
|
|
15
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { ArrowUpIcon, BotMessageSquareIcon, LoaderCircleIcon, SquareIcon, TrashIcon } from "lucide-react";
|
|
17
|
+
import { useChat } from "ai/react";
|
|
18
|
+
|
|
19
|
+
//#region src/components/chat.tsx
|
|
20
|
+
const BASEURL = "https://askai.algolia.com";
|
|
21
|
+
function buildFetch({ appId, searchKey, indexName, assistant }) {
|
|
22
|
+
const headers = {
|
|
23
|
+
"X-Algolia-Application-Id": appId,
|
|
24
|
+
"X-Algolia-API-Key": searchKey,
|
|
25
|
+
"X-Algolia-Index-Name": `${indexName}-chat`
|
|
26
|
+
};
|
|
27
|
+
if (assistant) headers["X-Algolia-Assistant-Id"] = assistant;
|
|
28
|
+
return async (input, init) => {
|
|
29
|
+
const data = await (await fetch(`${BASEURL}/chat/token`, {
|
|
30
|
+
method: "POST",
|
|
31
|
+
headers
|
|
32
|
+
})).json();
|
|
33
|
+
const reqHeaders = new Headers(init?.headers);
|
|
34
|
+
reqHeaders.set("Authorization", `TOKEN ${data["token"]}`);
|
|
35
|
+
for (const name in headers) reqHeaders.set(name, headers[name]);
|
|
36
|
+
return fetch(input, {
|
|
37
|
+
...init,
|
|
38
|
+
headers: reqHeaders
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function RenderMessage({ message }) {
|
|
43
|
+
return message.parts.filter((part) => part.type === "text").map((part, key) => /* @__PURE__ */ jsx(Markdown, { content: part["text"] }, key));
|
|
44
|
+
}
|
|
45
|
+
function Chat() {
|
|
46
|
+
const language = useLanguage();
|
|
47
|
+
const { settings } = useSearchContext();
|
|
48
|
+
const messageListRef = React$1.useRef(null);
|
|
49
|
+
const { messages, setMessages, status, input, setInput, append, stop } = useChat({
|
|
50
|
+
body: { searchParameters: { filters: `language:${language ?? "http"}` } },
|
|
51
|
+
sendExtraMessageFields: true,
|
|
52
|
+
fetch: buildFetch(settings),
|
|
53
|
+
api: `${BASEURL}/chat`
|
|
54
|
+
});
|
|
55
|
+
React$1.useEffect(() => {
|
|
56
|
+
const content = sessionStorage.getItem("stldocs-chat-messages");
|
|
57
|
+
if (!content) return;
|
|
58
|
+
setMessages(JSON.parse(content));
|
|
59
|
+
setTimeout(() => {
|
|
60
|
+
if (!messageListRef.current) return;
|
|
61
|
+
messageListRef.current.scrollTop = messageListRef.current.scrollHeight;
|
|
62
|
+
}, 10);
|
|
63
|
+
}, [setMessages]);
|
|
64
|
+
React$1.useEffect(() => {
|
|
65
|
+
if (status !== "submitted" || !messageListRef.current) return;
|
|
66
|
+
[...messageListRef.current.querySelectorAll("[data-stldocs-chat-message]")].at(-1)?.scrollIntoView({
|
|
67
|
+
behavior: "smooth",
|
|
68
|
+
block: "start"
|
|
69
|
+
});
|
|
70
|
+
}, [status]);
|
|
71
|
+
React$1.useEffect(() => {
|
|
72
|
+
sessionStorage.setItem("stldocs-chat-messages", JSON.stringify(messages));
|
|
73
|
+
}, [messages]);
|
|
74
|
+
function handleSend() {
|
|
75
|
+
append({
|
|
76
|
+
role: "user",
|
|
77
|
+
content: input
|
|
78
|
+
});
|
|
79
|
+
setInput("");
|
|
80
|
+
}
|
|
81
|
+
function handleKeyUp(ev) {
|
|
82
|
+
if (ev.key === "Enter" && !ev.shiftKey) {
|
|
83
|
+
ev.preventDefault();
|
|
84
|
+
handleSend();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
88
|
+
className: style_default.ChatMessages,
|
|
89
|
+
ref: messageListRef,
|
|
90
|
+
children: [
|
|
91
|
+
messages.map((message) => /* @__PURE__ */ jsx("div", {
|
|
92
|
+
className: style_default.ChatMessage,
|
|
93
|
+
"data-stldocs-chat-message": message.role,
|
|
94
|
+
children: /* @__PURE__ */ jsx(RenderMessage, { message })
|
|
95
|
+
}, message.id)),
|
|
96
|
+
status === "submitted" && /* @__PURE__ */ jsx("div", {
|
|
97
|
+
className: style_default.LoadingSpinner,
|
|
98
|
+
children: /* @__PURE__ */ jsx(LoaderCircleIcon, {})
|
|
99
|
+
}),
|
|
100
|
+
["submitted", "streaming"].includes(status) && /* @__PURE__ */ jsx("div", { style: { height: "800px" } })
|
|
101
|
+
]
|
|
102
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
103
|
+
className: style_default.ChatInput,
|
|
104
|
+
children: [/* @__PURE__ */ jsx("textarea", {
|
|
105
|
+
value: input,
|
|
106
|
+
placeholder: "Ask a question",
|
|
107
|
+
onKeyUp: handleKeyUp,
|
|
108
|
+
onChange: (ev) => setInput(ev.target.value),
|
|
109
|
+
autoFocus: true
|
|
110
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
111
|
+
className: style_default.ChatInputButtons,
|
|
112
|
+
children: [status === "submitted" ? /* @__PURE__ */ jsx("button", {
|
|
113
|
+
onClick: stop,
|
|
114
|
+
children: /* @__PURE__ */ jsx(SquareIcon, {})
|
|
115
|
+
}) : /* @__PURE__ */ jsx("button", {
|
|
116
|
+
onClick: handleSend,
|
|
117
|
+
disabled: input.length < 1,
|
|
118
|
+
children: /* @__PURE__ */ jsx(ArrowUpIcon, {})
|
|
119
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
120
|
+
onClick: () => setMessages([]),
|
|
121
|
+
children: /* @__PURE__ */ jsx(TrashIcon, {})
|
|
122
|
+
})]
|
|
123
|
+
})]
|
|
124
|
+
})] });
|
|
125
|
+
}
|
|
126
|
+
function ChatModal({ id, open: isOpen }) {
|
|
127
|
+
const [open, setOpen] = React$1.useState(isOpen ?? false);
|
|
128
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
129
|
+
id,
|
|
130
|
+
onToggle: (ev) => setOpen(ev.newState === "open"),
|
|
131
|
+
className: style_default.SearchModal,
|
|
132
|
+
popover: "auto",
|
|
133
|
+
"data-stldocs-modal-open": open,
|
|
134
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
135
|
+
className: style_default.ChatHeader,
|
|
136
|
+
children: [/* @__PURE__ */ jsx(BotMessageSquareIcon, {}), /* @__PURE__ */ jsx("h5", { children: "Docs Assistant" })]
|
|
137
|
+
}), open && /* @__PURE__ */ jsx(Chat, {})]
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
//#endregion
|
|
142
|
+
export { Chat, ChatModal };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/icons.d.ts
|
|
4
|
+
declare function GoIcon({
|
|
5
|
+
className
|
|
6
|
+
}: {
|
|
7
|
+
className?: string;
|
|
8
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
9
|
+
declare function JavaIcon({
|
|
10
|
+
className
|
|
11
|
+
}: {
|
|
12
|
+
className?: string;
|
|
13
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
14
|
+
declare function KotlinIcon({
|
|
15
|
+
className
|
|
16
|
+
}: {
|
|
17
|
+
className?: string;
|
|
18
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
19
|
+
declare function PythonIcon({
|
|
20
|
+
className
|
|
21
|
+
}: {
|
|
22
|
+
className?: string;
|
|
23
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
24
|
+
declare function RubyIcon({
|
|
25
|
+
className
|
|
26
|
+
}: {
|
|
27
|
+
className?: string;
|
|
28
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
29
|
+
declare function TerraformIcon({
|
|
30
|
+
className
|
|
31
|
+
}: {
|
|
32
|
+
className?: string;
|
|
33
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
34
|
+
declare function TypescriptIcon({
|
|
35
|
+
className
|
|
36
|
+
}: {
|
|
37
|
+
className?: string;
|
|
38
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
39
|
+
declare function CurlIcon({
|
|
40
|
+
className
|
|
41
|
+
}: {
|
|
42
|
+
className?: string;
|
|
43
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
44
|
+
declare function PowershellIcon({
|
|
45
|
+
className
|
|
46
|
+
}: {
|
|
47
|
+
className?: string;
|
|
48
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { CurlIcon, GoIcon, JavaIcon, KotlinIcon, PowershellIcon, PythonIcon, RubyIcon, TerraformIcon, TypescriptIcon };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as PowershellIcon, c as TerraformIcon, i as KotlinIcon, l as TypescriptIcon, n as GoIcon, o as PythonIcon, r as JavaIcon, s as RubyIcon, t as CurlIcon } from "../icons-yb-Jhkmg.js";
|
|
2
|
+
|
|
3
|
+
export { CurlIcon, GoIcon, JavaIcon, KotlinIcon, PowershellIcon, PythonIcon, RubyIcon, TerraformIcon, TypescriptIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as SDKBreadcrumbs } from "../breadcrumbs-D2C-ipke.js";
|
|
2
|
+
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-D0-gsw3H.js";
|
|
3
|
+
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-DKSwbXPi.js";
|
|
4
|
+
import { a as PropertyToggle, i as PropertyProps, n as PropertyDescription, o as PropertyToggleProps, r as PropertyDescriptionProps, t as Property } from "../properties-4IkL0IVR.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
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-D1acaxlr.js";
|
|
7
|
+
import { a as SnippetContainerProps, c as SnippetRequestContainerProps, i as SnippetContainer, l as SnippetResponse, n as SnippetCode, o as SnippetProps, r as SnippetCodeProps, s as SnippetRequestContainer, t as Snippet } from "../snippets-Coq_j3S0.js";
|
|
8
|
+
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-Ds69MW_g.js";
|
|
9
|
+
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-rqdLbjBO.js";
|
|
10
|
+
import "../index-BZvOzjGA.js";
|
|
11
|
+
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, 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, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, usePropertyModel, useReferenceNesting };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { $t as PropertyDescription, At as SDKRequestTitle, Bt as Markdown, Ct as SDKIcon, Dt as SDKMethodInfo, Et as SDKMethodHeader, Ft as Expander, Gt as HttpMethods, Ht as Tooltip, It as Input, Jt as MethodHeader, Kt as Method, Lt as Join, Mt as usePropertyModel, Nt as useReferenceNesting, Ot as SDKModel, Pt as Badge, Qt as Property, Rt as Link, St as SDKExample, Tt as SDKMethod, Ut as VirtualExpander, Vt as ToggleButton, Wt as HttpMethodIcons, Xt as MethodInfo, Yt as MethodIconBadge, Zt as MethodRoute, _t as PropertyModelContext, at as SidebarResource, bt as SDKConstraints, ct as SDKOverview, dt as SDKRoot, en as PropertyToggle, ft as Snippet, gt as SnippetResponse, ht as SnippetRequestContainer, it as SidebarMethod, jt as SDKSnippetLanguages, kt as SDKReference, lt as SDKResource, mt as SnippetContainer, nt as Sidebar, ot as SDKBreadcrumbs, pt as SnippetCode, qt as MethodDescription, rt as SidebarExpander, st as SDKMethodSummary, ut as SDKResourceHeader, vt as ReferenceNestingContext, wt as SDKLanguageBlock, xt as SDKDeclaration, yt as SDKChildren, zt as ListView } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { Badge, Expander, HttpMethodIcons, HttpMethods, Input, Join, Link, ListView, Markdown, Method, MethodDescription, MethodHeader, MethodIconBadge, MethodInfo, MethodRoute, Property, PropertyDescription, PropertyModelContext, 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, 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-D0-gsw3H.js";
|
|
2
|
+
export { HTTPMethod, HttpMethodIcons, HttpMethods, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodIconBadge, MethodIconProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { Gt as HttpMethods, Jt as MethodHeader, Kt as Method, Wt as HttpMethodIcons, Xt as MethodInfo, Yt as MethodIconBadge, Zt as MethodRoute, qt as MethodDescription } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
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-Ds69MW_g.js";
|
|
2
|
+
export { SDKMethodSummary, SDKMethodSummaryProps, SDKOverview, SDKOverviewProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { ct as SDKOverview, dt as SDKRoot, lt as SDKResource, st as SDKMethodSummary, ut as SDKResourceHeader } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
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-DKSwbXPi.js";
|
|
2
|
+
export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, ToggleButton, ToggleButtonProps, Tooltip, VirtualExpander };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { Bt as Markdown, Ft as Expander, Ht as Tooltip, It as Input, Lt as Join, Pt as Badge, Rt as Link, Ut as VirtualExpander, Vt as ToggleButton, zt as ListView } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { Badge, Expander, Input, Join, Link, ListView, Markdown, ToggleButton, Tooltip, VirtualExpander };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as PropertyToggle, i as PropertyProps, n as PropertyDescription, o as PropertyToggleProps, r as PropertyDescriptionProps, t as Property } from "../properties-4IkL0IVR.js";
|
|
2
|
+
export { Property, PropertyDescription, PropertyDescriptionProps, PropertyProps, PropertyToggle, PropertyToggleProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { $t as PropertyDescription, Qt as Property, en as PropertyToggle } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { Property, PropertyDescription, PropertyToggle };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "../routing-ByeZ2P3d.js";
|
|
2
|
+
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-D1acaxlr.js";
|
|
3
|
+
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,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { At as SDKRequestTitle, Ct as SDKIcon, Dt as SDKMethodInfo, Et as SDKMethodHeader, Mt as usePropertyModel, Nt as useReferenceNesting, Ot as SDKModel, St as SDKExample, Tt as SDKMethod, _t as PropertyModelContext, bt as SDKConstraints, jt as SDKSnippetLanguages, kt as SDKReference, vt as ReferenceNestingContext, wt as SDKLanguageBlock, xt as SDKDeclaration, yt as SDKChildren } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
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-rqdLbjBO.js";
|
|
2
|
+
export { Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { at as SidebarResource, it as SidebarMethod, nt as Sidebar, rt as SidebarExpander } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { Sidebar, SidebarExpander, SidebarMethod, SidebarResource };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import "../routing-ByeZ2P3d.js";
|
|
2
|
+
import "../sdk-D1acaxlr.js";
|
|
3
|
+
import { a as SnippetContainerProps, c as SnippetRequestContainerProps, i as SnippetContainer, l as SnippetResponse, n as SnippetCode, o as SnippetProps, r as SnippetCodeProps, s as SnippetRequestContainer, t as Snippet } from "../snippets-Coq_j3S0.js";
|
|
4
|
+
export { Snippet, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { ft as Snippet, gt as SnippetResponse, ht as SnippetRequestContainer, mt as SnippetContainer, pt as SnippetCode } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { Snippet, SnippetCode, SnippetContainer, SnippetRequestContainer, SnippetResponse };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-CGwo6qAl.js";
|
|
2
|
+
export { ComponentProvider, ComponentsContextType, customizeComponents, useComponentContext, useComponents };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../breadcrumbs-D2C-ipke.js";
|
|
2
|
+
import "../method-D0-gsw3H.js";
|
|
3
|
+
import "../primitives-DKSwbXPi.js";
|
|
4
|
+
import "../properties-4IkL0IVR.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-D1acaxlr.js";
|
|
7
|
+
import "../snippets-Coq_j3S0.js";
|
|
8
|
+
import "../overview-Ds69MW_g.js";
|
|
9
|
+
import "../sidebar-rqdLbjBO.js";
|
|
10
|
+
import { t as index_d_exports } from "../index-BZvOzjGA.js";
|
|
11
|
+
import { r as index_d_exports$1 } from "../index-Cwjt4PqJ.js";
|
|
12
|
+
|
|
13
|
+
//#region src/contexts/component-types.d.ts
|
|
14
|
+
type AppComponents = typeof index_d_exports;
|
|
15
|
+
type AppLanguage = typeof index_d_exports$1;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { AppComponents, AppLanguage };
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "../breadcrumbs-D2C-ipke.js";
|
|
2
|
+
import "../method-D0-gsw3H.js";
|
|
3
|
+
import "../primitives-DKSwbXPi.js";
|
|
4
|
+
import "../properties-4IkL0IVR.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-D1acaxlr.js";
|
|
7
|
+
import "../snippets-Coq_j3S0.js";
|
|
8
|
+
import "../overview-Ds69MW_g.js";
|
|
9
|
+
import "../sidebar-rqdLbjBO.js";
|
|
10
|
+
import { t as index_d_exports } from "../index-BZvOzjGA.js";
|
|
11
|
+
import { n as ComponentsContextType } from "../component-generics-CGwo6qAl.js";
|
|
12
|
+
import { r as index_d_exports$1 } from "../index-Cwjt4PqJ.js";
|
|
13
|
+
import React from "react";
|
|
14
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/contexts/component.d.ts
|
|
17
|
+
type AppComponents = typeof index_d_exports;
|
|
18
|
+
type AppLanguage = typeof index_d_exports$1;
|
|
19
|
+
declare const defaultContextValue: ComponentsContextType<AppComponents, AppLanguage>;
|
|
20
|
+
declare function ComponentProvider({
|
|
21
|
+
components,
|
|
22
|
+
language,
|
|
23
|
+
children
|
|
24
|
+
}: {
|
|
25
|
+
components?: Partial<AppComponents>;
|
|
26
|
+
language?: { [K in keyof AppLanguage]?: Partial<AppLanguage[K]> };
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}): react_jsx_runtime34.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { AppComponents, AppLanguage, ComponentProvider, defaultContextValue };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../docs-CopwX9a7.js";
|
|
2
|
+
import "../component-generics-D3ybuN5r.js";
|
|
3
|
+
import "../navigation-CGr5_w6z.js";
|
|
4
|
+
import "../markdown-CI4kbU64.js";
|
|
5
|
+
import "../routing-8itEXLx6.js";
|
|
6
|
+
import "../style-CPgcT0Fw.js";
|
|
7
|
+
import "../use-components-BHEwm0mE.js";
|
|
8
|
+
import { m as defaultContextValue, p as ComponentProvider } from "../contexts-Bpupku3r.js";
|
|
9
|
+
import "../icons-yb-Jhkmg.js";
|
|
10
|
+
import "../utils-2FmcHPHp.js";
|
|
11
|
+
import "../md-DxiV1_vy.js";
|
|
12
|
+
import "../utils-BCfb0F9R.js";
|
|
13
|
+
import "../types-__XoFvJ_.js";
|
|
14
|
+
|
|
15
|
+
export { ComponentProvider, defaultContextValue };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as PropertySettingsType, c as useDocs, d as useSettings, f as useSnippet, i as DocsProviderProps, l as useLanguage, n as DocsContextType, o as useContentPanelLayout, p as useSpec, r as DocsProvider, s as useDeclaration, t as ContentPanelLayout, u as useResource } from "../docs-C5sBbvz9.js";
|
|
2
|
+
export { ContentPanelLayout, DocsContextType, DocsProvider, DocsProviderProps, PropertySettingsType, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as useLanguage, c as useSnippet, i as useDocs, l as useSpec, n as useContentPanelLayout, o as useResource, r as useDeclaration, s as useSettings, t as DocsProvider } from "../docs-CopwX9a7.js";
|
|
2
|
+
|
|
3
|
+
export { DocsProvider, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|