@real-router/vue 0.19.50 → 0.19.51

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.
@@ -27,16 +27,16 @@ import { PropType } from "vue";
27
27
  interface HttpStatusSink {
28
28
  code: number | undefined;
29
29
  }
30
- declare function createHttpStatusSink(): HttpStatusSink;
30
+ export declare function createHttpStatusSink(): HttpStatusSink;
31
31
  //#endregion
32
32
  //#region src/components/ClientOnly.d.ts
33
- declare const ClientOnly: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ export declare const ClientOnly: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
34
  [key: string]: any;
35
35
  }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
36
  type ClientOnlyProps = InstanceType<typeof ClientOnly>["$props"];
37
37
  //#endregion
38
38
  //#region src/components/ServerOnly.d.ts
39
- declare const ServerOnly: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ export declare const ServerOnly: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
40
  [key: string]: any;
41
41
  }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  type ServerOnlyProps = InstanceType<typeof ServerOnly>["$props"];
@@ -71,7 +71,7 @@ type ServerOnlyProps = InstanceType<typeof ServerOnly>["$props"];
71
71
  * until resolution. Rejection bubbles to the nearest `onErrorCaptured`
72
72
  * handler.
73
73
  */
74
- declare const Await: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
74
+ export declare const Await: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
75
75
  /** Deferred key declared in the loader's `defer({ deferred: { <name>: ... } })`. */
76
76
  name: {
77
77
  type: StringConstructor;
@@ -102,7 +102,7 @@ type AwaitProps = InstanceType<typeof Await>["$props"];
102
102
  * `async setup()` inside. This matches Vue 3's stable streaming behaviour
103
103
  * (vs React 19 / Solid which support OOO resolution).
104
104
  */
105
- declare const Streamed: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
105
+ export declare const Streamed: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
106
106
  [key: string]: any;
107
107
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
108
108
  type StreamedProps = InstanceType<typeof Streamed>["$props"];
@@ -155,7 +155,7 @@ type StreamedProps = InstanceType<typeof Streamed>["$props"];
155
155
  * 5xx / dropped connection, not silent corruption. Pass a real HTTP status
156
156
  * integer (commonly 4xx/5xx; 100-999 is what Node accepts).
157
157
  */
158
- declare const HttpStatusCode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
158
+ export declare const HttpStatusCode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
159
159
  /** HTTP status to apply to the response. Common values: 404, 410, 451, 503. */
160
160
  code: {
161
161
  type: NumberConstructor;
@@ -171,7 +171,7 @@ declare const HttpStatusCode: import("vue").DefineComponent<import("vue").Extrac
171
171
  type HttpStatusCodeProps = InstanceType<typeof HttpStatusCode>["$props"];
172
172
  //#endregion
173
173
  //#region src/components/HttpStatusProvider.d.ts
174
- declare const HttpStatusProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
174
+ export declare const HttpStatusProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
175
175
  sink: {
176
176
  type: PropType<HttpStatusSink>;
177
177
  required: true;
@@ -206,7 +206,7 @@ type HttpStatusProviderProps = InstanceType<typeof HttpStatusProvider>["$props"]
206
206
  * loader/consumer key drift as a visible Suspense fallback rather than a
207
207
  * silent runtime error.
208
208
  */
209
- declare function useDeferred<T = unknown>(key: string): Promise<T>;
209
+ export declare function useDeferred<T = unknown>(key: string): Promise<T>;
210
210
  //#endregion
211
- export { Await, type AwaitProps, ClientOnly, type ClientOnlyProps, HttpStatusCode, type HttpStatusCodeProps, HttpStatusProvider, type HttpStatusProviderProps, type HttpStatusSink, ServerOnly, type ServerOnlyProps, Streamed, type StreamedProps, createHttpStatusSink, useDeferred };
211
+ export type { AwaitProps, ClientOnlyProps, HttpStatusCodeProps, HttpStatusProviderProps, HttpStatusSink, ServerOnlyProps, StreamedProps };
212
212
  //# sourceMappingURL=ssr.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ssr.d.mts","names":[],"sources":["../../src/utils/createHttpStatusSink.ts","../../src/components/ClientOnly.ts","../../src/components/ServerOnly.ts","../../src/components/Await.ts","../../src/components/Streamed.ts","../../src/components/HttpStatusCode.ts","../../src/components/HttpStatusProvider.ts","../../src/composables/useDeferred.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;UAwBiB;EACf;;iBAGc,wBAAwB;;;cC1B3B,0BAAU,wCAAA,oBAAA,4BAAA;;4CAWrB,qCAAA,iDAAA,aAAA,eAAA,oDAAA;KAEU,kBAAkB,oBAAoB;;;cCbrC,0BAAU,wCAAA,oBAAA,4BAAA;;4CAWrB,qCAAA,iDAAA,aAAA,eAAA,oDAAA;KAEU,kBAAkB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCkBrC,qBAAK,8BAAA;;;;;;;;;;;;;;MAWhB,oDAAA;KAEU,aAAa,oBAAoB;;;;;;;;;;;;;;;;cC/BhC,wBAAQ,wCAAA,oBAAA,4BAAA;;8BAanB,qCAAA,iDAAA,aAAA,eAAA,oDAAA;KAEU,gBAAgB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC0BnC,8BAAc,8BAAA;;;;;;0CAjDA,qCAAA,iDAAA,aAAA,uBAAA;;;;;;MA+EzB,oDAAA;KAEU,sBAAsB,oBAAoB;;;cCjFzC,kCAAkB,8BAAA;;IAGH,MAAA,SAAS;;;;;;;IAAT,MAAA,SAAS;;;MAOnC,oDAAA;KAEU,0BAA0B,oBAC7B;;;;;;;;;;;;;;;;;;;;;;iBCUO,YAAY,aAAa,cAAc,QAAQ"}
1
+ {"version":3,"file":"ssr.d.mts","names":[],"sources":["../../src/utils/createHttpStatusSink.ts","../../src/components/ClientOnly.ts","../../src/components/ServerOnly.ts","../../src/components/Await.ts","../../src/components/Streamed.ts","../../src/components/HttpStatusCode.ts","../../src/components/HttpStatusProvider.ts","../../src/composables/useDeferred.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;UAwBiB;EACf;;wBAGc,wBAAwB;;;qBC1B3B,0BAAU,wCAAA,oBAAA,4BAAA;;4CAWrB,qCAAA,iDAAA,aAAA,eAAA,oDAAA;KAEU,kBAAkB,oBAAoB;;;qBCbrC,0BAAU,wCAAA,oBAAA,4BAAA;;4CAWrB,qCAAA,iDAAA,aAAA,eAAA,oDAAA;KAEU,kBAAkB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCkBrC,qBAAK,8BAAA;;;;;;;;;;;;;;MAWhB,oDAAA;KAEU,aAAa,oBAAoB;;;;;;;;;;;;;;;;qBC/BhC,wBAAQ,wCAAA,oBAAA,4BAAA;;8BAanB,qCAAA,iDAAA,aAAA,eAAA,oDAAA;KAEU,gBAAgB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBC0BnC,8BAAc,8BAAA;;;;;;0CAjDA,qCAAA,iDAAA,aAAA,uBAAA;;;;;;MA+EzB,oDAAA;KAEU,sBAAsB,oBAAoB;;;qBCjFzC,kCAAkB,8BAAA;;IAGH,MAAA,SAAS;;;;;;;IAAT,MAAA,SAAS;;;MAOnC,oDAAA;KAEU,0BAA0B,oBAC7B;;;;;;;;;;;;;;;;;;;;;;wBCUO,YAAY,aAAa,cAAc,QAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@real-router/vue",
3
- "version": "0.19.50",
3
+ "version": "0.19.51",
4
4
  "type": "commonjs",
5
5
  "description": "Vue 3 integration for Real-Router",
6
6
  "main": "./dist/cjs/index.js",
@@ -65,15 +65,15 @@
65
65
  "license": "MIT",
66
66
  "sideEffects": false,
67
67
  "dependencies": {
68
- "@real-router/core": "^0.126.1",
68
+ "@real-router/core": "^0.126.6",
69
69
  "@real-router/route-utils": "^0.3.1",
70
- "@real-router/sources": "^0.14.30"
70
+ "@real-router/sources": "^0.14.32"
71
71
  },
72
72
  "devDependencies": {
73
+ "@real-router/browser-plugin": "^0.22.12",
73
74
  "@testing-library/jest-dom": "~6.9.1",
74
75
  "@vue/test-utils": "2.4.11",
75
- "vue": "~3.5.39",
76
- "@real-router/browser-plugin": "^0.22.12"
76
+ "vue": "~3.5.39"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "vue": ">=3.3.0"