@unhead/vue 2.0.0-alpha.27 → 2.0.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.mts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.d.mts +13 -7
- package/dist/index.d.ts +13 -7
- package/dist/index.mjs +5 -2
- package/dist/legacy.d.mts +1 -1
- package/dist/legacy.d.ts +1 -1
- package/dist/scripts.d.mts +1 -1
- package/dist/scripts.d.ts +1 -1
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/shared/{vue.BkDIgqrM.d.mts → vue.aRqASu2a.d.mts} +1 -1
- package/dist/shared/{vue.BkDIgqrM.d.ts → vue.aRqASu2a.d.ts} +1 -1
- package/dist/types.d.mts +5 -5
- package/dist/types.d.ts +5 -5
- package/package.json +2 -2
package/dist/client.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateClientHeadOptions } from 'unhead/types';
|
|
2
2
|
export { V as VueHeadMixin } from './shared/vue.DnywREVF.mjs';
|
|
3
3
|
export { renderDOMHead } from 'unhead/client';
|
|
4
|
-
import { V as VueHeadClient } from './shared/vue.
|
|
4
|
+
import { V as VueHeadClient } from './shared/vue.aRqASu2a.mjs';
|
|
5
5
|
import 'vue';
|
|
6
6
|
|
|
7
7
|
declare function createHead(options?: CreateClientHeadOptions): VueHeadClient;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateClientHeadOptions } from 'unhead/types';
|
|
2
2
|
export { V as VueHeadMixin } from './shared/vue.DnywREVF.js';
|
|
3
3
|
export { renderDOMHead } from 'unhead/client';
|
|
4
|
-
import { V as VueHeadClient } from './shared/vue.
|
|
4
|
+
import { V as VueHeadClient } from './shared/vue.aRqASu2a.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
|
|
7
7
|
declare function createHead(options?: CreateClientHeadOptions): VueHeadClient;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { createUnhead } from 'unhead';
|
|
2
|
+
export { createUnhead } from 'unhead';
|
|
1
3
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag,
|
|
3
|
-
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.
|
|
4
|
-
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, k as ResolvableProperties, i as ResolvableValue, e as Script, S as Style, T as Title, c as TitleTemplate } from './shared/vue.
|
|
4
|
+
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, MetaFlatInput, RenderSSRHeadOptions, ResolvableHead, SerializableHead, Unhead } from 'unhead/types';
|
|
5
|
+
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.aRqASu2a.mjs';
|
|
6
|
+
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, k as ResolvableProperties, i as ResolvableValue, e as Script, S as Style, T as Title, c as TitleTemplate } from './shared/vue.aRqASu2a.mjs';
|
|
5
7
|
import { UseHeadSafeInput } from './types.mjs';
|
|
6
8
|
export { HeadSafe, SafeBodyAttr, SafeHtmlAttr, SafeLink, SafeMeta, SafeNoscript, SafeScript, SafeStyle } from './types.mjs';
|
|
7
9
|
export { resolveUnrefHeadInput } from './utils.mjs';
|
|
8
10
|
export { V as VueHeadMixin } from './shared/vue.DnywREVF.mjs';
|
|
9
|
-
export { createUnhead } from 'unhead';
|
|
10
11
|
export { useScript } from './scripts.mjs';
|
|
11
12
|
import 'vue';
|
|
12
13
|
import 'unhead/utils';
|
|
@@ -17,13 +18,13 @@ declare const unheadVueComposablesImports: {
|
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
declare function injectHead(): VueHeadClient;
|
|
20
|
-
declare function useHead<I = UseHeadInput>(input?:
|
|
21
|
+
declare function useHead<I = UseHeadInput>(input?: UseHeadInput, options?: UseHeadOptions): ActiveHeadEntry<I>;
|
|
21
22
|
declare function useHeadSafe(input?: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<UseHeadSafeInput>;
|
|
22
23
|
declare function useSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<UseSeoMetaInput>;
|
|
23
24
|
/**
|
|
24
25
|
* @deprecated use `useHead` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
25
26
|
*/
|
|
26
|
-
declare function useServerHead<I = UseHeadInput>(input?:
|
|
27
|
+
declare function useServerHead<I = UseHeadInput>(input?: UseHeadInput, options?: UseHeadOptions): ActiveHeadEntry<I>;
|
|
27
28
|
/**
|
|
28
29
|
* @deprecated use `useHeadSafe` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
29
30
|
*/
|
|
@@ -35,4 +36,9 @@ declare function useServerSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOpti
|
|
|
35
36
|
|
|
36
37
|
declare const headSymbol = "usehead";
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use createUnhead
|
|
41
|
+
*/
|
|
42
|
+
declare const createCoreHead: typeof createUnhead;
|
|
43
|
+
|
|
44
|
+
export { UseHeadInput, UseHeadOptions, UseHeadSafeInput, UseSeoMetaInput, VueHeadClient, createCoreHead, headSymbol, injectHead, unheadVueComposablesImports, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { createUnhead } from 'unhead';
|
|
2
|
+
export { createUnhead } from 'unhead';
|
|
1
3
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag,
|
|
3
|
-
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.
|
|
4
|
-
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, k as ResolvableProperties, i as ResolvableValue, e as Script, S as Style, T as Title, c as TitleTemplate } from './shared/vue.
|
|
4
|
+
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, MetaFlatInput, RenderSSRHeadOptions, ResolvableHead, SerializableHead, Unhead } from 'unhead/types';
|
|
5
|
+
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.aRqASu2a.js';
|
|
6
|
+
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, k as ResolvableProperties, i as ResolvableValue, e as Script, S as Style, T as Title, c as TitleTemplate } from './shared/vue.aRqASu2a.js';
|
|
5
7
|
import { UseHeadSafeInput } from './types.js';
|
|
6
8
|
export { HeadSafe, SafeBodyAttr, SafeHtmlAttr, SafeLink, SafeMeta, SafeNoscript, SafeScript, SafeStyle } from './types.js';
|
|
7
9
|
export { resolveUnrefHeadInput } from './utils.js';
|
|
8
10
|
export { V as VueHeadMixin } from './shared/vue.DnywREVF.js';
|
|
9
|
-
export { createUnhead } from 'unhead';
|
|
10
11
|
export { useScript } from './scripts.js';
|
|
11
12
|
import 'vue';
|
|
12
13
|
import 'unhead/utils';
|
|
@@ -17,13 +18,13 @@ declare const unheadVueComposablesImports: {
|
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
declare function injectHead(): VueHeadClient;
|
|
20
|
-
declare function useHead<I = UseHeadInput>(input?:
|
|
21
|
+
declare function useHead<I = UseHeadInput>(input?: UseHeadInput, options?: UseHeadOptions): ActiveHeadEntry<I>;
|
|
21
22
|
declare function useHeadSafe(input?: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<UseHeadSafeInput>;
|
|
22
23
|
declare function useSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<UseSeoMetaInput>;
|
|
23
24
|
/**
|
|
24
25
|
* @deprecated use `useHead` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
25
26
|
*/
|
|
26
|
-
declare function useServerHead<I = UseHeadInput>(input?:
|
|
27
|
+
declare function useServerHead<I = UseHeadInput>(input?: UseHeadInput, options?: UseHeadOptions): ActiveHeadEntry<I>;
|
|
27
28
|
/**
|
|
28
29
|
* @deprecated use `useHeadSafe` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
29
30
|
*/
|
|
@@ -35,4 +36,9 @@ declare function useServerSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOpti
|
|
|
35
36
|
|
|
36
37
|
declare const headSymbol = "usehead";
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use createUnhead
|
|
41
|
+
*/
|
|
42
|
+
declare const createCoreHead: typeof createUnhead;
|
|
43
|
+
|
|
44
|
+
export { UseHeadInput, UseHeadOptions, UseHeadSafeInput, UseSeoMetaInput, VueHeadClient, createCoreHead, headSymbol, injectHead, unheadVueComposablesImports, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { createUnhead } from 'unhead';
|
|
2
|
+
export { createUnhead } from 'unhead';
|
|
1
3
|
export { h as headSymbol, i as injectHead, u as useHead, a as useHeadSafe, b as useSeoMeta, c as useServerHead, d as useServerHeadSafe, e as useServerSeoMeta } from './shared/vue.BYLJNEcq.mjs';
|
|
2
4
|
export { resolveUnrefHeadInput } from './utils.mjs';
|
|
3
5
|
export { V as VueHeadMixin } from './shared/vue.nvpYXC6D.mjs';
|
|
4
|
-
export { createUnhead } from 'unhead';
|
|
5
6
|
export { u as useScript } from './shared/vue.cHBs6zvy.mjs';
|
|
6
7
|
import 'unhead/plugins';
|
|
7
8
|
import 'unhead/utils';
|
|
@@ -13,4 +14,6 @@ const unheadVueComposablesImports = {
|
|
|
13
14
|
"@unhead/vue": ["injectHead", "useHead", "useSeoMeta", "useHeadSafe", "useServerHead", "useServerSeoMeta", "useServerHeadSafe"]
|
|
14
15
|
};
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
const createCoreHead = createUnhead;
|
|
18
|
+
|
|
19
|
+
export { createCoreHead, unheadVueComposablesImports };
|
package/dist/legacy.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as unhead_types from 'unhead/types';
|
|
2
2
|
import { CreateClientHeadOptions, ActiveHeadEntry } from 'unhead/types';
|
|
3
3
|
import { createUnhead } from 'unhead';
|
|
4
|
-
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.
|
|
4
|
+
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.aRqASu2a.mjs';
|
|
5
5
|
import { UseHeadSafeInput } from './types.mjs';
|
|
6
6
|
import 'vue';
|
|
7
7
|
|
package/dist/legacy.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as unhead_types from 'unhead/types';
|
|
2
2
|
import { CreateClientHeadOptions, ActiveHeadEntry } from 'unhead/types';
|
|
3
3
|
import { createUnhead } from 'unhead';
|
|
4
|
-
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.
|
|
4
|
+
import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput } from './shared/vue.aRqASu2a.js';
|
|
5
5
|
import { UseHeadSafeInput } from './types.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
|
package/dist/scripts.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseScriptOptions as UseScriptOptions$1, ScriptInstance, UseScriptStatus, UseFunctionType } from 'unhead/scripts';
|
|
2
2
|
import { ScriptBase, DataKeys, SchemaAugmentations, HeadEntryOptions } from 'unhead/types';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
|
-
import { k as ResolvableProperties, V as VueHeadClient } from './shared/vue.
|
|
4
|
+
import { k as ResolvableProperties, V as VueHeadClient } from './shared/vue.aRqASu2a.mjs';
|
|
5
5
|
|
|
6
6
|
interface VueScriptInstance<T extends Record<symbol | string, any>> extends Omit<ScriptInstance<T>, 'status'> {
|
|
7
7
|
status: Ref<UseScriptStatus>;
|
package/dist/scripts.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseScriptOptions as UseScriptOptions$1, ScriptInstance, UseScriptStatus, UseFunctionType } from 'unhead/scripts';
|
|
2
2
|
import { ScriptBase, DataKeys, SchemaAugmentations, HeadEntryOptions } from 'unhead/types';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
|
-
import { k as ResolvableProperties, V as VueHeadClient } from './shared/vue.
|
|
4
|
+
import { k as ResolvableProperties, V as VueHeadClient } from './shared/vue.aRqASu2a.js';
|
|
5
5
|
|
|
6
6
|
interface VueScriptInstance<T extends Record<symbol | string, any>> extends Omit<ScriptInstance<T>, 'status'> {
|
|
7
7
|
status: Ref<UseScriptStatus>;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateServerHeadOptions } from 'unhead/types';
|
|
2
2
|
export { V as VueHeadMixin } from './shared/vue.DnywREVF.mjs';
|
|
3
3
|
export { SSRHeadPayload, extractUnheadInputFromHtml, propsToString, renderSSRHead, transformHtmlTemplate } from 'unhead/server';
|
|
4
|
-
import { V as VueHeadClient } from './shared/vue.
|
|
4
|
+
import { V as VueHeadClient } from './shared/vue.aRqASu2a.mjs';
|
|
5
5
|
import 'vue';
|
|
6
6
|
|
|
7
7
|
declare function createHead(options?: Omit<CreateServerHeadOptions, 'propsResolver'>): VueHeadClient;
|
package/dist/server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateServerHeadOptions } from 'unhead/types';
|
|
2
2
|
export { V as VueHeadMixin } from './shared/vue.DnywREVF.js';
|
|
3
3
|
export { SSRHeadPayload, extractUnheadInputFromHtml, propsToString, renderSSRHead, transformHtmlTemplate } from 'unhead/server';
|
|
4
|
-
import { V as VueHeadClient } from './shared/vue.
|
|
4
|
+
import { V as VueHeadClient } from './shared/vue.aRqASu2a.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
|
|
7
7
|
declare function createHead(options?: Omit<CreateServerHeadOptions, 'propsResolver'>): VueHeadClient;
|
|
@@ -124,7 +124,7 @@ interface ReactiveHead {
|
|
|
124
124
|
type UseHeadOptions = Omit<HeadEntryOptions, 'head'> & {
|
|
125
125
|
head?: VueHeadClient<any>;
|
|
126
126
|
};
|
|
127
|
-
type UseHeadInput = ResolvableValue<ReactiveHead>;
|
|
127
|
+
type UseHeadInput<Deprecated = never> = ResolvableValue<ReactiveHead>;
|
|
128
128
|
type UseSeoMetaInput = ResolvableProperties<MetaFlatInput> & {
|
|
129
129
|
title?: ReactiveHead['title'];
|
|
130
130
|
titleTemplate?: ReactiveHead['titleTemplate'];
|
|
@@ -124,7 +124,7 @@ interface ReactiveHead {
|
|
|
124
124
|
type UseHeadOptions = Omit<HeadEntryOptions, 'head'> & {
|
|
125
125
|
head?: VueHeadClient<any>;
|
|
126
126
|
};
|
|
127
|
-
type UseHeadInput = ResolvableValue<ReactiveHead>;
|
|
127
|
+
type UseHeadInput<Deprecated = never> = ResolvableValue<ReactiveHead>;
|
|
128
128
|
type UseSeoMetaInput = ResolvableProperties<MetaFlatInput> & {
|
|
129
129
|
title?: ReactiveHead['title'];
|
|
130
130
|
titleTemplate?: ReactiveHead['titleTemplate'];
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ResolvableHead, LinkBase, DataKeys, SchemaAugmentations, BaseMeta, Style, ScriptBase, Noscript, HtmlAttributes, BodyAttributes } from 'unhead/types';
|
|
2
|
-
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag,
|
|
3
|
-
import { i as ResolvableValue, k as ResolvableProperties } from './shared/vue.
|
|
4
|
-
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, e as Script, S as Style, T as Title, c as TitleTemplate, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput, V as VueHeadClient } from './shared/vue.
|
|
1
|
+
import { ResolvableHead, LinkBase, DataKeys, SchemaAugmentations, BaseMeta, Style, ScriptBase, TagPriority, TagPosition, ResolvesDuplicates, ProcessesTemplateParams, Noscript, HtmlAttributes, BodyAttributes } from 'unhead/types';
|
|
2
|
+
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, MetaFlatInput, RenderSSRHeadOptions, ResolvableHead, SerializableHead, Unhead } from 'unhead/types';
|
|
3
|
+
import { i as ResolvableValue, k as ResolvableProperties } from './shared/vue.aRqASu2a.mjs';
|
|
4
|
+
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, e as Script, S as Style, T as Title, c as TitleTemplate, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput, V as VueHeadClient } from './shared/vue.aRqASu2a.mjs';
|
|
5
5
|
import 'vue';
|
|
6
6
|
|
|
7
7
|
type SafeBodyAttr = ResolvableProperties<Pick<BodyAttributes, 'id' | 'class' | 'style'> & DataKeys & SchemaAugmentations['bodyAttrs']>;
|
|
@@ -10,7 +10,7 @@ type SafeMeta = ResolvableProperties<Pick<BaseMeta, 'id' | 'name' | 'property' |
|
|
|
10
10
|
type SafeLink = ResolvableProperties<Pick<LinkBase, 'id' | 'color' | 'crossorigin' | 'fetchpriority' | 'href' | 'hreflang' | 'imagesrcset' | 'imagesizes' | 'integrity' | 'media' | 'referrerpolicy' | 'rel' | 'sizes' | 'type'> & DataKeys & SchemaAugmentations['link']>;
|
|
11
11
|
type SafeScript = ResolvableProperties<Pick<ScriptBase, 'id' | 'type' | 'nonce' | 'blocking'> & DataKeys & {
|
|
12
12
|
textContent?: string;
|
|
13
|
-
} &
|
|
13
|
+
} & TagPriority & TagPosition & ResolvesDuplicates & ProcessesTemplateParams>;
|
|
14
14
|
type SafeNoscript = ResolvableProperties<Pick<Noscript, 'id' | 'textContent'> & DataKeys & SchemaAugmentations['noscript']>;
|
|
15
15
|
type SafeStyle = ResolvableProperties<Pick<Style, 'id' | 'media' | 'textContent' | 'nonce' | 'title' | 'blocking'> & DataKeys & SchemaAugmentations['style']>;
|
|
16
16
|
interface HeadSafe extends Pick<ResolvableHead, 'title' | 'titleTemplate' | 'templateParams'> {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ResolvableHead, LinkBase, DataKeys, SchemaAugmentations, BaseMeta, Style, ScriptBase, Noscript, HtmlAttributes, BodyAttributes } from 'unhead/types';
|
|
2
|
-
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag,
|
|
3
|
-
import { i as ResolvableValue, k as ResolvableProperties } from './shared/vue.
|
|
4
|
-
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, e as Script, S as Style, T as Title, c as TitleTemplate, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput, V as VueHeadClient } from './shared/vue.
|
|
1
|
+
import { ResolvableHead, LinkBase, DataKeys, SchemaAugmentations, BaseMeta, Style, ScriptBase, TagPriority, TagPosition, ResolvesDuplicates, ProcessesTemplateParams, Noscript, HtmlAttributes, BodyAttributes } from 'unhead/types';
|
|
2
|
+
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, MetaFlatInput, RenderSSRHeadOptions, ResolvableHead, SerializableHead, Unhead } from 'unhead/types';
|
|
3
|
+
import { i as ResolvableValue, k as ResolvableProperties } from './shared/vue.aRqASu2a.js';
|
|
4
|
+
export { d as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, L as Link, h as MaybeFalsy, M as Meta, N as Noscript, R as ReactiveHead, j as ResolvableArray, e as Script, S as Style, T as Title, c as TitleTemplate, U as UseHeadInput, a as UseHeadOptions, b as UseSeoMetaInput, V as VueHeadClient } from './shared/vue.aRqASu2a.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
|
|
7
7
|
type SafeBodyAttr = ResolvableProperties<Pick<BodyAttributes, 'id' | 'class' | 'style'> & DataKeys & SchemaAugmentations['bodyAttrs']>;
|
|
@@ -10,7 +10,7 @@ type SafeMeta = ResolvableProperties<Pick<BaseMeta, 'id' | 'name' | 'property' |
|
|
|
10
10
|
type SafeLink = ResolvableProperties<Pick<LinkBase, 'id' | 'color' | 'crossorigin' | 'fetchpriority' | 'href' | 'hreflang' | 'imagesrcset' | 'imagesizes' | 'integrity' | 'media' | 'referrerpolicy' | 'rel' | 'sizes' | 'type'> & DataKeys & SchemaAugmentations['link']>;
|
|
11
11
|
type SafeScript = ResolvableProperties<Pick<ScriptBase, 'id' | 'type' | 'nonce' | 'blocking'> & DataKeys & {
|
|
12
12
|
textContent?: string;
|
|
13
|
-
} &
|
|
13
|
+
} & TagPriority & TagPosition & ResolvesDuplicates & ProcessesTemplateParams>;
|
|
14
14
|
type SafeNoscript = ResolvableProperties<Pick<Noscript, 'id' | 'textContent'> & DataKeys & SchemaAugmentations['noscript']>;
|
|
15
15
|
type SafeStyle = ResolvableProperties<Pick<Style, 'id' | 'media' | 'textContent' | 'nonce' | 'title' | 'blocking'> & DataKeys & SchemaAugmentations['style']>;
|
|
16
16
|
interface HeadSafe extends Pick<ResolvableHead, 'title' | 'titleTemplate' | 'templateParams'> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.29",
|
|
5
5
|
"description": "Full-stack <head> manager built for Vue.",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"hookable": "^5.5.3",
|
|
112
|
-
"unhead": "2.0.0-alpha.
|
|
112
|
+
"unhead": "2.0.0-alpha.29"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|
|
115
115
|
"build": "unbuild .",
|