@kimesh/head 0.2.32 → 0.2.33
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/index.d.mts +22 -22
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadClient, KIMESH_HEAD_KEY, KimeshHeadPlugin } from "./plugin.mjs";
|
|
2
2
|
import { RouteHeadConfig } from "@kimesh/router-runtime";
|
|
3
3
|
import "@unhead/vue/client";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue0 from "vue";
|
|
5
5
|
import { PropType, Ref } from "vue";
|
|
6
6
|
import { ActiveHeadEntry, Head, Head as Head$1, HeadEntryOptions, HeadSafe, MergeHead, MergeHead as MergeHead$1, UseHeadInput, UseHeadInput as UseHeadInput$1, UseHeadSafeInput, UseHeadSafeInput as UseHeadSafeInput$1, UseSeoMetaInput, UseSeoMetaInput as UseSeoMetaInput$1 } from "@unhead/vue";
|
|
7
7
|
|
|
@@ -95,9 +95,9 @@ declare function useRouteHead(): Ref<RouteHeadConfig | undefined>;
|
|
|
95
95
|
* This is a wrapper component that renders slot content.
|
|
96
96
|
* Use the specific components (KmTitle, KmMeta, etc.) inside.
|
|
97
97
|
*/
|
|
98
|
-
declare const KmHead:
|
|
98
|
+
declare const KmHead: vue0.DefineComponent<{}, () => vue0.VNode<vue0.RendererNode, vue0.RendererElement, {
|
|
99
99
|
[key: string]: any;
|
|
100
|
-
}>[] | null, {}, {}, {},
|
|
100
|
+
}>[] | null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
101
101
|
//#endregion
|
|
102
102
|
//#region src/components/KmTitle.d.ts
|
|
103
103
|
/**
|
|
@@ -108,7 +108,7 @@ declare const KmHead: vue6.DefineComponent<{}, () => vue6.VNode<vue6.RendererNod
|
|
|
108
108
|
* <KmTitle>My Page Title</KmTitle>
|
|
109
109
|
* ```
|
|
110
110
|
*/
|
|
111
|
-
declare const KmTitle:
|
|
111
|
+
declare const KmTitle: vue0.DefineComponent<{}, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/KmMeta.d.ts
|
|
114
114
|
/**
|
|
@@ -121,19 +121,19 @@ declare const KmTitle: vue6.DefineComponent<{}, () => null, {}, {}, {}, vue6.Com
|
|
|
121
121
|
* <KmMeta charset="utf-8" />
|
|
122
122
|
* ```
|
|
123
123
|
*/
|
|
124
|
-
declare const KmMeta:
|
|
124
|
+
declare const KmMeta: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
125
125
|
name: StringConstructor;
|
|
126
126
|
property: StringConstructor;
|
|
127
127
|
httpEquiv: StringConstructor;
|
|
128
128
|
content: StringConstructor;
|
|
129
129
|
charset: StringConstructor;
|
|
130
|
-
}>, () => null, {}, {}, {},
|
|
130
|
+
}>, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<vue0.ExtractPropTypes<{
|
|
131
131
|
name: StringConstructor;
|
|
132
132
|
property: StringConstructor;
|
|
133
133
|
httpEquiv: StringConstructor;
|
|
134
134
|
content: StringConstructor;
|
|
135
135
|
charset: StringConstructor;
|
|
136
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
136
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
137
137
|
//#endregion
|
|
138
138
|
//#region src/components/KmLink.d.ts
|
|
139
139
|
type AsValue = 'object' | 'audio' | 'document' | 'embed' | 'fetch' | 'font' | 'image' | 'script' | 'style' | 'track' | 'video' | 'worker';
|
|
@@ -147,7 +147,7 @@ type AsValue = 'object' | 'audio' | 'document' | 'embed' | 'fetch' | 'font' | 'i
|
|
|
147
147
|
* <KmLink rel="preload" href="/font.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
|
|
148
148
|
* ```
|
|
149
149
|
*/
|
|
150
|
-
declare const KmLink:
|
|
150
|
+
declare const KmLink: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
151
151
|
rel: StringConstructor;
|
|
152
152
|
href: StringConstructor;
|
|
153
153
|
type: StringConstructor;
|
|
@@ -157,7 +157,7 @@ declare const KmLink: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
157
157
|
sizes: StringConstructor;
|
|
158
158
|
hreflang: StringConstructor;
|
|
159
159
|
title: StringConstructor;
|
|
160
|
-
}>, () => null, {}, {}, {},
|
|
160
|
+
}>, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<vue0.ExtractPropTypes<{
|
|
161
161
|
rel: StringConstructor;
|
|
162
162
|
href: StringConstructor;
|
|
163
163
|
type: StringConstructor;
|
|
@@ -167,7 +167,7 @@ declare const KmLink: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
167
167
|
sizes: StringConstructor;
|
|
168
168
|
hreflang: StringConstructor;
|
|
169
169
|
title: StringConstructor;
|
|
170
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
170
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
171
171
|
//#endregion
|
|
172
172
|
//#region src/components/KmScript.d.ts
|
|
173
173
|
type ReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
@@ -184,7 +184,7 @@ type ReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origi
|
|
|
184
184
|
* <KmScript>console.log('Hello')</KmScript>
|
|
185
185
|
* ```
|
|
186
186
|
*/
|
|
187
|
-
declare const KmScript:
|
|
187
|
+
declare const KmScript: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
188
188
|
src: StringConstructor;
|
|
189
189
|
type: StringConstructor;
|
|
190
190
|
async: BooleanConstructor;
|
|
@@ -194,7 +194,7 @@ declare const KmScript: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
194
194
|
nomodule: BooleanConstructor;
|
|
195
195
|
nonce: StringConstructor;
|
|
196
196
|
referrerpolicy: PropType<ReferrerPolicy>;
|
|
197
|
-
}>, () => null, {}, {}, {},
|
|
197
|
+
}>, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<vue0.ExtractPropTypes<{
|
|
198
198
|
src: StringConstructor;
|
|
199
199
|
type: StringConstructor;
|
|
200
200
|
async: BooleanConstructor;
|
|
@@ -208,7 +208,7 @@ declare const KmScript: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
208
208
|
async: boolean;
|
|
209
209
|
defer: boolean;
|
|
210
210
|
nomodule: boolean;
|
|
211
|
-
}, {}, {}, {}, string,
|
|
211
|
+
}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region src/components/KmStyle.d.ts
|
|
214
214
|
/**
|
|
@@ -228,15 +228,15 @@ declare const KmScript: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
228
228
|
* </KmStyle>
|
|
229
229
|
* ```
|
|
230
230
|
*/
|
|
231
|
-
declare const KmStyle:
|
|
231
|
+
declare const KmStyle: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
232
232
|
type: StringConstructor;
|
|
233
233
|
media: StringConstructor;
|
|
234
234
|
nonce: StringConstructor;
|
|
235
|
-
}>, () => null, {}, {}, {},
|
|
235
|
+
}>, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<vue0.ExtractPropTypes<{
|
|
236
236
|
type: StringConstructor;
|
|
237
237
|
media: StringConstructor;
|
|
238
238
|
nonce: StringConstructor;
|
|
239
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
239
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
240
240
|
//#endregion
|
|
241
241
|
//#region src/components/KmHtml.d.ts
|
|
242
242
|
/**
|
|
@@ -248,15 +248,15 @@ declare const KmStyle: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
248
248
|
* <KmHtml lang="vi" class="dark-mode" />
|
|
249
249
|
* ```
|
|
250
250
|
*/
|
|
251
|
-
declare const KmHtml:
|
|
251
|
+
declare const KmHtml: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
252
252
|
lang: StringConstructor;
|
|
253
253
|
dir: PropType<"ltr" | "rtl" | "auto">;
|
|
254
254
|
class: StringConstructor;
|
|
255
|
-
}>, () => null, {}, {}, {},
|
|
255
|
+
}>, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<vue0.ExtractPropTypes<{
|
|
256
256
|
lang: StringConstructor;
|
|
257
257
|
dir: PropType<"ltr" | "rtl" | "auto">;
|
|
258
258
|
class: StringConstructor;
|
|
259
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
259
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/components/KmBody.d.ts
|
|
262
262
|
/**
|
|
@@ -267,11 +267,11 @@ declare const KmHtml: vue6.DefineComponent<vue6.ExtractPropTypes<{
|
|
|
267
267
|
* <KmBody class="dark-mode" />
|
|
268
268
|
* ```
|
|
269
269
|
*/
|
|
270
|
-
declare const KmBody:
|
|
270
|
+
declare const KmBody: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
271
271
|
class: StringConstructor;
|
|
272
|
-
}>, () => null, {}, {}, {},
|
|
272
|
+
}>, () => null, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<vue0.ExtractPropTypes<{
|
|
273
273
|
class: StringConstructor;
|
|
274
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
274
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region src/types/index.d.ts
|
|
277
277
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimesh/head",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"description": "Head meta management for Kimesh framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@unhead/vue": "^2.0.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@kimesh/router-runtime": "0.2.
|
|
40
|
+
"@kimesh/router-runtime": "0.2.33",
|
|
41
41
|
"@types/node": "^25.0.8",
|
|
42
42
|
"@vue/test-utils": "^2.4.6",
|
|
43
43
|
"jsdom": "^27.4.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"vue-tsc": "^3.2.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@kimesh/router-runtime": "0.2.
|
|
52
|
+
"@kimesh/router-runtime": "0.2.33",
|
|
53
53
|
"vue": "^3.5.0"
|
|
54
54
|
}
|
|
55
55
|
}
|