ubean 0.6.0-beta.4 → 0.6.0
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.ts +8 -6
- package/dist/client.js +8 -8
- package/package.json +21 -21
package/dist/client.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare global {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
27
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.DC0v7nqS.d.ts
|
|
28
28
|
type Booleanable = boolean | 'false' | 'true' | '';
|
|
29
29
|
type Stringable = string | Booleanable | number;
|
|
30
30
|
type Falsy$1 = false | null | undefined;
|
|
@@ -1831,7 +1831,7 @@ interface HeadTag extends TagPriority, TagPosition, ResolvesDuplicates, HasTempl
|
|
|
1831
1831
|
_source?: string;
|
|
1832
1832
|
}
|
|
1833
1833
|
//#endregion
|
|
1834
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
1834
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.BCbtEyRi.d.ts
|
|
1835
1835
|
type UseScriptStatus = 'awaitingLoad' | 'loading' | 'loaded' | 'error' | 'removed';
|
|
1836
1836
|
type BaseScriptApi = Record<symbol | string, any>;
|
|
1837
1837
|
type HasDiscriminatedParameters<T> = T extends {
|
|
@@ -2351,14 +2351,16 @@ interface Unhead<Input = ResolvableHead, RenderResult = unknown> {
|
|
|
2351
2351
|
*/
|
|
2352
2352
|
_titleTemplate?: string;
|
|
2353
2353
|
/**
|
|
2354
|
-
* Per-response state for streamed body tags.
|
|
2354
|
+
* Per-response state for shell rendering and streamed body tags.
|
|
2355
2355
|
*
|
|
2356
2356
|
* @internal
|
|
2357
2357
|
*/
|
|
2358
2358
|
_stream?: {
|
|
2359
|
+
shellRendered?: true;
|
|
2359
2360
|
bodyTags?: any[];
|
|
2360
2361
|
seen?: Set<string>;
|
|
2361
2362
|
writesBodyTags?: boolean;
|
|
2363
|
+
nonce?: string;
|
|
2362
2364
|
};
|
|
2363
2365
|
}
|
|
2364
2366
|
interface DomState {
|
|
@@ -2380,13 +2382,13 @@ interface DomState {
|
|
|
2380
2382
|
_e: Map<string, Element>;
|
|
2381
2383
|
}
|
|
2382
2384
|
//#endregion
|
|
2383
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
2385
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.DiHEHi7R.d.ts
|
|
2384
2386
|
type Base = RawInput<'base'>;
|
|
2385
2387
|
type HtmlAttributes = RawInput<'htmlAttrs'>;
|
|
2386
2388
|
type Noscript = RawInput<'noscript'>;
|
|
2387
2389
|
type Style = RawInput<'style'>;
|
|
2388
2390
|
//#endregion
|
|
2389
|
-
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.
|
|
2391
|
+
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.2_@oxc-project+types@0.151.0_@types+node@26.6.4_@vitejs+devtools@0.7.6__b0e8f87cbcef34ce77ed0bd56756a679/node_modules/@unhead/vue/dist/shared/vue.B8YcFbNO.d.ts
|
|
2390
2392
|
type Falsy = false | null | undefined;
|
|
2391
2393
|
type MaybeFalsy<T> = T | Falsy;
|
|
2392
2394
|
type ResolvableValue<T> = MaybeFalsy<T> | (() => MaybeFalsy<T>) | ComputedRef<MaybeFalsy<T>> | Ref<MaybeFalsy<T>>;
|
|
@@ -2509,7 +2511,7 @@ interface ReactiveHead {
|
|
|
2509
2511
|
type UseHeadInput<_Deprecated = never> = ResolvableValue<ReactiveHead>;
|
|
2510
2512
|
type VueHeadClient<I = UseHeadInput, R = unknown> = Unhead<I, R> & Plugin;
|
|
2511
2513
|
//#endregion
|
|
2512
|
-
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.
|
|
2514
|
+
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.2_@oxc-project+types@0.151.0_@types+node@26.6.4_@vitejs+devtools@0.7.6__b0e8f87cbcef34ce77ed0bd56756a679/node_modules/@unhead/vue/dist/server.d.ts
|
|
2513
2515
|
declare function createHead(options?: Omit<CreateServerHeadOptions, 'propResolvers'>): VueHeadClient<UseHeadInput, SSRHeadPayload>;
|
|
2514
2516
|
//#endregion
|
|
2515
2517
|
//#region src/client.d.ts
|
package/dist/client.js
CHANGED
|
@@ -3,7 +3,7 @@ import { islands } from "virtual:ubean-islands-registry";
|
|
|
3
3
|
import { callAction, invokeServerFn, useAction, useFormAction } from "@ubean/routes/runtime";
|
|
4
4
|
import { isRef, toValue } from "vue";
|
|
5
5
|
export * from "@ubean/client";
|
|
6
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
6
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7
7
|
function registerPlugin(head, p) {
|
|
8
8
|
if (typeof p === "function" && p.key && head.plugins.has(p.key)) return;
|
|
9
9
|
const plugin = typeof p === "function" ? p(head) : p;
|
|
@@ -58,7 +58,7 @@ function createUnhead(renderer, resolvedOptions = {}) {
|
|
|
58
58
|
return head;
|
|
59
59
|
}
|
|
60
60
|
//#endregion
|
|
61
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
61
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
|
|
62
62
|
const SelfClosingTags = /* @__PURE__ */ new Set([
|
|
63
63
|
"meta",
|
|
64
64
|
"link",
|
|
@@ -183,7 +183,7 @@ var HookableCore = class {
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
//#endregion
|
|
186
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
186
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
187
187
|
function createHooks(hooks) {
|
|
188
188
|
const instance = new HookableCore();
|
|
189
189
|
for (const key in hooks || {}) instance.hook(key, hooks[key]);
|
|
@@ -194,7 +194,7 @@ function callHook(head, hook, ctx) {
|
|
|
194
194
|
return head.hooks?.callHook(hook, ctx);
|
|
195
195
|
}
|
|
196
196
|
//#endregion
|
|
197
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
197
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
|
|
198
198
|
const META_NOREWRITE_RE = /^(?:viewport|description|keywords|robots)$/;
|
|
199
199
|
const META_KEY_ATTRS = [
|
|
200
200
|
"name",
|
|
@@ -539,7 +539,7 @@ function resolveTags(head, options) {
|
|
|
539
539
|
return sanitizeTagsInPlace(ctx.tags);
|
|
540
540
|
}
|
|
541
541
|
//#endregion
|
|
542
|
-
//#region ../../node_modules/.pnpm/unhead@3.4.
|
|
542
|
+
//#region ../../node_modules/.pnpm/unhead@3.4.2_@types+node@26.6.4_@vitejs+devtools@0.7.6_@devframes+json-render@1.2.0_@de_15009e0f764b121066881ba5914a1e8a/node_modules/unhead/dist/shared/unhead.Dssd7L5I.mjs
|
|
543
543
|
const isTruthy = (v) => v === "" || v === true;
|
|
544
544
|
function capoTagWeight(tag) {
|
|
545
545
|
if (typeof tag.tagPriority === "number") return tag.tagPriority;
|
|
@@ -704,7 +704,7 @@ function createHead$1(options = {}) {
|
|
|
704
704
|
return core;
|
|
705
705
|
}
|
|
706
706
|
//#endregion
|
|
707
|
-
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.
|
|
707
|
+
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.2_@oxc-project+types@0.151.0_@types+node@26.6.4_@vitejs+devtools@0.7.6__b0e8f87cbcef34ce77ed0bd56756a679/node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
708
708
|
const headSymbol = "usehead";
|
|
709
709
|
// @__NO_SIDE_EFFECTS__
|
|
710
710
|
function vueInstall(head) {
|
|
@@ -715,10 +715,10 @@ function vueInstall(head) {
|
|
|
715
715
|
} }.install;
|
|
716
716
|
}
|
|
717
717
|
//#endregion
|
|
718
|
-
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.
|
|
718
|
+
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.2_@oxc-project+types@0.151.0_@types+node@26.6.4_@vitejs+devtools@0.7.6__b0e8f87cbcef34ce77ed0bd56756a679/node_modules/@unhead/vue/dist/shared/vue.D2XR8FqS.mjs
|
|
719
719
|
const VueResolver = /* @__PURE__ */ Object.assign((_, value) => isRef(value) ? toValue(value) : value, { _static: true });
|
|
720
720
|
//#endregion
|
|
721
|
-
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.
|
|
721
|
+
//#region ../../node_modules/.pnpm/@unhead+vue@3.4.2_@oxc-project+types@0.151.0_@types+node@26.6.4_@vitejs+devtools@0.7.6__b0e8f87cbcef34ce77ed0bd56756a679/node_modules/@unhead/vue/dist/server.mjs
|
|
722
722
|
// @__NO_SIDE_EFFECTS__
|
|
723
723
|
function createHead(options = {}) {
|
|
724
724
|
const head = /* @__PURE__ */ createHead$1({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ubean",
|
|
3
|
-
"version": "0.6.0
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Vue-first full-stack meta-framework built on Vite-Plus with Hono (aggregator of all @ubean/* subpackages)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ubean": "./bin/ubean.mjs"
|
|
@@ -51,30 +51,30 @@
|
|
|
51
51
|
"@hono/standard-validator": "^0.4.0",
|
|
52
52
|
"@standard-community/standard-json": "^0.3.6",
|
|
53
53
|
"@standard-community/standard-openapi": "^0.2.10",
|
|
54
|
-
"@ubean/app": "0.6.0
|
|
55
|
-
"@ubean/build": "0.6.0
|
|
56
|
-
"@ubean/cli": "0.6.0
|
|
57
|
-
"@ubean/client": "0.6.0
|
|
58
|
-
"@ubean/config": "0.6.0
|
|
59
|
-
"@ubean/i18n": "0.6.0
|
|
60
|
-
"@ubean/integrations": "0.6.0
|
|
61
|
-
"@ubean/islands": "0.6.0
|
|
62
|
-
"@ubean/markdown": "0.6.0
|
|
63
|
-
"@ubean/pages": "0.6.0
|
|
64
|
-
"@ubean/preset": "0.6.0
|
|
65
|
-
"@ubean/routes": "0.6.0
|
|
66
|
-
"@ubean/scan": "0.6.0
|
|
67
|
-
"@ubean/seo": "0.6.0
|
|
68
|
-
"@ubean/server": "0.6.0
|
|
69
|
-
"@ubean/shared": "0.6.0
|
|
70
|
-
"hono": "4.13.
|
|
54
|
+
"@ubean/app": "0.6.0",
|
|
55
|
+
"@ubean/build": "0.6.0",
|
|
56
|
+
"@ubean/cli": "0.6.0",
|
|
57
|
+
"@ubean/client": "0.6.0",
|
|
58
|
+
"@ubean/config": "0.6.0",
|
|
59
|
+
"@ubean/i18n": "0.6.0",
|
|
60
|
+
"@ubean/integrations": "0.6.0",
|
|
61
|
+
"@ubean/islands": "0.6.0",
|
|
62
|
+
"@ubean/markdown": "0.6.0",
|
|
63
|
+
"@ubean/pages": "0.6.0",
|
|
64
|
+
"@ubean/preset": "0.6.0",
|
|
65
|
+
"@ubean/routes": "0.6.0",
|
|
66
|
+
"@ubean/scan": "0.6.0",
|
|
67
|
+
"@ubean/seo": "0.6.0",
|
|
68
|
+
"@ubean/server": "0.6.0",
|
|
69
|
+
"@ubean/shared": "0.6.0",
|
|
70
|
+
"hono": "4.13.12",
|
|
71
71
|
"hono-openapi": "^1.3.3"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@types/node": "^26.6.
|
|
74
|
+
"@types/node": "^26.6.4",
|
|
75
75
|
"typescript": "npm:typescript-native-bridge@latest",
|
|
76
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@
|
|
77
|
-
"vite-plus": "
|
|
76
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
|
|
77
|
+
"vite-plus": "1.0.0",
|
|
78
78
|
"vue": "^3.5.43"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|