@scienjoy/sj-ai-plus 1.0.4 → 1.0.6
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/package.json +1 -1
- package/ui/es/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/cancel/CanceledError.ts +18 -0
- package/ui/es/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/AxiosError.ts +55 -0
- package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/InterceptorManager.ts +1 -0
- package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/env/data.ts +1 -1
- package/ui/es/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/buildURL.ts +21 -0
- package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/composeSignals.ts +1 -1
- package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/utils.ts +46 -31
- package/ui/es/packages/components/src/sjDigitalHumanAssistant/src/index.vue.ts +1 -1
- package/ui/es/packages/components/src/sjDigitalHumanAssistant/src/index.vue2.ts +226 -243
- package/ui/es/packages/components/src/utils/axios.ts +2 -2
- package/ui/es/sj-ai-plus.css +1 -1
- package/ui/lib/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/cancel/CanceledError.ts +1 -0
- package/ui/lib/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/AxiosError.ts +1 -0
- package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/env/data.ts +1 -1
- package/ui/lib/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/buildURL.ts +1 -0
- package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/composeSignals.ts +1 -1
- package/ui/lib/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/utils.ts +1 -0
- package/ui/lib/packages/components/src/sjDigitalHumanAssistant/src/index.vue.ts +1 -1
- package/ui/lib/packages/components/src/sjDigitalHumanAssistant/src/index.vue2.ts +1 -1
- package/ui/lib/packages/components/src/utils/axios.ts +1 -1
- package/ui/lib/sj-ai-plus.css +1 -1
- package/ui/es/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/cancel/CanceledError.ts +0 -11
- package/ui/es/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/core/AxiosError.ts +0 -56
- package/ui/es/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/helpers/buildURL.ts +0 -23
- package/ui/lib/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/cancel/CanceledError.ts +0 -1
- package/ui/lib/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/core/AxiosError.ts +0 -1
- package/ui/lib/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/helpers/buildURL.ts +0 -1
- package/ui/lib/node_modules/.pnpm/axios@1.13.2/node_modules/axios/lib/utils.ts +0 -1
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/index.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/adapters/adapters.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/adapters/fetch.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/adapters/xhr.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/axios.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/cancel/CancelToken.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/cancel/isCancel.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/Axios.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/AxiosHeaders.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/buildFullPath.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/dispatchRequest.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/mergeConfig.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/settle.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/transformData.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/defaults/index.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/defaults/transitional.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/AxiosURLSearchParams.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/HttpStatusCode.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/bind.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/combineURLs.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/cookies.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/formDataToJSON.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/isAbsoluteURL.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/isAxiosError.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/isURLSameOrigin.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/null.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/parseHeaders.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/parseProtocol.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/progressEventReducer.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/resolveConfig.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/speedometer.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/spread.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/throttle.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/toFormData.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/toURLEncodedForm.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/trackStream.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/validator.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/classes/Blob.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/classes/FormData.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/classes/URLSearchParams.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/index.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/common/utils.ts +0 -0
- /package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/index.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/index.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/adapters/adapters.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/adapters/fetch.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/adapters/xhr.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/axios.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/cancel/CancelToken.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/cancel/isCancel.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/Axios.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/AxiosHeaders.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/InterceptorManager.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/buildFullPath.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/dispatchRequest.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/mergeConfig.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/settle.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/core/transformData.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/defaults/index.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/defaults/transitional.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/AxiosURLSearchParams.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/HttpStatusCode.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/bind.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/combineURLs.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/cookies.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/formDataToJSON.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/isAbsoluteURL.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/isAxiosError.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/isURLSameOrigin.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/null.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/parseHeaders.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/parseProtocol.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/progressEventReducer.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/resolveConfig.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/speedometer.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/spread.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/throttle.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/toFormData.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/toURLEncodedForm.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/trackStream.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/helpers/validator.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/classes/Blob.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/classes/FormData.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/classes/URLSearchParams.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/browser/index.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/common/utils.ts +0 -0
- /package/ui/lib/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/platform/index.ts +0 -0
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import e from "../core/AxiosError.ts";
|
|
2
|
+
class n extends e {
|
|
3
|
+
/**
|
|
4
|
+
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
5
|
+
*
|
|
6
|
+
* @param {string=} message The message.
|
|
7
|
+
* @param {Object=} config The config.
|
|
8
|
+
* @param {Object=} request The request.
|
|
9
|
+
*
|
|
10
|
+
* @returns {CanceledError} The created error.
|
|
11
|
+
*/
|
|
12
|
+
constructor(r, o, t) {
|
|
13
|
+
super(r ?? "canceled", e.ERR_CANCELED, o, t), this.name = "CanceledError", this.__CANCEL__ = !0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
n as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import N from "../utils.ts";
|
|
2
|
+
class R extends Error {
|
|
3
|
+
static from(E, t, _, i, s, O) {
|
|
4
|
+
const e = new R(E.message, t || E.code, _, i, s);
|
|
5
|
+
return e.cause = E, e.name = E.name, O && Object.assign(e, O), e;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Create an Error with the specified message, config, error code, request and response.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} message The error message.
|
|
11
|
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
|
12
|
+
* @param {Object} [config] The config.
|
|
13
|
+
* @param {Object} [request] The request.
|
|
14
|
+
* @param {Object} [response] The response.
|
|
15
|
+
*
|
|
16
|
+
* @returns {Error} The created error.
|
|
17
|
+
*/
|
|
18
|
+
constructor(E, t, _, i, s) {
|
|
19
|
+
super(E), this.name = "AxiosError", this.isAxiosError = !0, t && (this.code = t), _ && (this.config = _), i && (this.request = i), s && (this.response = s, this.status = s.status);
|
|
20
|
+
}
|
|
21
|
+
toJSON() {
|
|
22
|
+
return {
|
|
23
|
+
// Standard
|
|
24
|
+
message: this.message,
|
|
25
|
+
name: this.name,
|
|
26
|
+
// Microsoft
|
|
27
|
+
description: this.description,
|
|
28
|
+
number: this.number,
|
|
29
|
+
// Mozilla
|
|
30
|
+
fileName: this.fileName,
|
|
31
|
+
lineNumber: this.lineNumber,
|
|
32
|
+
columnNumber: this.columnNumber,
|
|
33
|
+
stack: this.stack,
|
|
34
|
+
// Axios
|
|
35
|
+
config: N.toJSONObject(this.config),
|
|
36
|
+
code: this.code,
|
|
37
|
+
status: this.status
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
R.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
|
42
|
+
R.ERR_BAD_OPTION = "ERR_BAD_OPTION";
|
|
43
|
+
R.ECONNABORTED = "ECONNABORTED";
|
|
44
|
+
R.ETIMEDOUT = "ETIMEDOUT";
|
|
45
|
+
R.ERR_NETWORK = "ERR_NETWORK";
|
|
46
|
+
R.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
|
47
|
+
R.ERR_DEPRECATED = "ERR_DEPRECATED";
|
|
48
|
+
R.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
|
|
49
|
+
R.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
50
|
+
R.ERR_CANCELED = "ERR_CANCELED";
|
|
51
|
+
R.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
52
|
+
R.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
53
|
+
export {
|
|
54
|
+
R as default
|
|
55
|
+
};
|
|
@@ -8,6 +8,7 @@ class a {
|
|
|
8
8
|
*
|
|
9
9
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
10
10
|
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
11
|
+
* @param {Object} options The options for the interceptor, synchronous and runWhen
|
|
11
12
|
*
|
|
12
13
|
* @return {Number} An ID used to remove interceptor later
|
|
13
14
|
*/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import a from "../utils.ts";
|
|
2
|
+
import f from "./AxiosURLSearchParams.ts";
|
|
3
|
+
function d(e) {
|
|
4
|
+
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
5
|
+
}
|
|
6
|
+
function m(e, i, n) {
|
|
7
|
+
if (!i)
|
|
8
|
+
return e;
|
|
9
|
+
const s = n && n.encode || d, c = a.isFunction(n) ? {
|
|
10
|
+
serialize: n
|
|
11
|
+
} : n, r = c && c.serialize;
|
|
12
|
+
let t;
|
|
13
|
+
if (r ? t = r(i, c) : t = a.isURLSearchParams(i) ? i.toString() : new f(i, c).toString(s), t) {
|
|
14
|
+
const o = e.indexOf("#");
|
|
15
|
+
o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + t;
|
|
16
|
+
}
|
|
17
|
+
return e;
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
m as default
|
|
21
|
+
};
|
|
@@ -13,7 +13,7 @@ const h = (e, t) => {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
let c = t && setTimeout(() => {
|
|
16
|
-
c = null, n(new s(`timeout ${t}
|
|
16
|
+
c = null, n(new s(`timeout of ${t}ms exceeded`, s.ETIMEDOUT));
|
|
17
17
|
}, t);
|
|
18
18
|
const i = () => {
|
|
19
19
|
e && (c && clearTimeout(c), c = null, e.forEach((r) => {
|
package/ui/es/node_modules/.pnpm/{axios@1.13.2 → axios@1.13.4}/node_modules/axios/lib/utils.ts
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import R from "./helpers/bind.ts";
|
|
2
|
-
const { toString: T } = Object.prototype, { getPrototypeOf:
|
|
2
|
+
const { toString: T } = Object.prototype, { getPrototypeOf: h } = Object, { iterator: g, toStringTag: x } = Symbol, b = /* @__PURE__ */ ((e) => (t) => {
|
|
3
3
|
const n = T.call(t);
|
|
4
4
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
5
|
-
})(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) =>
|
|
5
|
+
})(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => b(t) === e), O = (e) => (t) => typeof t === e, { isArray: p } = Array, a = O("undefined");
|
|
6
6
|
function d(e) {
|
|
7
7
|
return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const S = f("ArrayBuffer");
|
|
10
10
|
function M(e) {
|
|
11
11
|
let t;
|
|
12
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
12
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && S(e.buffer), t;
|
|
13
13
|
}
|
|
14
|
-
const k = O("string"), c = O("function"),
|
|
15
|
-
if (
|
|
14
|
+
const k = O("string"), c = O("function"), B = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
|
|
15
|
+
if (b(e) !== "object")
|
|
16
16
|
return !1;
|
|
17
|
-
const t =
|
|
18
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
17
|
+
const t = h(e);
|
|
18
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(x in e) && !(g in e);
|
|
19
19
|
}, U = (e) => {
|
|
20
20
|
if (!y(e) || d(e))
|
|
21
21
|
return !1;
|
|
@@ -26,7 +26,7 @@ const k = O("string"), c = O("function"), E = O("number"), y = (e) => e !== null
|
|
|
26
26
|
}
|
|
27
27
|
}, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
|
|
28
28
|
let t;
|
|
29
|
-
return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t =
|
|
29
|
+
return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = b(e)) === "formdata" || // detect form-data instance
|
|
30
30
|
t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
|
|
31
31
|
}, J = f("URLSearchParams"), [K, $, W, G] = ["ReadableStream", "Request", "Response", "Headers"].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
32
32
|
function m(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
@@ -45,7 +45,7 @@ function m(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
45
45
|
l = o[r], t.call(null, e[l], l, e);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function E(e, t) {
|
|
49
49
|
if (d(e))
|
|
50
50
|
return null;
|
|
51
51
|
t = t.toLowerCase();
|
|
@@ -57,19 +57,34 @@ function P(e, t) {
|
|
|
57
57
|
return null;
|
|
58
58
|
}
|
|
59
59
|
const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
|
|
60
|
-
function
|
|
60
|
+
function F() {
|
|
61
61
|
const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
|
|
62
|
-
const i = e &&
|
|
63
|
-
w(n[i]) && w(s) ? n[i] =
|
|
62
|
+
const i = e && E(n, o) || o;
|
|
63
|
+
w(n[i]) && w(s) ? n[i] = F(n[i], s) : w(s) ? n[i] = F({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
|
|
64
64
|
};
|
|
65
65
|
for (let s = 0, o = arguments.length; s < o; s++)
|
|
66
66
|
arguments[s] && m(arguments[s], r);
|
|
67
67
|
return n;
|
|
68
68
|
}
|
|
69
69
|
const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
|
|
70
|
-
n && c(s) ? e
|
|
70
|
+
n && c(s) ? Object.defineProperty(e, o, {
|
|
71
|
+
value: R(s, n),
|
|
72
|
+
writable: !0,
|
|
73
|
+
enumerable: !0,
|
|
74
|
+
configurable: !0
|
|
75
|
+
}) : Object.defineProperty(e, o, {
|
|
76
|
+
value: s,
|
|
77
|
+
writable: !0,
|
|
78
|
+
enumerable: !0,
|
|
79
|
+
configurable: !0
|
|
80
|
+
});
|
|
71
81
|
}, { allOwnKeys: r }), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
|
|
72
|
-
e.prototype = Object.create(t.prototype, r),
|
|
82
|
+
e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
|
|
83
|
+
value: e,
|
|
84
|
+
writable: !0,
|
|
85
|
+
enumerable: !1,
|
|
86
|
+
configurable: !0
|
|
87
|
+
}), Object.defineProperty(e, "super", {
|
|
73
88
|
value: t.prototype
|
|
74
89
|
}), n && Object.assign(e.prototype, n);
|
|
75
90
|
}, j = (e, t, n, r) => {
|
|
@@ -79,7 +94,7 @@ const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
|
|
|
79
94
|
do {
|
|
80
95
|
for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
|
|
81
96
|
i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
|
|
82
|
-
e = n !== !1 &&
|
|
97
|
+
e = n !== !1 && h(e);
|
|
83
98
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
84
99
|
return t;
|
|
85
100
|
}, v = (e, t, n) => {
|
|
@@ -90,12 +105,12 @@ const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
|
|
|
90
105
|
if (!e) return null;
|
|
91
106
|
if (p(e)) return e;
|
|
92
107
|
let t = e.length;
|
|
93
|
-
if (!
|
|
108
|
+
if (!B(t)) return null;
|
|
94
109
|
const n = new Array(t);
|
|
95
110
|
for (; t-- > 0; )
|
|
96
111
|
n[t] = e[t];
|
|
97
112
|
return n;
|
|
98
|
-
}, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" &&
|
|
113
|
+
}, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && h(Uint8Array)), ne = (e, t) => {
|
|
99
114
|
const r = (e && e[g]).call(e);
|
|
100
115
|
let s;
|
|
101
116
|
for (; (s = r.next()) && !s.done; ) {
|
|
@@ -113,7 +128,7 @@ const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
|
|
|
113
128
|
function(n, r, s) {
|
|
114
129
|
return r.toUpperCase() + s;
|
|
115
130
|
}
|
|
116
|
-
),
|
|
131
|
+
), P = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
|
|
117
132
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
118
133
|
m(n, (s, o) => {
|
|
119
134
|
let i;
|
|
@@ -144,7 +159,7 @@ const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
|
|
|
144
159
|
}, le = () => {
|
|
145
160
|
}, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
146
161
|
function ae(e) {
|
|
147
|
-
return !!(e && c(e.append) && e[
|
|
162
|
+
return !!(e && c(e.append) && e[x] === "FormData" && e[g]);
|
|
148
163
|
}
|
|
149
164
|
const pe = (e) => {
|
|
150
165
|
const t = new Array(10), n = (r, s) => {
|
|
@@ -157,8 +172,8 @@ const pe = (e) => {
|
|
|
157
172
|
t[s] = r;
|
|
158
173
|
const o = p(r) ? [] : {};
|
|
159
174
|
return m(r, (i, l) => {
|
|
160
|
-
const
|
|
161
|
-
!a(
|
|
175
|
+
const A = n(i, s + 1);
|
|
176
|
+
!a(A) && (o[l] = A);
|
|
162
177
|
}), t[s] = void 0, o;
|
|
163
178
|
}
|
|
164
179
|
}
|
|
@@ -172,14 +187,14 @@ const pe = (e) => {
|
|
|
172
187
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
173
188
|
typeof setImmediate == "function",
|
|
174
189
|
c(u.postMessage)
|
|
175
|
-
), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]),
|
|
190
|
+
), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), be = {
|
|
176
191
|
isArray: p,
|
|
177
|
-
isArrayBuffer:
|
|
192
|
+
isArrayBuffer: S,
|
|
178
193
|
isBuffer: d,
|
|
179
194
|
isFormData: z,
|
|
180
195
|
isArrayBufferView: M,
|
|
181
196
|
isString: k,
|
|
182
|
-
isNumber:
|
|
197
|
+
isNumber: B,
|
|
183
198
|
isBoolean: N,
|
|
184
199
|
isObject: y,
|
|
185
200
|
isPlainObject: w,
|
|
@@ -199,21 +214,21 @@ const pe = (e) => {
|
|
|
199
214
|
isTypedArray: te,
|
|
200
215
|
isFileList: q,
|
|
201
216
|
forEach: m,
|
|
202
|
-
merge:
|
|
217
|
+
merge: F,
|
|
203
218
|
extend: X,
|
|
204
219
|
trim: Q,
|
|
205
220
|
stripBOM: Y,
|
|
206
221
|
inherits: Z,
|
|
207
222
|
toFlatObject: j,
|
|
208
|
-
kindOf:
|
|
223
|
+
kindOf: b,
|
|
209
224
|
kindOfTest: f,
|
|
210
225
|
endsWith: v,
|
|
211
226
|
toArray: ee,
|
|
212
227
|
forEachEntry: ne,
|
|
213
228
|
matchAll: re,
|
|
214
229
|
isHTMLForm: se,
|
|
215
|
-
hasOwnProperty:
|
|
216
|
-
hasOwnProp:
|
|
230
|
+
hasOwnProperty: P,
|
|
231
|
+
hasOwnProp: P,
|
|
217
232
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
218
233
|
reduceDescriptors: C,
|
|
219
234
|
freezeMethods: ce,
|
|
@@ -221,7 +236,7 @@ const pe = (e) => {
|
|
|
221
236
|
toCamelCase: oe,
|
|
222
237
|
noop: le,
|
|
223
238
|
toFiniteNumber: ue,
|
|
224
|
-
findKey:
|
|
239
|
+
findKey: E,
|
|
225
240
|
global: u,
|
|
226
241
|
isContextDefined: L,
|
|
227
242
|
isSpecCompliantForm: ae,
|
|
@@ -233,5 +248,5 @@ const pe = (e) => {
|
|
|
233
248
|
isIterable: we
|
|
234
249
|
};
|
|
235
250
|
export {
|
|
236
|
-
|
|
251
|
+
be as default
|
|
237
252
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./index.vue2.ts";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import a from "../../../../../_virtual/_plugin-vue_export-helper.ts";
|
|
4
|
-
const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-a14c8758"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|