@oiyo/framework 0.6.0 → 0.7.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/THIRD_PARTY_NOTICES.md +7 -0
- package/dist/{index-CLLGj09o.d.cts → index-CImYts_n.d.cts} +7 -5
- package/dist/{index-CLLGj09o.d.mts → index-CImYts_n.d.mts} +7 -5
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{oiyo-D-CtA2o6.cjs → oiyo-CYh1E2ho.cjs} +1 -1
- package/dist/{oiyo-47BOSXWu.mjs → oiyo-pN1G-4r9.mjs} +1 -1
- package/dist/oiyo.cjs +2 -2
- package/dist/oiyo.d.cts +2 -2
- package/dist/oiyo.d.mts +2 -2
- package/dist/oiyo.mjs +2 -2
- package/dist/uni.cjs +1 -1
- package/dist/uni.d.cts +1 -1
- package/dist/uni.d.mts +1 -1
- package/dist/uni.mjs +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.d.cts +1 -1
- package/dist/vue.d.mts +1 -1
- package/dist/vue.mjs +1 -1
- package/package.json +2 -2
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -19,3 +19,10 @@ Oiyo may rely on third-party components for runtime, build, framework integratio
|
|
|
19
19
|
- Provider: Vue team
|
|
20
20
|
- Upstream: `https://github.com/vuejs/core`
|
|
21
21
|
- License: MIT
|
|
22
|
+
|
|
23
|
+
## @uni-helper/uni-manifest-types
|
|
24
|
+
|
|
25
|
+
- Name: `@uni-helper/uni-manifest-types`
|
|
26
|
+
- Provider: uni-helper
|
|
27
|
+
- Upstream: `https://github.com/uni-helper/vite-plugin-uni-manifest/tree/main/packages/types`
|
|
28
|
+
- License: MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
@@ -361,6 +361,12 @@ declare class HttpError<TB = any> extends Error {
|
|
|
361
361
|
}
|
|
362
362
|
declare function isHttpError(error: unknown): error is HttpError;
|
|
363
363
|
//#endregion
|
|
364
|
+
//#region ../oiyo-config/src/common/index.d.ts
|
|
365
|
+
type RGBAColor = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
366
|
+
type HEXColor = `#${string}`;
|
|
367
|
+
type PxSize = `${number}px`;
|
|
368
|
+
type PercentageSize = `${number}%`;
|
|
369
|
+
//#endregion
|
|
364
370
|
//#region ../oiyo-config/src/pages/interfaces/condition.d.ts
|
|
365
371
|
interface ConditionItem {
|
|
366
372
|
/**
|
|
@@ -411,10 +417,6 @@ interface EasyCom {
|
|
|
411
417
|
}
|
|
412
418
|
//#endregion
|
|
413
419
|
//#region ../oiyo-config/src/pages/interfaces/common.d.ts
|
|
414
|
-
type RGBAColor = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
415
|
-
type HEXColor = `#${string}`;
|
|
416
|
-
type PxSize = `${number}px`;
|
|
417
|
-
type PercentageSize = `${number}%`;
|
|
418
420
|
type ThemeVar = `@${string}`;
|
|
419
421
|
/**
|
|
420
422
|
* 窗口动画,详见 [窗口动画](https://uniapp.dcloud.net.cn/api/router.html#animation)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
@@ -361,6 +361,12 @@ declare class HttpError<TB = any> extends Error {
|
|
|
361
361
|
}
|
|
362
362
|
declare function isHttpError(error: unknown): error is HttpError;
|
|
363
363
|
//#endregion
|
|
364
|
+
//#region ../oiyo-config/src/common/index.d.ts
|
|
365
|
+
type RGBAColor = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
366
|
+
type HEXColor = `#${string}`;
|
|
367
|
+
type PxSize = `${number}px`;
|
|
368
|
+
type PercentageSize = `${number}%`;
|
|
369
|
+
//#endregion
|
|
364
370
|
//#region ../oiyo-config/src/pages/interfaces/condition.d.ts
|
|
365
371
|
interface ConditionItem {
|
|
366
372
|
/**
|
|
@@ -411,10 +417,6 @@ interface EasyCom {
|
|
|
411
417
|
}
|
|
412
418
|
//#endregion
|
|
413
419
|
//#region ../oiyo-config/src/pages/interfaces/common.d.ts
|
|
414
|
-
type RGBAColor = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
415
|
-
type HEXColor = `#${string}`;
|
|
416
|
-
type PxSize = `${number}px`;
|
|
417
|
-
type PercentageSize = `${number}%`;
|
|
418
420
|
type ThemeVar = `@${string}`;
|
|
419
421
|
/**
|
|
420
422
|
* 窗口动画,详见 [窗口动画](https://uniapp.dcloud.net.cn/api/router.html#animation)
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./oiyo-
|
|
7
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./oiyo-CYh1E2ho.cjs");require("./uni.cjs"),require("./vue.cjs"),exports.HttpError=e.l,exports.abortNavigation=e.t,exports.createHttp=e.o,exports.createHttpAborter=e.c,exports.createOiyoMiddleware=e.i,exports.defineRouteMiddleware=e.n,exports.goTo=e.r,exports.http=e.s,exports.isHttpError=e.u,exports.toMiddlewareEntries=e.a;var t=require("@dcloudio/uni-app");Object.keys(t).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});var n=require("vue");Object.keys(n).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-
|
|
7
|
+
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-CImYts_n.cjs";
|
|
8
8
|
import "./uni.cjs";
|
|
9
9
|
import "./vue.cjs";
|
|
10
10
|
export * from "vue";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-
|
|
7
|
+
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-CImYts_n.mjs";
|
|
8
8
|
import "./uni.mjs";
|
|
9
9
|
import "./vue.mjs";
|
|
10
10
|
export * from "@dcloudio/uni-app";
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"./oiyo-
|
|
7
|
+
import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"./oiyo-pN1G-4r9.mjs";import"./uni.mjs";import"./vue.mjs";export*from"@dcloudio/uni-app";export*from"vue";export{r as HttpError,c as abortNavigation,a as createHttp,t as createHttpAborter,n as createOiyoMiddleware,i as defineRouteMiddleware,o as goTo,s as http,l as isHttpError,e as toMiddlewareEntries};
|
package/dist/oiyo.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./oiyo-
|
|
7
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./oiyo-CYh1E2ho.cjs");exports.HttpError=e.l,exports.abortNavigation=e.t,exports.createHttp=e.o,exports.createHttpAborter=e.c,exports.createOiyoMiddleware=e.i,exports.defineRouteMiddleware=e.n,exports.goTo=e.r,exports.http=e.s,exports.isHttpError=e.u,exports.toMiddlewareEntries=e.a;
|
package/dist/oiyo.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-
|
|
7
|
+
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-CImYts_n.cjs";
|
|
8
8
|
export { type HttpCommonOptions, type HttpConfig, type HttpDownloadOptions, type HttpDownloadResponse, HttpError, type HttpOptions, type HttpRequestOptions, type HttpRequestResponse, type HttpResponse, type HttpUploadOptions, type HttpUploadResponse, type ResponseBodyType, type RouteMiddleware, abortNavigation, createHttp, createHttpAborter, createOiyoMiddleware, defineRouteMiddleware, goTo, http, isHttpError, toMiddlewareEntries };
|
package/dist/oiyo.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-
|
|
7
|
+
import { S as createHttpAborter, _ as HttpDownloadResponse, a as toMiddlewareEntries, b as HttpUploadResponse, c as isHttpError, d as HttpCommonOptions, f as HttpConfig, g as HttpUploadOptions, h as HttpRequestOptions, i as createOiyoMiddleware, l as createHttp, m as HttpOptions, n as defineRouteMiddleware, o as RouteMiddleware, p as HttpDownloadOptions, r as goTo, s as HttpError, t as abortNavigation, u as http, v as HttpRequestResponse, x as ResponseBodyType, y as HttpResponse } from "./index-CImYts_n.mjs";
|
|
8
8
|
export { type HttpCommonOptions, type HttpConfig, type HttpDownloadOptions, type HttpDownloadResponse, HttpError, type HttpOptions, type HttpRequestOptions, type HttpRequestResponse, type HttpResponse, type HttpUploadOptions, type HttpUploadResponse, type ResponseBodyType, type RouteMiddleware, abortNavigation, createHttp, createHttpAborter, createOiyoMiddleware, defineRouteMiddleware, goTo, http, isHttpError, toMiddlewareEntries };
|
package/dist/oiyo.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/framework v0.
|
|
2
|
+
* @oiyo/framework v0.7.0
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
6
6
|
*/
|
|
7
|
-
import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"./oiyo-
|
|
7
|
+
import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"./oiyo-pN1G-4r9.mjs";export{r as HttpError,c as abortNavigation,a as createHttp,t as createHttpAborter,n as createOiyoMiddleware,i as defineRouteMiddleware,o as goTo,s as http,l as isHttpError,e as toMiddlewareEntries};
|
package/dist/uni.cjs
CHANGED
package/dist/uni.d.cts
CHANGED
package/dist/uni.d.mts
CHANGED
package/dist/uni.mjs
CHANGED
package/dist/vue.cjs
CHANGED
package/dist/vue.d.cts
CHANGED
package/dist/vue.d.mts
CHANGED
package/dist/vue.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oiyo/framework",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "skiyee",
|
|
7
7
|
"email": "319619193@qq.com",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
],
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"vite": "5.2.8",
|
|
66
|
-
"@oiyo/core": "0.
|
|
66
|
+
"@oiyo/core": "0.7.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@dcloudio/types": "3.4.19",
|