@valaxyjs/devtools 0.22.7 → 0.22.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{about-CBPKVoP8.js → about-CSnaTKCD.js} +1 -1
- package/dist/client/assets/{categories-DLa5gNrB.js → categories-hnpGAUGS.js} +1 -1
- package/dist/client/assets/{index-9_T8USRP.js → index-BQkXqcq0.js} +138 -142
- package/dist/client/assets/{index-Dc1MXK-z.js → index-DQQdpzcV.js} +258 -251
- package/dist/client/assets/{migration-CbwDNwNj.js → migration-D_Kkfs-R.js} +2 -2
- package/dist/client/assets/{splitpanes.es-Bj0Y5My3.js → splitpanes.es-D7KkGVRd.js} +120 -96
- package/dist/client/assets/{tags-_1lp2Ved.js → tags-a0VL9Qr_.js} +1 -1
- package/dist/client/index.html +1 -1
- package/package.json +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ay as h, C as
|
|
1
|
+
import { ay as h, C as createElementBlock, D as openBlock, F as renderSlot, ac as normalizeStyle } from './index-DQQdpzcV.js';
|
|
2
2
|
|
|
3
3
|
function bind(fn, thisArg) {
|
|
4
4
|
return function wrap() {
|
|
@@ -778,7 +778,7 @@ const utils$1 = {
|
|
|
778
778
|
*
|
|
779
779
|
* @returns {Error} The created error.
|
|
780
780
|
*/
|
|
781
|
-
function AxiosError(message, code, config, request, response) {
|
|
781
|
+
function AxiosError$1(message, code, config, request, response) {
|
|
782
782
|
Error.call(this);
|
|
783
783
|
|
|
784
784
|
if (Error.captureStackTrace) {
|
|
@@ -798,7 +798,7 @@ function AxiosError(message, code, config, request, response) {
|
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
utils$1.inherits(AxiosError, Error, {
|
|
801
|
+
utils$1.inherits(AxiosError$1, Error, {
|
|
802
802
|
toJSON: function toJSON() {
|
|
803
803
|
return {
|
|
804
804
|
// Standard
|
|
@@ -820,7 +820,7 @@ utils$1.inherits(AxiosError, Error, {
|
|
|
820
820
|
}
|
|
821
821
|
});
|
|
822
822
|
|
|
823
|
-
const prototype$1 = AxiosError.prototype;
|
|
823
|
+
const prototype$1 = AxiosError$1.prototype;
|
|
824
824
|
const descriptors = {};
|
|
825
825
|
|
|
826
826
|
[
|
|
@@ -841,11 +841,11 @@ const descriptors = {};
|
|
|
841
841
|
descriptors[code] = {value: code};
|
|
842
842
|
});
|
|
843
843
|
|
|
844
|
-
Object.defineProperties(AxiosError, descriptors);
|
|
844
|
+
Object.defineProperties(AxiosError$1, descriptors);
|
|
845
845
|
Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
|
|
846
846
|
|
|
847
847
|
// eslint-disable-next-line func-names
|
|
848
|
-
AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
848
|
+
AxiosError$1.from = (error, code, config, request, response, customProps) => {
|
|
849
849
|
const axiosError = Object.create(prototype$1);
|
|
850
850
|
|
|
851
851
|
utils$1.toFlatObject(error, axiosError, function filter(obj) {
|
|
@@ -854,7 +854,7 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
854
854
|
return prop !== 'isAxiosError';
|
|
855
855
|
});
|
|
856
856
|
|
|
857
|
-
AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
857
|
+
AxiosError$1.call(axiosError, error.message, code, config, request, response);
|
|
858
858
|
|
|
859
859
|
axiosError.cause = error;
|
|
860
860
|
|
|
@@ -950,7 +950,7 @@ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop)
|
|
|
950
950
|
*
|
|
951
951
|
* @returns
|
|
952
952
|
*/
|
|
953
|
-
function toFormData(obj, formData, options) {
|
|
953
|
+
function toFormData$1(obj, formData, options) {
|
|
954
954
|
if (!utils$1.isObject(obj)) {
|
|
955
955
|
throw new TypeError('target must be an object');
|
|
956
956
|
}
|
|
@@ -988,7 +988,7 @@ function toFormData(obj, formData, options) {
|
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
991
|
-
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
991
|
+
throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
|
|
992
992
|
}
|
|
993
993
|
|
|
994
994
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
|
@@ -1119,7 +1119,7 @@ function encode$1(str) {
|
|
|
1119
1119
|
function AxiosURLSearchParams(params, options) {
|
|
1120
1120
|
this._pairs = [];
|
|
1121
1121
|
|
|
1122
|
-
params && toFormData(params, this, options);
|
|
1122
|
+
params && toFormData$1(params, this, options);
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
1125
|
const prototype = AxiosURLSearchParams.prototype;
|
|
@@ -1370,7 +1370,7 @@ const platform = {
|
|
|
1370
1370
|
/* Injected with object hook! */
|
|
1371
1371
|
|
|
1372
1372
|
function toURLEncodedForm(data, options) {
|
|
1373
|
-
return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
|
|
1373
|
+
return toFormData$1(data, new platform.classes.URLSearchParams(), Object.assign({
|
|
1374
1374
|
visitor: function(value, key, path, helpers) {
|
|
1375
1375
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1376
1376
|
this.append(key, value.toString('base64'));
|
|
@@ -1498,7 +1498,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
|
-
return (
|
|
1501
|
+
return (encoder || JSON.stringify)(rawValue);
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
1504
|
const defaults = {
|
|
@@ -1549,7 +1549,7 @@ const defaults = {
|
|
|
1549
1549
|
if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
1550
1550
|
const _FormData = this.env && this.env.FormData;
|
|
1551
1551
|
|
|
1552
|
-
return toFormData(
|
|
1552
|
+
return toFormData$1(
|
|
1553
1553
|
isFileList ? {'files[]': data} : data,
|
|
1554
1554
|
_FormData && new _FormData(),
|
|
1555
1555
|
this.formSerializer
|
|
@@ -1583,7 +1583,7 @@ const defaults = {
|
|
|
1583
1583
|
} catch (e) {
|
|
1584
1584
|
if (strictJSONParsing) {
|
|
1585
1585
|
if (e.name === 'SyntaxError') {
|
|
1586
|
-
throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
1586
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
1587
1587
|
}
|
|
1588
1588
|
throw e;
|
|
1589
1589
|
}
|
|
@@ -1750,7 +1750,7 @@ function buildAccessors(obj, header) {
|
|
|
1750
1750
|
});
|
|
1751
1751
|
}
|
|
1752
1752
|
|
|
1753
|
-
class AxiosHeaders {
|
|
1753
|
+
let AxiosHeaders$1 = class AxiosHeaders {
|
|
1754
1754
|
constructor(headers) {
|
|
1755
1755
|
headers && this.set(headers);
|
|
1756
1756
|
}
|
|
@@ -1961,12 +1961,12 @@ class AxiosHeaders {
|
|
|
1961
1961
|
|
|
1962
1962
|
return this;
|
|
1963
1963
|
}
|
|
1964
|
-
}
|
|
1964
|
+
};
|
|
1965
1965
|
|
|
1966
|
-
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
|
1966
|
+
AxiosHeaders$1.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
|
1967
1967
|
|
|
1968
1968
|
// reserved names hotfix
|
|
1969
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
1969
|
+
utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({value}, key) => {
|
|
1970
1970
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
1971
1971
|
return {
|
|
1972
1972
|
get: () => value,
|
|
@@ -1976,7 +1976,7 @@ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
});
|
|
1978
1978
|
|
|
1979
|
-
utils$1.freezeMethods(AxiosHeaders);
|
|
1979
|
+
utils$1.freezeMethods(AxiosHeaders$1);
|
|
1980
1980
|
|
|
1981
1981
|
/* Injected with object hook! */
|
|
1982
1982
|
|
|
@@ -1991,7 +1991,7 @@ utils$1.freezeMethods(AxiosHeaders);
|
|
|
1991
1991
|
function transformData(fns, response) {
|
|
1992
1992
|
const config = this || defaults;
|
|
1993
1993
|
const context = response || config;
|
|
1994
|
-
const headers = AxiosHeaders.from(context.headers);
|
|
1994
|
+
const headers = AxiosHeaders$1.from(context.headers);
|
|
1995
1995
|
let data = context.data;
|
|
1996
1996
|
|
|
1997
1997
|
utils$1.forEach(fns, function transform(fn) {
|
|
@@ -2005,7 +2005,7 @@ function transformData(fns, response) {
|
|
|
2005
2005
|
|
|
2006
2006
|
/* Injected with object hook! */
|
|
2007
2007
|
|
|
2008
|
-
function isCancel(value) {
|
|
2008
|
+
function isCancel$1(value) {
|
|
2009
2009
|
return !!(value && value.__CANCEL__);
|
|
2010
2010
|
}
|
|
2011
2011
|
|
|
@@ -2020,13 +2020,13 @@ function isCancel(value) {
|
|
|
2020
2020
|
*
|
|
2021
2021
|
* @returns {CanceledError} The created error.
|
|
2022
2022
|
*/
|
|
2023
|
-
function CanceledError(message, config, request) {
|
|
2023
|
+
function CanceledError$1(message, config, request) {
|
|
2024
2024
|
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
2025
|
-
AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
|
2025
|
+
AxiosError$1.call(this, message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
|
|
2026
2026
|
this.name = 'CanceledError';
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
2029
|
-
utils$1.inherits(CanceledError, AxiosError, {
|
|
2029
|
+
utils$1.inherits(CanceledError$1, AxiosError$1, {
|
|
2030
2030
|
__CANCEL__: true
|
|
2031
2031
|
});
|
|
2032
2032
|
|
|
@@ -2046,9 +2046,9 @@ function settle(resolve, reject, response) {
|
|
|
2046
2046
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
2047
2047
|
resolve(response);
|
|
2048
2048
|
} else {
|
|
2049
|
-
reject(new AxiosError(
|
|
2049
|
+
reject(new AxiosError$1(
|
|
2050
2050
|
'Request failed with status code ' + response.status,
|
|
2051
|
-
[AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
2051
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
2052
2052
|
response.config,
|
|
2053
2053
|
response.request,
|
|
2054
2054
|
response
|
|
@@ -2315,7 +2315,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
2315
2315
|
|
|
2316
2316
|
/* Injected with object hook! */
|
|
2317
2317
|
|
|
2318
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
2318
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
2319
2319
|
|
|
2320
2320
|
/**
|
|
2321
2321
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -2326,7 +2326,7 @@ const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing }
|
|
|
2326
2326
|
*
|
|
2327
2327
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
2328
2328
|
*/
|
|
2329
|
-
function mergeConfig(config1, config2) {
|
|
2329
|
+
function mergeConfig$1(config1, config2) {
|
|
2330
2330
|
// eslint-disable-next-line no-param-reassign
|
|
2331
2331
|
config2 = config2 || {};
|
|
2332
2332
|
const config = {};
|
|
@@ -2420,11 +2420,11 @@ function mergeConfig(config1, config2) {
|
|
|
2420
2420
|
/* Injected with object hook! */
|
|
2421
2421
|
|
|
2422
2422
|
const resolveConfig = (config) => {
|
|
2423
|
-
const newConfig = mergeConfig({}, config);
|
|
2423
|
+
const newConfig = mergeConfig$1({}, config);
|
|
2424
2424
|
|
|
2425
2425
|
let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
|
|
2426
2426
|
|
|
2427
|
-
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
2427
|
+
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
2428
2428
|
|
|
2429
2429
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
2430
2430
|
|
|
@@ -2476,7 +2476,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2476
2476
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
2477
2477
|
const _config = resolveConfig(config);
|
|
2478
2478
|
let requestData = _config.data;
|
|
2479
|
-
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
2479
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
2480
2480
|
let {responseType, onUploadProgress, onDownloadProgress} = _config;
|
|
2481
2481
|
let onCanceled;
|
|
2482
2482
|
let uploadThrottled, downloadThrottled;
|
|
@@ -2503,7 +2503,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2503
2503
|
return;
|
|
2504
2504
|
}
|
|
2505
2505
|
// Prepare the response
|
|
2506
|
-
const responseHeaders = AxiosHeaders.from(
|
|
2506
|
+
const responseHeaders = AxiosHeaders$1.from(
|
|
2507
2507
|
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
2508
2508
|
);
|
|
2509
2509
|
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
@@ -2558,7 +2558,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2558
2558
|
return;
|
|
2559
2559
|
}
|
|
2560
2560
|
|
|
2561
|
-
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
|
2561
|
+
reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
|
|
2562
2562
|
|
|
2563
2563
|
// Clean up request
|
|
2564
2564
|
request = null;
|
|
@@ -2568,7 +2568,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2568
2568
|
request.onerror = function handleError() {
|
|
2569
2569
|
// Real errors are hidden from us by the browser
|
|
2570
2570
|
// onerror should only fire if it's a network error
|
|
2571
|
-
reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
|
|
2571
|
+
reject(new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request));
|
|
2572
2572
|
|
|
2573
2573
|
// Clean up request
|
|
2574
2574
|
request = null;
|
|
@@ -2581,9 +2581,9 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2581
2581
|
if (_config.timeoutErrorMessage) {
|
|
2582
2582
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
2583
2583
|
}
|
|
2584
|
-
reject(new AxiosError(
|
|
2584
|
+
reject(new AxiosError$1(
|
|
2585
2585
|
timeoutErrorMessage,
|
|
2586
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
2586
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
2587
2587
|
config,
|
|
2588
2588
|
request));
|
|
2589
2589
|
|
|
@@ -2633,7 +2633,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2633
2633
|
if (!request) {
|
|
2634
2634
|
return;
|
|
2635
2635
|
}
|
|
2636
|
-
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
|
2636
|
+
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
2637
2637
|
request.abort();
|
|
2638
2638
|
request = null;
|
|
2639
2639
|
};
|
|
@@ -2647,7 +2647,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
2647
2647
|
const protocol = parseProtocol(_config.url);
|
|
2648
2648
|
|
|
2649
2649
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
2650
|
-
reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
|
2650
|
+
reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
|
|
2651
2651
|
return;
|
|
2652
2652
|
}
|
|
2653
2653
|
|
|
@@ -2672,13 +2672,13 @@ const composeSignals = (signals, timeout) => {
|
|
|
2672
2672
|
aborted = true;
|
|
2673
2673
|
unsubscribe();
|
|
2674
2674
|
const err = reason instanceof Error ? reason : this.reason;
|
|
2675
|
-
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
2675
|
+
controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
|
|
2676
2676
|
}
|
|
2677
2677
|
};
|
|
2678
2678
|
|
|
2679
2679
|
let timer = timeout && setTimeout(() => {
|
|
2680
2680
|
timer = null;
|
|
2681
|
-
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
2681
|
+
onabort(new AxiosError$1(`timeout ${timeout} of ms exceeded`, AxiosError$1.ETIMEDOUT));
|
|
2682
2682
|
}, timeout);
|
|
2683
2683
|
|
|
2684
2684
|
const unsubscribe = () => {
|
|
@@ -2839,7 +2839,7 @@ isFetchSupported && (((res) => {
|
|
|
2839
2839
|
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
|
|
2840
2840
|
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res) => res[type]() :
|
|
2841
2841
|
(_, config) => {
|
|
2842
|
-
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
2842
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
2843
2843
|
});
|
|
2844
2844
|
});
|
|
2845
2845
|
})(new Response));
|
|
@@ -2988,7 +2988,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
2988
2988
|
return await new Promise((resolve, reject) => {
|
|
2989
2989
|
settle(resolve, reject, {
|
|
2990
2990
|
data: responseData,
|
|
2991
|
-
headers: AxiosHeaders.from(response.headers),
|
|
2991
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
2992
2992
|
status: response.status,
|
|
2993
2993
|
statusText: response.statusText,
|
|
2994
2994
|
config,
|
|
@@ -3000,14 +3000,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
3000
3000
|
|
|
3001
3001
|
if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
|
|
3002
3002
|
throw Object.assign(
|
|
3003
|
-
new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
|
|
3003
|
+
new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request),
|
|
3004
3004
|
{
|
|
3005
3005
|
cause: err.cause || err
|
|
3006
3006
|
}
|
|
3007
3007
|
)
|
|
3008
3008
|
}
|
|
3009
3009
|
|
|
3010
|
-
throw AxiosError.from(err, err && err.code, config, request);
|
|
3010
|
+
throw AxiosError$1.from(err, err && err.code, config, request);
|
|
3011
3011
|
}
|
|
3012
3012
|
});
|
|
3013
3013
|
|
|
@@ -3056,7 +3056,7 @@ const adapters = {
|
|
|
3056
3056
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
3057
3057
|
|
|
3058
3058
|
if (adapter === undefined) {
|
|
3059
|
-
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
3059
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
3060
3060
|
}
|
|
3061
3061
|
}
|
|
3062
3062
|
|
|
@@ -3078,7 +3078,7 @@ const adapters = {
|
|
|
3078
3078
|
(reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
|
|
3079
3079
|
'as no adapter specified';
|
|
3080
3080
|
|
|
3081
|
-
throw new AxiosError(
|
|
3081
|
+
throw new AxiosError$1(
|
|
3082
3082
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
3083
3083
|
'ERR_NOT_SUPPORT'
|
|
3084
3084
|
);
|
|
@@ -3104,7 +3104,7 @@ function throwIfCancellationRequested(config) {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
|
|
3106
3106
|
if (config.signal && config.signal.aborted) {
|
|
3107
|
-
throw new CanceledError(null, config);
|
|
3107
|
+
throw new CanceledError$1(null, config);
|
|
3108
3108
|
}
|
|
3109
3109
|
}
|
|
3110
3110
|
|
|
@@ -3118,7 +3118,7 @@ function throwIfCancellationRequested(config) {
|
|
|
3118
3118
|
function dispatchRequest(config) {
|
|
3119
3119
|
throwIfCancellationRequested(config);
|
|
3120
3120
|
|
|
3121
|
-
config.headers = AxiosHeaders.from(config.headers);
|
|
3121
|
+
config.headers = AxiosHeaders$1.from(config.headers);
|
|
3122
3122
|
|
|
3123
3123
|
// Transform request data
|
|
3124
3124
|
config.data = transformData.call(
|
|
@@ -3142,11 +3142,11 @@ function dispatchRequest(config) {
|
|
|
3142
3142
|
response
|
|
3143
3143
|
);
|
|
3144
3144
|
|
|
3145
|
-
response.headers = AxiosHeaders.from(response.headers);
|
|
3145
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
3146
3146
|
|
|
3147
3147
|
return response;
|
|
3148
3148
|
}, function onAdapterRejection(reason) {
|
|
3149
|
-
if (!isCancel(reason)) {
|
|
3149
|
+
if (!isCancel$1(reason)) {
|
|
3150
3150
|
throwIfCancellationRequested(config);
|
|
3151
3151
|
|
|
3152
3152
|
// Transform response data
|
|
@@ -3156,7 +3156,7 @@ function dispatchRequest(config) {
|
|
|
3156
3156
|
config.transformResponse,
|
|
3157
3157
|
reason.response
|
|
3158
3158
|
);
|
|
3159
|
-
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
3159
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
3160
3160
|
}
|
|
3161
3161
|
}
|
|
3162
3162
|
|
|
@@ -3166,7 +3166,7 @@ function dispatchRequest(config) {
|
|
|
3166
3166
|
|
|
3167
3167
|
/* Injected with object hook! */
|
|
3168
3168
|
|
|
3169
|
-
const VERSION = "1.7.9";
|
|
3169
|
+
const VERSION$1 = "1.7.9";
|
|
3170
3170
|
/* Injected with object hook! */
|
|
3171
3171
|
|
|
3172
3172
|
const validators$1 = {};
|
|
@@ -3191,15 +3191,15 @@ const deprecatedWarnings = {};
|
|
|
3191
3191
|
*/
|
|
3192
3192
|
validators$1.transitional = function transitional(validator, version, message) {
|
|
3193
3193
|
function formatMessage(opt, desc) {
|
|
3194
|
-
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
3194
|
+
return '[Axios v' + VERSION$1 + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
3195
3195
|
}
|
|
3196
3196
|
|
|
3197
3197
|
// eslint-disable-next-line func-names
|
|
3198
3198
|
return (value, opt, opts) => {
|
|
3199
3199
|
if (validator === false) {
|
|
3200
|
-
throw new AxiosError(
|
|
3200
|
+
throw new AxiosError$1(
|
|
3201
3201
|
formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
|
|
3202
|
-
AxiosError.ERR_DEPRECATED
|
|
3202
|
+
AxiosError$1.ERR_DEPRECATED
|
|
3203
3203
|
);
|
|
3204
3204
|
}
|
|
3205
3205
|
|
|
@@ -3238,7 +3238,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
3238
3238
|
|
|
3239
3239
|
function assertOptions(options, schema, allowUnknown) {
|
|
3240
3240
|
if (typeof options !== 'object') {
|
|
3241
|
-
throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
|
3241
|
+
throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
3242
3242
|
}
|
|
3243
3243
|
const keys = Object.keys(options);
|
|
3244
3244
|
let i = keys.length;
|
|
@@ -3249,12 +3249,12 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
3249
3249
|
const value = options[opt];
|
|
3250
3250
|
const result = value === undefined || validator(value, opt, options);
|
|
3251
3251
|
if (result !== true) {
|
|
3252
|
-
throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
3252
|
+
throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
3253
3253
|
}
|
|
3254
3254
|
continue;
|
|
3255
3255
|
}
|
|
3256
3256
|
if (allowUnknown !== true) {
|
|
3257
|
-
throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
|
3257
|
+
throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
|
|
3258
3258
|
}
|
|
3259
3259
|
}
|
|
3260
3260
|
}
|
|
@@ -3275,7 +3275,7 @@ const validators = validator.validators;
|
|
|
3275
3275
|
*
|
|
3276
3276
|
* @return {Axios} A new instance of Axios
|
|
3277
3277
|
*/
|
|
3278
|
-
class Axios {
|
|
3278
|
+
let Axios$1 = class Axios {
|
|
3279
3279
|
constructor(instanceConfig) {
|
|
3280
3280
|
this.defaults = instanceConfig;
|
|
3281
3281
|
this.interceptors = {
|
|
@@ -3329,7 +3329,7 @@ class Axios {
|
|
|
3329
3329
|
config = configOrUrl || {};
|
|
3330
3330
|
}
|
|
3331
3331
|
|
|
3332
|
-
config = mergeConfig(this.defaults, config);
|
|
3332
|
+
config = mergeConfig$1(this.defaults, config);
|
|
3333
3333
|
|
|
3334
3334
|
const {transitional, paramsSerializer, headers} = config;
|
|
3335
3335
|
|
|
@@ -3375,7 +3375,7 @@ class Axios {
|
|
|
3375
3375
|
}
|
|
3376
3376
|
);
|
|
3377
3377
|
|
|
3378
|
-
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
3378
|
+
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
3379
3379
|
|
|
3380
3380
|
// filter out skipped interceptors
|
|
3381
3381
|
const requestInterceptorChain = [];
|
|
@@ -3448,17 +3448,17 @@ class Axios {
|
|
|
3448
3448
|
}
|
|
3449
3449
|
|
|
3450
3450
|
getUri(config) {
|
|
3451
|
-
config = mergeConfig(this.defaults, config);
|
|
3451
|
+
config = mergeConfig$1(this.defaults, config);
|
|
3452
3452
|
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
3453
3453
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
3454
3454
|
}
|
|
3455
|
-
}
|
|
3455
|
+
};
|
|
3456
3456
|
|
|
3457
3457
|
// Provide aliases for supported request methods
|
|
3458
3458
|
utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
3459
3459
|
/*eslint func-names:0*/
|
|
3460
|
-
Axios.prototype[method] = function(url, config) {
|
|
3461
|
-
return this.request(mergeConfig(config || {}, {
|
|
3460
|
+
Axios$1.prototype[method] = function(url, config) {
|
|
3461
|
+
return this.request(mergeConfig$1(config || {}, {
|
|
3462
3462
|
method,
|
|
3463
3463
|
url,
|
|
3464
3464
|
data: (config || {}).data
|
|
@@ -3471,7 +3471,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
3471
3471
|
|
|
3472
3472
|
function generateHTTPMethod(isForm) {
|
|
3473
3473
|
return function httpMethod(url, data, config) {
|
|
3474
|
-
return this.request(mergeConfig(config || {}, {
|
|
3474
|
+
return this.request(mergeConfig$1(config || {}, {
|
|
3475
3475
|
method,
|
|
3476
3476
|
headers: isForm ? {
|
|
3477
3477
|
'Content-Type': 'multipart/form-data'
|
|
@@ -3482,9 +3482,9 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
3482
3482
|
};
|
|
3483
3483
|
}
|
|
3484
3484
|
|
|
3485
|
-
Axios.prototype[method] = generateHTTPMethod();
|
|
3485
|
+
Axios$1.prototype[method] = generateHTTPMethod();
|
|
3486
3486
|
|
|
3487
|
-
Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
3487
|
+
Axios$1.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
3488
3488
|
});
|
|
3489
3489
|
|
|
3490
3490
|
/* Injected with object hook! */
|
|
@@ -3496,7 +3496,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
3496
3496
|
*
|
|
3497
3497
|
* @returns {CancelToken}
|
|
3498
3498
|
*/
|
|
3499
|
-
class CancelToken {
|
|
3499
|
+
let CancelToken$1 = class CancelToken {
|
|
3500
3500
|
constructor(executor) {
|
|
3501
3501
|
if (typeof executor !== 'function') {
|
|
3502
3502
|
throw new TypeError('executor must be a function.');
|
|
@@ -3544,7 +3544,7 @@ class CancelToken {
|
|
|
3544
3544
|
return;
|
|
3545
3545
|
}
|
|
3546
3546
|
|
|
3547
|
-
token.reason = new CanceledError(message, config, request);
|
|
3547
|
+
token.reason = new CanceledError$1(message, config, request);
|
|
3548
3548
|
resolvePromise(token.reason);
|
|
3549
3549
|
});
|
|
3550
3550
|
}
|
|
@@ -3617,7 +3617,7 @@ class CancelToken {
|
|
|
3617
3617
|
cancel
|
|
3618
3618
|
};
|
|
3619
3619
|
}
|
|
3620
|
-
}
|
|
3620
|
+
};
|
|
3621
3621
|
|
|
3622
3622
|
/* Injected with object hook! */
|
|
3623
3623
|
|
|
@@ -3642,7 +3642,7 @@ class CancelToken {
|
|
|
3642
3642
|
*
|
|
3643
3643
|
* @returns {Function}
|
|
3644
3644
|
*/
|
|
3645
|
-
function spread(callback) {
|
|
3645
|
+
function spread$1(callback) {
|
|
3646
3646
|
return function wrap(arr) {
|
|
3647
3647
|
return callback.apply(null, arr);
|
|
3648
3648
|
};
|
|
@@ -3657,13 +3657,13 @@ function spread(callback) {
|
|
|
3657
3657
|
*
|
|
3658
3658
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
3659
3659
|
*/
|
|
3660
|
-
function isAxiosError(payload) {
|
|
3660
|
+
function isAxiosError$1(payload) {
|
|
3661
3661
|
return utils$1.isObject(payload) && (payload.isAxiosError === true);
|
|
3662
3662
|
}
|
|
3663
3663
|
|
|
3664
3664
|
/* Injected with object hook! */
|
|
3665
3665
|
|
|
3666
|
-
const HttpStatusCode = {
|
|
3666
|
+
const HttpStatusCode$1 = {
|
|
3667
3667
|
Continue: 100,
|
|
3668
3668
|
SwitchingProtocols: 101,
|
|
3669
3669
|
Processing: 102,
|
|
@@ -3729,8 +3729,8 @@ const HttpStatusCode = {
|
|
|
3729
3729
|
NetworkAuthenticationRequired: 511,
|
|
3730
3730
|
};
|
|
3731
3731
|
|
|
3732
|
-
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
3733
|
-
HttpStatusCode[value] = key;
|
|
3732
|
+
Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
3733
|
+
HttpStatusCode$1[value] = key;
|
|
3734
3734
|
});
|
|
3735
3735
|
|
|
3736
3736
|
/* Injected with object hook! */
|
|
@@ -3743,18 +3743,18 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
3743
3743
|
* @returns {Axios} A new instance of Axios
|
|
3744
3744
|
*/
|
|
3745
3745
|
function createInstance(defaultConfig) {
|
|
3746
|
-
const context = new Axios(defaultConfig);
|
|
3747
|
-
const instance = bind(Axios.prototype.request, context);
|
|
3746
|
+
const context = new Axios$1(defaultConfig);
|
|
3747
|
+
const instance = bind(Axios$1.prototype.request, context);
|
|
3748
3748
|
|
|
3749
3749
|
// Copy axios.prototype to instance
|
|
3750
|
-
utils$1.extend(instance, Axios.prototype, context, {allOwnKeys: true});
|
|
3750
|
+
utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
|
|
3751
3751
|
|
|
3752
3752
|
// Copy context to instance
|
|
3753
3753
|
utils$1.extend(instance, context, null, {allOwnKeys: true});
|
|
3754
3754
|
|
|
3755
3755
|
// Factory for creating new instances
|
|
3756
3756
|
instance.create = function create(instanceConfig) {
|
|
3757
|
-
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
|
3757
|
+
return createInstance(mergeConfig$1(defaultConfig, instanceConfig));
|
|
3758
3758
|
};
|
|
3759
3759
|
|
|
3760
3760
|
return instance;
|
|
@@ -3764,17 +3764,17 @@ function createInstance(defaultConfig) {
|
|
|
3764
3764
|
const axios = createInstance(defaults);
|
|
3765
3765
|
|
|
3766
3766
|
// Expose Axios class to allow class inheritance
|
|
3767
|
-
axios.Axios = Axios;
|
|
3767
|
+
axios.Axios = Axios$1;
|
|
3768
3768
|
|
|
3769
3769
|
// Expose Cancel & CancelToken
|
|
3770
|
-
axios.CanceledError = CanceledError;
|
|
3771
|
-
axios.CancelToken = CancelToken;
|
|
3772
|
-
axios.isCancel = isCancel;
|
|
3773
|
-
axios.VERSION = VERSION;
|
|
3774
|
-
axios.toFormData = toFormData;
|
|
3770
|
+
axios.CanceledError = CanceledError$1;
|
|
3771
|
+
axios.CancelToken = CancelToken$1;
|
|
3772
|
+
axios.isCancel = isCancel$1;
|
|
3773
|
+
axios.VERSION = VERSION$1;
|
|
3774
|
+
axios.toFormData = toFormData$1;
|
|
3775
3775
|
|
|
3776
3776
|
// Expose AxiosError class
|
|
3777
|
-
axios.AxiosError = AxiosError;
|
|
3777
|
+
axios.AxiosError = AxiosError$1;
|
|
3778
3778
|
|
|
3779
3779
|
// alias for CanceledError for backward compatibility
|
|
3780
3780
|
axios.Cancel = axios.CanceledError;
|
|
@@ -3784,26 +3784,50 @@ axios.all = function all(promises) {
|
|
|
3784
3784
|
return Promise.all(promises);
|
|
3785
3785
|
};
|
|
3786
3786
|
|
|
3787
|
-
axios.spread = spread;
|
|
3787
|
+
axios.spread = spread$1;
|
|
3788
3788
|
|
|
3789
3789
|
// Expose isAxiosError
|
|
3790
|
-
axios.isAxiosError = isAxiosError;
|
|
3790
|
+
axios.isAxiosError = isAxiosError$1;
|
|
3791
3791
|
|
|
3792
3792
|
// Expose mergeConfig
|
|
3793
|
-
axios.mergeConfig = mergeConfig;
|
|
3793
|
+
axios.mergeConfig = mergeConfig$1;
|
|
3794
3794
|
|
|
3795
|
-
axios.AxiosHeaders = AxiosHeaders;
|
|
3795
|
+
axios.AxiosHeaders = AxiosHeaders$1;
|
|
3796
3796
|
|
|
3797
3797
|
axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
3798
3798
|
|
|
3799
3799
|
axios.getAdapter = adapters.getAdapter;
|
|
3800
3800
|
|
|
3801
|
-
axios.HttpStatusCode = HttpStatusCode;
|
|
3801
|
+
axios.HttpStatusCode = HttpStatusCode$1;
|
|
3802
3802
|
|
|
3803
3803
|
axios.default = axios;
|
|
3804
3804
|
|
|
3805
3805
|
/* Injected with object hook! */
|
|
3806
3806
|
|
|
3807
|
+
// This module is intended to unwrap Axios default export as named.
|
|
3808
|
+
// Keep top-level export same with static properties
|
|
3809
|
+
// so that it can keep same with es module or cjs
|
|
3810
|
+
const {
|
|
3811
|
+
Axios,
|
|
3812
|
+
AxiosError,
|
|
3813
|
+
CanceledError,
|
|
3814
|
+
isCancel,
|
|
3815
|
+
CancelToken,
|
|
3816
|
+
VERSION,
|
|
3817
|
+
all,
|
|
3818
|
+
Cancel,
|
|
3819
|
+
isAxiosError,
|
|
3820
|
+
spread,
|
|
3821
|
+
toFormData,
|
|
3822
|
+
AxiosHeaders,
|
|
3823
|
+
HttpStatusCode,
|
|
3824
|
+
formToJSON,
|
|
3825
|
+
getAdapter,
|
|
3826
|
+
mergeConfig
|
|
3827
|
+
} = axios;
|
|
3828
|
+
|
|
3829
|
+
/* Injected with object hook! */
|
|
3830
|
+
|
|
3807
3831
|
const M = {
|
|
3808
3832
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
3809
3833
|
name: "splitpanes",
|
|
@@ -3929,11 +3953,11 @@ const M = {
|
|
|
3929
3953
|
const s = this.touch.activeSplitter, n = [s, s + 1];
|
|
3930
3954
|
return i < e.prevPanesSize + this.panes[n[0]].min && (n[0] = this.findPrevExpandedPane(s).index, e.prevReachedMinPanes = 0, n[0] < s && this.panes.forEach((t, a) => {
|
|
3931
3955
|
a > n[0] && a <= s && (t.size = t.min, e.prevReachedMinPanes += t.min);
|
|
3932
|
-
}), e.prevPanesSize = this.sumPrevPanesSize(n[0]), n[0] ===
|
|
3956
|
+
}), e.prevPanesSize = this.sumPrevPanesSize(n[0]), n[0] === void 0) ? (e.prevReachedMinPanes = 0, this.panes[0].size = this.panes[0].min, this.panes.forEach((t, a) => {
|
|
3933
3957
|
a > 0 && a <= s && (t.size = t.min, e.prevReachedMinPanes += t.min);
|
|
3934
3958
|
}), this.panes[n[1]].size = 100 - e.prevReachedMinPanes - this.panes[0].min - e.prevPanesSize - e.nextPanesSize, null) : i > 100 - e.nextPanesSize - this.panes[n[1]].min && (n[1] = this.findNextExpandedPane(s).index, e.nextReachedMinPanes = 0, n[1] > s + 1 && this.panes.forEach((t, a) => {
|
|
3935
3959
|
a > s && a < n[1] && (t.size = t.min, e.nextReachedMinPanes += t.min);
|
|
3936
|
-
}), e.nextPanesSize = this.sumNextPanesSize(n[1] - 1), n[1] ===
|
|
3960
|
+
}), e.nextPanesSize = this.sumNextPanesSize(n[1] - 1), n[1] === void 0) ? (e.nextReachedMinPanes = 0, this.panes[this.panesCount - 1].size = this.panes[this.panesCount - 1].min, this.panes.forEach((t, a) => {
|
|
3937
3961
|
a < this.panesCount - 1 && a >= s + 1 && (t.size = t.min, e.nextReachedMinPanes += t.min);
|
|
3938
3962
|
}), this.panes[n[0]].size = 100 - e.prevPanesSize - e.nextReachedMinPanes - this.panes[this.panesCount - 1].min - e.nextPanesSize, null) : { sums: e, panesToResize: n };
|
|
3939
3963
|
},
|
|
@@ -3962,7 +3986,7 @@ const M = {
|
|
|
3962
3986
|
t.classList.add("splitpanes__splitter"), s || (t.onmousedown = (a) => this.onMouseDown(a, n), typeof window < "u" && "ontouchstart" in window && (t.ontouchstart = (a) => this.onMouseDown(a, n)), t.onclick = (a) => this.onSplitterClick(a, n + 1)), this.dblClickSplitter && (t.ondblclick = (a) => this.onSplitterDblClick(a, n + 1)), i.parentNode.insertBefore(t, i);
|
|
3963
3987
|
},
|
|
3964
3988
|
removeSplitter(e) {
|
|
3965
|
-
e.onmousedown =
|
|
3989
|
+
e.onmousedown = void 0, e.onclick = void 0, e.ondblclick = void 0, e.parentNode.removeChild(e);
|
|
3966
3990
|
},
|
|
3967
3991
|
redoSplitters() {
|
|
3968
3992
|
const e = Array.from(this.container.children);
|
|
@@ -4165,7 +4189,7 @@ const M = {
|
|
|
4165
4189
|
},
|
|
4166
4190
|
dblClickSplitter(e) {
|
|
4167
4191
|
[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((s, n) => {
|
|
4168
|
-
s.ondblclick = e ? (t) => this.onSplitterDblClick(t, n) :
|
|
4192
|
+
s.ondblclick = e ? (t) => this.onSplitterDblClick(t, n) : void 0;
|
|
4169
4193
|
});
|
|
4170
4194
|
}
|
|
4171
4195
|
},
|