@cartanova/qgrid-cli 2.6.10 → 2.6.11
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/bundle/dist/application/qgrid/qgrid-run-lifecycle.js +137 -60
- package/bundle/dist/application/qgrid/qgrid.frame.js +5 -2
- package/bundle/dist/application/setting/setting.model.js +65 -3
- package/bundle/dist/application/setting/setting.types.js +13 -3
- package/bundle/dist/i18n/en.js +3 -1
- package/bundle/dist/i18n/ko.js +3 -1
- package/bundle/dist/utils/process-supervisor.js +22 -0
- package/bundle/dist/utils/server-restart.js +61 -0
- package/bundle/src/application/qgrid/qgrid-oauth-redirect.test.ts +7 -0
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.test.ts +113 -0
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.ts +172 -75
- package/bundle/src/application/qgrid/qgrid.frame.test.ts +45 -0
- package/bundle/src/application/qgrid/qgrid.frame.ts +4 -0
- package/bundle/src/application/setting/setting.model.test.ts +104 -0
- package/bundle/src/application/setting/setting.model.ts +75 -3
- package/bundle/src/application/setting/setting.types.ts +12 -0
- package/bundle/src/application/sonamu.generated.http +7 -0
- package/bundle/src/i18n/en.ts +3 -0
- package/bundle/src/i18n/ko.ts +3 -0
- package/bundle/src/server-error-handler.test.ts +15 -0
- package/bundle/src/utils/process-supervisor.test.ts +24 -0
- package/bundle/src/utils/process-supervisor.ts +17 -0
- package/bundle/src/utils/server-restart.test.ts +76 -0
- package/bundle/src/utils/server-restart.ts +68 -0
- package/bundle/web-dist/client/assets/index-CFvFRDk_.js +78 -0
- package/bundle/web-dist/client/assets/index-CJ9iTI_V.css +1 -0
- package/bundle/web-dist/client/assets/{logs-BI5K8oe4.js → logs-DeAK5Uyu.js} +1 -1
- package/bundle/web-dist/client/assets/{monit-4Y-Razet.js → monit-Rj94Sz3_.js} +1 -1
- package/bundle/web-dist/client/assets/{routes-CkBXB-V4.js → routes-DVseTo6T.js} +1 -1
- package/bundle/web-dist/client/assets/{sd.generated-Bwa7rses.js → sd.generated-W6XqgWK6.js} +8 -8
- package/bundle/web-dist/client/assets/services.generated-Dz5pA5Fb.js +1 -0
- package/bundle/web-dist/client/assets/settings-DvuRDFfS.js +1 -0
- package/bundle/web-dist/client/assets/{show-CGRchJj7.js → show-C7etBj89.js} +1 -1
- package/bundle/web-dist/client/assets/{tokens-Bx5mQnoJ.js → tokens-BroPe7Tn.js} +1 -1
- package/bundle/web-dist/client/assets/{use-oauth-login-flow-Bz87RV5v.js → use-oauth-login-flow-CuLvs_CW.js} +1 -1
- package/bundle/web-dist/client/index.html +3 -3
- package/bundle/web-dist/server/assets/{lazyRouteComponent-Ws7I6fL-.js → lazyRouteComponent-C-N6sd5N.js} +2 -2
- package/bundle/web-dist/server/assets/{logs-C1rxLh8H.js → logs-CVkeSr1S.js} +3 -3
- package/bundle/web-dist/server/assets/{monit-C8gx9Sar.js → monit-Bb6QfT9V.js} +3 -3
- package/bundle/web-dist/server/assets/{plus-BISXNqRU.js → plus-B8JRuCb9.js} +1 -1
- package/bundle/web-dist/server/assets/{react-dom-D7duWOwf.js → react-dom-ByF9tqTB.js} +1 -1
- package/bundle/web-dist/server/assets/{routes-ZW_Ih5Em.js → routes-Dnm-Eti6.js} +4 -4
- package/bundle/web-dist/server/assets/{sd.generated-LO-h1_16.js → sd.generated-CuyajYtc.js} +126 -116
- package/bundle/web-dist/server/assets/{services.generated-CZIChgHV.js → services.generated-BAGLi2r8.js} +9 -1
- package/bundle/web-dist/server/assets/{settings--aoatERH.js → settings-4T3nBfY8.js} +271 -39
- package/bundle/web-dist/server/assets/{show-BY27w9oi.js → show-CQw03iTP.js} +3 -3
- package/bundle/web-dist/server/assets/{tokens-DIObtTuZ.js → tokens-Di_SGPYj.js} +4 -4
- package/bundle/web-dist/server/assets/{use-oauth-login-flow-V3k8PSqQ.js → use-oauth-login-flow-DiYCMNAQ.js} +2 -2
- package/bundle/web-dist/server/entry-server.generated.js +10 -10
- package/dist/cli.js +93 -38
- package/package.json +1 -1
- package/skills/qgrid/references/cli-env-and-server-boot.md +34 -3
- package/bundle/web-dist/client/assets/index-BRRNJRgu.js +0 -78
- package/bundle/web-dist/client/assets/index-rdbxJinT.css +0 -1
- package/bundle/web-dist/client/assets/services.generated-BzwTuZRP.js +0 -1
- package/bundle/web-dist/client/assets/settings-B62_r1i4.js +0 -1
|
@@ -3382,9 +3382,9 @@ var utils_default = {
|
|
|
3382
3382
|
};
|
|
3383
3383
|
//#endregion
|
|
3384
3384
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js
|
|
3385
|
-
var AxiosError = class AxiosError extends Error {
|
|
3385
|
+
var AxiosError$1 = class AxiosError$1 extends Error {
|
|
3386
3386
|
static from(error, code, config, request, response, customProps) {
|
|
3387
|
-
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
3387
|
+
const axiosError = new AxiosError$1(error.message, code || error.code, config, request, response);
|
|
3388
3388
|
axiosError.cause = error;
|
|
3389
3389
|
axiosError.name = error.name;
|
|
3390
3390
|
if (error.status != null && axiosError.status == null) axiosError.status = error.status;
|
|
@@ -3436,18 +3436,18 @@ var AxiosError = class AxiosError extends Error {
|
|
|
3436
3436
|
};
|
|
3437
3437
|
}
|
|
3438
3438
|
};
|
|
3439
|
-
AxiosError.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
|
3440
|
-
AxiosError.ERR_BAD_OPTION = "ERR_BAD_OPTION";
|
|
3441
|
-
AxiosError.ECONNABORTED = "ECONNABORTED";
|
|
3442
|
-
AxiosError.ETIMEDOUT = "ETIMEDOUT";
|
|
3443
|
-
AxiosError.ERR_NETWORK = "ERR_NETWORK";
|
|
3444
|
-
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
|
3445
|
-
AxiosError.ERR_DEPRECATED = "ERR_DEPRECATED";
|
|
3446
|
-
AxiosError.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
|
|
3447
|
-
AxiosError.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
3448
|
-
AxiosError.ERR_CANCELED = "ERR_CANCELED";
|
|
3449
|
-
AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
3450
|
-
AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
3439
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
|
3440
|
+
AxiosError$1.ERR_BAD_OPTION = "ERR_BAD_OPTION";
|
|
3441
|
+
AxiosError$1.ECONNABORTED = "ECONNABORTED";
|
|
3442
|
+
AxiosError$1.ETIMEDOUT = "ETIMEDOUT";
|
|
3443
|
+
AxiosError$1.ERR_NETWORK = "ERR_NETWORK";
|
|
3444
|
+
AxiosError$1.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
|
3445
|
+
AxiosError$1.ERR_DEPRECATED = "ERR_DEPRECATED";
|
|
3446
|
+
AxiosError$1.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
|
|
3447
|
+
AxiosError$1.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
3448
|
+
AxiosError$1.ERR_CANCELED = "ERR_CANCELED";
|
|
3449
|
+
AxiosError$1.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
3450
|
+
AxiosError$1.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
3451
3451
|
//#endregion
|
|
3452
3452
|
//#region ../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js
|
|
3453
3453
|
var require_delayed_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -12112,7 +12112,7 @@ var predicates = utils_default.toFlatObject(utils_default, {}, null, function fi
|
|
|
12112
12112
|
*
|
|
12113
12113
|
* @returns
|
|
12114
12114
|
*/
|
|
12115
|
-
function toFormData(obj, formData, options) {
|
|
12115
|
+
function toFormData$1(obj, formData, options) {
|
|
12116
12116
|
if (!utils_default.isObject(obj)) throw new TypeError("target must be an object");
|
|
12117
12117
|
formData = formData || new (FormData_default || FormData)();
|
|
12118
12118
|
options = utils_default.toFlatObject(options, {
|
|
@@ -12132,7 +12132,7 @@ function toFormData(obj, formData, options) {
|
|
|
12132
12132
|
if (value === null) return "";
|
|
12133
12133
|
if (utils_default.isDate(value)) return value.toISOString();
|
|
12134
12134
|
if (utils_default.isBoolean(value)) return value.toString();
|
|
12135
|
-
if (!useBlob && utils_default.isBlob(value)) throw new AxiosError("Blob is not supported. Use a Buffer instead.");
|
|
12135
|
+
if (!useBlob && utils_default.isBlob(value)) throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
|
|
12136
12136
|
if (utils_default.isArrayBuffer(value) || utils_default.isTypedArray(value)) return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
|
|
12137
12137
|
return value;
|
|
12138
12138
|
}
|
|
@@ -12221,7 +12221,7 @@ function encode$3(str) {
|
|
|
12221
12221
|
*/
|
|
12222
12222
|
function AxiosURLSearchParams(params, options) {
|
|
12223
12223
|
this._pairs = [];
|
|
12224
|
-
params && toFormData(params, this, options);
|
|
12224
|
+
params && toFormData$1(params, this, options);
|
|
12225
12225
|
}
|
|
12226
12226
|
var prototype = AxiosURLSearchParams.prototype;
|
|
12227
12227
|
prototype.append = function append(name, value) {
|
|
@@ -12427,7 +12427,7 @@ var platform_default = {
|
|
|
12427
12427
|
//#endregion
|
|
12428
12428
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
12429
12429
|
function toURLEncodedForm(data, options) {
|
|
12430
|
-
return toFormData(data, new platform_default.classes.URLSearchParams(), {
|
|
12430
|
+
return toFormData$1(data, new platform_default.classes.URLSearchParams(), {
|
|
12431
12431
|
visitor: function(value, key, path, helpers) {
|
|
12432
12432
|
if (platform_default.isNode && utils_default.isBuffer(value)) {
|
|
12433
12433
|
this.append(key, value.toString("base64"));
|
|
@@ -12548,7 +12548,7 @@ var defaults = {
|
|
|
12548
12548
|
if (contentType.indexOf("application/x-www-form-urlencoded") > -1) return toURLEncodedForm(data, this.formSerializer).toString();
|
|
12549
12549
|
if ((isFileList = utils_default.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
|
|
12550
12550
|
const _FormData = this.env && this.env.FormData;
|
|
12551
|
-
return toFormData(isFileList ? { "files[]": data } : data, _FormData && new _FormData(), this.formSerializer);
|
|
12551
|
+
return toFormData$1(isFileList ? { "files[]": data } : data, _FormData && new _FormData(), this.formSerializer);
|
|
12552
12552
|
}
|
|
12553
12553
|
}
|
|
12554
12554
|
if (isObjectPayload || hasJSONContentType) {
|
|
@@ -12568,7 +12568,7 @@ var defaults = {
|
|
|
12568
12568
|
return JSON.parse(data, this.parseReviver);
|
|
12569
12569
|
} catch (e) {
|
|
12570
12570
|
if (strictJSONParsing) {
|
|
12571
|
-
if (e.name === "SyntaxError") throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
12571
|
+
if (e.name === "SyntaxError") throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
12572
12572
|
throw e;
|
|
12573
12573
|
}
|
|
12574
12574
|
}
|
|
@@ -12698,7 +12698,7 @@ function buildAccessors(obj, header) {
|
|
|
12698
12698
|
});
|
|
12699
12699
|
});
|
|
12700
12700
|
}
|
|
12701
|
-
var AxiosHeaders = class {
|
|
12701
|
+
var AxiosHeaders$1 = class {
|
|
12702
12702
|
constructor(headers) {
|
|
12703
12703
|
headers && this.set(headers);
|
|
12704
12704
|
}
|
|
@@ -12836,7 +12836,7 @@ var AxiosHeaders = class {
|
|
|
12836
12836
|
return this;
|
|
12837
12837
|
}
|
|
12838
12838
|
};
|
|
12839
|
-
AxiosHeaders.accessor([
|
|
12839
|
+
AxiosHeaders$1.accessor([
|
|
12840
12840
|
"Content-Type",
|
|
12841
12841
|
"Content-Length",
|
|
12842
12842
|
"Accept",
|
|
@@ -12844,7 +12844,7 @@ AxiosHeaders.accessor([
|
|
|
12844
12844
|
"User-Agent",
|
|
12845
12845
|
"Authorization"
|
|
12846
12846
|
]);
|
|
12847
|
-
utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
12847
|
+
utils_default.reduceDescriptors(AxiosHeaders$1.prototype, ({ value }, key) => {
|
|
12848
12848
|
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
12849
12849
|
return {
|
|
12850
12850
|
get: () => value,
|
|
@@ -12853,7 +12853,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
12853
12853
|
}
|
|
12854
12854
|
};
|
|
12855
12855
|
});
|
|
12856
|
-
utils_default.freezeMethods(AxiosHeaders);
|
|
12856
|
+
utils_default.freezeMethods(AxiosHeaders$1);
|
|
12857
12857
|
//#endregion
|
|
12858
12858
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js
|
|
12859
12859
|
/**
|
|
@@ -12867,7 +12867,7 @@ utils_default.freezeMethods(AxiosHeaders);
|
|
|
12867
12867
|
function transformData(fns, response) {
|
|
12868
12868
|
const config = this || defaults;
|
|
12869
12869
|
const context = response || config;
|
|
12870
|
-
const headers = AxiosHeaders.from(context.headers);
|
|
12870
|
+
const headers = AxiosHeaders$1.from(context.headers);
|
|
12871
12871
|
let data = context.data;
|
|
12872
12872
|
utils_default.forEach(fns, function transform(fn) {
|
|
12873
12873
|
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
@@ -12877,12 +12877,12 @@ function transformData(fns, response) {
|
|
|
12877
12877
|
}
|
|
12878
12878
|
//#endregion
|
|
12879
12879
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js
|
|
12880
|
-
function isCancel(value) {
|
|
12880
|
+
function isCancel$1(value) {
|
|
12881
12881
|
return !!(value && value.__CANCEL__);
|
|
12882
12882
|
}
|
|
12883
12883
|
//#endregion
|
|
12884
12884
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js
|
|
12885
|
-
var CanceledError = class extends AxiosError {
|
|
12885
|
+
var CanceledError$1 = class extends AxiosError$1 {
|
|
12886
12886
|
/**
|
|
12887
12887
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
12888
12888
|
*
|
|
@@ -12893,7 +12893,7 @@ var CanceledError = class extends AxiosError {
|
|
|
12893
12893
|
* @returns {CanceledError} The created error.
|
|
12894
12894
|
*/
|
|
12895
12895
|
constructor(message, config, request) {
|
|
12896
|
-
super(message == null ? "canceled" : message, AxiosError.ERR_CANCELED, config, request);
|
|
12896
|
+
super(message == null ? "canceled" : message, AxiosError$1.ERR_CANCELED, config, request);
|
|
12897
12897
|
this.name = "CanceledError";
|
|
12898
12898
|
this.__CANCEL__ = true;
|
|
12899
12899
|
}
|
|
@@ -12912,7 +12912,7 @@ var CanceledError = class extends AxiosError {
|
|
|
12912
12912
|
function settle(resolve, reject, response) {
|
|
12913
12913
|
const validateStatus = response.config.validateStatus;
|
|
12914
12914
|
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
12915
|
-
else reject(new AxiosError("Request failed with status code " + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
12915
|
+
else reject(new AxiosError$1("Request failed with status code " + response.status, [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
12916
12916
|
}
|
|
12917
12917
|
//#endregion
|
|
12918
12918
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
@@ -14286,7 +14286,7 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14286
14286
|
}));
|
|
14287
14287
|
//#endregion
|
|
14288
14288
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js
|
|
14289
|
-
var VERSION = "1.14.0";
|
|
14289
|
+
var VERSION$1 = "1.14.0";
|
|
14290
14290
|
//#endregion
|
|
14291
14291
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js
|
|
14292
14292
|
function parseProtocol(url) {
|
|
@@ -14313,18 +14313,18 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
14313
14313
|
if (protocol === "data") {
|
|
14314
14314
|
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
14315
14315
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
14316
|
-
if (!match) throw new AxiosError("Invalid URL", AxiosError.ERR_INVALID_URL);
|
|
14316
|
+
if (!match) throw new AxiosError$1("Invalid URL", AxiosError$1.ERR_INVALID_URL);
|
|
14317
14317
|
const mime = match[1];
|
|
14318
14318
|
const isBase64 = match[2];
|
|
14319
14319
|
const body = match[3];
|
|
14320
14320
|
const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? "base64" : "utf8");
|
|
14321
14321
|
if (asBlob) {
|
|
14322
|
-
if (!_Blob) throw new AxiosError("Blob is not supported", AxiosError.ERR_NOT_SUPPORT);
|
|
14322
|
+
if (!_Blob) throw new AxiosError$1("Blob is not supported", AxiosError$1.ERR_NOT_SUPPORT);
|
|
14323
14323
|
return new _Blob([buffer], { type: mime });
|
|
14324
14324
|
}
|
|
14325
14325
|
return buffer;
|
|
14326
14326
|
}
|
|
14327
|
-
throw new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
14327
|
+
throw new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_NOT_SUPPORT);
|
|
14328
14328
|
}
|
|
14329
14329
|
//#endregion
|
|
14330
14330
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
@@ -14786,7 +14786,7 @@ function setProxy(options, configProxy, location) {
|
|
|
14786
14786
|
if (proxy.username) proxy.auth = (proxy.username || "") + ":" + (proxy.password || "");
|
|
14787
14787
|
if (proxy.auth) {
|
|
14788
14788
|
if (Boolean(proxy.auth.username || proxy.auth.password)) proxy.auth = (proxy.auth.username || "") + ":" + (proxy.auth.password || "");
|
|
14789
|
-
else if (typeof proxy.auth === "object") throw new AxiosError("Invalid proxy authorization", AxiosError.ERR_BAD_OPTION, { proxy });
|
|
14789
|
+
else if (typeof proxy.auth === "object") throw new AxiosError$1("Invalid proxy authorization", AxiosError$1.ERR_BAD_OPTION, { proxy });
|
|
14790
14790
|
const base64 = Buffer.from(proxy.auth, "utf8").toString("base64");
|
|
14791
14791
|
options.headers["Proxy-Authorization"] = "Basic " + base64;
|
|
14792
14792
|
}
|
|
@@ -14884,7 +14884,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
14884
14884
|
const abortEmitter = new EventEmitter();
|
|
14885
14885
|
function abort(reason) {
|
|
14886
14886
|
try {
|
|
14887
|
-
abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
|
|
14887
|
+
abortEmitter.emit("abort", !reason || reason.type ? new CanceledError$1(null, config, req) : reason);
|
|
14888
14888
|
} catch (err) {
|
|
14889
14889
|
console.warn("emit error", err);
|
|
14890
14890
|
}
|
|
@@ -14919,7 +14919,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
14919
14919
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
14920
14920
|
if (protocol === "data:") {
|
|
14921
14921
|
if (config.maxContentLength > -1) {
|
|
14922
|
-
if (estimateDataURLDecodedBytes(String(config.url || fullPath || "")) > config.maxContentLength) return reject(new AxiosError("maxContentLength size of " + config.maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config));
|
|
14922
|
+
if (estimateDataURLDecodedBytes(String(config.url || fullPath || "")) > config.maxContentLength) return reject(new AxiosError$1("maxContentLength size of " + config.maxContentLength + " exceeded", AxiosError$1.ERR_BAD_RESPONSE, config));
|
|
14923
14923
|
}
|
|
14924
14924
|
let convertedData;
|
|
14925
14925
|
if (method !== "GET") return settle(resolve, reject, {
|
|
@@ -14931,7 +14931,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
14931
14931
|
try {
|
|
14932
14932
|
convertedData = fromDataURI(config.url, responseType === "blob", { Blob: config.env && config.env.Blob });
|
|
14933
14933
|
} catch (err) {
|
|
14934
|
-
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
14934
|
+
throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config);
|
|
14935
14935
|
}
|
|
14936
14936
|
if (responseType === "text") {
|
|
14937
14937
|
convertedData = convertedData.toString(responseEncoding);
|
|
@@ -14941,12 +14941,12 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
14941
14941
|
data: convertedData,
|
|
14942
14942
|
status: 200,
|
|
14943
14943
|
statusText: "OK",
|
|
14944
|
-
headers: new AxiosHeaders(),
|
|
14944
|
+
headers: new AxiosHeaders$1(),
|
|
14945
14945
|
config
|
|
14946
14946
|
});
|
|
14947
14947
|
}
|
|
14948
|
-
if (supportedProtocols.indexOf(protocol) === -1) return reject(new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_BAD_REQUEST, config));
|
|
14949
|
-
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
14948
|
+
if (supportedProtocols.indexOf(protocol) === -1) return reject(new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_BAD_REQUEST, config));
|
|
14949
|
+
const headers = AxiosHeaders$1.from(config.headers).normalize();
|
|
14950
14950
|
headers.set("User-Agent", "axios/1.14.0", false);
|
|
14951
14951
|
const { onUploadProgress, onDownloadProgress } = config;
|
|
14952
14952
|
const maxRate = config.maxRate;
|
|
@@ -14973,9 +14973,9 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
14973
14973
|
} else if (data && !utils_default.isStream(data)) {
|
|
14974
14974
|
if (Buffer.isBuffer(data)) {} else if (utils_default.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
|
|
14975
14975
|
else if (utils_default.isString(data)) data = Buffer.from(data, "utf-8");
|
|
14976
|
-
else return reject(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream", AxiosError.ERR_BAD_REQUEST, config));
|
|
14976
|
+
else return reject(new AxiosError$1("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream", AxiosError$1.ERR_BAD_REQUEST, config));
|
|
14977
14977
|
headers.setContentLength(data.length, false);
|
|
14978
|
-
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new AxiosError("Request body larger than maxBodyLength limit", AxiosError.ERR_BAD_REQUEST, config));
|
|
14978
|
+
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new AxiosError$1("Request body larger than maxBodyLength limit", AxiosError$1.ERR_BAD_REQUEST, config));
|
|
14979
14979
|
}
|
|
14980
14980
|
const contentLength = utils_default.toFiniteNumber(headers.getContentLength());
|
|
14981
14981
|
if (utils_default.isArray(maxRate)) {
|
|
@@ -15082,7 +15082,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15082
15082
|
const response = {
|
|
15083
15083
|
status: res.statusCode,
|
|
15084
15084
|
statusText: res.statusMessage,
|
|
15085
|
-
headers: new AxiosHeaders(res.headers),
|
|
15085
|
+
headers: new AxiosHeaders$1(res.headers),
|
|
15086
15086
|
config,
|
|
15087
15087
|
request: lastRequest
|
|
15088
15088
|
};
|
|
@@ -15098,18 +15098,18 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15098
15098
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
15099
15099
|
rejected = true;
|
|
15100
15100
|
responseStream.destroy();
|
|
15101
|
-
abort(new AxiosError("maxContentLength size of " + config.maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
15101
|
+
abort(new AxiosError$1("maxContentLength size of " + config.maxContentLength + " exceeded", AxiosError$1.ERR_BAD_RESPONSE, config, lastRequest));
|
|
15102
15102
|
}
|
|
15103
15103
|
});
|
|
15104
15104
|
responseStream.on("aborted", function handlerStreamAborted() {
|
|
15105
15105
|
if (rejected) return;
|
|
15106
|
-
const err = new AxiosError("stream has been aborted", AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
|
|
15106
|
+
const err = new AxiosError$1("stream has been aborted", AxiosError$1.ERR_BAD_RESPONSE, config, lastRequest);
|
|
15107
15107
|
responseStream.destroy(err);
|
|
15108
15108
|
reject(err);
|
|
15109
15109
|
});
|
|
15110
15110
|
responseStream.on("error", function handleStreamError(err) {
|
|
15111
15111
|
if (req.destroyed) return;
|
|
15112
|
-
reject(AxiosError.from(err, null, config, lastRequest));
|
|
15112
|
+
reject(AxiosError$1.from(err, null, config, lastRequest));
|
|
15113
15113
|
});
|
|
15114
15114
|
responseStream.on("end", function handleStreamEnd() {
|
|
15115
15115
|
try {
|
|
@@ -15120,7 +15120,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15120
15120
|
}
|
|
15121
15121
|
response.data = responseData;
|
|
15122
15122
|
} catch (err) {
|
|
15123
|
-
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
15123
|
+
return reject(AxiosError$1.from(err, null, config, response.request, response));
|
|
15124
15124
|
}
|
|
15125
15125
|
settle(resolve, reject, response);
|
|
15126
15126
|
});
|
|
@@ -15137,7 +15137,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15137
15137
|
else req.destroy(err);
|
|
15138
15138
|
});
|
|
15139
15139
|
req.on("error", function handleRequestError(err) {
|
|
15140
|
-
reject(AxiosError.from(err, null, config, req));
|
|
15140
|
+
reject(AxiosError$1.from(err, null, config, req));
|
|
15141
15141
|
});
|
|
15142
15142
|
req.on("socket", function handleRequestSocket(socket) {
|
|
15143
15143
|
socket.setKeepAlive(true, 1e3 * 60);
|
|
@@ -15145,7 +15145,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15145
15145
|
if (config.timeout) {
|
|
15146
15146
|
const timeout = parseInt(config.timeout, 10);
|
|
15147
15147
|
if (Number.isNaN(timeout)) {
|
|
15148
|
-
abort(new AxiosError("error trying to parse `config.timeout` to int", AxiosError.ERR_BAD_OPTION_VALUE, config, req));
|
|
15148
|
+
abort(new AxiosError$1("error trying to parse `config.timeout` to int", AxiosError$1.ERR_BAD_OPTION_VALUE, config, req));
|
|
15149
15149
|
return;
|
|
15150
15150
|
}
|
|
15151
15151
|
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
@@ -15153,7 +15153,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15153
15153
|
let timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded";
|
|
15154
15154
|
const transitional = config.transitional || transitional_default;
|
|
15155
15155
|
if (config.timeoutErrorMessage) timeoutErrorMessage = config.timeoutErrorMessage;
|
|
15156
|
-
abort(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
|
|
15156
|
+
abort(new AxiosError$1(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED, config, req));
|
|
15157
15157
|
});
|
|
15158
15158
|
} else req.setTimeout(0);
|
|
15159
15159
|
if (utils_default.isStream(data)) {
|
|
@@ -15167,7 +15167,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
15167
15167
|
req.destroy(err);
|
|
15168
15168
|
});
|
|
15169
15169
|
data.on("close", () => {
|
|
15170
|
-
if (!ended && !errored) abort(new CanceledError("Request stream has been aborted", config, req));
|
|
15170
|
+
if (!ended && !errored) abort(new CanceledError$1("Request stream has been aborted", config, req));
|
|
15171
15171
|
});
|
|
15172
15172
|
data.pipe(req);
|
|
15173
15173
|
} else {
|
|
@@ -15212,7 +15212,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? {
|
|
|
15212
15212
|
};
|
|
15213
15213
|
//#endregion
|
|
15214
15214
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js
|
|
15215
|
-
var headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
15215
|
+
var headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
15216
15216
|
/**
|
|
15217
15217
|
* Config-specific merge-function which creates a new config-object
|
|
15218
15218
|
* by merging two configuration objects together.
|
|
@@ -15222,7 +15222,7 @@ var headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } :
|
|
|
15222
15222
|
*
|
|
15223
15223
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
15224
15224
|
*/
|
|
15225
|
-
function mergeConfig(config1, config2) {
|
|
15225
|
+
function mergeConfig$1(config1, config2) {
|
|
15226
15226
|
config2 = config2 || {};
|
|
15227
15227
|
const config = {};
|
|
15228
15228
|
function getMergedValue(target, source, prop, caseless) {
|
|
@@ -15291,9 +15291,9 @@ function mergeConfig(config1, config2) {
|
|
|
15291
15291
|
//#endregion
|
|
15292
15292
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js
|
|
15293
15293
|
var resolveConfig_default = (config) => {
|
|
15294
|
-
const newConfig = mergeConfig({}, config);
|
|
15294
|
+
const newConfig = mergeConfig$1({}, config);
|
|
15295
15295
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
15296
|
-
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
15296
|
+
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
15297
15297
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
15298
15298
|
if (auth) headers.set("Authorization", "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : "")));
|
|
15299
15299
|
if (utils_default.isFormData(data)) {
|
|
@@ -15319,7 +15319,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
15319
15319
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
15320
15320
|
const _config = resolveConfig_default(config);
|
|
15321
15321
|
let requestData = _config.data;
|
|
15322
|
-
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
15322
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
15323
15323
|
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
15324
15324
|
let onCanceled;
|
|
15325
15325
|
let uploadThrottled, downloadThrottled;
|
|
@@ -15335,7 +15335,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
15335
15335
|
request.timeout = _config.timeout;
|
|
15336
15336
|
function onloadend() {
|
|
15337
15337
|
if (!request) return;
|
|
15338
|
-
const responseHeaders = AxiosHeaders.from("getAllResponseHeaders" in request && request.getAllResponseHeaders());
|
|
15338
|
+
const responseHeaders = AxiosHeaders$1.from("getAllResponseHeaders" in request && request.getAllResponseHeaders());
|
|
15339
15339
|
settle(function _resolve(value) {
|
|
15340
15340
|
resolve(value);
|
|
15341
15341
|
done();
|
|
@@ -15360,11 +15360,11 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
15360
15360
|
};
|
|
15361
15361
|
request.onabort = function handleAbort() {
|
|
15362
15362
|
if (!request) return;
|
|
15363
|
-
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
|
|
15363
|
+
reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
|
|
15364
15364
|
request = null;
|
|
15365
15365
|
};
|
|
15366
15366
|
request.onerror = function handleError(event) {
|
|
15367
|
-
const err = new AxiosError(event && event.message ? event.message : "Network Error", AxiosError.ERR_NETWORK, config, request);
|
|
15367
|
+
const err = new AxiosError$1(event && event.message ? event.message : "Network Error", AxiosError$1.ERR_NETWORK, config, request);
|
|
15368
15368
|
err.event = event || null;
|
|
15369
15369
|
reject(err);
|
|
15370
15370
|
request = null;
|
|
@@ -15373,7 +15373,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
15373
15373
|
let timeoutErrorMessage = _config.timeout ? "timeout of " + _config.timeout + "ms exceeded" : "timeout exceeded";
|
|
15374
15374
|
const transitional = _config.transitional || transitional_default;
|
|
15375
15375
|
if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
15376
|
-
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
|
|
15376
|
+
reject(new AxiosError$1(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED, config, request));
|
|
15377
15377
|
request = null;
|
|
15378
15378
|
};
|
|
15379
15379
|
requestData === void 0 && requestHeaders.setContentType(null);
|
|
@@ -15394,7 +15394,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
15394
15394
|
if (_config.cancelToken || _config.signal) {
|
|
15395
15395
|
onCanceled = (cancel) => {
|
|
15396
15396
|
if (!request) return;
|
|
15397
|
-
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
|
15397
|
+
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
15398
15398
|
request.abort();
|
|
15399
15399
|
request = null;
|
|
15400
15400
|
};
|
|
@@ -15403,7 +15403,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
15403
15403
|
}
|
|
15404
15404
|
const protocol = parseProtocol(_config.url);
|
|
15405
15405
|
if (protocol && platform_default.protocols.indexOf(protocol) === -1) {
|
|
15406
|
-
reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
|
|
15406
|
+
reject(new AxiosError$1("Unsupported protocol " + protocol + ":", AxiosError$1.ERR_BAD_REQUEST, config));
|
|
15407
15407
|
return;
|
|
15408
15408
|
}
|
|
15409
15409
|
request.send(requestData || null);
|
|
@@ -15421,12 +15421,12 @@ var composeSignals = (signals, timeout) => {
|
|
|
15421
15421
|
aborted = true;
|
|
15422
15422
|
unsubscribe();
|
|
15423
15423
|
const err = reason instanceof Error ? reason : this.reason;
|
|
15424
|
-
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
15424
|
+
controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
|
|
15425
15425
|
}
|
|
15426
15426
|
};
|
|
15427
15427
|
let timer = timeout && setTimeout(() => {
|
|
15428
15428
|
timer = null;
|
|
15429
|
-
onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));
|
|
15429
|
+
onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
|
|
15430
15430
|
}, timeout);
|
|
15431
15431
|
const unsubscribe = () => {
|
|
15432
15432
|
if (signals) {
|
|
@@ -15563,7 +15563,7 @@ var factory = (env) => {
|
|
|
15563
15563
|
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
15564
15564
|
let method = res && res[type];
|
|
15565
15565
|
if (method) return method.call(res);
|
|
15566
|
-
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
15566
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
15567
15567
|
});
|
|
15568
15568
|
});
|
|
15569
15569
|
const getBodyLength = async (body) => {
|
|
@@ -15641,7 +15641,7 @@ var factory = (env) => {
|
|
|
15641
15641
|
return await new Promise((resolve, reject) => {
|
|
15642
15642
|
settle(resolve, reject, {
|
|
15643
15643
|
data: responseData,
|
|
15644
|
-
headers: AxiosHeaders.from(response.headers),
|
|
15644
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
15645
15645
|
status: response.status,
|
|
15646
15646
|
statusText: response.statusText,
|
|
15647
15647
|
config,
|
|
@@ -15650,8 +15650,8 @@ var factory = (env) => {
|
|
|
15650
15650
|
});
|
|
15651
15651
|
} catch (err) {
|
|
15652
15652
|
unsubscribe && unsubscribe();
|
|
15653
|
-
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) throw Object.assign(new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request, err && err.response), { cause: err.cause || err });
|
|
15654
|
-
throw AxiosError.from(err, err && err.code, config, request, err && err.response);
|
|
15653
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) throw Object.assign(new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request, err && err.response), { cause: err.cause || err });
|
|
15654
|
+
throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
|
|
15655
15655
|
}
|
|
15656
15656
|
};
|
|
15657
15657
|
};
|
|
@@ -15722,7 +15722,7 @@ var isResolvedHandle = (adapter) => utils_default.isFunction(adapter) || adapter
|
|
|
15722
15722
|
* @throws {AxiosError} If no suitable adapter is available
|
|
15723
15723
|
* @returns {Function} The resolved adapter function
|
|
15724
15724
|
*/
|
|
15725
|
-
function getAdapter(adapters, config) {
|
|
15725
|
+
function getAdapter$1(adapters, config) {
|
|
15726
15726
|
adapters = utils_default.isArray(adapters) ? adapters : [adapters];
|
|
15727
15727
|
const { length } = adapters;
|
|
15728
15728
|
let nameOrAdapter;
|
|
@@ -15734,14 +15734,14 @@ function getAdapter(adapters, config) {
|
|
|
15734
15734
|
adapter = nameOrAdapter;
|
|
15735
15735
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
15736
15736
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
15737
|
-
if (adapter === void 0) throw new AxiosError(`Unknown adapter '${id}'`);
|
|
15737
|
+
if (adapter === void 0) throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
15738
15738
|
}
|
|
15739
15739
|
if (adapter && (utils_default.isFunction(adapter) || (adapter = adapter.get(config)))) break;
|
|
15740
15740
|
rejectedReasons[id || "#" + i] = adapter;
|
|
15741
15741
|
}
|
|
15742
15742
|
if (!adapter) {
|
|
15743
15743
|
const reasons = Object.entries(rejectedReasons).map(([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build"));
|
|
15744
|
-
throw new AxiosError(`There is no suitable adapter to dispatch the request ` + (length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
|
|
15744
|
+
throw new AxiosError$1(`There is no suitable adapter to dispatch the request ` + (length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
|
|
15745
15745
|
}
|
|
15746
15746
|
return adapter;
|
|
15747
15747
|
}
|
|
@@ -15749,7 +15749,7 @@ function getAdapter(adapters, config) {
|
|
|
15749
15749
|
* Exports Axios adapters and utility to resolve an adapter
|
|
15750
15750
|
*/
|
|
15751
15751
|
var adapters_default = {
|
|
15752
|
-
getAdapter,
|
|
15752
|
+
getAdapter: getAdapter$1,
|
|
15753
15753
|
adapters: knownAdapters
|
|
15754
15754
|
};
|
|
15755
15755
|
//#endregion
|
|
@@ -15763,7 +15763,7 @@ var adapters_default = {
|
|
|
15763
15763
|
*/
|
|
15764
15764
|
function throwIfCancellationRequested(config) {
|
|
15765
15765
|
if (config.cancelToken) config.cancelToken.throwIfRequested();
|
|
15766
|
-
if (config.signal && config.signal.aborted) throw new CanceledError(null, config);
|
|
15766
|
+
if (config.signal && config.signal.aborted) throw new CanceledError$1(null, config);
|
|
15767
15767
|
}
|
|
15768
15768
|
/**
|
|
15769
15769
|
* Dispatch a request to the server using the configured adapter.
|
|
@@ -15774,7 +15774,7 @@ function throwIfCancellationRequested(config) {
|
|
|
15774
15774
|
*/
|
|
15775
15775
|
function dispatchRequest(config) {
|
|
15776
15776
|
throwIfCancellationRequested(config);
|
|
15777
|
-
config.headers = AxiosHeaders.from(config.headers);
|
|
15777
|
+
config.headers = AxiosHeaders$1.from(config.headers);
|
|
15778
15778
|
config.data = transformData.call(config, config.transformRequest);
|
|
15779
15779
|
if ([
|
|
15780
15780
|
"post",
|
|
@@ -15784,14 +15784,14 @@ function dispatchRequest(config) {
|
|
|
15784
15784
|
return adapters_default.getAdapter(config.adapter || defaults.adapter, config)(config).then(function onAdapterResolution(response) {
|
|
15785
15785
|
throwIfCancellationRequested(config);
|
|
15786
15786
|
response.data = transformData.call(config, config.transformResponse, response);
|
|
15787
|
-
response.headers = AxiosHeaders.from(response.headers);
|
|
15787
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
15788
15788
|
return response;
|
|
15789
15789
|
}, function onAdapterRejection(reason) {
|
|
15790
|
-
if (!isCancel(reason)) {
|
|
15790
|
+
if (!isCancel$1(reason)) {
|
|
15791
15791
|
throwIfCancellationRequested(config);
|
|
15792
15792
|
if (reason && reason.response) {
|
|
15793
15793
|
reason.response.data = transformData.call(config, config.transformResponse, reason.response);
|
|
15794
|
-
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
15794
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
15795
15795
|
}
|
|
15796
15796
|
}
|
|
15797
15797
|
return Promise.reject(reason);
|
|
@@ -15824,10 +15824,10 @@ var deprecatedWarnings = {};
|
|
|
15824
15824
|
*/
|
|
15825
15825
|
validators$1.transitional = function transitional(validator, version, message) {
|
|
15826
15826
|
function formatMessage(opt, desc) {
|
|
15827
|
-
return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
|
|
15827
|
+
return "[Axios v" + VERSION$1 + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
|
|
15828
15828
|
}
|
|
15829
15829
|
return (value, opt, opts) => {
|
|
15830
|
-
if (validator === false) throw new AxiosError(formatMessage(opt, " has been removed" + (version ? " in " + version : "")), AxiosError.ERR_DEPRECATED);
|
|
15830
|
+
if (validator === false) throw new AxiosError$1(formatMessage(opt, " has been removed" + (version ? " in " + version : "")), AxiosError$1.ERR_DEPRECATED);
|
|
15831
15831
|
if (version && !deprecatedWarnings[opt]) {
|
|
15832
15832
|
deprecatedWarnings[opt] = true;
|
|
15833
15833
|
console.warn(formatMessage(opt, " has been deprecated since v" + version + " and will be removed in the near future"));
|
|
@@ -15851,7 +15851,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
15851
15851
|
* @returns {object}
|
|
15852
15852
|
*/
|
|
15853
15853
|
function assertOptions(options, schema, allowUnknown) {
|
|
15854
|
-
if (typeof options !== "object") throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE);
|
|
15854
|
+
if (typeof options !== "object") throw new AxiosError$1("options must be an object", AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
15855
15855
|
const keys = Object.keys(options);
|
|
15856
15856
|
let i = keys.length;
|
|
15857
15857
|
while (i-- > 0) {
|
|
@@ -15860,10 +15860,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
15860
15860
|
if (validator) {
|
|
15861
15861
|
const value = options[opt];
|
|
15862
15862
|
const result = value === void 0 || validator(value, opt, options);
|
|
15863
|
-
if (result !== true) throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
15863
|
+
if (result !== true) throw new AxiosError$1("option " + opt + " must be " + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
15864
15864
|
continue;
|
|
15865
15865
|
}
|
|
15866
|
-
if (allowUnknown !== true) throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION);
|
|
15866
|
+
if (allowUnknown !== true) throw new AxiosError$1("Unknown option " + opt, AxiosError$1.ERR_BAD_OPTION);
|
|
15867
15867
|
}
|
|
15868
15868
|
}
|
|
15869
15869
|
var validator_default = {
|
|
@@ -15880,7 +15880,7 @@ var validators = validator_default.validators;
|
|
|
15880
15880
|
*
|
|
15881
15881
|
* @return {Axios} A new instance of Axios
|
|
15882
15882
|
*/
|
|
15883
|
-
var Axios = class {
|
|
15883
|
+
var Axios$1 = class {
|
|
15884
15884
|
constructor(instanceConfig) {
|
|
15885
15885
|
this.defaults = instanceConfig || {};
|
|
15886
15886
|
this.interceptors = {
|
|
@@ -15917,7 +15917,7 @@ var Axios = class {
|
|
|
15917
15917
|
config = config || {};
|
|
15918
15918
|
config.url = configOrUrl;
|
|
15919
15919
|
} else config = configOrUrl || {};
|
|
15920
|
-
config = mergeConfig(this.defaults, config);
|
|
15920
|
+
config = mergeConfig$1(this.defaults, config);
|
|
15921
15921
|
const { transitional, paramsSerializer, headers } = config;
|
|
15922
15922
|
if (transitional !== void 0) validator_default.assertOptions(transitional, {
|
|
15923
15923
|
silentJSONParsing: validators.transitional(validators.boolean),
|
|
@@ -15949,7 +15949,7 @@ var Axios = class {
|
|
|
15949
15949
|
], (method) => {
|
|
15950
15950
|
delete headers[method];
|
|
15951
15951
|
});
|
|
15952
|
-
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
15952
|
+
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
15953
15953
|
const requestInterceptorChain = [];
|
|
15954
15954
|
let synchronousRequestInterceptors = true;
|
|
15955
15955
|
this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
|
|
@@ -15998,7 +15998,7 @@ var Axios = class {
|
|
|
15998
15998
|
return promise;
|
|
15999
15999
|
}
|
|
16000
16000
|
getUri(config) {
|
|
16001
|
-
config = mergeConfig(this.defaults, config);
|
|
16001
|
+
config = mergeConfig$1(this.defaults, config);
|
|
16002
16002
|
return buildURL(buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
16003
16003
|
}
|
|
16004
16004
|
};
|
|
@@ -16008,8 +16008,8 @@ utils_default.forEach([
|
|
|
16008
16008
|
"head",
|
|
16009
16009
|
"options"
|
|
16010
16010
|
], function forEachMethodNoData(method) {
|
|
16011
|
-
Axios.prototype[method] = function(url, config) {
|
|
16012
|
-
return this.request(mergeConfig(config || {}, {
|
|
16011
|
+
Axios$1.prototype[method] = function(url, config) {
|
|
16012
|
+
return this.request(mergeConfig$1(config || {}, {
|
|
16013
16013
|
method,
|
|
16014
16014
|
url,
|
|
16015
16015
|
data: (config || {}).data
|
|
@@ -16023,7 +16023,7 @@ utils_default.forEach([
|
|
|
16023
16023
|
], function forEachMethodWithData(method) {
|
|
16024
16024
|
function generateHTTPMethod(isForm) {
|
|
16025
16025
|
return function httpMethod(url, data, config) {
|
|
16026
|
-
return this.request(mergeConfig(config || {}, {
|
|
16026
|
+
return this.request(mergeConfig$1(config || {}, {
|
|
16027
16027
|
method,
|
|
16028
16028
|
headers: isForm ? { "Content-Type": "multipart/form-data" } : {},
|
|
16029
16029
|
url,
|
|
@@ -16031,8 +16031,8 @@ utils_default.forEach([
|
|
|
16031
16031
|
}));
|
|
16032
16032
|
};
|
|
16033
16033
|
}
|
|
16034
|
-
Axios.prototype[method] = generateHTTPMethod();
|
|
16035
|
-
Axios.prototype[method + "Form"] = generateHTTPMethod(true);
|
|
16034
|
+
Axios$1.prototype[method] = generateHTTPMethod();
|
|
16035
|
+
Axios$1.prototype[method + "Form"] = generateHTTPMethod(true);
|
|
16036
16036
|
});
|
|
16037
16037
|
//#endregion
|
|
16038
16038
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js
|
|
@@ -16043,7 +16043,7 @@ utils_default.forEach([
|
|
|
16043
16043
|
*
|
|
16044
16044
|
* @returns {CancelToken}
|
|
16045
16045
|
*/
|
|
16046
|
-
var CancelToken = class CancelToken {
|
|
16046
|
+
var CancelToken$1 = class CancelToken$1 {
|
|
16047
16047
|
constructor(executor) {
|
|
16048
16048
|
if (typeof executor !== "function") throw new TypeError("executor must be a function.");
|
|
16049
16049
|
let resolvePromise;
|
|
@@ -16070,7 +16070,7 @@ var CancelToken = class CancelToken {
|
|
|
16070
16070
|
};
|
|
16071
16071
|
executor(function cancel(message, config, request) {
|
|
16072
16072
|
if (token.reason) return;
|
|
16073
|
-
token.reason = new CanceledError(message, config, request);
|
|
16073
|
+
token.reason = new CanceledError$1(message, config, request);
|
|
16074
16074
|
resolvePromise(token.reason);
|
|
16075
16075
|
});
|
|
16076
16076
|
}
|
|
@@ -16115,7 +16115,7 @@ var CancelToken = class CancelToken {
|
|
|
16115
16115
|
static source() {
|
|
16116
16116
|
let cancel;
|
|
16117
16117
|
return {
|
|
16118
|
-
token: new CancelToken(function executor(c) {
|
|
16118
|
+
token: new CancelToken$1(function executor(c) {
|
|
16119
16119
|
cancel = c;
|
|
16120
16120
|
}),
|
|
16121
16121
|
cancel
|
|
@@ -16145,7 +16145,7 @@ var CancelToken = class CancelToken {
|
|
|
16145
16145
|
*
|
|
16146
16146
|
* @returns {Function}
|
|
16147
16147
|
*/
|
|
16148
|
-
function spread(callback) {
|
|
16148
|
+
function spread$1(callback) {
|
|
16149
16149
|
return function wrap(arr) {
|
|
16150
16150
|
return callback.apply(null, arr);
|
|
16151
16151
|
};
|
|
@@ -16159,12 +16159,12 @@ function spread(callback) {
|
|
|
16159
16159
|
*
|
|
16160
16160
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
16161
16161
|
*/
|
|
16162
|
-
function isAxiosError(payload) {
|
|
16162
|
+
function isAxiosError$1(payload) {
|
|
16163
16163
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
16164
16164
|
}
|
|
16165
16165
|
//#endregion
|
|
16166
16166
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
16167
|
-
var HttpStatusCode = {
|
|
16167
|
+
var HttpStatusCode$1 = {
|
|
16168
16168
|
Continue: 100,
|
|
16169
16169
|
SwitchingProtocols: 101,
|
|
16170
16170
|
Processing: 102,
|
|
@@ -16235,8 +16235,8 @@ var HttpStatusCode = {
|
|
|
16235
16235
|
SslHandshakeFailed: 525,
|
|
16236
16236
|
InvalidSslCertificate: 526
|
|
16237
16237
|
};
|
|
16238
|
-
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
16239
|
-
HttpStatusCode[value] = key;
|
|
16238
|
+
Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
16239
|
+
HttpStatusCode$1[value] = key;
|
|
16240
16240
|
});
|
|
16241
16241
|
//#endregion
|
|
16242
16242
|
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js
|
|
@@ -16248,36 +16248,39 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
16248
16248
|
* @returns {Axios} A new instance of Axios
|
|
16249
16249
|
*/
|
|
16250
16250
|
function createInstance(defaultConfig) {
|
|
16251
|
-
const context = new Axios(defaultConfig);
|
|
16252
|
-
const instance = bind(Axios.prototype.request, context);
|
|
16253
|
-
utils_default.extend(instance, Axios.prototype, context, { allOwnKeys: true });
|
|
16251
|
+
const context = new Axios$1(defaultConfig);
|
|
16252
|
+
const instance = bind(Axios$1.prototype.request, context);
|
|
16253
|
+
utils_default.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
16254
16254
|
utils_default.extend(instance, context, null, { allOwnKeys: true });
|
|
16255
16255
|
instance.create = function create(instanceConfig) {
|
|
16256
|
-
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
|
16256
|
+
return createInstance(mergeConfig$1(defaultConfig, instanceConfig));
|
|
16257
16257
|
};
|
|
16258
16258
|
return instance;
|
|
16259
16259
|
}
|
|
16260
16260
|
var axios = createInstance(defaults);
|
|
16261
|
-
axios.Axios = Axios;
|
|
16262
|
-
axios.CanceledError = CanceledError;
|
|
16263
|
-
axios.CancelToken = CancelToken;
|
|
16264
|
-
axios.isCancel = isCancel;
|
|
16265
|
-
axios.VERSION = VERSION;
|
|
16266
|
-
axios.toFormData = toFormData;
|
|
16267
|
-
axios.AxiosError = AxiosError;
|
|
16261
|
+
axios.Axios = Axios$1;
|
|
16262
|
+
axios.CanceledError = CanceledError$1;
|
|
16263
|
+
axios.CancelToken = CancelToken$1;
|
|
16264
|
+
axios.isCancel = isCancel$1;
|
|
16265
|
+
axios.VERSION = VERSION$1;
|
|
16266
|
+
axios.toFormData = toFormData$1;
|
|
16267
|
+
axios.AxiosError = AxiosError$1;
|
|
16268
16268
|
axios.Cancel = axios.CanceledError;
|
|
16269
16269
|
axios.all = function all(promises) {
|
|
16270
16270
|
return Promise.all(promises);
|
|
16271
16271
|
};
|
|
16272
|
-
axios.spread = spread;
|
|
16273
|
-
axios.isAxiosError = isAxiosError;
|
|
16274
|
-
axios.mergeConfig = mergeConfig;
|
|
16275
|
-
axios.AxiosHeaders = AxiosHeaders;
|
|
16272
|
+
axios.spread = spread$1;
|
|
16273
|
+
axios.isAxiosError = isAxiosError$1;
|
|
16274
|
+
axios.mergeConfig = mergeConfig$1;
|
|
16275
|
+
axios.AxiosHeaders = AxiosHeaders$1;
|
|
16276
16276
|
axios.formToJSON = (thing) => formDataToJSON(utils_default.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
16277
16277
|
axios.getAdapter = adapters_default.getAdapter;
|
|
16278
|
-
axios.HttpStatusCode = HttpStatusCode;
|
|
16278
|
+
axios.HttpStatusCode = HttpStatusCode$1;
|
|
16279
16279
|
axios.default = axios;
|
|
16280
16280
|
//#endregion
|
|
16281
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/index.js
|
|
16282
|
+
var { Axios, AxiosError, CanceledError, isCancel, CancelToken, VERSION, all, Cancel, isAxiosError, spread, toFormData, AxiosHeaders, HttpStatusCode, formToJSON, getAdapter, mergeConfig } = axios;
|
|
16283
|
+
//#endregion
|
|
16281
16284
|
//#region ../../node_modules/.pnpm/eventsource-parser@3.0.6/node_modules/eventsource-parser/dist/index.js
|
|
16282
16285
|
var ParseError = class extends Error {
|
|
16283
16286
|
constructor(message, options) {
|
|
@@ -21563,6 +21566,9 @@ var SonamuError = class extends Error {
|
|
|
21563
21566
|
this.isSonamuError = true;
|
|
21564
21567
|
}
|
|
21565
21568
|
};
|
|
21569
|
+
function isSonamuError(e) {
|
|
21570
|
+
return e && e.isSonamuError === true;
|
|
21571
|
+
}
|
|
21566
21572
|
_enum([
|
|
21567
21573
|
"both",
|
|
21568
21574
|
"list",
|
|
@@ -21850,8 +21856,10 @@ var en_default = {
|
|
|
21850
21856
|
"error.serviceUnavailable": "Service unavailable",
|
|
21851
21857
|
"setting.invalidValue": (reason) => `Invalid setting value: ${reason}`,
|
|
21852
21858
|
"setting.unknownKey": (key) => `Unknown setting key ${key}`,
|
|
21859
|
+
"setting.noSupervisor": () => "Restart is unavailable when running locally — nothing would bring the server back up",
|
|
21853
21860
|
"qgrid.dispatcherFailed": (provider) => `${provider} dispatcher failed to initialize`,
|
|
21854
21861
|
"qgrid.dispatcherStarting": (provider) => `${provider} dispatcher is starting up. Please retry shortly`,
|
|
21862
|
+
"qgrid.restartPending": () => "Server restart is in progress. Please retry shortly",
|
|
21855
21863
|
"error.unauthorized": "Unauthorized",
|
|
21856
21864
|
notFound: (name, id) => `${name} ID ${id} not found`,
|
|
21857
21865
|
"validation.email": "Invalid email format",
|
|
@@ -21914,8 +21922,10 @@ var ko_default = {
|
|
|
21914
21922
|
"error.serviceUnavailable": "서비스를 사용할 수 없습니다",
|
|
21915
21923
|
"setting.invalidValue": (reason) => `설정 값이 올바르지 않습니다: ${reason}`,
|
|
21916
21924
|
"setting.unknownKey": (key) => `알 수 없는 설정 키 ${key}`,
|
|
21925
|
+
"setting.noSupervisor": () => "로컬 실행 환경에서는 재시작할 수 없습니다 — 종료하면 다시 켜줄 모니터링 도구가 없습니다",
|
|
21917
21926
|
"qgrid.dispatcherFailed": (provider) => `${provider} dispatcher 초기화에 실패했습니다`,
|
|
21918
21927
|
"qgrid.dispatcherStarting": (provider) => `${provider} dispatcher 기동 중입니다. 잠시 후 다시 시도해주세요`,
|
|
21928
|
+
"qgrid.restartPending": () => "서버 재시작 중입니다. 잠시 후 다시 시도해주세요",
|
|
21919
21929
|
"error.unauthorized": "인증이 필요합니다",
|
|
21920
21930
|
"error.unknownSearchField": (field) => `구현되지 않은 검색 필드 ${field}`,
|
|
21921
21931
|
notFound: (name, id) => `존재하지 않는 ${name} ID ${id}`,
|
|
@@ -22247,4 +22257,4 @@ SD.enumLabels = (enumName) => {
|
|
|
22247
22257
|
} });
|
|
22248
22258
|
};
|
|
22249
22259
|
//#endregion
|
|
22250
|
-
export {
|
|
22260
|
+
export { functionalUpdate as A, resolveStaleTime as B, infiniteQueryBehavior as C, notifyManager as D, onlineManager as E, matchQuery as F, timeoutManager as G, shouldThrowError as H, noop$2 as I, __commonJSMin as J, focusManager as K, partialMatchKey as L, hashQueryKeyByOptions as M, isValidTimeout as N, pendingThenable as O, matchMutation as P, replaceData as R, hasPreviousPage as S, fetchState as T, skipToken as U, shallowEqualObjects as V, timeUntilStale as W, __require as X, __exportAll as Y, __toESM as Z, require_jsx_runtime as _, fetch$1 as a, getDefaultState as b, useSSEStream as c, object as d, string as f, useQueryClient as g, QueryClientProvider as h, dedupeAndFlatten as i, hashKey as j, environmentManager as k, _enum as l, isAxiosError as m, SUPPORTED_LOCALES as n, isSonamuError as o, require_lib as p, Subscribable as q, setLocale as r, useRefreshable as s, SD as t, number as u, require_react as v, Query as w, hasNextPage as x, Mutation as y, resolveEnabled as z };
|