initial commit

This commit is contained in:
Zoe
2023-01-03 09:29:04 -06:00
commit 7851137d88
12889 changed files with 2557443 additions and 0 deletions

796
node_modules/nuxt/dist/head/runtime/components.d.ts generated vendored Normal file
View File

@@ -0,0 +1,796 @@
import type { PropType } from 'vue';
import type { CrossOrigin, FetchPriority, HTTPEquiv, LinkRelationship, ReferrerPolicy, Target } from './types';
export declare const NoScript: import("vue").DefineComponent<{
title: StringConstructor;
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
title: StringConstructor;
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
translate: StringConstructor;
}>>, {
body: boolean;
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
}>;
export declare const Link: import("vue").DefineComponent<{
as: StringConstructor;
crossorigin: PropType<CrossOrigin>;
disabled: BooleanConstructor;
fetchpriority: PropType<FetchPriority>;
href: StringConstructor;
hreflang: StringConstructor;
imagesizes: StringConstructor;
imagesrcset: StringConstructor;
integrity: StringConstructor;
media: StringConstructor;
prefetch: {
type: BooleanConstructor;
default: undefined;
};
referrerpolicy: PropType<ReferrerPolicy>;
rel: PropType<LinkRelationship>;
sizes: StringConstructor;
title: StringConstructor;
type: StringConstructor;
/** @deprecated **/
methods: StringConstructor;
/** @deprecated **/
target: PropType<Target>;
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
as: StringConstructor;
crossorigin: PropType<CrossOrigin>;
disabled: BooleanConstructor;
fetchpriority: PropType<FetchPriority>;
href: StringConstructor;
hreflang: StringConstructor;
imagesizes: StringConstructor;
imagesrcset: StringConstructor;
integrity: StringConstructor;
media: StringConstructor;
prefetch: {
type: BooleanConstructor;
default: undefined;
};
referrerpolicy: PropType<ReferrerPolicy>;
rel: PropType<LinkRelationship>;
sizes: StringConstructor;
title: StringConstructor;
type: StringConstructor;
/** @deprecated **/
methods: StringConstructor;
/** @deprecated **/
target: PropType<Target>;
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
translate: StringConstructor;
}>>, {
prefetch: boolean;
body: boolean;
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
disabled: boolean;
}>;
export declare const Base: import("vue").DefineComponent<{
href: StringConstructor;
target: PropType<Target>;
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
href: StringConstructor;
target: PropType<Target>;
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}>>, {
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
}>;
export declare const Title: import("vue").DefineComponent<{
[x: string]: any;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
[x: string]: any;
}>>, {
[x: string]: any;
}>;
export declare const Meta: import("vue").DefineComponent<{
charset: StringConstructor;
content: StringConstructor;
httpEquiv: PropType<HTTPEquiv>;
name: StringConstructor;
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
charset: StringConstructor;
content: StringConstructor;
httpEquiv: PropType<HTTPEquiv>;
name: StringConstructor;
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}>>, {
body: boolean;
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
}>;
export declare const Style: import("vue").DefineComponent<{
type: StringConstructor;
media: StringConstructor;
nonce: StringConstructor;
title: StringConstructor;
/** @deprecated **/
scoped: {
type: BooleanConstructor;
default: undefined;
};
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
type: StringConstructor;
media: StringConstructor;
nonce: StringConstructor;
title: StringConstructor;
/** @deprecated **/
scoped: {
type: BooleanConstructor;
default: undefined;
};
body: BooleanConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
translate: StringConstructor;
}>>, {
body: boolean;
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
scoped: boolean;
}>;
export declare const Head: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
export declare const Html: import("vue").DefineComponent<{
manifest: StringConstructor;
version: StringConstructor;
xmlns: StringConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
manifest: StringConstructor;
version: StringConstructor;
xmlns: StringConstructor;
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}>>, {
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
}>;
export declare const Body: import("vue").DefineComponent<{
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
renderPriority: (StringConstructor | NumberConstructor)[];
accesskey: StringConstructor;
autocapitalize: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: undefined;
};
class: StringConstructor;
contenteditable: {
type: BooleanConstructor;
default: undefined;
};
contextmenu: StringConstructor;
dir: StringConstructor;
draggable: {
type: BooleanConstructor;
default: undefined;
};
enterkeyhint: StringConstructor;
exportparts: StringConstructor;
hidden: {
type: BooleanConstructor;
default: undefined;
};
id: StringConstructor;
inputmode: StringConstructor;
is: StringConstructor;
itemid: StringConstructor;
itemprop: StringConstructor;
itemref: StringConstructor;
itemscope: StringConstructor;
itemtype: StringConstructor;
lang: StringConstructor;
nonce: StringConstructor;
part: StringConstructor;
slot: StringConstructor;
spellcheck: {
type: BooleanConstructor;
default: undefined;
};
style: StringConstructor;
tabindex: StringConstructor;
title: StringConstructor;
translate: StringConstructor;
}>>, {
autofocus: boolean;
contenteditable: boolean;
draggable: boolean;
hidden: boolean;
spellcheck: boolean;
}>;

209
node_modules/nuxt/dist/head/runtime/components.mjs generated vendored Normal file
View File

@@ -0,0 +1,209 @@
import { defineComponent } from "vue";
import { useHead } from "./composables.mjs";
const removeUndefinedProps = (props) => Object.fromEntries(Object.entries(props).filter(([, value]) => value !== void 0));
const setupForUseMeta = (metaFactory, renderChild) => (props, ctx) => {
useHead(() => metaFactory({ ...removeUndefinedProps(props), ...ctx.attrs }, ctx));
return () => renderChild ? ctx.slots.default?.() : null;
};
const globalProps = {
accesskey: String,
autocapitalize: String,
autofocus: {
type: Boolean,
default: void 0
},
class: String,
contenteditable: {
type: Boolean,
default: void 0
},
contextmenu: String,
dir: String,
draggable: {
type: Boolean,
default: void 0
},
enterkeyhint: String,
exportparts: String,
hidden: {
type: Boolean,
default: void 0
},
id: String,
inputmode: String,
is: String,
itemid: String,
itemprop: String,
itemref: String,
itemscope: String,
itemtype: String,
lang: String,
nonce: String,
part: String,
slot: String,
spellcheck: {
type: Boolean,
default: void 0
},
style: String,
tabindex: String,
title: String,
translate: String
};
export const NoScript = defineComponent({
name: "NoScript",
inheritAttrs: false,
props: {
...globalProps,
title: String,
body: Boolean,
renderPriority: [String, Number]
},
setup: setupForUseMeta((props, { slots }) => {
const noscript = { ...props };
const textContent = (slots.default?.() || []).filter(({ children }) => children).map(({ children }) => children).join("");
if (textContent) {
noscript.children = textContent;
}
return {
noscript: [noscript]
};
})
});
export const Link = defineComponent({
name: "Link",
inheritAttrs: false,
props: {
...globalProps,
as: String,
crossorigin: String,
disabled: Boolean,
fetchpriority: String,
href: String,
hreflang: String,
imagesizes: String,
imagesrcset: String,
integrity: String,
media: String,
prefetch: {
type: Boolean,
default: void 0
},
referrerpolicy: String,
rel: String,
sizes: String,
title: String,
type: String,
methods: String,
target: String,
body: Boolean,
renderPriority: [String, Number]
},
setup: setupForUseMeta((link) => ({
link: [link]
}))
});
export const Base = defineComponent({
name: "Base",
inheritAttrs: false,
props: {
...globalProps,
href: String,
target: String
},
setup: setupForUseMeta((base) => ({
base
}))
});
export const Title = defineComponent({
name: "Title",
inheritAttrs: false,
setup: setupForUseMeta((_, { slots }) => {
const title = slots.default?.()?.[0]?.children || null;
if (process.dev && title && typeof title !== "string") {
console.error("<Title> can only take a string in its default slot.");
}
return {
title
};
})
});
export const Meta = defineComponent({
name: "Meta",
inheritAttrs: false,
props: {
...globalProps,
charset: String,
content: String,
httpEquiv: String,
name: String,
body: Boolean,
renderPriority: [String, Number]
},
setup: setupForUseMeta((props) => {
const meta = { ...props };
if (meta.httpEquiv) {
meta["http-equiv"] = meta.httpEquiv;
delete meta.httpEquiv;
}
return {
meta: [meta]
};
})
});
export const Style = defineComponent({
name: "Style",
inheritAttrs: false,
props: {
...globalProps,
type: String,
media: String,
nonce: String,
title: String,
scoped: {
type: Boolean,
default: void 0
},
body: Boolean,
renderPriority: [String, Number]
},
setup: setupForUseMeta((props, { slots }) => {
const style = { ...props };
const textContent = slots.default?.()?.[0]?.children;
if (textContent) {
if (process.dev && typeof textContent !== "string") {
console.error("<Style> can only take a string in its default slot.");
}
style.children = textContent;
}
return {
style: [style]
};
})
});
export const Head = defineComponent({
name: "Head",
inheritAttrs: false,
setup: (_props, ctx) => () => ctx.slots.default?.()
});
export const Html = defineComponent({
name: "Html",
inheritAttrs: false,
props: {
...globalProps,
manifest: String,
version: String,
xmlns: String,
renderPriority: [String, Number]
},
setup: setupForUseMeta((htmlAttrs) => ({ htmlAttrs }), true)
});
export const Body = defineComponent({
name: "Body",
inheritAttrs: false,
props: {
...globalProps,
renderPriority: [String, Number]
},
setup: setupForUseMeta((bodyAttrs) => ({ bodyAttrs }), true)
});

10
node_modules/nuxt/dist/head/runtime/composables.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import type { HeadEntryOptions, UseHeadInput, ActiveHeadEntry } from '@vueuse/head';
import type { HeadAugmentations } from '@nuxt/schema';
/**
* You can pass in a meta object, which has keys corresponding to meta tags:
* `title`, `base`, `script`, `style`, `meta` and `link`, as well as `htmlAttrs` and `bodyAttrs`.
*
* Alternatively, for reactive meta state, you can pass in a function
* that returns a meta object.
*/
export declare function useHead<T extends HeadAugmentations>(input: UseHeadInput<T>, options?: HeadEntryOptions): ActiveHeadEntry<UseHeadInput<T>> | void;

4
node_modules/nuxt/dist/head/runtime/composables.mjs generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import { useNuxtApp } from "#app";
export function useHead(input, options) {
return useNuxtApp()._useHead(input, options);
}

4
node_modules/nuxt/dist/head/runtime/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import type { UseHeadInput } from '@vueuse/head';
import type { HeadAugmentations } from '@nuxt/schema';
export * from './composables';
export type MetaObject = UseHeadInput<HeadAugmentations>;

1
node_modules/nuxt/dist/head/runtime/index.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from "./composables.mjs";

View File

@@ -0,0 +1,2 @@
declare const _default: any;
export default _default;

View File

@@ -0,0 +1,31 @@
import { createApp } from "vue";
import { createMetaManager } from "vue-meta";
import { defineNuxtPlugin } from "#app";
import { appHead } from "#build/nuxt.config.mjs";
export default defineNuxtPlugin((nuxtApp) => {
const manager = createMetaManager(process.server);
manager.addMeta(appHead);
nuxtApp.vueApp.use(manager);
nuxtApp._useHead = (meta) => manager.addMeta(meta);
if (process.client) {
const teleportTarget = document.createElement("div");
teleportTarget.id = "head-target";
document.body.appendChild(teleportTarget);
createApp({ render: () => manager.render({}) }).mount("#head-target");
}
if (process.server) {
nuxtApp.ssrContext.renderMeta = async () => {
const { renderMetaToString } = await import("vue-meta/ssr");
nuxtApp.ssrContext.teleports = nuxtApp.ssrContext.teleports || {};
await renderMetaToString(nuxtApp.app, nuxtApp.ssrContext);
return {
htmlAttrs: nuxtApp.ssrContext.teleports.htmlAttrs || "",
headAttrs: nuxtApp.ssrContext.teleports.headAttrs || "",
bodyAttrs: nuxtApp.ssrContext.teleports.bodyAttrs || "",
headTags: nuxtApp.ssrContext.teleports.head || "",
bodyScriptsPrepend: nuxtApp.ssrContext.teleports["body-prepend"] || "",
bodyScripts: nuxtApp.ssrContext.teleports.body || ""
};
};
}
});

View File

@@ -0,0 +1,2 @@
declare const _default: any;
export default _default;

View File

@@ -0,0 +1,35 @@
import { createHead, useHead } from "@vueuse/head";
import { defineNuxtPlugin } from "#app";
import { appHead } from "#build/nuxt.config.mjs";
export default defineNuxtPlugin((nuxtApp) => {
const head = createHead();
head.push(appHead);
nuxtApp.vueApp.use(head);
if (process.client) {
let pauseDOMUpdates = true;
const unpauseDom = () => {
pauseDOMUpdates = false;
head.internalHooks.callHook("entries:updated", head.unhead);
};
head.internalHooks.hook("dom:beforeRender", (context) => {
context.shouldRender = !pauseDOMUpdates;
});
nuxtApp.hooks.hook("page:start", () => {
pauseDOMUpdates = true;
});
nuxtApp.hooks.hook("page:finish", unpauseDom);
nuxtApp.hooks.hook("app:mounted", unpauseDom);
}
nuxtApp._useHead = useHead;
if (process.server) {
nuxtApp.ssrContext.renderMeta = async () => {
const { renderSSRHead } = await import("@unhead/ssr");
const meta = await renderSSRHead(head.unhead);
return {
...meta,
bodyScriptsPrepend: meta.bodyTagsOpen,
bodyScripts: meta.bodyTags
};
};
}
});

7
node_modules/nuxt/dist/head/runtime/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,7 @@
export type Props = Readonly<Record<string, any>>;
export type FetchPriority = 'high' | 'low' | 'auto';
export type CrossOrigin = '' | 'anonymous' | 'use-credentials';
export type HTTPEquiv = 'content-security-policy' | 'content-type' | 'default-style' | 'refresh' | 'x-ua-compatible';
export type ReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'same-origin' | 'origin' | 'strict-origin' | 'origin-when-cross-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
export type LinkRelationship = 'alternate' | 'author' | 'canonical' | 'dns-prefetch' | 'help' | 'icon' | 'license' | 'manifest' | 'me' | 'modulepreload' | 'next' | 'pingback' | 'preconnect' | 'prefetch' | 'preload' | 'prerender' | 'prev' | 'search' | 'stylesheet' | (string & {});
export type Target = '_blank' | '_self' | '_parent' | '_top' | (string & {});

0
node_modules/nuxt/dist/head/runtime/types.mjs generated vendored Normal file
View File