mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 20:19:33 +01:00
Compare commits
61 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83e2b2810d | ||
|
|
2b4fff9faa | ||
|
|
752fe721a2 | ||
|
|
808cac4756 | ||
|
|
0c44f73c9f | ||
|
|
182875a781 | ||
|
|
0298f836b8 | ||
|
|
ea50430945 | ||
|
|
0e240663ca | ||
|
|
bdeada0e6e | ||
|
|
fd9b86fb18 | ||
|
|
5fab0e54b0 | ||
|
|
7d2f464699 | ||
|
|
fdb9c2b474 | ||
|
|
4ed504e1e9 | ||
|
|
92747711c6 | ||
|
|
3646e8cdfe | ||
|
|
88214185a8 | ||
|
|
ad03ae7b65 | ||
|
|
09e8ab536a | ||
|
|
f7dadd482d | ||
|
|
7b69cff1ed | ||
|
|
f2d7763fa4 | ||
|
|
20f5a08cbd | ||
|
|
75980c0953 | ||
|
|
a6f61d404f | ||
|
|
e53d1be61e | ||
|
|
d152ebc7be | ||
|
|
f6daa2b7c3 | ||
|
|
7962c7f61e | ||
|
|
453845fb14 | ||
|
|
ee3ee485ba | ||
|
|
cdf29bee67 | ||
|
|
d3d35404b1 | ||
|
|
e57c919157 | ||
|
|
d0fffbbc64 | ||
|
|
433d5ada46 | ||
|
|
5d180460af | ||
|
|
8991148d39 | ||
|
|
dd05285d65 | ||
|
|
d058ff241a | ||
|
|
fb4894e264 | ||
|
|
186faff140 | ||
|
|
b9cdb228b7 | ||
|
|
1e67434a8f | ||
|
|
019bb20e50 | ||
|
|
695ce4c56e | ||
|
|
38649b7023 | ||
|
|
5cfef32baa | ||
|
|
8497289c65 | ||
|
|
224c4b317b | ||
|
|
d5d6780ca8 | ||
|
|
252d0f6692 | ||
|
|
d022710591 | ||
|
|
a926968f13 | ||
|
|
a8eba5ab8d | ||
|
|
5871528d67 | ||
|
|
def9d0b19d | ||
|
|
34f50fc4d6 | ||
|
|
9fe1469eba | ||
|
|
e48d7cd42c |
13
README.md
13
README.md
@@ -28,8 +28,9 @@ import { defineNuxtConfig } from 'nuxt'
|
||||
export default defineNuxtConfig({
|
||||
modules: ['trpc-nuxt'],
|
||||
trpc: {
|
||||
baseURL: 'http://localhost:3000', // defaults to http://localhost:3000
|
||||
baseURL: '', // Set empty string (default) to make requests by relative address
|
||||
endpoint: '/trpc', // defaults to /trpc
|
||||
installPlugin: true, // defaults to true. Add @trpc/client plugin and composables
|
||||
},
|
||||
typescript: {
|
||||
strict: true // required to make input/output types work
|
||||
@@ -101,7 +102,7 @@ const {
|
||||
|
||||
## useClientHeaders
|
||||
|
||||
A composable that lets you add additional properties to pass to the tRPC Client. It uses `useStorage` from [@vueuse/core](https://vueuse.org/core/usestorage).
|
||||
A composable that lets you add additional properties to pass to the tRPC Client. It uses `useState` from [nuxt 3](https://v3.nuxtjs.org/api/composables/use-state).
|
||||
|
||||
```ts
|
||||
const headers = useClientHeaders()
|
||||
@@ -113,6 +114,8 @@ headers.value.Authorization = `Bearer ${token}`
|
||||
// All client calls will now include the Authorization header.
|
||||
```
|
||||
|
||||
If your app needs transformers and other option that needs to be passed in `@trpc/client`, you will need to opt-out of the plugin by setting `installPlugin` to false in your `nuxt.config.ts` file and create your own. You can just copy the contents of the client plugin [here](https://github.com/wobsoriano/trpc-nuxt/blob/master/src/runtime/client.ts).
|
||||
|
||||
## Options
|
||||
|
||||
trpc-nuxt accepts the following options exposed under `~/server/trpc/index.ts`:
|
||||
@@ -120,14 +123,14 @@ trpc-nuxt accepts the following options exposed under `~/server/trpc/index.ts`:
|
||||
```ts
|
||||
import * as trpc from '@trpc/server'
|
||||
import type { inferAsyncReturnType } from '@trpc/server'
|
||||
import type { CompatibilityEvent } from 'h3'
|
||||
import type { H3Event } from 'h3'
|
||||
import type { OnErrorPayload } from 'trpc-nuxt/api'
|
||||
|
||||
export const router = trpc.router<inferAsyncReturnType<typeof createContext>>()
|
||||
|
||||
// Optional
|
||||
// https://trpc.io/docs/context
|
||||
export const createContext = (event: CompatibilityEvent) => {
|
||||
export const createContext = (event: H3Event) => {
|
||||
// ...
|
||||
return {
|
||||
/** context data */
|
||||
@@ -159,7 +162,7 @@ export const onError = (payload: OnErrorPayload<typeof router>) => {
|
||||
- [Error Formatting](/recipes/error-formatting.md)
|
||||
- [Inference Helpers](/recipes/inference-helpers.md)
|
||||
|
||||
Learn more about tRPC.io [here](https://trpc.io/docs).
|
||||
Learn more about tRPC.io [here](https://trpc.io/docs/v9).
|
||||
|
||||
## Recommended IDE Setup
|
||||
|
||||
|
||||
11
docs/.vercel/README.txt
Normal file
11
docs/.vercel/README.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
> Why do I have a folder named ".vercel" in my project?
|
||||
The ".vercel" folder is created when you link a directory to a Vercel project.
|
||||
|
||||
> What does the "project.json" file contain?
|
||||
The "project.json" file contains:
|
||||
- The ID of the Vercel project that you linked ("projectId")
|
||||
- The ID of the user or team your Vercel project is owned by ("orgId")
|
||||
|
||||
> Should I commit the ".vercel" folder?
|
||||
No, you should not share the ".vercel" folder with anyone.
|
||||
Upon creation, it will be automatically added to your ".gitignore" file.
|
||||
29
docs/.vercel/output/config.json
Normal file
29
docs/.vercel/output/config.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"version": 3,
|
||||
"overrides": {
|
||||
"index.html": {
|
||||
"path": ""
|
||||
},
|
||||
"get-started/installation/index.html": {
|
||||
"path": "get-started/installation"
|
||||
},
|
||||
"examples/basic/index.html": {
|
||||
"path": "examples/basic"
|
||||
},
|
||||
"get-started/usage/index.html": {
|
||||
"path": "get-started/usage"
|
||||
},
|
||||
"examples/multiple-routers/index.html": {
|
||||
"path": "examples/multiple-routers"
|
||||
}
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"handle": "filesystem"
|
||||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "/__nitro"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"runtime": "nodejs16.x",
|
||||
"handler": "index.mjs",
|
||||
"launcherType": "Nodejs",
|
||||
"shouldAddHelpers": false
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { A as AppLoadingBar_vue_vue_type_style_index_0_lang } from '../styles.mjs';
|
||||
|
||||
const AppLoadingBarStyles_899881af = [AppLoadingBar_vue_vue_type_style_index_0_lang];
|
||||
|
||||
export { AppLoadingBarStyles_899881af as default };
|
||||
//# sourceMappingURL=AppLoadingBar-styles.899881af.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppLoadingBar-styles.899881af.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/AppLoadingBar-styles.899881af.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,qCAAe,CAACA,6CAAO;;;;"}
|
||||
@@ -0,0 +1,112 @@
|
||||
import { u as useContent } from '../server.mjs';
|
||||
import { defineComponent, unref, mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrInterpolate, ssrRenderList, ssrRenderAttr } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "ArticleHero",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const { page } = useContent();
|
||||
const formatDateByLocale = (locale, d) => {
|
||||
return new Date(d).toLocaleDateString(locale, {
|
||||
year: "numeric",
|
||||
month: "long",
|
||||
day: "numeric"
|
||||
});
|
||||
};
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
if (unref(page)) {
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({ class: "py-8 lg:py-16" }, _attrs))}><div class="flex flex-col items-center justify-center max-w-4xl px-4 mx-auto text-center gap-y-8 sm:px-6 lg:px-8">`);
|
||||
if ((_a = unref(page)) == null ? void 0 : _a.date) {
|
||||
_push(`<div class="font-semibold text-gray-400"><time>${ssrInterpolate(formatDateByLocale("en", unref(page).date))}</time> - ${ssrInterpolate(unref(page).category)}</div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if ((_b = unref(page)) == null ? void 0 : _b.title) {
|
||||
_push(`<h1 class="text-5xl font-bold text-gray-900 dark:text-white">${ssrInterpolate(unref(page).title)}</h1>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if ((_c = unref(page)) == null ? void 0 : _c.description) {
|
||||
_push(`<p class="max-w-5xl font-medium text-gray-700 dark:text-gray-200">${ssrInterpolate(unref(page).description)}</p>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if ((_e = (_d = unref(page)) == null ? void 0 : _d.authors) == null ? void 0 : _e.length) {
|
||||
_push(`<ul class="flex flex-wrap items-center justify-center gap-4"><!--[-->`);
|
||||
ssrRenderList(unref(page).authors, (author) => {
|
||||
_push(`<li class="group"><a${ssrRenderAttr("href", author.link)} alt="twitter account" class="flex p-2 transition-colors duration-300 rounded-md gap-x-2 group-hover:bg-gray-100 dark:group-hover:bg-gray-700"><div class="w-12 h-12 rounded-full"><img${ssrRenderAttr("src", author.avatarUrl)}${ssrRenderAttr("alt", author.name)} class="border-2 border-gray-500 rounded-full"></div><div class="flex flex-col items-start justify-center"><span class="text-gray-900 dark:text-white">${ssrInterpolate(author.name)}</span><span class="text-sm text-gray-400">${ssrInterpolate(`@${author.link.split("/").pop()}`)}</span></div></a></li>`);
|
||||
});
|
||||
_push(`<!--]--></ul>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</div></div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/ArticleHero.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=ArticleHero.d0338bff.mjs.map
|
||||
@@ -0,0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AAA,KAAA,EAAO,MAAO,CAAA,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,KAAO,EAAA,MAAA,CAAO,IAAI,CAAA,CAAA,uJAAA,EAA2J,cAAe,CAAA,MAAA,CAAO,IAAI,CAAA,CAAA,2CAAA,EAA+C,cAAe,CAAA,CAAA,CAAA,EAAI,MAAO,CAAA,IAAA,CAAK,KAAM,CAAA,GAAG,CAAE,CAAA,GAAA,IAAO,CAAyB,CAAA,sBAAA,CAAA,CAAA,CAAA;AAAA,WACjnB,CAAA,CAAA;AACD,UAAA,KAAA,CAAM,CAAe,aAAA,CAAA,CAAA,CAAA;AAAA,SAChB,MAAA;AACL,UAAA,KAAA,CAAM,CAAS,OAAA,CAAA,CAAA,CAAA;AAAA,SACjB;AACA,QAAA,KAAA,CAAM,CAAc,YAAA,CAAA,CAAA,CAAA;AAAA,OACf,MAAA;AACL,QAAA,KAAA,CAAM,CAAS,OAAA,CAAA,CAAA,CAAA;AAAA,OACjB;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,sJAAsJ,CAAA,CAAA;AACnO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,91 @@
|
||||
import { C as ContentSlot } from '../server.mjs';
|
||||
import { defineComponent, mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "Badge",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
default: "info",
|
||||
validator(value) {
|
||||
return ["info", "success", "warning", "danger", "primary", "gray"].includes(value);
|
||||
}
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_ContentSlot = ContentSlot;
|
||||
_push(`<span${ssrRenderAttrs(mergeProps({
|
||||
class: [[__props.type], "inline-flex items-center px-3 py-1 text-base leading-5 tracking-tight rounded-full badge"]
|
||||
}, _attrs))}>`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.default,
|
||||
unwrap: "p"
|
||||
}, null, _parent));
|
||||
_push(`</span>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/Badge.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=Badge.41c3e619.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Badge.41c3e619.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/Badge.41c3e619.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,OAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,KAAO,EAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,MAAA;AAAA,MACT,UAAU,KAAO,EAAA;AACf,QAAO,OAAA,CAAC,QAAQ,SAAW,EAAA,SAAA,EAAW,UAAU,SAAW,EAAA,MAAM,CAAE,CAAA,QAAA,CAAS,KAAK,CAAA,CAAA;AAAA,OACnF;AAAA,KACF;AAAA,GACF;AAAA,EACA,MAAM,OAAS,EAAA;AACb,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAW,KAAA;AACvC,MAAA,MAAM,sBAAyB,GAAA,WAAA,CAAA;AAC/B,MAAM,KAAA,CAAA,CAAA,KAAA,EAAQ,eAAe,UAAW,CAAA;AAAA,QACtC,OAAO,CAAC,CAAC,OAAQ,CAAA,IAAI,GAAG,0FAA0F,CAAA;AAAA,OACpH,EAAG,MAAM,CAAC,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;AACd,MAAA,KAAA,CAAM,mBAAmB,sBAAwB,EAAA;AAAA,QAC/C,GAAA,EAAK,KAAK,MAAO,CAAA,OAAA;AAAA,QACjB,MAAQ,EAAA,GAAA;AAAA,OACV,EAAG,IAAM,EAAA,OAAO,CAAC,CAAA,CAAA;AACjB,MAAA,KAAA,CAAM,CAAS,OAAA,CAAA,CAAA,CAAA;AAAA,KACjB,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,gJAAgJ,CAAA,CAAA;AAC7N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,182 @@
|
||||
import { C as ContentSlot, _ as __nuxt_component_1$3 } from '../server.mjs';
|
||||
import _sfc_main$1 from './Terminal.bf4fd044.mjs';
|
||||
import { defineComponent, mergeProps, withCtx, createTextVNode, toDisplayString, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderAttr, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
import './index.4e223d73.mjs';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "BlockHero",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
cta: {
|
||||
type: Array,
|
||||
required: false
|
||||
},
|
||||
secondary: {
|
||||
type: Array,
|
||||
required: false
|
||||
},
|
||||
snippet: {
|
||||
type: String,
|
||||
required: false
|
||||
},
|
||||
video: {
|
||||
type: Array,
|
||||
required: false
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_ContentSlot = ContentSlot;
|
||||
const _component_ButtonLink = __nuxt_component_1$3;
|
||||
const _component_Terminal = _sfc_main$1;
|
||||
_push(`<section${ssrRenderAttrs(mergeProps({ class: "py-20 sm:py-24 lg:py-32" }, _attrs))}><div class="grid gap-8 lg:grid-cols-3"><div class="lg:col-span-2">`);
|
||||
if (_ctx.$slots.top) {
|
||||
_push(`<p class="mb-2 text-center lg:text-left">`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.top,
|
||||
unwrap: "p"
|
||||
}, null, _parent));
|
||||
_push(`</p>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if (_ctx.$slots.title) {
|
||||
_push(`<h1 class="text-4xl font-extrabold tracking-tight text-center u-text-gray-900 sm:text-5xl lg:text-left lg:text-6xl">`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.title,
|
||||
unwrap: "p"
|
||||
}, null, _parent));
|
||||
_push(`</h1>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if (_ctx.$slots.description) {
|
||||
_push(`<p class="max-w-3xl mt-4 text-lg text-center u-text-gray-500 lg:text-left">`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.description,
|
||||
unwrap: "p"
|
||||
}, null, _parent));
|
||||
_push(`</p>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if (_ctx.$slots.extra) {
|
||||
_push(`<div class="mt-6">`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.extra,
|
||||
unwrap: "p"
|
||||
}, null, _parent));
|
||||
_push(`</div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`<div class="flex flex-col items-center justify-center gap-4 mt-6 sm:mt-10 sm:flex-row sm:gap-6 lg:justify-start">`);
|
||||
if (!_ctx.$slots.actions) {
|
||||
_push(`<!--[-->`);
|
||||
if (__props.cta) {
|
||||
_push(ssrRenderComponent(_component_ButtonLink, {
|
||||
class: "!mb-0",
|
||||
bold: "",
|
||||
size: "large",
|
||||
href: __props.cta[1]
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`${ssrInterpolate(__props.cta[0])}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString(__props.cta[0]), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if (__props.secondary) {
|
||||
_push(`<a${ssrRenderAttr("href", __props.secondary[1])} class="py-px font-medium u-text-gray-500 hover:u-text-gray-700">${ssrInterpolate(__props.secondary[0])}</a>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`<!--]-->`);
|
||||
} else {
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.actions,
|
||||
unwrap: "p"
|
||||
}, null, _parent));
|
||||
}
|
||||
_push(`</div></div>`);
|
||||
ssrRenderSlot(_ctx.$slots, "right", {}, () => {
|
||||
if (__props.snippet) {
|
||||
_push(ssrRenderComponent(_component_Terminal, { content: __props.snippet }, null, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
}, _push, _parent);
|
||||
_push(`</div></section>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/BlockHero.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=BlockHero.c3ca91c5.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BlockHero.c3ca91c5.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/BlockHero.c3ca91c5.js"],"sourcesContent":null,"names":["__nuxt_component_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,WAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,KAAO,EAAA;AAAA,IACL,GAAK,EAAA;AAAA,MACH,IAAM,EAAA,KAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,KACZ;AAAA,IACA,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,KAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,KACZ;AAAA,IACA,OAAS,EAAA;AAAA,MACP,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,KACZ;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,KAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,KACZ;AAAA,GACF;AAAA,EACA,MAAM,OAAS,EAAA;AACb,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAW,KAAA;AACvC,MAAA,MAAM,sBAAyB,GAAA,WAAA,CAAA;AAC/B,MAAA,MAAM,qBAAwB,GAAAA,oBAAA,CAAA;AAC9B,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AO,CAAC,CAAA,CAAA;AAAA,SACrF,MAAA;AACL,UAAA,KAAA,CAAM,CAAS,OAAA,CAAA,CAAA,CAAA;AAAA,SACjB;AAAA,OACF,EAAG,OAAO,OAAO,CAAA,CAAA;AACjB,MAAA,KAAA,CAAM,CAAkB,gBAAA,CAAA,CAAA,CAAA;AAAA,KAC1B,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,oJAAoJ,CAAA,CAAA;AACjO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { B as ButtonLink_vue_vue_type_style_index_0_scoped_df52924a_lang } from '../styles.mjs';
|
||||
|
||||
const ButtonLinkStyles_88a065d5 = [ButtonLink_vue_vue_type_style_index_0_scoped_df52924a_lang];
|
||||
|
||||
export { ButtonLinkStyles_88a065d5 as default };
|
||||
//# sourceMappingURL=ButtonLink-styles.88a065d5.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ButtonLink-styles.88a065d5.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ButtonLink-styles.88a065d5.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,kCAAe,CAACA,0DAAO;;;;"}
|
||||
@@ -0,0 +1,108 @@
|
||||
import { C as ContentSlot, a as _sfc_main$k } from '../server.mjs';
|
||||
import { defineComponent, ref, mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent, ssrRenderStyle } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "Callout",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
default: "info",
|
||||
validator(value) {
|
||||
return ["info", "success", "warning", "danger", "primary"].includes(value);
|
||||
}
|
||||
},
|
||||
modelValue: {
|
||||
required: false,
|
||||
default: ref(false)
|
||||
}
|
||||
},
|
||||
emits: ["update:modelValue"],
|
||||
setup(__props, { emit }) {
|
||||
const props = __props;
|
||||
const isOpen = ref(props.modelValue);
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_ContentSlot = ContentSlot;
|
||||
const _component_Icon = _sfc_main$k;
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({
|
||||
class: ["relative px-4 mt-4 mb-4 text-sm leading-relaxed callout rounded-xl", [__props.type]]
|
||||
}, _attrs))}><span class="flex items-center justify-between">`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.summary
|
||||
}, null, _parent));
|
||||
_push(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:chevron-right",
|
||||
class: ["w-5 h-5 transition-transform transform", {
|
||||
"rotate-90": isOpen.value
|
||||
}]
|
||||
}, null, _parent));
|
||||
_push(`</span><div style="${ssrRenderStyle(isOpen.value ? null : { display: "none" })}" class="-mt-4">`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.content
|
||||
}, null, _parent));
|
||||
_push(`</div></div>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/Callout.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=Callout.c93b06db.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Callout.c93b06db.mjs","sources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-3b73e436]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity));border-color:rgb(228 228 231/var(--tw-border-opacity));border-width:1px}.dark .card[data-v-3b73e436]{--tw-border-opacity:1;--tw-bg-opacity:0.25;--tw-text-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(250 250 250/var(--tw-text-opacity))}.card.blurry[data-v-3b73e436]{--tw-bg-opacity:0.2!important;--tw-backdrop-blur:blur(16px)!important;--tw-backdrop-saturate:saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.card[data-v-3b73e436] code{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-color:rgb(228 228 231/var(--tw-border-opacity));box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:currentColor}.dark .card[data-v-3b73e436] code{--tw-border-opacity:1;--tw-bg-opacity:0.5;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:rgb(39 39 42/var(--tw-border-opacity))}.card[data-v-3b73e436] a{border-style:none;color:currentColor;font-weight:600;text-decoration-line:underline}.card[data-v-3b73e436] a:hover{--tw-text-opacity:1;color:rgb(12 12 13/var(--tw-text-opacity))}.dark .card[data-v-3b73e436] a:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.card[data-v-3b73e436] a:hover code{--tw-border-opacity:1;border-color:rgb(161 161 170/var(--tw-border-opacity))}.dark .card[data-v-3b73e436] a:hover code{--tw-border-opacity:1;border-color:rgb(63 63 70/var(--tw-border-opacity))}.card[data-v-3b73e436] strong{color:currentColor!important;font-weight:700!important}.card[data-v-3b73e436] li:before{background-color:currentColor!important;color:currentColor!important}.card[data-v-3b73e436] .prose-code{margin-bottom:1rem;margin-top:1rem}.card[data-v-3b73e436] .prose-code code{background-color:transparent!important}";
|
||||
|
||||
const CardStyles_37ebc0f2 = [Card_vue_vue_type_style_index_0_scoped_3b73e436_lang];
|
||||
|
||||
export { CardStyles_37ebc0f2 as default };
|
||||
//# sourceMappingURL=Card-styles.37ebc0f2.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Card-styles.37ebc0f2.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/Card-styles-1.mjs.564620b4.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/Card-styles.37ebc0f2.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,oDAAuD,GAAA,w/EAAA;;ACC7D,4BAAe,CAACA,oDAAO;;;;"}
|
||||
@@ -0,0 +1,134 @@
|
||||
import { b as _export_sfc, a as _sfc_main$k, C as ContentSlot } from '../server.mjs';
|
||||
import { useSSRContext, defineComponent, mergeProps, withCtx, createTextVNode } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderClass, ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "Card",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
icon: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
iconClass: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
blurry: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
required: false
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_Icon = _sfc_main$k;
|
||||
const _component_ContentSlot = ContentSlot;
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex" }, _attrs))} data-v-3b73e436><div class="${ssrRenderClass([{ blurry: __props.blurry }, "relative w-full p-8 card rounded-xl"])}" data-v-3b73e436>`);
|
||||
if (__props.icon) {
|
||||
_push(ssrRenderComponent(_component_Icon, {
|
||||
name: __props.icon,
|
||||
class: "inline-block w-8 h-8 mb-2 text-2xl"
|
||||
}, null, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(`<div data-v-3b73e436><h3 class="mb-2 text-lg font-semibold tracking-tight" data-v-3b73e436>`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.title,
|
||||
unwrap: "p"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Card title `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Card title ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(`</h3><p class="inline text-sm font-medium tracking-tight" data-v-3b73e436>`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.description,
|
||||
unwrap: "p"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Card description `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Card description ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(`</p></div></div></div>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/Card.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3b73e436"]]);
|
||||
|
||||
export { Card as default };
|
||||
//# sourceMappingURL=Card.f155bd2e.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Card.f155bd2e.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/Card.f155bd2e.js"],"sourcesContent":null,"names":["_sfc_main$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,MAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,KAAO,EAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,EAAA;AAAA,KACX;AAAA,IACA,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,EAAA;AAAA,KACX;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,OAAA;AAAA,MACN,OAAS,EAAA,IAAA;AAAA,MACT,QAAU,EAAA,KAAA;AAAA,KACZ;AAAA,GACF;AAAA,EACA,MAAM,OAAS,EAAA;AACb,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAW,KAAA;AACvC,MAAA,MAAM,eAAkB,GAAAA,WAAA,CAAA;AACxB,MAAA,MAAM,sBAAyB,GAAA,WAAA,CAAA;AAC/B,MAAA,KAAA,CAAM,OAAO,cAAe,CAAA,UAAA,CAAW,EAAE,KAAO,EAAA,MAAA,IAAU,MAAM,CAAC,iCAAiC,cAAe,CAAA,CAAC,EAAE,MAAQ,EAAA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OAAQ,CAAA,CAAC,CAAG,EAAA,MAAA,EAAQ,UAAU,QAAa,KAAA;AAClD,UAAA,IAAI,MAAQ,EAAA;AACV,YAAA,MAAA,CAAO,CAAoB,kBAAA,CAAA,CAAA,CAAA;AAAA,WACtB,MAAA;AACL,YAAO,OAAA;AAAA,cACL,gBAAgB,oBAAoB,CAAA;AAAA,aACtC,CAAA;AAAA,WACF;AAAA,SACD,CAAA;AAAA,QACD,CAAG,EAAA,CAAA;AAAA,OACL,EAAG,OAAO,CAAC,CAAA,CAAA;AACX,MAAA,KAAA,CAAM,CAAwB,sBAAA,CAAA,CAAA,CAAA;AAAA,KAChC,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAED,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,+IAA+I,CAAA,CAAA;AAC5N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,IAAA,+BAAmC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,90 @@
|
||||
import { C as ContentSlot } from '../server.mjs';
|
||||
import { defineComponent, mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "CardGrid",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: "Features"
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_ContentSlot = ContentSlot;
|
||||
_push(`<section${ssrRenderAttrs(mergeProps({ class: "relative pb-20 sm:pb-24 lg:pb-32" }, _attrs))}>`);
|
||||
_push(ssrRenderComponent(_component_ContentSlot, {
|
||||
use: _ctx.$slots.root,
|
||||
unwrap: "*"
|
||||
}, null, _parent));
|
||||
_push(`<h2 class="mb-8 text-3xl font-bold tracking-tight u-text-gray-900 sm:text-4xl">`);
|
||||
ssrRenderSlot(_ctx.$slots, "title", {}, null, _push, _parent);
|
||||
_push(`</h2><div class="grid gap-4 font-semibold text-left u-text-gray-900 sm:grid-cols-2 lg:grid-cols-3 2xl:gap-8">`);
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(`</div></section>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/CardGrid.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=CardGrid.0548d8ab.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CardGrid.0548d8ab.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CardGrid.0548d8ab.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,UAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,KAAO,EAAA;AAAA,IACL,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,UAAA;AAAA,KACX;AAAA,GACF;AAAA,EACA,MAAM,OAAS,EAAA;AACb,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,O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vue_type_style_index_0_scoped_88c198f2_lang = ".code-block[data-v-88c198f2]{display:none}.code-block.active[data-v-88c198f2]{display:block}";
|
||||
|
||||
const CodeBlockStyles_f6693b47 = [CodeBlock_vue_vue_type_style_index_0_scoped_88c198f2_lang];
|
||||
|
||||
export { CodeBlockStyles_f6693b47 as default };
|
||||
//# sourceMappingURL=CodeBlock-styles.f6693b47.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CodeBlock-styles.f6693b47.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeBlock-styles-1.mjs.b15cebc0.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeBlock-styles.f6693b47.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,yDAA4D,GAAA,8FAAA;;ACClE,iCAAe,CAACA,yDAAO;;;;"}
|
||||
@@ -0,0 +1,96 @@
|
||||
import { useSSRContext, defineComponent, mergeProps } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "CodeBlock",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
label: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
active: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
preview: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({
|
||||
class: ["code-block", {
|
||||
active: __props.active,
|
||||
"rounded-lg p-4": __props.preview
|
||||
}]
|
||||
}, _attrs))} data-v-88c198f2>`);
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(`</div>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/CodeBlock.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const CodeBlock = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-88c198f2"]]);
|
||||
|
||||
export { CodeBlock as default };
|
||||
//# sourceMappingURL=CodeBlock.d0ef9a56.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CodeBlock.d0ef9a56.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeBlock.d0ef9a56.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,WAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,KAAO,EAAA;AAAA,IACL,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,IAAA;AAAA,KACZ;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,OAAA;AAAA,MACN,OAAS,EAAA,KAAA;AAAA,KACX;AAAA,IACA,OAAS,EAAA;AAAA,MACP,IAAM,EAAA,OAAA;AAAA,MACN,OAAS,EAAA,KAAA;AAAA,KACX;AAAA,GACF;AAAA,EACA,MAAM,OAAS,EAAA;AACb,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAW,KAAA;AACvC,MAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,QACrC,KAAA,EAAO,CAAC,YAAc,EAAA;AAAA,UACpB,QAAQ,OAAQ,CAAA,MAAA;AAAA,UAChB,kBAAkB,OAAQ,CAAA,OAAA;AAAA,SAC3B,CAAA;AAAA,OACH,EAAG,MAAM,CAAC,CAAoB,CAAA,iBAAA,CAAA,CAAA,CAAA;AAC9B,MAAA,aAAA,CAAc,KAAK,MAAQ,EAAA,SAAA,EAAW,EAAI,EAAA,IAAA,EAAM,OAAO,OAAO,CAAA,CAAA;AAC9D,MAAA,KAAA,CAAM,CAAQ,MAAA,CAAA,CAAA,CAAA;AAAA,KAChB,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAED,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,oJAAoJ,CAAA,CAAA;AACjO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,SAAA,+BAAwC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,8 @@
|
||||
const CodeGroup_vue_vue_type_style_index_0_lang = "li .code-group{margin-bottom:1rem;margin-top:1rem}html.dark .code-group-content .preview-canvas{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem;border-top-left-radius:0;border-top-right-radius:0;line-height:1.5;margin-bottom:0;margin-top:0;overflow-x:auto;padding:1rem;z-index:0}";
|
||||
|
||||
const CodeGroup_vue_vue_type_style_index_1_scoped_e62afa1a_lang = ".code-group[data-v-e62afa1a]{border-radius:.5rem;overflow:hidden}.code-group[data-v-e62afa1a] .prose-code{border-radius:0!important;margin-bottom:0!important;margin-top:0!important}.code-group[data-v-e62afa1a] .prose-code-header{display:none}.code-group[data-v-e62afa1a] pre{margin-top:0!important}.code-group[data-v-e62afa1a] .filename{display:none}.code-group-content[data-v-e62afa1a],.code-group-content .preview-canvas[data-v-e62afa1a]{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.code-group-content .preview-canvas[data-v-e62afa1a]{--tw-text-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity));color:rgb(39 39 42/var(--tw-text-opacity));line-height:1.5;margin-bottom:0;margin-top:0;overflow-x:auto;padding:1rem;z-index:0}.dark .code-group-content .preview-canvas[data-v-e62afa1a]{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(228 228 231/var(--tw-text-opacity))}.code-group-content .preview-canvas>*[data-v-e62afa1a]{margin-bottom:0;margin-top:0}";
|
||||
|
||||
const CodeGroupStyles_2a01b60d = [CodeGroup_vue_vue_type_style_index_0_lang, CodeGroup_vue_vue_type_style_index_1_scoped_e62afa1a_lang];
|
||||
|
||||
export { CodeGroupStyles_2a01b60d as default };
|
||||
//# sourceMappingURL=CodeGroup-styles.2a01b60d.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CodeGroup-styles.2a01b60d.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeGroup-styles-1.mjs.94008437.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeGroup-styles-2.mjs.c8fd280f.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeGroup-styles.2a01b60d.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":"AAAA,MAAM,yCAA4C,GAAA,gXAAA;;ACAlD,MAAM,yDAA4D,GAAA,miCAAA;;ACElE,iCAAe,CAACA,yCAAO,EAAEC,yDAAO;;;;"}
|
||||
@@ -0,0 +1,140 @@
|
||||
import { defineComponent, h, useSSRContext } from 'vue';
|
||||
import __nuxt_component_0 from './TabsHeader.c36e1d75.mjs';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const isTag = (slot, tag) => {
|
||||
return slot.type && slot.type.tag && slot.type.tag === tag;
|
||||
};
|
||||
const _sfc_main = defineComponent({
|
||||
data() {
|
||||
return {
|
||||
activeTabIndex: 0,
|
||||
counter: 0
|
||||
};
|
||||
},
|
||||
render() {
|
||||
const slots = this.$slots.default();
|
||||
const tabs = slots.filter((slot) => isTag(slot, "code-block") || isTag(slot, "code")).map((slot, index) => {
|
||||
var _a, _b, _c;
|
||||
return {
|
||||
label: ((_a = slot == null ? void 0 : slot.props) == null ? void 0 : _a.filename) || ((_b = slot == null ? void 0 : slot.props) == null ? void 0 : _b.label) || `${index}`,
|
||||
active: ((_c = slot == null ? void 0 : slot.props) == null ? void 0 : _c.active) || false,
|
||||
component: slot
|
||||
};
|
||||
});
|
||||
return h(
|
||||
"div",
|
||||
{
|
||||
class: {
|
||||
"code-group": true,
|
||||
"first-tab": this.activeTabIndex === 0
|
||||
}
|
||||
},
|
||||
[
|
||||
h(__nuxt_component_0, {
|
||||
ref: "tabs-header",
|
||||
activeTabIndex: this.activeTabIndex,
|
||||
tabs,
|
||||
"onUpdate:activeTabIndex": ($event) => this.activeTabIndex = $event
|
||||
}),
|
||||
h(
|
||||
"div",
|
||||
{
|
||||
class: "code-group-content",
|
||||
text: this.activeTabIndex
|
||||
},
|
||||
slots.map(
|
||||
(slot, index) => {
|
||||
var _a, _b;
|
||||
return h(
|
||||
"div",
|
||||
{
|
||||
style: {
|
||||
display: index === this.activeTabIndex ? "block" : "none"
|
||||
},
|
||||
class: {
|
||||
"": !isTag(slot, "code")
|
||||
}
|
||||
},
|
||||
[
|
||||
isTag(slot, "code") ? slot : h(
|
||||
"div",
|
||||
{
|
||||
class: {
|
||||
"preview-canvas": true
|
||||
}
|
||||
},
|
||||
[((_b = (_a = slot.children) == null ? void 0 : _a.default) == null ? void 0 : _b.call(_a)) || h("div")]
|
||||
)
|
||||
]
|
||||
);
|
||||
}
|
||||
)
|
||||
)
|
||||
]
|
||||
);
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/CodeGroup.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const CodeGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e62afa1a"]]);
|
||||
|
||||
export { CodeGroup as default };
|
||||
//# sourceMappingURL=CodeGroup.2acee5a4.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CodeGroup.2acee5a4.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CodeGroup.2acee5a4.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,KAAA,GAAQ,CAAC,IAAA,EAAM,GAAQ,KAAA;AAC3B,EAAA,OAAO,KAAK,IAAQ,IAAA,IAAA,CAAK,KAAK,GAAO,IAAA,IAAA,CAAK,KAAK,GAAQ,KAAA,GAAA,CAAA;AACzD,CAAA,CAAA;AACA,MAAM,YAAY,eAAgB,CAAA;AAAA,EAChC,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,cAAgB,EAAA,CAAA;AAAA,MAChB,OAAS,EAAA,CAAA;AAAA,KACX,CAAA;AAAA,GACF;AAAA,EACA,MAAS,GAAA;AACP,IAAM,MAAA,KAAA,GAAQ,IAAK,CAAA,MAAA,CAAO,OAAQ,EAAA,CAAA;AAClC,IAAA,MAAM,OAAO,KAAM,CAAA,MAAA,CAAO,CAAC,IAAA,KAAS,MAAM,IAAM,EAAA,YAAY,CAAK,IAAA,KAAA,CAAM,MAAM,MAAM,CAAC,EAAE,GAAI,CAAA,CAAC,MAAM,KAAU,KAAA;AACzG,MAAA,IAAI,IAAI,EAAI,EAAA,EAAA,CAAA;AACZ,MA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@ -0,0 +1,136 @@
|
||||
import { j as useRoute, k as useContentHead, i as _sfc_main$m } from '../server.mjs';
|
||||
import { defineComponent, useSlots, h, useSSRContext } from 'vue';
|
||||
import { withTrailingSlash } from 'ufo';
|
||||
import _sfc_main$1 from './ContentQuery.4005f85d.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import 'vue/server-renderer';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
import './asyncData.cada7b2c.mjs';
|
||||
|
||||
const _sfc_main = defineComponent({
|
||||
name: "ContentDoc",
|
||||
props: {
|
||||
tag: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: "div"
|
||||
},
|
||||
excerpt: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
path: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
query: {
|
||||
type: Object,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
head: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
render(ctx) {
|
||||
const slots = useSlots();
|
||||
const { tag, excerpt, path, query, head } = ctx;
|
||||
const contentQueryProps = {
|
||||
...query || {},
|
||||
path: path || (query == null ? void 0 : query.path) || withTrailingSlash(useRoute().path),
|
||||
find: "one"
|
||||
};
|
||||
const emptyNode = (slot, data) => h("pre", null, JSON.stringify({ message: "You should use slots with <ContentDoc>", slot, data }, null, 2));
|
||||
return h(
|
||||
_sfc_main$1,
|
||||
contentQueryProps,
|
||||
{
|
||||
default: (slots == null ? void 0 : slots.default) ? ({ data, refresh, isPartial }) => {
|
||||
var _a;
|
||||
if (head) {
|
||||
useContentHead(data);
|
||||
}
|
||||
return (_a = slots.default) == null ? void 0 : _a.call(slots, { doc: data, refresh, isPartial, excerpt, ...this.$attrs });
|
||||
} : ({ data }) => {
|
||||
if (head) {
|
||||
useContentHead(data);
|
||||
}
|
||||
return h(
|
||||
_sfc_main$m,
|
||||
{ value: data, excerpt, tag, ...this.$attrs },
|
||||
{ empty: (bindings) => (slots == null ? void 0 : slots.empty) ? slots.empty(bindings) : emptyNode("default", data) }
|
||||
);
|
||||
},
|
||||
empty: (bindings) => {
|
||||
var _a;
|
||||
return ((_a = slots == null ? void 0 : slots.empty) == null ? void 0 : _a.call(slots, bindings)) || h("p", null, "Document is empty, overwrite this content with #empty slot in <ContentDoc>.");
|
||||
},
|
||||
"not-found": (bindings) => {
|
||||
var _a;
|
||||
return ((_a = slots == null ? void 0 : slots["not-found"]) == null ? void 0 : _a.call(slots, bindings)) || h("p", null, "Document not found, overwrite this content with #not-found slot in <ContentDoc>.");
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+content-edge@2.2.1-27781144.409f03f/node_modules/@nuxt/content-edge/dist/runtime/components/ContentDoc.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=ContentDoc.03f14928.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ContentDoc.03f14928.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ContentDoc.03f14928.js"],"sourcesContent":null,"names":["_sfc_main$2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,YAAY,eAAgB,CAAA;AAAA,EAChC,IAAM,EAAA,YAAA;AAAA,EACN,KAAO,EAAA;AAAA,IACL,GAAK,EAAA;AAAA,MACH,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,MACV,OAAS,EAAA,KAAA;AAAA,KACX;AAAA,IACA,OAAS,EAAA;AAAA,MACP,IAAM,EAAA,OAAA;AAAA,MACN,OAAS,EAAA,KAAA;AAAA,KACX;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,MACV,OAAS,EAAA,KAAA,CAAA;AAAA,KACX;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,MAAA;AA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AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,wIAAwI,CAAA,CAAA;AACrN,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,103 @@
|
||||
import { defineComponent, useSlots, h, useSSRContext } from 'vue';
|
||||
import _sfc_main$1 from './ContentQuery.4005f85d.mjs';
|
||||
import '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import 'vue/server-renderer';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
import './asyncData.cada7b2c.mjs';
|
||||
|
||||
const _sfc_main = defineComponent({
|
||||
name: "ContentList",
|
||||
props: {
|
||||
path: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
query: {
|
||||
type: Object,
|
||||
required: false,
|
||||
default: void 0
|
||||
}
|
||||
},
|
||||
render(ctx) {
|
||||
const slots = useSlots();
|
||||
const { path, query } = ctx;
|
||||
const contentQueryProps = {
|
||||
...query || {},
|
||||
path: path || (query == null ? void 0 : query.path) || "/"
|
||||
};
|
||||
const emptyNode = (slot, data) => h("pre", null, JSON.stringify({ message: "You should use slots with <ContentList>", slot, data }, null, 2));
|
||||
return h(
|
||||
_sfc_main$1,
|
||||
contentQueryProps,
|
||||
{
|
||||
default: (slots == null ? void 0 : slots.default) ? ({ data, refresh, isPartial }) => slots == null ? void 0 : slots.default({ list: data, refresh, isPartial, ...this.$attrs }) : ({ data }) => emptyNode("default", data),
|
||||
empty: (bindings) => (slots == null ? void 0 : slots.empty) ? slots.empty(bindings) : ({ data }) => emptyNode("default", data),
|
||||
"not-found": (bindings) => {
|
||||
var _a;
|
||||
return (slots == null ? void 0 : slots["not-found"]) ? (_a = slots == null ? void 0 : slots["not-found"]) == null ? void 0 : _a.call(slots, bindings) : ({ data }) => emptyNode("not-found", data);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+content-edge@2.2.1-27781144.409f03f/node_modules/@nuxt/content-edge/dist/runtime/components/ContentList.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=ContentList.7a4e8e80.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ContentList.7a4e8e80.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ContentList.7a4e8e80.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,YAAY,eAAgB,CAAA;AAAA,EAChC,IAAM,EAAA,aAAA;AAAA,EACN,KAAO,EAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,MACV,OAAS,EAAA,KAAA,CAAA;AAAA,KACX;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,KAAA;AAAA,MACV,OAAS,EAAA,KAAA,CAAA;AAAA,KACX;AAAA,GACF;AAAA,EACA,OAAO,GAAK,EAAA;AACV,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAM,MAAA,EAAE,IAAM,EAAA,KAAA,EAAU,GAAA,GAAA,CAAA;AACxB,IAAA,MAAM,iBAAoB,GAAA;AAAA,MACxB,GAAG,SAAS,EAAC;AAAA,MACb,MAAM,IAAS,KAAA,KAAA,IAAS,IAAO,GAAA,KAAA,CAAA,GAAS,MAAM,IAAS,CAAA,IAAA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I,CAAA,CAAA;AAAA,SACnM;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,yIAAyI,CAAA,CAAA;AACtN,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,228 @@
|
||||
import { defineComponent, toRefs, computed, useSlots, useSSRContext, h } from 'vue';
|
||||
import { q as queryContent } from '../server.mjs';
|
||||
import { u as useAsyncData } from './asyncData.cada7b2c.mjs';
|
||||
import { hash } from 'ohash';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import 'vue/server-renderer';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = defineComponent({
|
||||
name: "ContentQuery",
|
||||
props: {
|
||||
path: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
only: {
|
||||
type: Array,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
without: {
|
||||
type: Array,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
where: {
|
||||
type: Object,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
sort: {
|
||||
type: Object,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
limit: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
skip: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
locale: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: void 0
|
||||
},
|
||||
find: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: void 0
|
||||
}
|
||||
},
|
||||
async setup(props) {
|
||||
const {
|
||||
path,
|
||||
only,
|
||||
without,
|
||||
where,
|
||||
sort,
|
||||
limit,
|
||||
skip,
|
||||
locale,
|
||||
find
|
||||
} = toRefs(props);
|
||||
const isPartial = computed(() => {
|
||||
var _a;
|
||||
return (_a = path.value) == null ? void 0 : _a.includes("/_");
|
||||
});
|
||||
const { data, refresh } = await useAsyncData(
|
||||
`content-query-${hash(props)}`,
|
||||
() => {
|
||||
let queryBuilder;
|
||||
if (path.value) {
|
||||
queryBuilder = queryContent(path.value);
|
||||
} else {
|
||||
queryBuilder = queryContent();
|
||||
}
|
||||
if (only.value) {
|
||||
queryBuilder = queryBuilder.only(only.value);
|
||||
}
|
||||
if (without.value) {
|
||||
queryBuilder = queryBuilder.without(without.value);
|
||||
}
|
||||
if (where.value) {
|
||||
queryBuilder = queryBuilder.where(where.value);
|
||||
}
|
||||
if (sort.value) {
|
||||
queryBuilder = queryBuilder.sort(sort.value);
|
||||
}
|
||||
if (limit.value) {
|
||||
queryBuilder = queryBuilder.limit(limit.value);
|
||||
}
|
||||
if (skip.value) {
|
||||
queryBuilder = queryBuilder.skip(skip.value);
|
||||
}
|
||||
if (locale.value) {
|
||||
queryBuilder = queryBuilder.where({ _locale: locale.value });
|
||||
}
|
||||
if (find.value === "one") {
|
||||
return queryBuilder.findOne();
|
||||
}
|
||||
if (find.value === "surround") {
|
||||
if (!path.value) {
|
||||
console.warn("[Content] Surround queries requires `path` prop to be set.");
|
||||
console.warn("[Content] Query without `path` will return regular `find()` results.");
|
||||
return queryBuilder.find();
|
||||
}
|
||||
return queryBuilder.findSurround(path);
|
||||
}
|
||||
return queryBuilder.find();
|
||||
}
|
||||
);
|
||||
return {
|
||||
isPartial,
|
||||
data,
|
||||
refresh
|
||||
};
|
||||
},
|
||||
render(ctx) {
|
||||
var _a;
|
||||
const slots = useSlots();
|
||||
const {
|
||||
data,
|
||||
refresh,
|
||||
isPartial,
|
||||
path,
|
||||
only,
|
||||
without,
|
||||
where,
|
||||
sort,
|
||||
limit,
|
||||
skip,
|
||||
locale,
|
||||
find
|
||||
} = ctx;
|
||||
const props = {
|
||||
path,
|
||||
only,
|
||||
without,
|
||||
where,
|
||||
sort,
|
||||
limit,
|
||||
skip,
|
||||
locale,
|
||||
find
|
||||
};
|
||||
if (props.find === "one") {
|
||||
if (!data && (slots == null ? void 0 : slots["not-found"])) {
|
||||
return slots["not-found"]({ props, ...this.$attrs });
|
||||
}
|
||||
if ((data == null ? void 0 : data._type) === "markdown" && !((_a = data == null ? void 0 : data.body) == null ? void 0 : _a.children.length)) {
|
||||
return slots.empty({ props, ...this.$attrs });
|
||||
}
|
||||
} else if (!data || !data.length) {
|
||||
if (slots == null ? void 0 : slots["not-found"]) {
|
||||
return slots["not-found"]({ props, ...this.$attrs });
|
||||
}
|
||||
}
|
||||
if (slots == null ? void 0 : slots.default) {
|
||||
return slots.default({ data, refresh, isPartial, props, ...this.$attrs });
|
||||
}
|
||||
const emptyNode = (slot, data2) => h("pre", null, JSON.stringify({ message: "You should use slots with <ContentQuery>!", slot, data: data2 }, null, 2));
|
||||
return emptyNode("default", { data, props, isPartial });
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+content-edge@2.2.1-27781144.409f03f/node_modules/@nuxt/content-edge/dist/runtime/components/ContentQuery.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=ContentQuery.4005f85d.mjs.map
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,96 @@
|
||||
import { a as _sfc_main$k } from '../server.mjs';
|
||||
import { defineComponent, ref, mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent } from 'vue/server-renderer';
|
||||
import { u as useClipboard } from './index.4e223d73.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "CopyButton",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
content: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
useClipboard();
|
||||
const state = ref("init");
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_Icon = _sfc_main$k;
|
||||
_push(`<button${ssrRenderAttrs(mergeProps({ class: "copy rounded-lg bg-gray-800 px-2 py-2 font-mono text-xs font-semibold leading-none text-gray-400 focus:outline-none dark:bg-black" }, _attrs))}>`);
|
||||
if (state.value === "copied") {
|
||||
_push(ssrRenderComponent(_component_Icon, {
|
||||
name: "fa-check",
|
||||
class: "h-4 w-4"
|
||||
}, null, _parent));
|
||||
} else {
|
||||
_push(ssrRenderComponent(_component_Icon, {
|
||||
name: "fa-copy",
|
||||
class: "h-4 w-4"
|
||||
}, null, _parent));
|
||||
}
|
||||
_push(`</button>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/CopyButton.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=CopyButton.b242571a.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CopyButton.b242571a.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/CopyButton.b242571a.js"],"sourcesContent":null,"names":["_sfc_main$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,YAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,KAAO,EAAA;AAAA,IACL,OAAS,EAAA;AAAA,MACP,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,EAAA;AAAA,KACX;AAAA,GACF;AAAA,EACA,MAAM,OAAS,EAAA;AACb,IAAa,YAAA,EAAA,CAAA;AACb,IAAM,MAAA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us, j as useRoute, r as useRouter, m as useState, p as _sfc_main$c, f as __nuxt_component_0$3, a as _sfc_main$k, s as _sfc_main$e, t as _sfc_main$3$1, o as useContentHelpers } from '../server.mjs';
|
||||
import { useSSRContext, defineComponent, unref, withCtx, createVNode, mergeProps, toDisplayString, watch, computed, ref, createTextVNode, openBlock, createBlock, createCommentVNode, renderSlot, Fragment } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderList, ssrRenderClass, ssrRenderAttr, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import __nuxt_component_3 from './ProseCodeInline.b9cff2ce.mjs';
|
||||
import _sfc_main$6 from './PageEditLink.5dbc9a15.mjs';
|
||||
import _sfc_main$7 from './PageContributors.5b836a40.mjs';
|
||||
import __nuxt_component_5 from './ProseHr.05be3620.mjs';
|
||||
import { upperFirst } from 'scule';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const useCurrentNavigation = () => {
|
||||
const { navPageFromPath, navDirFromPath, navKeyFromPath } = useContentHelpers();
|
||||
const { navigation, page } = useContent();
|
||||
const docus = useDocus();
|
||||
const route = useRoute();
|
||||
const asideConfig = computed(() => {
|
||||
return navKeyFromPath(route.path, "aside", navigation.value || []);
|
||||
});
|
||||
const level = computed(() => {
|
||||
var _a, _b, _c;
|
||||
if (typeof ((_a = asideConfig.value) == null ? void 0 : _a.level) !== "undefined") {
|
||||
return (_b = asideConfig.value) == null ? void 0 : _b.level;
|
||||
}
|
||||
return ((_c = docus.value.aside) == null ? void 0 : _c.level) || 0;
|
||||
});
|
||||
const filtered = computed(() => {
|
||||
var _a;
|
||||
return ((_a = docus.value.aside) == null ? void 0 : _a.exclude) || [];
|
||||
});
|
||||
const tree = computed(() => {
|
||||
var _a, _b, _c;
|
||||
let nav = navigation.value || [];
|
||||
let _path = route.path;
|
||||
if ((_a = asideConfig.value) == null ? void 0 : _a.root) {
|
||||
_path = (_b = asideConfig.value) == null ? void 0 : _b.root;
|
||||
nav = navDirFromPath(_path, nav);
|
||||
}
|
||||
if (level.value) {
|
||||
const path = _path.split("/");
|
||||
const leveledPath = path.splice(0, 1 + level.value).join("/");
|
||||
nav = navDirFromPath(leveledPath, nav) || [];
|
||||
if (!Array.isArray(nav)) {
|
||||
nav = [nav];
|
||||
}
|
||||
}
|
||||
if (nav.length === 0) {
|
||||
nav = navPageFromPath(((_c = page.value) == null ? void 0 : _c._path) || "/", navigation.value || []);
|
||||
if (!nav) {
|
||||
return [];
|
||||
}
|
||||
if (!Array.isArray(nav)) {
|
||||
nav = [nav];
|
||||
}
|
||||
}
|
||||
return nav.filter((item) => {
|
||||
if (filtered.value.includes(item._path)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
});
|
||||
return { tree, asideConfig };
|
||||
};
|
||||
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
||||
__name: "DocsAside",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const { tree } = useCurrentNavigation();
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
var _a;
|
||||
const _component_DocsAsideTree = _sfc_main$c;
|
||||
const _component_NuxtLink = __nuxt_component_0$3;
|
||||
const _component_Icon = _sfc_main$k;
|
||||
_push(`<nav${ssrRenderAttrs(_attrs)}>`);
|
||||
if (((_a = unref(tree)) == null ? void 0 : _a.length) > 0) {
|
||||
_push(ssrRenderComponent(_component_DocsAsideTree, { links: unref(tree) }, null, _parent));
|
||||
} else {
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/",
|
||||
class: "flex items-center text-sm cursor-pointer u-text-gray-500 hover:u-text-gray-700"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:arrow-left",
|
||||
class: "w-4 h-4"
|
||||
}, null, _parent2, _scopeId));
|
||||
_push2(`<span class="ml-2"${_scopeId}>Go back</span>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:arrow-left",
|
||||
class: "w-4 h-4"
|
||||
}),
|
||||
createVNode("span", { class: "ml-2" }, "Go back")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
}
|
||||
_push(`</nav>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup$5 = _sfc_main$5.setup;
|
||||
_sfc_main$5.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsAside.vue");
|
||||
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
|
||||
};
|
||||
const DocsAside = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
||||
__proto__: null,
|
||||
default: _sfc_main$5
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
||||
__name: "DocsPageBottom",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const config = useRuntimeConfig();
|
||||
const { page } = useContent();
|
||||
const docus = useDocus();
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
const _component_PageEditLink = _sfc_main$6;
|
||||
const _component_PageContributors = _sfc_main$7;
|
||||
if (unref(page)) {
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col-reverse justify-between gap-4 mt-8 text-sm u-text-gray-500 md:flex-row" }, _attrs))}><div class="flex flex-col flex-1 w-full gap-4 md:w-1/2">`);
|
||||
if (((_a = unref(config)) == null ? void 0 : _a.github) && ((_c = (_b = unref(docus)) == null ? void 0 : _b.github) == null ? void 0 : _c.edit)) {
|
||||
_push(ssrRenderComponent(_component_PageEditLink, null, null, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
if (unref(page).mtime) {
|
||||
_push(`<span class="flex items-center">Updated on: ${ssrInterpolate(new Intl.DateTimeFormat("en-US").format(Date.parse(unref(page).mtime)))}</span>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</div><div class="flex-1 w-full md:w-1/2">`);
|
||||
if (((_d = unref(config)) == null ? void 0 : _d.github) && ((_f = (_e = unref(docus)) == null ? void 0 : _e.github) == null ? void 0 : _f.contributors)) {
|
||||
_push(ssrRenderComponent(_component_PageContributors, null, null, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</div></div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup$4 = _sfc_main$4.setup;
|
||||
_sfc_main$4.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsPageBottom.vue");
|
||||
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
|
||||
};
|
||||
const DocsPageBottom = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
||||
__proto__: null,
|
||||
default: _sfc_main$4
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
||||
__name: "DocsPrevNext",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const { prev, next, navigation } = useContent();
|
||||
const { navDirFromPath } = useContentHelpers();
|
||||
const directory = (link) => {
|
||||
const nav = navDirFromPath(link._path, navigation.value || []);
|
||||
if (nav && nav[0]) {
|
||||
return nav[0]._path;
|
||||
} else {
|
||||
const dirs = link.split("/");
|
||||
const directory2 = dirs.length > 1 ? dirs[dirs.length - 2] : "";
|
||||
return directory2.split("-").map(upperFirst).join(" ");
|
||||
}
|
||||
};
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_NuxtLink = __nuxt_component_0$3;
|
||||
const _component_Icon = _sfc_main$k;
|
||||
if (unref(prev) || unref(next)) {
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col-reverse justify-between gap-3 sm:flex-row sm:items-center" }, _attrs))}>`);
|
||||
if (unref(prev)) {
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: unref(prev)._path,
|
||||
class: "relative min-w-0 p-3 border rounded-lg hover:border-primary-500 dark:hover:border-primary-500 hover:text-primary-500 u-border-gray-100"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`<p class="h-4 mb-1 text-xs font-medium text-right truncate u-text-gray-500"${_scopeId}>${ssrInterpolate(directory(unref(prev)._path))}</p><p class="flex items-center gap-3"${_scopeId}>`);
|
||||
_push2(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:arrow-sm-left",
|
||||
class: "flex-shrink-0 w-5 h-5"
|
||||
}, null, _parent2, _scopeId));
|
||||
_push2(`<span class="flex-1 font-medium leading-5 text-right truncate"${_scopeId}>${ssrInterpolate(unref(prev).title)}</span></p>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("p", { class: "h-4 mb-1 text-xs font-medium text-right truncate u-text-gray-500" }, toDisplayString(directory(unref(prev)._path)), 1),
|
||||
createVNode("p", { class: "flex items-center gap-3" }, [
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:arrow-sm-left",
|
||||
class: "flex-shrink-0 w-5 h-5"
|
||||
}),
|
||||
createVNode("span", { class: "flex-1 font-medium leading-5 text-right truncate" }, toDisplayString(unref(prev).title), 1)
|
||||
])
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
} else {
|
||||
_push(`<span></span>`);
|
||||
}
|
||||
if (unref(next)) {
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: unref(next)._path,
|
||||
class: "relative min-w-0 p-3 border rounded-lg hover:border-primary-500 dark:hover:border-primary-500 hover:text-primary-500 u-border-gray-100"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`<p class="h-4 mb-1 text-xs font-medium truncate u-text-gray-500"${_scopeId}>${ssrInterpolate(directory(unref(next)._path))}</p><p class="flex items-center gap-3"${_scopeId}><span class="flex-1 font-medium leading-5 truncate"${_scopeId}>${ssrInterpolate(unref(next).title)}</span>`);
|
||||
_push2(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:arrow-sm-right",
|
||||
class: "flex-shrink-0 w-5 h-5"
|
||||
}, null, _parent2, _scopeId));
|
||||
_push2(`</p>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("p", { class: "h-4 mb-1 text-xs font-medium truncate u-text-gray-500" }, toDisplayString(directory(unref(next)._path)), 1),
|
||||
createVNode("p", { class: "flex items-center gap-3" }, [
|
||||
createVNode("span", { class: "flex-1 font-medium leading-5 truncate" }, toDisplayString(unref(next).title), 1),
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:arrow-sm-right",
|
||||
class: "flex-shrink-0 w-5 h-5"
|
||||
})
|
||||
])
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup$3 = _sfc_main$3.setup;
|
||||
_sfc_main$3.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsPrevNext.vue");
|
||||
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
|
||||
};
|
||||
const DocsPrevNext = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
||||
__proto__: null,
|
||||
default: _sfc_main$3
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
const useScrollspy = () => {
|
||||
const observer = ref();
|
||||
const visibleHeadings = ref([]);
|
||||
const activeHeadings = ref([]);
|
||||
const updateHeadings = (headings) => headings.forEach((heading) => {
|
||||
observer.value.observe(heading);
|
||||
});
|
||||
watch(visibleHeadings, (val, oldVal) => {
|
||||
if (val.length === 0) {
|
||||
activeHeadings.value = oldVal;
|
||||
} else {
|
||||
activeHeadings.value = val;
|
||||
}
|
||||
});
|
||||
return {
|
||||
visibleHeadings,
|
||||
activeHeadings,
|
||||
updateHeadings
|
||||
};
|
||||
};
|
||||
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
||||
__name: "DocsTocLinks",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
links: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
emits: ["move"],
|
||||
setup(__props, { emit }) {
|
||||
const route = useRoute();
|
||||
useRouter();
|
||||
const { activeHeadings, updateHeadings } = useScrollspy();
|
||||
watch(
|
||||
() => route.path,
|
||||
() => {
|
||||
},
|
||||
{
|
||||
immediate: true
|
||||
}
|
||||
);
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_DocsTocLinks = _sfc_main$2;
|
||||
_push(`<ul${ssrRenderAttrs(_attrs)}><!--[-->`);
|
||||
ssrRenderList(__props.links, (link) => {
|
||||
_push(`<li class="${ssrRenderClass([[{ "pl-3": link.depth === 3, "pl-6": link.depth === 4 }], "min-w-0 group"])}"><a${ssrRenderAttr("href", `#${link.id}`)} class="${ssrRenderClass([[unref(activeHeadings).includes(link.id) ? "text-primary-500" : "u-text-gray-500 hover:u-text-gray-900"], "block py-1 text-sm truncate lg:pr-3"])}">${ssrInterpolate(link.text)}</a>`);
|
||||
if (link.children) {
|
||||
_push(ssrRenderComponent(_component_DocsTocLinks, {
|
||||
links: link.children
|
||||
}, null, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</li>`);
|
||||
});
|
||||
_push(`<!--]--></ul>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup$2 = _sfc_main$2.setup;
|
||||
_sfc_main$2.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsTocLinks.vue");
|
||||
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
||||
};
|
||||
const DocsTocLinks = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
||||
__proto__: null,
|
||||
default: _sfc_main$2
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
||||
__name: "DocsToc",
|
||||
__ssrInlineRender: true,
|
||||
emits: ["move"],
|
||||
setup(__props, { emit }) {
|
||||
const { toc } = useContent();
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
var _a, _b;
|
||||
const _component_DocsTocLinks = _sfc_main$2;
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col space-y-1 sm:space-y-2" }, _attrs))}>`);
|
||||
if ((_b = (_a = unref(toc)) == null ? void 0 : _a.links) == null ? void 0 : _b.length) {
|
||||
_push(`<!--[--><div class="items-center hidden overflow-hidden text-sm font-semibold lg:flex"><span>Table of Contents</span></div>`);
|
||||
_push(ssrRenderComponent(_component_DocsTocLinks, {
|
||||
links: unref(toc).links,
|
||||
onMove: ($event) => emit("move")
|
||||
}, null, _parent));
|
||||
_push(`<!--]-->`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</div>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup$1 = _sfc_main$1.setup;
|
||||
_sfc_main$1.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsToc.vue");
|
||||
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
||||
};
|
||||
const DocsToc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
||||
__proto__: null,
|
||||
default: _sfc_main$1
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "DocsPageContent",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const { page, navigation } = useContent();
|
||||
const route = useRoute();
|
||||
const fallbackValue = (value, fallback = true) => {
|
||||
var _a;
|
||||
if (typeof ((_a = page.value) == null ? void 0 : _a[value]) !== "undefined") {
|
||||
return page.value[value];
|
||||
}
|
||||
return fallback;
|
||||
};
|
||||
const hasBody = computed(() => {
|
||||
var _a, _b, _c;
|
||||
return !page.value || ((_c = (_b = (_a = page.value) == null ? void 0 : _a.body) == null ? void 0 : _b.children) == null ? void 0 : _c.length) > 0;
|
||||
});
|
||||
const hasToc = computed(() => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
return ((_a = page.value) == null ? void 0 : _a.toc) !== false && ((_e = (_d = (_c = (_b = page.value) == null ? void 0 : _b.body) == null ? void 0 : _c.toc) == null ? void 0 : _d.links) == null ? void 0 : _e.length) >= 2;
|
||||
});
|
||||
const hasAside = computed(() => {
|
||||
var _a, _b;
|
||||
return ((_a = page.value) == null ? void 0 : _a.aside) !== false && ((_b = navigation.value) == null ? void 0 : _b.length) > 1;
|
||||
});
|
||||
const bottom = computed(() => fallbackValue("bottom", true));
|
||||
const isOpen = ref(false);
|
||||
const asideNav = ref(null);
|
||||
const getParentPath = () => route.path.split("/").slice(0, 2).join("/");
|
||||
useState("asideScroll", () => {
|
||||
var _a;
|
||||
return {
|
||||
parentPath: getParentPath(),
|
||||
scrollTop: ((_a = asideNav.value) == null ? void 0 : _a.scrollTop) || 0
|
||||
};
|
||||
});
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_AppContainer = _sfc_main$e;
|
||||
const _component_DocsAside = _sfc_main$5;
|
||||
const _component_Alert = _sfc_main$3$1;
|
||||
const _component_ProseCodeInline = __nuxt_component_3;
|
||||
const _component_DocsPageBottom = _sfc_main$4;
|
||||
const _component_ProseHr = __nuxt_component_5;
|
||||
const _component_DocsPrevNext = _sfc_main$3;
|
||||
const _component_Icon = _sfc_main$k;
|
||||
const _component_DocsToc = _sfc_main$1;
|
||||
_push(ssrRenderComponent(_component_AppContainer, mergeProps({
|
||||
padded: "",
|
||||
class: "relative flex flex-col-reverse lg:grid lg:grid-cols-12 lg:gap-8"
|
||||
}, _attrs), {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
if (unref(hasAside)) {
|
||||
_push2(`<aside class="lg:top-header hidden overflow-y-auto overflow-x-hidden pb-8 lg:sticky lg:col-span-2 lg:block lg:max-h-[calc(100vh-var(--header-height))] lg:self-start lg:pt-8" data-v-b001d96c${_scopeId}>`);
|
||||
_push2(ssrRenderComponent(_component_DocsAside, null, null, _parent2, _scopeId));
|
||||
_push2(`</aside>`);
|
||||
} else {
|
||||
_push2(`<!---->`);
|
||||
}
|
||||
_push2(`<article class="${ssrRenderClass([{
|
||||
"lg:col-span-12": !unref(hasAside) && !unref(hasToc),
|
||||
"lg:col-span-10": (!unref(hasToc) || !unref(hasAside)) && !(!unref(hasAside) && !unref(hasToc)),
|
||||
"lg:col-span-8": unref(hasToc) && unref(hasAside),
|
||||
"pt-12 lg:pt-8": unref(hasToc)
|
||||
}, "relative flex flex-col flex-1 pt-8 pb-8 lg:mt-0 page-body"])}" data-v-b001d96c${_scopeId}>`);
|
||||
if (unref(hasBody)) {
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
||||
} else {
|
||||
_push2(ssrRenderComponent(_component_Alert, {
|
||||
type: "info",
|
||||
class: "!mt-0"
|
||||
}, {
|
||||
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
||||
if (_push3) {
|
||||
_push3(` Start writing in `);
|
||||
_push3(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_3, _push4, _parent4, _scopeId3) => {
|
||||
if (_push4) {
|
||||
_push4(`content/${ssrInterpolate(unref(page)._file)}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode("content/" + toDisplayString(unref(page)._file), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent3, _scopeId2));
|
||||
_push3(` to see this page taking shape. `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Start writing in "),
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("content/" + toDisplayString(unref(page)._file), 1)
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createTextVNode(" to see this page taking shape. ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent2, _scopeId));
|
||||
}
|
||||
if (unref(hasBody) && unref(page) && unref(bottom)) {
|
||||
_push2(`<!--[-->`);
|
||||
_push2(ssrRenderComponent(_component_DocsPageBottom, null, null, _parent2, _scopeId));
|
||||
_push2(ssrRenderComponent(_component_ProseHr, null, null, _parent2, _scopeId));
|
||||
_push2(ssrRenderComponent(_component_DocsPrevNext, null, null, _parent2, _scopeId));
|
||||
_push2(`<!--]-->`);
|
||||
} else {
|
||||
_push2(`<!---->`);
|
||||
}
|
||||
_push2(`</article>`);
|
||||
if (unref(hasToc)) {
|
||||
_push2(`<div class="${ssrRenderClass([{
|
||||
"flex items-center lg:block": !isOpen.value
|
||||
}, "sticky flex items-center px-4 -mx-4 -mt-8 toc top-header lg:max-h-page sm:-mx-6 sm:px-6 lg:col-span-2 lg:mx-0 lg:self-start lg:bg-transparent lg:px-0 lg:pt-8 lg:backdrop-blur-none overflow-y-auto overflow-x-hidden"])}" data-v-b001d96c${_scopeId}><div class="w-full cursor-pointer sm:cursor-auto" data-v-b001d96c${_scopeId}><button class="flex items-center gap-1 py-3 lg:hidden" data-v-b001d96c${_scopeId}><span class="text-xs font-semibold" data-v-b001d96c${_scopeId}>Table of Contents</span>`);
|
||||
_push2(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:chevron-right",
|
||||
class: ["w-4 h-4 transition-transform duration-100 transform", [isOpen.value ? "rotate-90" : "rotate-0"]]
|
||||
}, null, _parent2, _scopeId));
|
||||
_push2(`</button>`);
|
||||
_push2(ssrRenderComponent(_component_DocsToc, {
|
||||
class: ["mb-4 lg:mt-0", [isOpen.value ? "lg:block" : "hidden lg:block"]],
|
||||
onMove: ($event) => isOpen.value = false
|
||||
}, null, _parent2, _scopeId));
|
||||
_push2(`</div></div>`);
|
||||
} else {
|
||||
_push2(`<!---->`);
|
||||
}
|
||||
} else {
|
||||
return [
|
||||
unref(hasAside) ? (openBlock(), createBlock("aside", {
|
||||
key: 0,
|
||||
ref_key: "asideNav",
|
||||
ref: asideNav,
|
||||
class: "lg:top-header hidden overflow-y-auto overflow-x-hidden pb-8 lg:sticky lg:col-span-2 lg:block lg:max-h-[calc(100vh-var(--header-height))] lg:self-start lg:pt-8"
|
||||
}, [
|
||||
createVNode(_component_DocsAside)
|
||||
], 512)) : createCommentVNode("", true),
|
||||
createVNode("article", {
|
||||
class: ["relative flex flex-col flex-1 pt-8 pb-8 lg:mt-0 page-body", {
|
||||
"lg:col-span-12": !unref(hasAside) && !unref(hasToc),
|
||||
"lg:col-span-10": (!unref(hasToc) || !unref(hasAside)) && !(!unref(hasAside) && !unref(hasToc)),
|
||||
"lg:col-span-8": unref(hasToc) && unref(hasAside),
|
||||
"pt-12 lg:pt-8": unref(hasToc)
|
||||
}]
|
||||
}, [
|
||||
unref(hasBody) ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : (openBlock(), createBlock(_component_Alert, {
|
||||
key: 1,
|
||||
type: "info",
|
||||
class: "!mt-0"
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Start writing in "),
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("content/" + toDisplayString(unref(page)._file), 1)
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createTextVNode(" to see this page taking shape. ")
|
||||
]),
|
||||
_: 1
|
||||
})),
|
||||
unref(hasBody) && unref(page) && unref(bottom) ? (openBlock(), createBlock(Fragment, { key: 2 }, [
|
||||
createVNode(_component_DocsPageBottom),
|
||||
createVNode(_component_ProseHr),
|
||||
createVNode(_component_DocsPrevNext)
|
||||
], 64)) : createCommentVNode("", true)
|
||||
], 2),
|
||||
unref(hasToc) ? (openBlock(), createBlock("div", {
|
||||
key: 1,
|
||||
class: [{
|
||||
"flex items-center lg:block": !isOpen.value
|
||||
}, "sticky flex items-center px-4 -mx-4 -mt-8 toc top-header lg:max-h-page sm:-mx-6 sm:px-6 lg:col-span-2 lg:mx-0 lg:self-start lg:bg-transparent lg:px-0 lg:pt-8 lg:backdrop-blur-none overflow-y-auto overflow-x-hidden"]
|
||||
}, [
|
||||
createVNode("div", {
|
||||
class: "w-full cursor-pointer sm:cursor-auto",
|
||||
onClick: ($event) => isOpen.value = !isOpen.value
|
||||
}, [
|
||||
createVNode("button", { class: "flex items-center gap-1 py-3 lg:hidden" }, [
|
||||
createVNode("span", { class: "text-xs font-semibold" }, "Table of Contents"),
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:chevron-right",
|
||||
class: ["w-4 h-4 transition-transform duration-100 transform", [isOpen.value ? "rotate-90" : "rotate-0"]]
|
||||
}, null, 8, ["class"])
|
||||
]),
|
||||
createVNode(_component_DocsToc, {
|
||||
class: ["mb-4 lg:mt-0", [isOpen.value ? "lg:block" : "hidden lg:block"]],
|
||||
onMove: ($event) => isOpen.value = false
|
||||
}, null, 8, ["class", "onMove"])
|
||||
], 8, ["onClick"])
|
||||
], 2)) : createCommentVNode("", true)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 3
|
||||
}, _parent));
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsPageContent.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const __nuxt_component_0 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b001d96c"]]);
|
||||
const DocsPageContent = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
||||
__proto__: null,
|
||||
default: __nuxt_component_0
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
|
||||
export { DocsAside as D, __nuxt_component_0 as _, DocsPageBottom as a, DocsPrevNext as b, DocsTocLinks as c, DocsToc as d, DocsPageContent as e };
|
||||
//# sourceMappingURL=DocsPageContent.bec8eeca.mjs.map
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 105 104",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path fill-rule="evenodd" clip-rule="evenodd" d="M104.297.31104.87354.3111V103.735H104.297V.31104ZM93.7196 93.1572V10.8885H11.4509v82.2687h82.2687Z" fill="currentColor"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconCodeSandBox.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconCodeSandBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconCodeSandBox as default };
|
||||
//# sourceMappingURL=IconCodeSandBox.5a8596cc.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconCodeSandBox.5a8596cc.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconCodeSandBox.5a8596cc.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,aAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAA0L,CAAA,uLAAA,CAAA,CAAA,CAAA;AACtM,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,wJAAwJ,CAAA,CAAA;AACrO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,eAAA,+BAA8C,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 57 57",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path fill-rule="evenodd" clip-rule="evenodd" d="M28.5445 0C12.8044 0 0 12.7599 0 28.5v25.4549c0 1.5835 1.28368 2.8672 2.86718 2.8672H28.5889C44.2799 56.8221 57 44.102 57 28.4111 57 12.7201 44.2355 0 28.5445 0Zm15.4963 34.452c3.3649 0 6.0927-2.7278 6.0927-6.0928 0-3.3649-2.7278-6.0927-6.0927-6.0927-3.365 0-6.0928 2.7278-6.0928 6.0927 0 3.365 2.7278 6.0928 6.0928 6.0928Zm-18.0833.0003c3.3649 0 6.0927-2.7278 6.0927-6.0927s-2.7278-6.0928-6.0927-6.0928-6.0928 2.7279-6.0928 6.0928c0 3.3649 2.7279 6.0927 6.0928 6.0927Z" fill="currentColor"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconDocus.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconDocus = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconDocus as default };
|
||||
//# sourceMappingURL=IconDocus.52e94c6e.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconDocus.52e94c6e.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconDocus.52e94c6e.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,WAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAA6iB,CAAA,0iBAAA,CAAA,CAAA,CAAA;AACzjB,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,kJAAkJ,CAAA,CAAA;AAC/N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,SAAA,+BAAwC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 124 124",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path fill-rule="evenodd" clip-rule="evenodd" d="M55.7498 27.1551C52.5277 21.615 44.4723 21.6149 41.2502 27.1551L6.13404 87.5346C2.91191 93.0748 6.93956 100 13.3838 100H40.7975C38.0438 97.5934 37.0241 93.4303 39.1079 89.8584L65.7033 44.2694L55.7498 27.1551Z" fill="currentColor"></path><path d="M78.0002 40.3997C80.6668 35.8668 87.3332 35.8668 89.9998 40.3997L119.061 89.801C121.728 94.3339 118.395 100 113.062 100H54.9383C49.6052 100 46.2719 94.3339 48.9385 89.801L78.0002 40.3997Z" fill="currentColor"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconNuxt.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconNuxt = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconNuxt as default };
|
||||
//# sourceMappingURL=IconNuxt.af013054.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconNuxt.af013054.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconNuxt.af013054.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,aAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAAygB,CAAA,sgBAAA,CAAA,CAAA,CAAA;AACrhB,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,iJAAiJ,CAAA,CAAA;AAC9N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,QAAA,+BAAuC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 100 100",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path d="M53.0214 38.137C55.1705 41.8324 52.4842 46.4516 48.1861 46.4516H21.5917C17.2936 46.4516 14.6073 41.8323 16.7564 38.137L30.0536 15.272C32.2026 11.5766 37.5752 11.5766 39.7242 15.272L53.0214 38.137Z" fill="#00CD81"></path><path d="M60.3763 68.7869C62.5253 65.0919 67.8979 65.0919 70.047 68.7869L83.3442 91.6497C85.4932 95.3447 82.8069 99.9634 78.5088 99.9634H51.9144C47.6164 99.9634 44.9301 95.3447 47.0791 91.6497L60.3763 68.7869Z" fill="#003E27"></path><path d="M70.047 31.1765C67.8979 34.8716 62.5253 34.8716 60.3763 31.1765L47.0791 8.31374C44.9301 4.6187 47.6164 0 51.9144 0H78.5088C82.8069 0 85.4932 4.6187 83.3442 8.31374L70.047 31.1765Z" fill="#99EBCD"></path><path d="M48.1861 55.0018C52.4842 55.0018 55.1705 59.621 53.0214 63.3164L39.7242 86.1814C37.5752 89.8769 32.2026 89.8767 30.0536 86.1814L16.7564 63.3164C14.6073 59.621 17.2936 55.0018 21.5917 55.0018H48.1861Z" fill="#007B4D"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconNuxtContent.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconNuxtContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconNuxtContent as default };
|
||||
//# sourceMappingURL=IconNuxtContent.5fd49a0b.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconNuxtContent.5fd49a0b.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconNuxtContent.5fd49a0b.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,aAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAAo5B,CAAA,i5BAAA,CAAA,CAAA,CAAA;AACh6B,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,wJAAwJ,CAAA,CAAA;AACrO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,eAAA,+BAA8C,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 72 72",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path d="M39.4645 56.1168H62.5554C63.2888 56.1169 64.0093 55.9266 64.6445 55.5649C65.2796 55.2033 65.807 54.6831 66.1736 54.0567C66.5401 53.4303 66.7329 52.7198 66.7326 51.9966C66.7323 51.2734 66.5388 50.5631 66.1717 49.937L50.6645 23.4515C50.298 22.8253 49.7707 22.3053 49.1357 21.9437C48.5007 21.5821 47.7803 21.3917 47.0471 21.3917C46.3138 21.3917 45.5934 21.5821 44.9584 21.9437C44.3234 22.3053 43.7962 22.8253 43.4296 23.4515L39.4645 30.2282L31.712 16.9766C31.3452 16.3504 30.8177 15.8305 30.1825 15.469C29.5473 15.1074 28.8268 14.9171 28.0934 14.9171C27.36 14.9171 26.6396 15.1074 26.0044 15.469C25.3692 15.8305 24.8417 16.3504 24.4749 16.9766L5.17805 49.937C4.81095 50.5631 4.61751 51.2734 4.61719 51.9966C4.61687 52.7198 4.80968 53.4303 5.17624 54.0567C5.54279 54.6831 6.07016 55.2033 6.7053 55.5649C7.34044 55.9266 8.06096 56.1169 8.79438 56.1168H23.2889C29.0318 56.1168 33.267 53.6294 36.1812 48.7765L43.2563 36.6943L47.046 30.2282L58.4193 49.6508H43.2563L39.4645 56.1168ZM23.0526 49.6441L12.9373 49.6419L28.1002 23.7467L35.6659 36.6943L30.6003 45.3482C28.665 48.4969 26.4664 49.6441 23.0526 49.6441Z" fill="currentColor"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconNuxtLabs.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconNuxtLabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconNuxtLabs as default };
|
||||
//# sourceMappingURL=IconNuxtLabs.9cb330fe.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconNuxtLabs.9cb330fe.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconNuxtLabs.9cb330fe.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,WAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAA6nC,CAAA,0nCAAA,CAAA,CAAA,CAAA;AACzoC,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,qJAAqJ,CAAA,CAAA;AAClO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,YAAA,+BAA2C,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 25 25",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path d="M11.46 14.773H4L17.638 0l-3.671 10.227h7.46L7.788 25l3.671-10.227h.001Z" fill="currentColor"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconStackBlitz.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconStackBlitz = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconStackBlitz as default };
|
||||
//# sourceMappingURL=IconStackBlitz.db7033b5.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconStackBlitz.db7033b5.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconStackBlitz.db7033b5.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,WAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAAuH,CAAA,oHAAA,CAAA,CAAA,CAAA;AACnI,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,uJAAuJ,CAAA,CAAA;AACpO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,cAAA,+BAA6C,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,74 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<svg${ssrRenderAttrs(mergeProps({
|
||||
viewBox: "0 0 124 124",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, _attrs))}><path d="M48 82.5887L57.1066 98.175C59.3073 101.942 64.8092 101.942 67.0102 98.175L101 40H72.8834L48 82.5887Z" fill="currentColor"></path><path d="M77 33H104.936L105.23 32.4924C107.417 28.718 104.684 24 100.31 24H82.2142L77 33Z" fill="currentColor"></path><path d="M74 24L68.7601 33H19.0689L18.7734 32.4924C16.5759 28.718 19.3228 24 23.7177 24H74Z" fill="currentColor"></path><path d="M65 40L44 76L23 40H65Z" fill="currentColor"></path></svg>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/icons/IconVueTelescope.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const IconVueTelescope = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { IconVueTelescope as default };
|
||||
//# sourceMappingURL=IconVueTelescope.a7660049.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IconVueTelescope.a7660049.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/IconVueTelescope.a7660049.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,IAAA,EAAO,eAAe,UAAW,CAAA;AAAA,IACrC,OAAS,EAAA,aAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,4BAAA;AAAA,GACT,EAAG,MAAM,CAAC,CAA8b,CAAA,2bAAA,CAAA,CAAA,CAAA;AAC1c,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,yJAAyJ,CAAA,CAAA;AACtO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,gBAAA,+BAA+C,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,cAAc,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const List_vue_vue_type_style_index_0_lang = ".list-primary{color:var(--colors-primary-500)}.list-info{--tw-text-opacity:1;color:rgb(26 173 255/var(--tw-text-opacity))}.dark .list-info{--tw-text-opacity:1;color:rgb(64 187 255/var(--tw-text-opacity))}.list-success{--tw-text-opacity:1;color:rgb(0 189 111/var(--tw-text-opacity))}.dark .list-success{--tw-text-opacity:1;color:rgb(0 220 130/var(--tw-text-opacity))}.list-warning{--tw-text-opacity:1;color:rgb(245 200 40/var(--tw-text-opacity))}.dark .list-warning{--tw-text-opacity:1;color:rgb(247 209 76/var(--tw-text-opacity))}.list-danger{--tw-text-opacity:1;color:rgb(255 40 26/var(--tw-text-opacity))}.dark .list-danger{--tw-text-opacity:1;color:rgb(255 76 64/var(--tw-text-opacity))}";
|
||||
|
||||
const ListStyles_4752abee = [List_vue_vue_type_style_index_0_lang];
|
||||
|
||||
export { ListStyles_4752abee as default };
|
||||
//# sourceMappingURL=List-styles.4752abee.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"List-styles.4752abee.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/List-styles-1.mjs.64233556.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/List-styles.4752abee.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,oCAAuC,GAAA,orBAAA;;ACC7C,4BAAe,CAACA,oCAAO;;;;"}
|
||||
@@ -0,0 +1,103 @@
|
||||
import { a as _sfc_main$k, C as ContentSlot, c as useUnwrap } from '../server.mjs';
|
||||
import { defineComponent, useSlots, computed, h, useSSRContext } from 'vue';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import 'vue/server-renderer';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const iconTypeMap = {
|
||||
primary: "heroicons-outline:check",
|
||||
info: "heroicons-outline:information-circle",
|
||||
success: "heroicons-outline:check-circle",
|
||||
warning: "heroicons-outline:exclamation",
|
||||
danger: "heroicons-outline:exclamation-circle"
|
||||
};
|
||||
const _sfc_main = defineComponent({
|
||||
props: {
|
||||
icon: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: "primary",
|
||||
validator: (value) => ["primary", "info", "success", "warning", "danger"].includes(value)
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
const slots = useSlots();
|
||||
const { flatUnwrap, unwrap } = useUnwrap();
|
||||
const iconName = computed(() => props.icon || iconTypeMap[props.type]);
|
||||
return () => {
|
||||
var _a;
|
||||
const items = flatUnwrap((_a = slots.default && slots.default()) != null ? _a : [], ["ul"]).map((li) => unwrap(li, ["li"]));
|
||||
return h(
|
||||
"ul",
|
||||
items.map(
|
||||
(item) => h("li", { class: "mb-3 flex items-center" }, [
|
||||
h("span", { class: `list-${props.type} mt-px mr-3 flex-shrink-0` }, h(_sfc_main$k, { name: iconName.value, class: "h-6 w-6" })),
|
||||
h("span", h(ContentSlot, { use: () => item }))
|
||||
])
|
||||
)
|
||||
);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/List.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=List.4a15dbda.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"List.4a15dbda.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/List.4a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AI,CAAC,CAAC,CAAA,CAAA;AAC1H,MAAO,OAAA,CAAA;AAAA,QACL,IAAA;AAAA,QACA,KAAM,CAAA,GAAA;AAAA,UACJ,CAAC,IAAS,KAAA,CAAA,CAAE,MAAM,EAAE,KAAA,EAAO,0BAA4B,EAAA;AAAA,YACrD,EAAE,MAAQ,EAAA,EAAE,KAAO,EAAA,CAAA,KAAA,EAAQ,MAAM,IAAgC,CAAA,yBAAA,CAAA,EAAA,EAAG,CAAE,CAAAA,WAAA,EAAa,EAAE,IAAM,EAAA,QAAA,CAAS,OAAO,KAAO,EAAA,SAAA,EAAW,CAAC,CAAA;AAAA,YAC9H,CAAA,CAAE,QAAQ,CAAE,CAAA,WAAA,EAAa,EAAE,GAAK,EAAA,MAAM,IAAK,EAAC,CAAC,CAAA;AAAA,WAC9C,CAAA;AAAA,SACH;AAAA,OACF,CAAA;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AAED,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,+IAA+I,CAAA,CAAA;AAC5N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,85 @@
|
||||
import { defineComponent, getCurrentInstance, useSlots, computed, useSSRContext } from 'vue';
|
||||
import { C as ContentSlot } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import 'vue/server-renderer';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = defineComponent({
|
||||
name: "Markdown",
|
||||
extends: ContentSlot,
|
||||
setup(props) {
|
||||
const { parent } = getCurrentInstance();
|
||||
const { between, default: fallbackSlot } = useSlots();
|
||||
const tags = computed(() => {
|
||||
if (typeof props.unwrap === "string") {
|
||||
return props.unwrap.split(" ");
|
||||
}
|
||||
return ["*"];
|
||||
});
|
||||
return {
|
||||
fallbackSlot,
|
||||
tags,
|
||||
between,
|
||||
parent
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+content-edge@2.2.1-27781144.409f03f/node_modules/@nuxt/content-edge/dist/runtime/components/Markdown.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=Markdown.5816b7b6.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Markdown.5816b7b6.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/Markdown.5816b7b6.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,YAAY,eAAgB,CAAA;AAAA,EAChC,IAAM,EAAA,UAAA;AAAA,EACN,OAAS,EAAA,WAAA;AAAA,EACT,MAAM,KAAO,EAAA;AACX,IAAM,MAAA,EAAE,MAAO,EAAA,GAAI,kBAAmB,EAAA,CAAA;AACtC,IAAA,MAAM,EAAE,OAAA,EAAS,OAAS,EAAA,YAAA,KAAiB,QAAS,EAAA,CAAA;AACpD,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAI,IAAA,OAAO,KAAM,CAAA,MAAA,KAAW,QAAU,EAAA;AACpC,QAAO,OAAA,KAAA,CAAM,MAAO,CAAA,KAAA,CAAM,GAAG,CAAA,CAAA;AAAA,OAC/B;AACA,MAAA,OAAO,CAAC,GAAG,CAAA,CAAA;AAAA,KACZ,CAAA,CAAA;AACD,IAAO,OAAA;AAAA,MACL,YAAA;AAAA,MACA,IAAA;AAAA,MACA,OAAA;AAAA,MACA,MAAA;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,sIAAsI,CAAA,CAAA;AACnN,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { N as Navbar_vue_vue_type_style_index_0_scoped_ffc00f42_lang } from '../styles.mjs';
|
||||
|
||||
const NavbarStyles_94af96c4 = [Navbar_vue_vue_type_style_index_0_scoped_ffc00f42_lang];
|
||||
|
||||
export { NavbarStyles_94af96c4 as default };
|
||||
//# sourceMappingURL=Navbar-styles.94af96c4.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Navbar-styles.94af96c4.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/Navbar-styles.94af96c4.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,8BAAe,CAACA,sDAAO;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { a as NavbarCenter_vue_vue_type_style_index_0_scoped_81e0b9ad_lang } from '../styles.mjs';
|
||||
|
||||
const NavbarCenterStyles_bf626dc1 = [NavbarCenter_vue_vue_type_style_index_0_scoped_81e0b9ad_lang];
|
||||
|
||||
export { NavbarCenterStyles_bf626dc1 as default };
|
||||
//# sourceMappingURL=NavbarCenter-styles.bf626dc1.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NavbarCenter-styles.bf626dc1.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/NavbarCenter-styles.bf626dc1.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,oCAAe,CAACA,4DAAO;;;;"}
|
||||
@@ -0,0 +1,61 @@
|
||||
import { defineComponent, computed, h, useSSRContext } from 'vue';
|
||||
|
||||
const _sfc_main = defineComponent({
|
||||
props: {
|
||||
src: {
|
||||
type: [String, Object],
|
||||
default: null
|
||||
},
|
||||
alt: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
width: {
|
||||
type: [String, Number],
|
||||
default: void 0
|
||||
},
|
||||
height: {
|
||||
type: [String, Number],
|
||||
default: void 0
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
const imgSrc = computed(() => {
|
||||
let src = props.src;
|
||||
try {
|
||||
src = JSON.parse(src);
|
||||
} catch (e) {
|
||||
src = props.src;
|
||||
}
|
||||
if (typeof src === "string") {
|
||||
return props.src;
|
||||
}
|
||||
return src;
|
||||
});
|
||||
return {
|
||||
imgSrc
|
||||
};
|
||||
},
|
||||
render({ imgSrc }) {
|
||||
if (typeof imgSrc === "string") {
|
||||
return h("img", { src: imgSrc });
|
||||
}
|
||||
const nodes = [];
|
||||
if (imgSrc.light) {
|
||||
nodes.push(h("img", { src: imgSrc.light, class: ["dark-img"] }));
|
||||
}
|
||||
if (imgSrc.dark) {
|
||||
nodes.push(h("img", { src: imgSrc.dark, class: ["light-img"] }));
|
||||
}
|
||||
return nodes;
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/NuxtImg.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=NuxtImg.b4209846.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NuxtImg.b4209846.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/NuxtImg.b4209846.js"],"sourcesContent":null,"names":[],"mappings":";;AACA,MAAM,YAAY,eAAgB,CAAA;AAAA,EAChC,KAAO,EAAA;AAAA,IACL,GAAK,EAAA;AAAA,MACH,IAAA,EAAM,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,MACrB,OAAS,EAAA,IAAA;AAAA,KACX;AAAA,IACA,GAAK,EAAA;AAAA,MACH,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,EAAA;AAAA,KACX;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAA,EAAM,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,MACrB,OAAS,EAAA,KAAA,CAAA;AAAA,KACX;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAA,EAAM,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,MACrB,OAAS,EAAA,KAAA,CAAA;AAAA,KACX;AAAA,GACF;AAAA,EACA,MAAM,KAAO,EAAA;AACX,IAAM,MAAA,MAAA,GAAS,SAAS,MAAM;AAC5B,MAAA,IAAI,MAAM,KAAM,CAAA,GAAA,CAAA;AAChB,MAAI,IAAA;AACF,QAAM,GAAA,GAAA,IAAA,CAAK,MAAM,GAAG,CAAA,CAAA;AAAA,eACb,CAAP,EAAA;AACA,QAAA,GAAA,GAAM,KAAM,CAAA,GAAA,CAAA;AAAA,OACd;AACA,MAAI,IAAA,OAAO,QAAQ,QAAU,EAAA;AAC3B,QAAA,OAAO,KAAM,CAAA,GAAA,CAAA;AAAA,OACf;AACA,MAAO,OAAA,GAAA,CAAA;AAAA,KACR,CAAA,CAAA;AACD,IAAO,OAAA;AAAA,MACL,MAAA;AAAA,KACF,CAAA;AAAA,GACF;AAAA,EACA,MAAA,CAAO,EAAE,MAAA,EAAU,EAAA;AACjB,IAAI,IAAA,OAAO,WAAW,QAAU,EAAA;AAC9B,MAAA,OAAO,CAAE,CAAA,KAAA,EAAO,EAAE,GAAA,EAAK,QAAQ,CAAA,CAAA;AAAA,KACjC;AACA,IAAA,MAAM,QAAQ,EAAC,CAAA;AACf,IAAA,IAAI,OAAO,KAAO,EAAA;AAChB,MAAA,KAAA,CAAM,IAAK,CAAA,CAAA,CAAE,KAAO,EAAA,EAAE,GAAK,EAAA,MAAA,CAAO,KAAO,EAAA,KAAA,EAAO,CAAC,UAAU,CAAE,EAAC,CAAC,CAAA,CAAA;AAAA,KACjE;AACA,IAAA,IAAI,OAAO,IAAM,EAAA;AACf,MAAA,KAAA,CAAM,IAAK,CAAA,CAAA,CAAE,KAAO,EAAA,EAAE,GAAK,EAAA,MAAA,CAAO,IAAM,EAAA,KAAA,EAAO,CAAC,WAAW,CAAE,EAAC,CAAC,CAAA,CAAA;AAAA,KACjE;AACA,IAAO,OAAA,KAAA,CAAA;AAAA,GACT;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,kJAAkJ,CAAA,CAAA;AAC/N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,170 @@
|
||||
import { u as useContent, g as useDocus, a as _sfc_main$k, f as __nuxt_component_0$3 } from '../server.mjs';
|
||||
import { defineComponent, computed, resolveComponent, mergeProps, unref, withCtx, createVNode, openBlock, createBlock, Fragment, renderList, createCommentVNode, useSSRContext } from 'vue';
|
||||
import { ssrRenderComponent, ssrRenderList, ssrRenderAttr } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "PageContributors",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const { page } = useContent();
|
||||
const docus = useDocus();
|
||||
const root = computed(() => {
|
||||
var _a;
|
||||
return ((_a = docus.value.github) == null ? void 0 : _a.root) || "/";
|
||||
});
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
var _a;
|
||||
const _component_GithubFileContributors = resolveComponent("GithubFileContributors");
|
||||
const _component_Icon = _sfc_main$k;
|
||||
const _component_NuxtLink = __nuxt_component_0$3;
|
||||
_push(ssrRenderComponent(_component_GithubFileContributors, mergeProps({
|
||||
source: unref(root) + ((_a = unref(page)) == null ? void 0 : _a._file)
|
||||
}, _attrs), {
|
||||
default: withCtx(({ contributors, pending }, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`<div class="flex flex-col gap-4"${_scopeId}><span class="flex items-center inline-block gap-2 text-sm grow-0"${_scopeId}>`);
|
||||
_push2(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:user-group",
|
||||
class: "w-5 h-5"
|
||||
}, null, _parent2, _scopeId));
|
||||
_push2(`<span${_scopeId}>Contributors</span></span>`);
|
||||
if (contributors == null ? void 0 : contributors.length) {
|
||||
_push2(`<div class="flex flex-wrap gap-2"${_scopeId}><!--[-->`);
|
||||
ssrRenderList(contributors, (contributor) => {
|
||||
_push2(ssrRenderComponent(_component_NuxtLink, {
|
||||
key: contributor.login,
|
||||
alt: contributor.name,
|
||||
title: `@${contributor.login} on GitHub`,
|
||||
to: `https://github.com/${contributor.login}`
|
||||
}, {
|
||||
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
||||
if (_push3) {
|
||||
_push3(`<img${ssrRenderAttr("src", contributor.avatar_url)} class="inline-block w-6 h-6 transition-colors rounded-full u-ring-gray-200 hover:ring-primary-500 ring-2"${_scopeId2}>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("img", {
|
||||
src: contributor.avatar_url,
|
||||
class: "inline-block w-6 h-6 transition-colors rounded-full u-ring-gray-200 hover:ring-primary-500 ring-2"
|
||||
}, null, 8, ["src"])
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent2, _scopeId));
|
||||
});
|
||||
_push2(`<!--]--></div>`);
|
||||
} else if (pending) {
|
||||
_push2(`<span class="block w-6 h-6 opacity-0"${_scopeId}>\xA0</span>`);
|
||||
} else if (!pending && !(contributors == null ? void 0 : contributors.length)) {
|
||||
_push2(`<span class="block u-text-gray-500"${_scopeId}>No contributors.</span>`);
|
||||
} else {
|
||||
_push2(`<!---->`);
|
||||
}
|
||||
_push2(`</div>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("div", { class: "flex flex-col gap-4" }, [
|
||||
createVNode("span", { class: "flex items-center inline-block gap-2 text-sm grow-0" }, [
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:user-group",
|
||||
class: "w-5 h-5"
|
||||
}),
|
||||
createVNode("span", null, "Contributors")
|
||||
]),
|
||||
(contributors == null ? void 0 : contributors.length) ? (openBlock(), createBlock("div", {
|
||||
key: 0,
|
||||
class: "flex flex-wrap gap-2"
|
||||
}, [
|
||||
(openBlock(true), createBlock(Fragment, null, renderList(contributors, (contributor) => {
|
||||
return openBlock(), createBlock(_component_NuxtLink, {
|
||||
key: contributor.login,
|
||||
alt: contributor.name,
|
||||
title: `@${contributor.login} on GitHub`,
|
||||
to: `https://github.com/${contributor.login}`
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createVNode("img", {
|
||||
src: contributor.avatar_url,
|
||||
class: "inline-block w-6 h-6 transition-colors rounded-full u-ring-gray-200 hover:ring-primary-500 ring-2"
|
||||
}, null, 8, ["src"])
|
||||
]),
|
||||
_: 2
|
||||
}, 1032, ["alt", "title", "to"]);
|
||||
}), 128))
|
||||
])) : pending ? (openBlock(), createBlock("span", {
|
||||
key: 1,
|
||||
class: "block w-6 h-6 opacity-0"
|
||||
}, "\xA0")) : !pending && !(contributors == null ? void 0 : contributors.length) ? (openBlock(), createBlock("span", {
|
||||
key: 2,
|
||||
class: "block u-text-gray-500"
|
||||
}, "No contributors.")) : createCommentVNode("", true)
|
||||
])
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/github/PageContributors.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=PageContributors.5b836a40.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PageContributors.5b836a40.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/PageContributors.5b836a40.js"],"sourcesContent":null,"names":["_sfc_main$1","__nuxt_component_0"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,kBAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,MAAM,OAAS,EAAA;AACb,IAAM,MAAA,EAAE,IAAK,EAAA,GAAI,UAAW,EAAA,CAAA;AAC5B,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAI,IAAA,EAAA,CAAA;AACJ,MAAA,OAAA,CAAA,CAAS,KAAK,KAAM,CAAA,KAAA,CAAM,WAAW,IAAO,GAAA,KAAA,CAAA,GAAS,GAAG,IAAS,KAAA,GAAA,CAAA;AAAA,KAClE,CAAA,CAAA;AACD,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAW,KAAA;AACvC,MAAI,IAAA,EAAA,CAAA;AACJ,MAAM,MAAA,iCAAA,GAAoC,iBAAi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AG,CAAA;AAAA,iBACR,CAAK,IAAA,OAAA,IAAW,SAAU,EAAA,EAAG,YAAY,MAAQ,EAAA;AAAA,kBAChD,GAAK,EAAA,CAAA;AAAA,kBACL,KAAO,EAAA,yBAAA;AAAA,iBACN,EAAA,MAAM,CAAK,IAAA,CAAC,WAAW,EAAE,YAAA,IAAgB,IAAO,GAAA,KAAA,CAAA,GAAS,YAAa,CAAA,MAAA,CAAA,IAAW,SAAU,EAAA,EAAG,YAAY,MAAQ,EAAA;AAAA,kBACnH,GAAK,EAAA,CAAA;AAAA,kBACL,KAAO,EAAA,uBAAA;AAAA,iBACN,EAAA,kBAAkB,CAAK,IAAA,kBAAA,CAAmB,IAAI,IAAI,CAAA;AAAA,eACtD,CAAA;AAAA,aACH,CAAA;AAAA,WACF;AAAA,SACD,CAAA;AAAA,QACD,CAAG,EAAA,CAAA;AAAA,OACL,EAAG,OAAO,CAAC,CAAA,CAAA;AAAA,KACb,CAAA;AAAA,GACF;AACF,CAAC,EAAA;AACD,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,0JAA0J,CAAA,CAAA;AACvO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,139 @@
|
||||
import { u as useContent, g as useDocus, f as __nuxt_component_0$3, a as _sfc_main$k } from '../server.mjs';
|
||||
import { defineComponent, computed, resolveComponent, mergeProps, unref, withCtx, createVNode, useSSRContext } from 'vue';
|
||||
import { ssrRenderComponent } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "PageEditLink",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
const { page } = useContent();
|
||||
const docus = useDocus();
|
||||
const root = computed(() => {
|
||||
var _a;
|
||||
return ((_a = docus.value.github) == null ? void 0 : _a.root) || "/";
|
||||
});
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_GithubLink = resolveComponent("GithubLink");
|
||||
const _component_NuxtLink = __nuxt_component_0$3;
|
||||
const _component_Icon = _sfc_main$k;
|
||||
_push(ssrRenderComponent(_component_GithubLink, mergeProps({
|
||||
"content-dir": unref(root),
|
||||
page: unref(page)
|
||||
}, _attrs), {
|
||||
default: withCtx((data, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`<span class="flex"${_scopeId}>`);
|
||||
_push2(ssrRenderComponent(_component_NuxtLink, {
|
||||
href: data == null ? void 0 : data.url,
|
||||
target: "_blank",
|
||||
rel: "noopener",
|
||||
class: "flex items-center inline-block gap-2 text-sm hover:text-primary-500 grow-0"
|
||||
}, {
|
||||
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
||||
if (_push3) {
|
||||
_push3(ssrRenderComponent(_component_Icon, {
|
||||
name: "heroicons-outline:external-link",
|
||||
class: "w-5 h-5"
|
||||
}, null, _parent3, _scopeId2));
|
||||
_push3(`<span${_scopeId2}>Edit this page on GitHub</span>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:external-link",
|
||||
class: "w-5 h-5"
|
||||
}),
|
||||
createVNode("span", null, "Edit this page on GitHub")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent2, _scopeId));
|
||||
_push2(`</span>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("span", { class: "flex" }, [
|
||||
createVNode(_component_NuxtLink, {
|
||||
href: data == null ? void 0 : data.url,
|
||||
target: "_blank",
|
||||
rel: "noopener",
|
||||
class: "flex items-center inline-block gap-2 text-sm hover:text-primary-500 grow-0"
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_Icon, {
|
||||
name: "heroicons-outline:external-link",
|
||||
class: "w-5 h-5"
|
||||
}),
|
||||
createVNode("span", null, "Edit this page on GitHub")
|
||||
]),
|
||||
_: 2
|
||||
}, 1032, ["href"])
|
||||
])
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/github/PageEditLink.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
|
||||
export { _sfc_main as default };
|
||||
//# sourceMappingURL=PageEditLink.5dbc9a15.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PageEditLink.5dbc9a15.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/PageEditLink.5dbc9a15.js"],"sourcesContent":null,"names":["__nuxt_component_0","_sfc_main$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,cAAA;AAAA,EACR,iBAAmB,EAAA,IAAA;AAAA,EACnB,MAAM,OAAS,EAAA;AACb,IAAM,MAAA,EAAE,IAAK,EAAA,GAAI,UAAW,EAAA,CAAA;AAC5B,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAI,IAAA,EAAA,CAAA;AACJ,MAAA,OAAA,CAAA,CAAS,KAAK,KAAM,CAAA,KAAA,CAAM,WAAW,IAAO,GAAA,KAAA,CAAA,GAAS,GAAG,IAAS,KAAA,GAAA,CAAA;AAAA,KAClE,CAAA,CAAA;AACD,IAAA,OAAO,CAAC,IAAA,EAAM,KAAO,EAAA,OAAA,EAA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AAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,sJAAsJ,CAAA,CAAA;AACnO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA;;;;"}
|
||||
@@ -0,0 +1,867 @@
|
||||
import __nuxt_component_0 from './ProseTable.3ea7dd7f.mjs';
|
||||
import __nuxt_component_1 from './ProseThead.2114e7bd.mjs';
|
||||
import __nuxt_component_2 from './ProseTr.44ef8373.mjs';
|
||||
import __nuxt_component_3 from './ProseTh.52bbadec.mjs';
|
||||
import __nuxt_component_4 from './ProseTbody.82952be8.mjs';
|
||||
import __nuxt_component_5 from './ProseTd.2488f163.mjs';
|
||||
import __nuxt_component_3$1 from './ProseCodeInline.b9cff2ce.mjs';
|
||||
import { defineComponent, computed, useSSRContext, withCtx, createTextVNode, createVNode, openBlock, createBlock, createCommentVNode, toDisplayString, Fragment, renderList } from 'vue';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import { u as useAsyncData } from './asyncData.cada7b2c.mjs';
|
||||
import { kebabCase } from 'scule';
|
||||
import { ssrRenderComponent, ssrRenderList, ssrInterpolate } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = defineComponent({
|
||||
props: {
|
||||
of: {
|
||||
type: String,
|
||||
default: void 0
|
||||
},
|
||||
required: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
values: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
description: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
default: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
}
|
||||
},
|
||||
async setup(props) {
|
||||
const query = `/api/component-meta/${kebabCase(props.of)}`;
|
||||
const { data: meta } = await useAsyncData(props.of, () => $fetch(query), "$jdpANtUKvA");
|
||||
const properties = computed(() => meta.value.props.filter((prop) => {
|
||||
var _a;
|
||||
return !((_a = prop.tags) == null ? void 0 : _a.ignore.includes(prop));
|
||||
}));
|
||||
const showRequired = computed(() => {
|
||||
var _a;
|
||||
if (props.required !== void 0) {
|
||||
return props.required;
|
||||
}
|
||||
return (_a = properties.value) == null ? void 0 : _a.find((prop) => prop.required !== void 0);
|
||||
});
|
||||
const showValues = computed(() => {
|
||||
var _a;
|
||||
if (props.values !== void 0) {
|
||||
return props.values;
|
||||
}
|
||||
return (_a = properties.value) == null ? void 0 : _a.find((prop) => prop.values);
|
||||
});
|
||||
const showDescription = computed(() => {
|
||||
var _a;
|
||||
if (props.description !== void 0) {
|
||||
return props.description;
|
||||
}
|
||||
return (_a = properties.value) == null ? void 0 : _a.find((prop) => prop.description);
|
||||
});
|
||||
const showDefault = computed(() => {
|
||||
var _a;
|
||||
if (props.default !== void 0) {
|
||||
return props.default;
|
||||
}
|
||||
return (_a = properties.value) == null ? void 0 : _a.find((prop) => prop.default);
|
||||
});
|
||||
return {
|
||||
meta,
|
||||
properties,
|
||||
showRequired,
|
||||
showValues,
|
||||
showDescription,
|
||||
showDefault
|
||||
};
|
||||
}
|
||||
});
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
||||
var _a, _b, _c;
|
||||
const _component_ProseTable = __nuxt_component_0;
|
||||
const _component_ProseThead = __nuxt_component_1;
|
||||
const _component_ProseTr = __nuxt_component_2;
|
||||
const _component_ProseTh = __nuxt_component_3;
|
||||
const _component_ProseTbody = __nuxt_component_4;
|
||||
const _component_ProseTd = __nuxt_component_5;
|
||||
const _component_ProseCodeInline = __nuxt_component_3$1;
|
||||
if (_ctx.meta && ((_a = _ctx.meta) == null ? void 0 : _a.props) && ((_c = (_b = _ctx.meta) == null ? void 0 : _b.props) == null ? void 0 : _c.length)) {
|
||||
_push(ssrRenderComponent(_component_ProseTable, _attrs, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(ssrRenderComponent(_component_ProseThead, null, {
|
||||
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
||||
if (_push3) {
|
||||
_push3(ssrRenderComponent(_component_ProseTr, null, {
|
||||
default: withCtx((_3, _push4, _parent4, _scopeId3) => {
|
||||
if (_push4) {
|
||||
_push4(ssrRenderComponent(_component_ProseTh, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(`Prop`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode("Prop")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent4, _scopeId3));
|
||||
_push4(ssrRenderComponent(_component_ProseTh, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(`Type`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode("Type")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent4, _scopeId3));
|
||||
if (_ctx.showRequired) {
|
||||
_push4(ssrRenderComponent(_component_ProseTh, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(` Required `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Required ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
if (_ctx.showDefault) {
|
||||
_push4(ssrRenderComponent(_component_ProseTh, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(` Default `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Default ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
if (_ctx.showValues) {
|
||||
_push4(ssrRenderComponent(_component_ProseTh, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(` Values `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Values ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
if (_ctx.showDescription) {
|
||||
_push4(ssrRenderComponent(_component_ProseTh, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(` Description `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Description ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseTh, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("Prop")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_ProseTh, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("Type")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
_ctx.showRequired ? (openBlock(), createBlock(_component_ProseTh, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Required ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showDefault ? (openBlock(), createBlock(_component_ProseTh, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Default ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showValues ? (openBlock(), createBlock(_component_ProseTh, { key: 2 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Values ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showDescription ? (openBlock(), createBlock(_component_ProseTh, { key: 3 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Description ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent3, _scopeId2));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseTr, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseTh, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("Prop")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_ProseTh, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("Type")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
_ctx.showRequired ? (openBlock(), createBlock(_component_ProseTh, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Required ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showDefault ? (openBlock(), createBlock(_component_ProseTh, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Default ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showValues ? (openBlock(), createBlock(_component_ProseTh, { key: 2 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Values ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showDescription ? (openBlock(), createBlock(_component_ProseTh, { key: 3 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Description ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 1
|
||||
})
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent2, _scopeId));
|
||||
_push2(ssrRenderComponent(_component_ProseTbody, null, {
|
||||
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
||||
if (_push3) {
|
||||
_push3(`<!--[-->`);
|
||||
ssrRenderList(_ctx.properties, (prop) => {
|
||||
_push3(ssrRenderComponent(_component_ProseTr, {
|
||||
key: prop.name
|
||||
}, {
|
||||
default: withCtx((_3, _push4, _parent4, _scopeId3) => {
|
||||
if (_push4) {
|
||||
_push4(ssrRenderComponent(_component_ProseTd, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(`${ssrInterpolate((prop == null ? void 0 : prop.name) || "?")}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.name) || "?"), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.name) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent4, _scopeId3));
|
||||
_push4(ssrRenderComponent(_component_ProseTd, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(`${ssrInterpolate((prop == null ? void 0 : prop.type) || "?")}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.type) || "?"), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.type) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent4, _scopeId3));
|
||||
if (_ctx.showRequired) {
|
||||
_push4(ssrRenderComponent(_component_ProseTd, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(`${ssrInterpolate(prop.required === "?" ? "?" : prop.required ? "Yes" : "No")}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString(prop.required === "?" ? "?" : prop.required ? "Yes" : "No"), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.required === "?" ? "?" : prop.required ? "Yes" : "No"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
if (_ctx.showDefault) {
|
||||
_push4(ssrRenderComponent(_component_ProseTd, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
if (prop.default) {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(`${ssrInterpolate((prop == null ? void 0 : prop.default) || "?")}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.default) || "?"), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
} else {
|
||||
_push5(`<!---->`);
|
||||
}
|
||||
} else {
|
||||
return [
|
||||
prop.default ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.default) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
if (_ctx.showValues) {
|
||||
_push4(ssrRenderComponent(_component_ProseTd, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
if (prop.values) {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(`${ssrInterpolate((prop == null ? void 0 : prop.values) || "?")}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.values) || "?"), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
} else {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(` - `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" - ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
}
|
||||
} else {
|
||||
return [
|
||||
prop.values ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.values) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : (openBlock(), createBlock(_component_ProseCodeInline, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" - ")
|
||||
]),
|
||||
_: 1
|
||||
}))
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
if (_ctx.showDescription) {
|
||||
_push4(ssrRenderComponent(_component_ProseTd, null, {
|
||||
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
||||
if (_push5) {
|
||||
_push5(ssrRenderComponent(_component_ProseCodeInline, null, {
|
||||
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
||||
if (_push6) {
|
||||
_push6(`${ssrInterpolate(prop.description)}`);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(toDisplayString(prop.description), 1)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent5, _scopeId4));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.description), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent4, _scopeId3));
|
||||
} else {
|
||||
_push4(`<!---->`);
|
||||
}
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseTd, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.name) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024),
|
||||
createVNode(_component_ProseTd, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.type) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024),
|
||||
_ctx.showRequired ? (openBlock(), createBlock(_component_ProseTd, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.required === "?" ? "?" : prop.required ? "Yes" : "No"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showDefault ? (openBlock(), createBlock(_component_ProseTd, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
prop.default ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.default) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showValues ? (openBlock(), createBlock(_component_ProseTd, { key: 2 }, {
|
||||
default: withCtx(() => [
|
||||
prop.values ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.values) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : (openBlock(), createBlock(_component_ProseCodeInline, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" - ")
|
||||
]),
|
||||
_: 1
|
||||
}))
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showDescription ? (openBlock(), createBlock(_component_ProseTd, { key: 3 }, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.description), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 2
|
||||
}, _parent3, _scopeId2));
|
||||
});
|
||||
_push3(`<!--]-->`);
|
||||
} else {
|
||||
return [
|
||||
(openBlock(true), createBlock(Fragment, null, renderList(_ctx.properties, (prop) => {
|
||||
return openBlock(), createBlock(_component_ProseTr, {
|
||||
key: prop.name
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseTd, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.name) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024),
|
||||
createVNode(_component_ProseTd, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.type) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024),
|
||||
_ctx.showRequired ? (openBlock(), createBlock(_component_ProseTd, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.required === "?" ? "?" : prop.required ? "Yes" : "No"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showDefault ? (openBlock(), createBlock(_component_ProseTd, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
prop.default ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.default) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showValues ? (openBlock(), createBlock(_component_ProseTd, { key: 2 }, {
|
||||
default: withCtx(() => [
|
||||
prop.values ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.values) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : (openBlock(), createBlock(_component_ProseCodeInline, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" - ")
|
||||
]),
|
||||
_: 1
|
||||
}))
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showDescription ? (openBlock(), createBlock(_component_ProseTd, { key: 3 }, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.description), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024);
|
||||
}), 128))
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent2, _scopeId));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_ProseThead, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseTr, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseTh, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("Prop")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_ProseTh, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("Type")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
_ctx.showRequired ? (openBlock(), createBlock(_component_ProseTh, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Required ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showDefault ? (openBlock(), createBlock(_component_ProseTh, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Default ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showValues ? (openBlock(), createBlock(_component_ProseTh, { key: 2 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Values ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true),
|
||||
_ctx.showDescription ? (openBlock(), createBlock(_component_ProseTh, { key: 3 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" Description ")
|
||||
]),
|
||||
_: 1
|
||||
})) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 1
|
||||
})
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_ProseTbody, null, {
|
||||
default: withCtx(() => [
|
||||
(openBlock(true), createBlock(Fragment, null, renderList(_ctx.properties, (prop) => {
|
||||
return openBlock(), createBlock(_component_ProseTr, {
|
||||
key: prop.name
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseTd, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.name) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024),
|
||||
createVNode(_component_ProseTd, null, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.type) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024),
|
||||
_ctx.showRequired ? (openBlock(), createBlock(_component_ProseTd, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.required === "?" ? "?" : prop.required ? "Yes" : "No"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showDefault ? (openBlock(), createBlock(_component_ProseTd, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
prop.default ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.default) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showValues ? (openBlock(), createBlock(_component_ProseTd, { key: 2 }, {
|
||||
default: withCtx(() => [
|
||||
prop.values ? (openBlock(), createBlock(_component_ProseCodeInline, { key: 0 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString((prop == null ? void 0 : prop.values) || "?"), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : (openBlock(), createBlock(_component_ProseCodeInline, { key: 1 }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(" - ")
|
||||
]),
|
||||
_: 1
|
||||
}))
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true),
|
||||
_ctx.showDescription ? (openBlock(), createBlock(_component_ProseTd, { key: 3 }, {
|
||||
default: withCtx(() => [
|
||||
createVNode(_component_ProseCodeInline, null, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode(toDisplayString(prop.description), 1)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024)) : createCommentVNode("", true)
|
||||
]),
|
||||
_: 2
|
||||
}, 1024);
|
||||
}), 128))
|
||||
]),
|
||||
_: 1
|
||||
})
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/Props.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const Props = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
||||
|
||||
export { Props as default };
|
||||
//# sourceMappingURL=Props.eb3d5771.mjs.map
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
const ProseA_vue_vue_type_style_index_0_scoped_6a90e363_lang = ":not(h1,h2,h3,h4)>a[data-v-6a90e363]{border-bottom-width:1px;border-color:transparent;color:var(--colors-primary-500);font-weight:500;text-decoration-line:none}:not(h1,h2,h3,h4)>a[data-v-6a90e363]:hover{border-color:var(--colors-primary-500)}";
|
||||
|
||||
const ProseAStyles_8011a7b7 = [ProseA_vue_vue_type_style_index_0_scoped_6a90e363_lang];
|
||||
|
||||
export { ProseAStyles_8011a7b7 as default };
|
||||
//# sourceMappingURL=ProseA-styles.8011a7b7.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseA-styles.8011a7b7.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseA-styles-1.mjs.8d7f84e4.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseA-styles.8011a7b7.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,sDAAyD,GAAA,oPAAA;;ACC/D,8BAAe,CAACA,sDAAO;;;;"}
|
||||
@@ -0,0 +1,105 @@
|
||||
import { b as _export_sfc, f as __nuxt_component_0$3 } from '../server.mjs';
|
||||
import { useSSRContext, defineComponent, mergeProps, withCtx, renderSlot } from 'vue';
|
||||
import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "ProseA",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
href: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
blank: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
static: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_NuxtLink = __nuxt_component_0$3;
|
||||
_push(ssrRenderComponent(_component_NuxtLink, mergeProps({
|
||||
to: __props.href,
|
||||
blank: __props.blank,
|
||||
static: __props.static
|
||||
}, _attrs), {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
||||
} else {
|
||||
return [
|
||||
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 3
|
||||
}, _parent));
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/prose/ProseA.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const ProseA = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6a90e363"]]);
|
||||
|
||||
export { ProseA as default };
|
||||
//# sourceMappingURL=ProseA.9445f0fb.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseA.9445f0fb.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseA.9445f0fb.js"],"sourcesContent":null,"names":["__nuxt_component_0"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,4BAA4C,eAAA,CAAA;AAAA,EAChD,MAAQ,EAAA,QAAA;AAAA,EACR,iBAAm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AAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,+IAA+I,CAAA,CAAA;AAC5N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,MAAA,+BAAqC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const ProseBlockquote_vue_vue_type_style_index_0_scoped_b2845914_lang = 'blockquote[data-v-b2845914]{--tw-text-opacity:1;border-left-width:2px;color:rgb(113 113 122/var(--tw-text-opacity));font-size:1rem;font-weight:500;line-height:1.5rem;margin-bottom:1.5em;margin-top:1.5em;padding-left:1rem}.dark blockquote[data-v-b2845914]{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity))}blockquote[data-v-b2845914]{--tw-border-opacity:1;border-color:rgb(228 228 231/var(--tw-border-opacity))}.dark blockquote[data-v-b2845914]{--tw-border-opacity:1;border-color:rgb(39 39 42/var(--tw-border-opacity))}blockquote[data-v-b2845914]{quotes:"201C" "201D" "2018" "2019"}blockquote p[data-v-b2845914]:first-of-type:before,blockquote p[data-v-b2845914]:last-of-type:after{content:""}';
|
||||
|
||||
const ProseBlockquoteStyles_06903a07 = [ProseBlockquote_vue_vue_type_style_index_0_scoped_b2845914_lang];
|
||||
|
||||
export { ProseBlockquoteStyles_06903a07 as default };
|
||||
//# sourceMappingURL=ProseBlockquote-styles.06903a07.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseBlockquote-styles.06903a07.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseBlockquote-styles-1.mjs.ebc4027c.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseBlockquote-styles.06903a07.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,+DAAkE,GAAA,ssBAAA;;ACCxE,uCAAe,CAACA,+DAAO;;;;"}
|
||||
@@ -0,0 +1,72 @@
|
||||
import { ssrRenderAttrs, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import { useSSRContext } from 'vue';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<blockquote${ssrRenderAttrs(_attrs)} data-v-b2845914>`);
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(`</blockquote>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/prose/ProseBlockquote.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const ProseBlockquote = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender], ["__scopeId", "data-v-b2845914"]]);
|
||||
|
||||
export { ProseBlockquote as default };
|
||||
//# sourceMappingURL=ProseBlockquote.86696073.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseBlockquote.86696073.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseBlockquote.86696073.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,WAAA,EAAc,cAAe,CAAA,MAAM,CAAoB,CAAA,iBAAA,CAAA,CAAA,CAAA;AAC7D,EAAA,aAAA,CAAc,KAAK,MAAQ,EAAA,SAAA,EAAW,EAAI,EAAA,IAAA,EAAM,OAAO,OAAO,CAAA,CAAA;AAC9D,EAAA,KAAA,CAAM,CAAe,aAAA,CAAA,CAAA,CAAA;AACvB,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,wJAAwJ,CAAA,CAAA;AACrO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACA,MAAM,eAAkC,mBAAA,WAAA,CAAY,SAAW,EAAA,CAAC,CAAC,WAAA,EAAa,cAAc,CAAA,EAAG,CAAC,WAAA,EAAa,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const ProseCode_vue_vue_type_style_index_0_scoped_754df0b9_lang = 'div[data-v-754df0b9]{border-radius:.5rem;margin-bottom:1rem;margin-top:1rem;overflow:hidden;position:relative}div.highlight-bash[data-v-754df0b9] code .line,div.highlight-sh[data-v-754df0b9] code .line,div.highlight-shell[data-v-754df0b9] code .line,div.highlight-shellscript[data-v-754df0b9] code .line,div.highlight-zsh[data-v-754df0b9] code .line{padding-left:1rem;position:relative}div.highlight-bash[data-v-754df0b9] code .line:before,div.highlight-sh[data-v-754df0b9] code .line:before,div.highlight-shell[data-v-754df0b9] code .line:before,div.highlight-shellscript[data-v-754df0b9] code .line:before,div.highlight-zsh[data-v-754df0b9] code .line:before{color:var(--colors-primary-500);content:">";display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:700;left:-.1rem;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-v-754df0b9] pre{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));display:flex;flex:1 1 0%;line-height:1.625;margin-bottom:0;margin-top:0;overflow-x:auto;padding:1rem}[data-v-754df0b9] code{display:flex;flex-direction:column}[data-v-754df0b9] .line{display:inline-table;min-height:1rem}[data-v-754df0b9] .line.highlight{background-color:#3f3f46}.group:hover .copy-button[data-v-754df0b9]{--tw-scale-x:1;--tw-scale-y:1;opacity:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}';
|
||||
|
||||
const ProseCodeStyles_bf945906 = [ProseCode_vue_vue_type_style_index_0_scoped_754df0b9_lang];
|
||||
|
||||
export { ProseCodeStyles_bf945906 as default };
|
||||
//# sourceMappingURL=ProseCode-styles.bf945906.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseCode-styles.bf945906.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseCode-styles-1.mjs.e560a6dc.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseCode-styles.bf945906.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,yDAA4D,GAAA,6iDAAA;;ACClE,iCAAe,CAACA,yDAAO;;;;"}
|
||||
@@ -0,0 +1,109 @@
|
||||
import _sfc_main$1 from './CopyButton.b242571a.mjs';
|
||||
import { useSSRContext, defineComponent, mergeProps } from 'vue';
|
||||
import { ssrRenderAttrs, ssrInterpolate, ssrRenderSlot, ssrRenderComponent } from 'vue/server-renderer';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import './index.4e223d73.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "ProseCode",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
code: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
language: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
filename: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
highlights: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_CopyButton = _sfc_main$1;
|
||||
_push(`<div${ssrRenderAttrs(mergeProps({
|
||||
class: [[`highlight-${__props.language}`], "prose-code group w-full text-gray-50"]
|
||||
}, _attrs))} data-v-754df0b9>`);
|
||||
if (__props.filename) {
|
||||
_push(`<span class="filename absolute top-1 right-1 z-0 rounded-lg py-1 pr-2 font-mono text-xs leading-none tracking-tight text-gray-400 opacity-100" data-v-754df0b9>${ssrInterpolate(__props.filename)}</span>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(ssrRenderComponent(_component_CopyButton, {
|
||||
content: __props.code,
|
||||
class: "copy-button absolute right-1 bottom-1 scale-0 opacity-0 transition"
|
||||
}, null, _parent));
|
||||
_push(`</div>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/prose/ProseCode.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const ProseCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-754df0b9"]]);
|
||||
|
||||
export { ProseCode as default };
|
||||
//# sourceMappingURL=ProseCode.f6f344e7.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseCode.f6f344e7.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseCode.f6f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K,MAAQ,EAAA,SAAA,EAAW,EAAI,EAAA,IAAA,EAAM,OAAO,OAAO,CAAA,CAAA;AAC9D,MAAA,KAAA,CAAM,mBAAmB,qBAAuB,EAAA;AAAA,QAC9C,SAAS,OAAQ,CAAA,IAAA;AAAA,QACjB,KAAO,EAAA,oEAAA;AAAA,OACT,EAAG,IAAM,EAAA,OAAO,CAAC,CAAA,CAAA;AACjB,MAAA,KAAA,CAAM,CAAQ,MAAA,CAAA,CAAA,CAAA;AAAA,KAChB,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAED,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,kJAAkJ,CAAA,CAAA;AAC/N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,SAAA,+BAAwC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const ProseCodeInline_vue_vue_type_style_index_0_scoped_d61f9cc4_lang = "code[data-v-d61f9cc4]{background-color:rgb(250 250 250/var(--tw-bg-opacity));border-radius:.375rem;font-size:.875rem;font-weight:400;line-height:1.25rem;overflow:hidden;padding:3px 6px}.dark code[data-v-d61f9cc4],code[data-v-d61f9cc4]{--tw-bg-opacity:1}.dark code[data-v-d61f9cc4]{background-color:rgb(24 24 27/var(--tw-bg-opacity))}code[data-v-d61f9cc4]{color:rgb(24 24 27/var(--tw-text-opacity))}.dark code[data-v-d61f9cc4],code[data-v-d61f9cc4]{--tw-text-opacity:1}.dark code[data-v-d61f9cc4]{color:rgb(250 250 250/var(--tw-text-opacity))}code.colored[data-v-d61f9cc4]{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}tbody code[data-v-d61f9cc4]{font-size:.875rem;line-height:1.25rem}a[data-v-d61f9cc4]{overflow:hidden}a code[data-v-d61f9cc4]{border:1px dashed transparent;font-weight:500}.dark a code[data-v-d61f9cc4],a code[data-v-d61f9cc4]{color:var(--colors-primary-500)}.dark a:hover code[data-v-d61f9cc4],a:hover code[data-v-d61f9cc4]{border-color:var(--colors-primary-500)}h1 a:hover code[data-v-d61f9cc4],h2 a:hover code[data-v-d61f9cc4],h3 a:hover code[data-v-d61f9cc4],h4 a:hover code[data-v-d61f9cc4]{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.dark h1 a:hover code[data-v-d61f9cc4],.dark h2 a:hover code[data-v-d61f9cc4],.dark h3 a:hover code[data-v-d61f9cc4],.dark h4 a:hover code[data-v-d61f9cc4]{--tw-border-opacity:1;border-color:rgb(244 244 245/var(--tw-border-opacity))}h1 a code[data-v-d61f9cc4],h2 a code[data-v-d61f9cc4],h3 a code[data-v-d61f9cc4],h4 a code[data-v-d61f9cc4]{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity));font-weight:700;padding:.375rem .5rem;position:relative}.dark h1 a code[data-v-d61f9cc4],.dark h2 a code[data-v-d61f9cc4],.dark h3 a code[data-v-d61f9cc4],.dark h4 a code[data-v-d61f9cc4]{--tw-text-opacity:1;color:rgb(250 250 250/var(--tw-text-opacity))}h1 a code[data-v-d61f9cc4],h2 a code[data-v-d61f9cc4],h3 a code[data-v-d61f9cc4],h4 a code[data-v-d61f9cc4]{font-size:inherit!important}";
|
||||
|
||||
const ProseCodeInlineStyles_1ab2733d = [ProseCodeInline_vue_vue_type_style_index_0_scoped_d61f9cc4_lang];
|
||||
|
||||
export { ProseCodeInlineStyles_1ab2733d as default };
|
||||
//# sourceMappingURL=ProseCodeInline-styles.1ab2733d.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseCodeInline-styles.1ab2733d.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseCodeInline-styles-1.mjs.42a4c8e8.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseCodeInline-styles.1ab2733d.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,+DAAkE,GAAA,s9DAAA;;ACCxE,uCAAe,CAACA,+DAAO;;;;"}
|
||||
@@ -0,0 +1,72 @@
|
||||
import { ssrRenderAttrs, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import { useSSRContext } from 'vue';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<code${ssrRenderAttrs(_attrs)} data-v-d61f9cc4>`);
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(`</code>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/prose/ProseCodeInline.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const __nuxt_component_3 = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender], ["__scopeId", "data-v-d61f9cc4"]]);
|
||||
|
||||
export { __nuxt_component_3 as default };
|
||||
//# sourceMappingURL=ProseCodeInline.b9cff2ce.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseCodeInline.b9cff2ce.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseCodeInline.b9cff2ce.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,KAAA,EAAQ,cAAe,CAAA,MAAM,CAAoB,CAAA,iBAAA,CAAA,CAAA,CAAA;AACvD,EAAA,aAAA,CAAc,KAAK,MAAQ,EAAA,SAAA,EAAW,EAAI,EAAA,IAAA,EAAM,OAAO,OAAO,CAAA,CAAA;AAC9D,EAAA,KAAA,CAAM,CAAS,OAAA,CAAA,CAAA,CAAA;AACjB,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,wJAAwJ,CAAA,CAAA;AACrO,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACA,MAAM,kBAAqC,mBAAA,WAAA,CAAY,SAAW,EAAA,CAAC,CAAC,WAAA,EAAa,cAAc,CAAA,EAAG,CAAC,WAAA,EAAa,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const ProseEm_vue_vue_type_style_index_0_scoped_1ef6ff86_lang = "em[data-v-1ef6ff86]{color:currentColor;font-style:italic}";
|
||||
|
||||
const ProseEmStyles_ee1ed95f = [ProseEm_vue_vue_type_style_index_0_scoped_1ef6ff86_lang];
|
||||
|
||||
export { ProseEmStyles_ee1ed95f as default };
|
||||
//# sourceMappingURL=ProseEm-styles.ee1ed95f.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseEm-styles.ee1ed95f.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseEm-styles-1.mjs.542a7736.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseEm-styles.ee1ed95f.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,uDAA0D,GAAA,2DAAA;;ACChE,+BAAe,CAACA,uDAAO;;;;"}
|
||||
@@ -0,0 +1,72 @@
|
||||
import { ssrRenderAttrs, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import { useSSRContext } from 'vue';
|
||||
import { b as _export_sfc } from '../server.mjs';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
_push(`<em${ssrRenderAttrs(_attrs)} data-v-1ef6ff86>`);
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
||||
_push(`</em>`);
|
||||
}
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/prose/ProseEm.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const ProseEm = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender], ["__scopeId", "data-v-1ef6ff86"]]);
|
||||
|
||||
export { ProseEm as default };
|
||||
//# sourceMappingURL=ProseEm.7b18d023.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseEm.7b18d023.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseEm.7b18d023.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,YAAY,EAAC,CAAA;AACnB,SAAS,cAAe,CAAA,IAAA,EAAM,KAAO,EAAA,OAAA,EAAS,MAAQ,EAAA;AACpD,EAAM,KAAA,CAAA,CAAA,GAAA,EAAM,cAAe,CAAA,MAAM,CAAoB,CAAA,iBAAA,CAAA,CAAA,CAAA;AACrD,EAAA,aAAA,CAAc,KAAK,MAAQ,EAAA,SAAA,EAAW,EAAI,EAAA,IAAA,EAAM,OAAO,OAAO,CAAA,CAAA;AAC9D,EAAA,KAAA,CAAM,CAAO,KAAA,CAAA,CAAA,CAAA;AACf,CAAA;AACA,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,gJAAgJ,CAAA,CAAA;AAC7N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACA,MAAM,OAA0B,mBAAA,WAAA,CAAY,SAAW,EAAA,CAAC,CAAC,WAAA,EAAa,cAAc,CAAA,EAAG,CAAC,WAAA,EAAa,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const ProseH1_vue_vue_type_style_index_0_scoped_d5d09b82_lang = `h1[data-v-d5d09b82]{color:rgb(24 24 27/var(--tw-text-opacity));font-size:1.875rem;font-weight:600;letter-spacing:-.025em;line-height:2.25rem;line-height:1.375;margin-bottom:1rem;margin-top:2rem;scroll-margin-top:calc(var(--header-height) + 4.5rem)}.dark h1[data-v-d5d09b82],h1[data-v-d5d09b82]{--tw-text-opacity:1}.dark h1[data-v-d5d09b82]{color:rgb(250 250 250/var(--tw-text-opacity))}@media (min-width:640px){h1[data-v-d5d09b82]{scroll-margin-top:calc(var(--header-height) + 2rem)}}h1+*[data-v-d5d09b82]{margin-top:0}h1>a[data-v-d5d09b82]{position:relative}h1>a[data-v-d5d09b82]:before{--tw-content:"";content:var(--tw-content);height:calc(100% + 2px);left:2px;position:absolute;top:0;width:calc(100% - 4px)}h1>a[data-v-d5d09b82]:hover:before{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(24 24 27/var(--tw-border-opacity));border-style:dashed}.dark h1>a[data-v-d5d09b82]:hover:before{--tw-border-opacity:1;border-color:rgb(244 244 245/var(--tw-border-opacity))}h1>a[data-v-d5d09b82]:hover:after{content:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1'/%3E%3C/svg%3E");height:.75rem;position:absolute;right:-1.25rem;width:.75rem}.dark h1>a[data-v-d5d09b82]:hover:after{content:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1'/%3E%3C/svg%3E")}`;
|
||||
|
||||
const ProseH1Styles_3cc0852a = [ProseH1_vue_vue_type_style_index_0_scoped_d5d09b82_lang];
|
||||
|
||||
export { ProseH1Styles_3cc0852a as default };
|
||||
//# sourceMappingURL=ProseH1-styles.3cc0852a.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseH1-styles.3cc0852a.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseH1-styles-1.mjs.f33bef34.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseH1-styles.3cc0852a.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,uDAA0D,GAAA,CAAA,yzDAAA,CAAA;;ACChE,+BAAe,CAACA,uDAAO;;;;"}
|
||||
@@ -0,0 +1,94 @@
|
||||
import { b as _export_sfc, f as __nuxt_component_0$3 } from '../server.mjs';
|
||||
import { useSSRContext, defineComponent, mergeProps, withCtx, renderSlot } from 'vue';
|
||||
import { ssrRenderAttrs, ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
||||
import 'ohmyfetch';
|
||||
import 'hookable';
|
||||
import 'unctx';
|
||||
import 'destr';
|
||||
import 'ufo';
|
||||
import 'h3';
|
||||
import 'defu';
|
||||
import 'vue-router';
|
||||
import 'scule';
|
||||
import 'property-information';
|
||||
import 'html-tags';
|
||||
import '@iconify/vue/dist/offline';
|
||||
import '@iconify/vue';
|
||||
import 'ohash';
|
||||
import 'cookie-es';
|
||||
import 'pinceau/runtime';
|
||||
import '../../nitro/vercel.mjs';
|
||||
import 'node-fetch-native/polyfill';
|
||||
import 'unenv/runtime/fetch/index';
|
||||
import 'unstorage';
|
||||
import 'unstorage/drivers/overlay';
|
||||
import 'unstorage/drivers/memory';
|
||||
import 'radix3';
|
||||
import 'pathe';
|
||||
import 'unified';
|
||||
import 'mdast-util-to-string';
|
||||
import 'micromark/lib/preprocess.js';
|
||||
import 'micromark/lib/postprocess.js';
|
||||
import 'unist-util-stringify-position';
|
||||
import 'micromark-util-character';
|
||||
import 'micromark-util-chunked';
|
||||
import 'micromark-util-resolve-all';
|
||||
import 'remark-emoji';
|
||||
import 'rehype-slug';
|
||||
import 'remark-squeeze-paragraphs';
|
||||
import 'rehype-external-links';
|
||||
import 'remark-gfm';
|
||||
import 'rehype-sort-attribute-values';
|
||||
import 'rehype-sort-attributes';
|
||||
import 'rehype-raw';
|
||||
import 'remark-mdc';
|
||||
import 'remark-parse';
|
||||
import 'remark-rehype';
|
||||
import 'mdast-util-to-hast';
|
||||
import 'detab';
|
||||
import 'unist-builder';
|
||||
import 'mdurl';
|
||||
import 'slugify';
|
||||
import 'unist-util-position';
|
||||
import 'unist-util-visit';
|
||||
import 'shiki-es';
|
||||
import 'unenv/runtime/npm/consola';
|
||||
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "ProseH1",
|
||||
__ssrInlineRender: true,
|
||||
props: {
|
||||
id: null
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_NuxtLink = __nuxt_component_0$3;
|
||||
_push(`<h1${ssrRenderAttrs(mergeProps({ id: __props.id }, _attrs))} data-v-d5d09b82>`);
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
href: `#${__props.id}`
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
||||
} else {
|
||||
return [
|
||||
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 3
|
||||
}, _parent));
|
||||
_push(`</h1>`);
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup = _sfc_main.setup;
|
||||
_sfc_main.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/prose/ProseH1.vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const ProseH1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d5d09b82"]]);
|
||||
|
||||
export { ProseH1 as default };
|
||||
//# sourceMappingURL=ProseH1.e36097c2.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{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OAAO,CAAC,CAAA,CAAA;AACX,MAAA,KAAA,CAAM,CAAO,KAAA,CAAA,CAAA,CAAA;AAAA,KACf,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAED,MAAM,aAAa,SAAU,CAAA,KAAA,CAAA;AAC7B,SAAU,CAAA,KAAA,GAAQ,CAAC,KAAA,EAAO,GAAQ,KAAA;AAChC,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,EAAC,CAAA,UAAA,CAAW,YAAY,UAAW,CAAA,OAAA,uBAA8B,GAAI,EAAA,CAAA,EAAI,IAAI,gJAAgJ,CAAA,CAAA;AAC7N,EAAA,OAAO,UAAa,GAAA,UAAA,CAAW,KAAO,EAAA,GAAG,CAAI,GAAA,KAAA,CAAA,CAAA;AAC/C,CAAA,CAAA;AACM,MAAA,OAAA,+BAAsC,SAAW,EAAA,CAAC,CAAC,WAAa,EAAA,iBAAiB,CAAC,CAAC;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
const ProseH2_vue_vue_type_style_index_0_scoped_f49a5a5c_lang = `h2[data-v-f49a5a5c]{color:rgb(24 24 27/var(--tw-text-opacity));font-size:1.5rem;font-weight:600;letter-spacing:-.025em;line-height:2rem;line-height:1.375;margin-bottom:1rem;margin-top:2rem;scroll-margin-top:calc(var(--header-height) + 4.5rem)}.dark h2[data-v-f49a5a5c],h2[data-v-f49a5a5c]{--tw-text-opacity:1}.dark h2[data-v-f49a5a5c]{color:rgb(250 250 250/var(--tw-text-opacity))}@media (min-width:640px){h2[data-v-f49a5a5c]{scroll-margin-top:calc(var(--header-height) + 2rem)}}h2+*[data-v-f49a5a5c]{margin-top:0}h2>a[data-v-f49a5a5c]{position:relative}h2>a[data-v-f49a5a5c]:before{--tw-content:"";content:var(--tw-content);height:calc(100% + 2px);left:2px;position:absolute;top:0;width:calc(100% - 4px)}h2>a[data-v-f49a5a5c]:hover:before{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(24 24 27/var(--tw-border-opacity));border-style:dashed}.dark h2>a[data-v-f49a5a5c]:hover:before{--tw-border-opacity:1;border-color:rgb(244 244 245/var(--tw-border-opacity))}h2>a[data-v-f49a5a5c]:hover:after{content:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1'/%3E%3C/svg%3E");height:.75rem;position:absolute;right:-1.25rem;width:.75rem}.dark h2>a[data-v-f49a5a5c]:hover:after{content:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1'/%3E%3C/svg%3E")}`;
|
||||
|
||||
const ProseH2Styles_e8efa4c3 = [ProseH2_vue_vue_type_style_index_0_scoped_f49a5a5c_lang];
|
||||
|
||||
export { ProseH2Styles_e8efa4c3 as default };
|
||||
//# sourceMappingURL=ProseH2-styles.e8efa4c3.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProseH2-styles.e8efa4c3.mjs","sources":["/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseH2-styles-1.mjs.83fe597c.js","/Users/wobsoriano/tmp/trpc-nuxt/docs/.nuxt/dist/server/_nuxt/ProseH2-styles.e8efa4c3.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,uDAA0D,GAAA,CAAA,ozDAAA,CAAA;;ACChE,+BAAe,CAACA,uDAAO;;;;"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user