зеркало из https://github.com/nextcloud/viewer.git
Merge pull request #2456 from nextcloud/renovate/master-lock-file-maintenance
This commit is contained in:
Коммит
f30175e1e1
|
@ -1,7 +1,7 @@
|
|||
Included dependencies:
|
||||
|
||||
@babel/runtime
|
||||
version: 7.25.4
|
||||
version: 7.25.6
|
||||
license: MIT
|
||||
|
||||
@emotion/is-prop-valid
|
||||
|
@ -121,7 +121,7 @@ version: 7.5.0
|
|||
license: MIT
|
||||
|
||||
@vueuse/components
|
||||
version: 11.0.1
|
||||
version: 11.0.3
|
||||
license: MIT
|
||||
|
||||
@vueuse/core
|
||||
|
@ -137,7 +137,7 @@ version: 6.0.1
|
|||
license: MIT
|
||||
|
||||
axios
|
||||
version: 1.7.4
|
||||
version: 1.7.7
|
||||
license: MIT
|
||||
|
||||
camelcase
|
||||
|
|
|
@ -29,7 +29,7 @@ function isPrimitive(value3) {
|
|||
function isFunction$2(value3) {
|
||||
return typeof value3 === "function";
|
||||
}
|
||||
function isObject$5(obj) {
|
||||
function isObject$4(obj) {
|
||||
return obj !== null && typeof obj === "object";
|
||||
}
|
||||
var _toString = Object.prototype.toString;
|
||||
|
@ -49,7 +49,7 @@ function isValidArrayIndex(val2) {
|
|||
function isPromise(val2) {
|
||||
return isDef(val2) && typeof val2.then === "function" && typeof val2.catch === "function";
|
||||
}
|
||||
function toString$4(val2) {
|
||||
function toString$3(val2) {
|
||||
return val2 == null ? "" : Array.isArray(val2) || isPlainObject$1(val2) && val2.toString === _toString ? JSON.stringify(val2, replacer, 2) : String(val2);
|
||||
}
|
||||
function replacer(_key2, val2) {
|
||||
|
@ -149,7 +149,7 @@ function toObject(arr) {
|
|||
}
|
||||
return res;
|
||||
}
|
||||
function noop$6(a3, b2, c2) {
|
||||
function noop$5(a3, b2, c2) {
|
||||
}
|
||||
var no = function(a3, b2, c2) {
|
||||
return false;
|
||||
|
@ -160,8 +160,8 @@ var identity = function(_2) {
|
|||
function looseEqual(a3, b2) {
|
||||
if (a3 === b2)
|
||||
return true;
|
||||
var isObjectA = isObject$5(a3);
|
||||
var isObjectB = isObject$5(b2);
|
||||
var isObjectA = isObject$4(a3);
|
||||
var isObjectB = isObject$4(b2);
|
||||
if (isObjectA && isObjectB) {
|
||||
try {
|
||||
var isArrayA = Array.isArray(a3);
|
||||
|
@ -288,7 +288,7 @@ var config$2 = {
|
|||
/**
|
||||
* Get the namespace of an element
|
||||
*/
|
||||
getTagNamespace: noop$6,
|
||||
getTagNamespace: noop$5,
|
||||
/**
|
||||
* Parse the real tag name for the specific platform.
|
||||
*/
|
||||
|
@ -592,10 +592,10 @@ function toggleObserving(value3) {
|
|||
shouldObserve = value3;
|
||||
}
|
||||
var mockDep = {
|
||||
notify: noop$6,
|
||||
depend: noop$6,
|
||||
addSub: noop$6,
|
||||
removeSub: noop$6
|
||||
notify: noop$5,
|
||||
depend: noop$5,
|
||||
addSub: noop$5,
|
||||
removeSub: noop$5
|
||||
};
|
||||
var Observer = (
|
||||
/** @class */
|
||||
|
@ -939,12 +939,12 @@ function computed(getterOrOptions, debugOptions) {
|
|||
var onlyGetter = isFunction$2(getterOrOptions);
|
||||
if (onlyGetter) {
|
||||
getter = getterOrOptions;
|
||||
setter = noop$6;
|
||||
setter = noop$5;
|
||||
} else {
|
||||
getter = getterOrOptions.get;
|
||||
setter = getterOrOptions.set;
|
||||
}
|
||||
var watcher = isServerRendering() ? null : new Watcher(currentInstance, getter, noop$6, { lazy: true });
|
||||
var watcher = isServerRendering() ? null : new Watcher(currentInstance, getter, noop$5, { lazy: true });
|
||||
var ref2 = {
|
||||
// some libs rely on the presence effect for checking computed refs
|
||||
// from normal refs, but the implementation doesn't matter
|
||||
|
@ -1046,7 +1046,7 @@ function doWatch(source, cb, _a2) {
|
|||
};
|
||||
}
|
||||
} else {
|
||||
getter = noop$6;
|
||||
getter = noop$5;
|
||||
}
|
||||
if (cb && deep) {
|
||||
var baseGetter_1 = getter;
|
||||
|
@ -1061,7 +1061,7 @@ function doWatch(source, cb, _a2) {
|
|||
};
|
||||
};
|
||||
if (isServerRendering()) {
|
||||
onCleanup = noop$6;
|
||||
onCleanup = noop$5;
|
||||
if (!cb) {
|
||||
getter();
|
||||
} else if (immediate) {
|
||||
|
@ -1071,9 +1071,9 @@ function doWatch(source, cb, _a2) {
|
|||
onCleanup
|
||||
]);
|
||||
}
|
||||
return noop$6;
|
||||
return noop$5;
|
||||
}
|
||||
var watcher = new Watcher(currentInstance, getter, noop$6, {
|
||||
var watcher = new Watcher(currentInstance, getter, noop$5, {
|
||||
lazy: true
|
||||
});
|
||||
watcher.noRecurse = !cb;
|
||||
|
@ -1399,7 +1399,7 @@ function renderList(val2, render66) {
|
|||
for (i2 = 0; i2 < val2; i2++) {
|
||||
ret[i2] = render66(i2 + 1, i2);
|
||||
}
|
||||
} else if (isObject$5(val2)) {
|
||||
} else if (isObject$4(val2)) {
|
||||
if (hasSymbol$1 && val2[Symbol.iterator]) {
|
||||
ret = [];
|
||||
var iterator = val2[Symbol.iterator]();
|
||||
|
@ -1465,7 +1465,7 @@ function checkKeyCodes(eventKeyCode, key, builtInKeyCode, eventKeyName, builtInK
|
|||
}
|
||||
function bindObjectProps(data12, tag, value3, asProp, isSync) {
|
||||
if (value3) {
|
||||
if (!isObject$5(value3)) ;
|
||||
if (!isObject$4(value3)) ;
|
||||
else {
|
||||
if (isArray$2(value3)) {
|
||||
value3 = toObject(value3);
|
||||
|
@ -1579,7 +1579,7 @@ function prependModifier(value3, symbol) {
|
|||
function installRenderHelpers(target2) {
|
||||
target2._o = markOnce;
|
||||
target2._n = toNumber;
|
||||
target2._s = toString$4;
|
||||
target2._s = toString$3;
|
||||
target2._l = renderList;
|
||||
target2._t = renderSlot;
|
||||
target2._q = looseEqual;
|
||||
|
@ -1699,7 +1699,7 @@ function initSetup(vm) {
|
|||
setCurrentInstance();
|
||||
if (isFunction$2(setupResult)) {
|
||||
options2.render = setupResult;
|
||||
} else if (isObject$5(setupResult)) {
|
||||
} else if (isObject$4(setupResult)) {
|
||||
vm._setupState = setupResult;
|
||||
if (!setupResult.__sfc) {
|
||||
for (var key in setupResult) {
|
||||
|
@ -1864,7 +1864,7 @@ function ensureCtor(comp, base) {
|
|||
if (comp.__esModule || hasSymbol$1 && comp[Symbol.toStringTag] === "Module") {
|
||||
comp = comp.default;
|
||||
}
|
||||
return isObject$5(comp) ? base.extend(comp) : comp;
|
||||
return isObject$4(comp) ? base.extend(comp) : comp;
|
||||
}
|
||||
function createAsyncPlaceholder(factory, data12, context, children, tag) {
|
||||
var node = createEmptyVNode();
|
||||
|
@ -1925,7 +1925,7 @@ function resolveAsyncComponent(factory, baseCtor) {
|
|||
}
|
||||
});
|
||||
var res_1 = factory(resolve4, reject_1);
|
||||
if (isObject$5(res_1)) {
|
||||
if (isObject$4(res_1)) {
|
||||
if (isPromise(res_1)) {
|
||||
if (isUndef(factory.resolved)) {
|
||||
res_1.then(resolve4, reject_1);
|
||||
|
@ -2048,10 +2048,10 @@ function applyNS(vnode, ns, force) {
|
|||
}
|
||||
}
|
||||
function registerDeepBindings(data12) {
|
||||
if (isObject$5(data12.style)) {
|
||||
if (isObject$4(data12.style)) {
|
||||
traverse(data12.style);
|
||||
}
|
||||
if (isObject$5(data12.class)) {
|
||||
if (isObject$4(data12.class)) {
|
||||
traverse(data12.class);
|
||||
}
|
||||
}
|
||||
|
@ -2131,7 +2131,7 @@ if (typeof Promise !== "undefined" && isNative(Promise)) {
|
|||
timerFunc = function() {
|
||||
p_1.then(flushCallbacks);
|
||||
if (isIOS$2)
|
||||
setTimeout(noop$6);
|
||||
setTimeout(noop$5);
|
||||
};
|
||||
isUsingMicroTask = true;
|
||||
} else if (!isIE$1 && typeof MutationObserver !== "undefined" && (isNative(MutationObserver) || // PhantomJS and iOS 7.x
|
||||
|
@ -2226,7 +2226,7 @@ function traverse(val2) {
|
|||
function _traverse(val2, seen2) {
|
||||
var i2, keys;
|
||||
var isA = isArray$2(val2);
|
||||
if (!isA && !isObject$5(val2) || val2.__v_skip || Object.isFrozen(val2) || val2 instanceof VNode) {
|
||||
if (!isA && !isObject$4(val2) || val2.__v_skip || Object.isFrozen(val2) || val2 instanceof VNode) {
|
||||
return;
|
||||
}
|
||||
if (val2.__ob__) {
|
||||
|
@ -2287,7 +2287,7 @@ var Watcher = (
|
|||
} else {
|
||||
this.getter = parsePath$2(expOrFn);
|
||||
if (!this.getter) {
|
||||
this.getter = noop$6;
|
||||
this.getter = noop$5;
|
||||
}
|
||||
}
|
||||
this.value = this.lazy ? void 0 : this.get();
|
||||
|
@ -2355,7 +2355,7 @@ var Watcher = (
|
|||
if (value3 !== this.value || // Deep watchers and watchers on Object/Arrays should fire even
|
||||
// when the value is the same, because the value may
|
||||
// have mutated.
|
||||
isObject$5(value3) || this.deep) {
|
||||
isObject$4(value3) || this.deep) {
|
||||
var oldValue = this.value;
|
||||
this.value = value3;
|
||||
if (this.user) {
|
||||
|
@ -2610,7 +2610,7 @@ function mountComponent(vm, el, hydrating) {
|
|||
new Watcher(
|
||||
vm,
|
||||
updateComponent,
|
||||
noop$6,
|
||||
noop$5,
|
||||
watcherOptions,
|
||||
true
|
||||
/* isRenderWatcher */
|
||||
|
@ -2841,7 +2841,7 @@ function initProvide(vm) {
|
|||
var provideOption = vm.$options.provide;
|
||||
if (provideOption) {
|
||||
var provided = isFunction$2(provideOption) ? provideOption.call(vm) : provideOption;
|
||||
if (!isObject$5(provided)) {
|
||||
if (!isObject$4(provided)) {
|
||||
return;
|
||||
}
|
||||
var source = resolveProvided(vm);
|
||||
|
@ -3043,7 +3043,7 @@ function createComponent(Ctor, data12, context, children, tag) {
|
|||
return;
|
||||
}
|
||||
var baseCtor = context.$options._base;
|
||||
if (isObject$5(Ctor)) {
|
||||
if (isObject$4(Ctor)) {
|
||||
Ctor = baseCtor.extend(Ctor);
|
||||
}
|
||||
if (typeof Ctor !== "function") {
|
||||
|
@ -3138,7 +3138,7 @@ function transformModel(options2, data12) {
|
|||
on[event] = callback;
|
||||
}
|
||||
}
|
||||
var warn = noop$6;
|
||||
var warn = noop$5;
|
||||
var strats = config$2.optionMergeStrategies;
|
||||
function mergeData(to, from, recursive) {
|
||||
if (recursive === void 0) {
|
||||
|
@ -3435,8 +3435,8 @@ function getTypeIndex(type, expectedTypes) {
|
|||
var sharedPropertyDefinition = {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
get: noop$6,
|
||||
set: noop$6
|
||||
get: noop$5,
|
||||
set: noop$5
|
||||
};
|
||||
function proxy(target2, sourceKey, key) {
|
||||
sharedPropertyDefinition.get = function proxyGetter() {
|
||||
|
@ -3535,7 +3535,7 @@ function initComputed$1(vm, computed2) {
|
|||
var userDef = computed2[key];
|
||||
var getter = isFunction$2(userDef) ? userDef : userDef.get;
|
||||
if (!isSSR) {
|
||||
watchers[key] = new Watcher(vm, getter || noop$6, noop$6, computedWatcherOptions);
|
||||
watchers[key] = new Watcher(vm, getter || noop$5, noop$5, computedWatcherOptions);
|
||||
}
|
||||
if (!(key in vm)) {
|
||||
defineComputed(vm, key, userDef);
|
||||
|
@ -3546,10 +3546,10 @@ function defineComputed(target2, key, userDef) {
|
|||
var shouldCache = !isServerRendering();
|
||||
if (isFunction$2(userDef)) {
|
||||
sharedPropertyDefinition.get = shouldCache ? createComputedGetter(key) : createGetterInvoker(userDef);
|
||||
sharedPropertyDefinition.set = noop$6;
|
||||
sharedPropertyDefinition.set = noop$5;
|
||||
} else {
|
||||
sharedPropertyDefinition.get = userDef.get ? shouldCache && userDef.cache !== false ? createComputedGetter(key) : createGetterInvoker(userDef.get) : noop$6;
|
||||
sharedPropertyDefinition.set = userDef.set || noop$6;
|
||||
sharedPropertyDefinition.get = userDef.get ? shouldCache && userDef.cache !== false ? createComputedGetter(key) : createGetterInvoker(userDef.get) : noop$5;
|
||||
sharedPropertyDefinition.set = userDef.set || noop$5;
|
||||
}
|
||||
Object.defineProperty(target2, key, sharedPropertyDefinition);
|
||||
}
|
||||
|
@ -3575,7 +3575,7 @@ function createGetterInvoker(fn) {
|
|||
function initMethods(vm, methods) {
|
||||
vm.$options.props;
|
||||
for (var key in methods) {
|
||||
vm[key] = typeof methods[key] !== "function" ? noop$6 : bind$2(methods[key], vm);
|
||||
vm[key] = typeof methods[key] !== "function" ? noop$5 : bind$2(methods[key], vm);
|
||||
}
|
||||
}
|
||||
function initWatch(vm, watch2) {
|
||||
|
@ -4050,7 +4050,7 @@ function stringifyClass(value3) {
|
|||
if (Array.isArray(value3)) {
|
||||
return stringifyArray(value3);
|
||||
}
|
||||
if (isObject$5(value3)) {
|
||||
if (isObject$4(value3)) {
|
||||
return stringifyObject(value3);
|
||||
}
|
||||
if (typeof value3 === "string") {
|
||||
|
@ -5466,7 +5466,7 @@ function enter(vnode, toggleDisplay) {
|
|||
var enterHook = isAppear ? isFunction$2(appear) ? appear : enter2 : enter2;
|
||||
var afterEnterHook = isAppear ? afterAppear || afterEnter : afterEnter;
|
||||
var enterCancelledHook = isAppear ? appearCancelled || enterCancelled : enterCancelled;
|
||||
var explicitEnterDuration = toNumber(isObject$5(duration) ? duration.enter : duration);
|
||||
var explicitEnterDuration = toNumber(isObject$4(duration) ? duration.enter : duration);
|
||||
var expectsCSS = css !== false && !isIE9;
|
||||
var userWantsControl = getHookArgumentsLength(enterHook);
|
||||
var cb = el._enterCb = once$1(function() {
|
||||
|
@ -5536,7 +5536,7 @@ function leave(vnode, rm) {
|
|||
var css = data12.css, type = data12.type, leaveClass = data12.leaveClass, leaveToClass = data12.leaveToClass, leaveActiveClass = data12.leaveActiveClass, beforeLeave = data12.beforeLeave, leave2 = data12.leave, afterLeave = data12.afterLeave, leaveCancelled = data12.leaveCancelled, delayLeave = data12.delayLeave, duration = data12.duration;
|
||||
var expectsCSS = css !== false && !isIE9;
|
||||
var userWantsControl = getHookArgumentsLength(leave2);
|
||||
var explicitLeaveDuration = toNumber(isObject$5(duration) ? duration.leave : duration);
|
||||
var explicitLeaveDuration = toNumber(isObject$4(duration) ? duration.leave : duration);
|
||||
var cb = el._leaveCb = once$1(function() {
|
||||
if (el.parentNode && el.parentNode._pending) {
|
||||
el.parentNode._pending[vnode.key] = null;
|
||||
|
@ -6048,7 +6048,7 @@ Vue.config.getTagNamespace = getTagNamespace;
|
|||
Vue.config.isUnknownElement = isUnknownElement;
|
||||
extend$2(Vue.options.directives, platformDirectives);
|
||||
extend$2(Vue.options.components, platformComponents);
|
||||
Vue.prototype.__patch__ = inBrowser$1 ? patch : noop$6;
|
||||
Vue.prototype.__patch__ = inBrowser$1 ? patch : noop$5;
|
||||
Vue.prototype.$mount = function(el, hydrating) {
|
||||
el = el && inBrowser$1 ? query(el) : void 0;
|
||||
return mountComponent(this, el, hydrating);
|
||||
|
@ -6097,8 +6097,8 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|||
link.rel = isCss ? "stylesheet" : scriptRel;
|
||||
if (!isCss) {
|
||||
link.as = "script";
|
||||
link.crossOrigin = "";
|
||||
}
|
||||
link.crossOrigin = "";
|
||||
link.href = dep;
|
||||
if (cspNonce) {
|
||||
link.setAttribute("nonce", cspNonce);
|
||||
|
@ -6261,17 +6261,17 @@ process.env = {};
|
|||
process.argv = [];
|
||||
process.version = "";
|
||||
process.versions = {};
|
||||
function noop$5() {
|
||||
function noop$4() {
|
||||
}
|
||||
process.on = noop$5;
|
||||
process.addListener = noop$5;
|
||||
process.once = noop$5;
|
||||
process.off = noop$5;
|
||||
process.removeListener = noop$5;
|
||||
process.removeAllListeners = noop$5;
|
||||
process.emit = noop$5;
|
||||
process.prependListener = noop$5;
|
||||
process.prependOnceListener = noop$5;
|
||||
process.on = noop$4;
|
||||
process.addListener = noop$4;
|
||||
process.once = noop$4;
|
||||
process.off = noop$4;
|
||||
process.removeListener = noop$4;
|
||||
process.removeAllListeners = noop$4;
|
||||
process.emit = noop$4;
|
||||
process.prependListener = noop$4;
|
||||
process.prependOnceListener = noop$4;
|
||||
process.listeners = function(name) {
|
||||
return [];
|
||||
};
|
||||
|
@ -6294,10 +6294,10 @@ function bind$1(fn, thisArg) {
|
|||
return fn.apply(thisArg, arguments);
|
||||
};
|
||||
}
|
||||
const { toString: toString$3 } = Object.prototype;
|
||||
const { toString: toString$2 } = Object.prototype;
|
||||
const { getPrototypeOf: getPrototypeOf$1 } = Object;
|
||||
const kindOf = /* @__PURE__ */ ((cache) => (thing) => {
|
||||
const str = toString$3.call(thing);
|
||||
const str = toString$2.call(thing);
|
||||
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
||||
})(/* @__PURE__ */ Object.create(null));
|
||||
const kindOfTest = (type) => {
|
||||
|
@ -6323,7 +6323,7 @@ function isArrayBufferView(val2) {
|
|||
const isString = typeOfTest("string");
|
||||
const isFunction$1 = typeOfTest("function");
|
||||
const isNumber$2 = typeOfTest("number");
|
||||
const isObject$4 = (thing) => thing !== null && typeof thing === "object";
|
||||
const isObject$3 = (thing) => thing !== null && typeof thing === "object";
|
||||
const isBoolean = (thing) => thing === true || thing === false;
|
||||
const isPlainObject = (val2) => {
|
||||
if (kindOf(val2) !== "object") {
|
||||
|
@ -6336,7 +6336,7 @@ const isDate$1 = kindOfTest("Date");
|
|||
const isFile = kindOfTest("File");
|
||||
const isBlob = kindOfTest("Blob");
|
||||
const isFileList = kindOfTest("FileList");
|
||||
const isStream = (val2) => isObject$4(val2) && isFunction$1(val2.pipe);
|
||||
const isStream = (val2) => isObject$3(val2) && isFunction$1(val2.pipe);
|
||||
const isFormData = (thing) => {
|
||||
let kind;
|
||||
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
||||
|
@ -6544,7 +6544,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|||
isArray$1(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
||||
return obj;
|
||||
};
|
||||
const noop$4 = () => {
|
||||
const noop$3 = () => {
|
||||
};
|
||||
const toFiniteNumber = (value3, defaultValue) => {
|
||||
return value3 != null && Number.isFinite(value3 = +value3) ? value3 : defaultValue;
|
||||
|
@ -6570,7 +6570,7 @@ function isSpecCompliantForm(thing) {
|
|||
const toJSONObject = (obj) => {
|
||||
const stack = new Array(10);
|
||||
const visit = (source, i2) => {
|
||||
if (isObject$4(source)) {
|
||||
if (isObject$3(source)) {
|
||||
if (stack.indexOf(source) >= 0) {
|
||||
return;
|
||||
}
|
||||
|
@ -6590,7 +6590,7 @@ const toJSONObject = (obj) => {
|
|||
return visit(obj, 0);
|
||||
};
|
||||
const isAsyncFn = kindOfTest("AsyncFunction");
|
||||
const isThenable = (thing) => thing && (isObject$4(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
||||
const isThenable = (thing) => thing && (isObject$3(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
||||
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
||||
if (setImmediateSupported) {
|
||||
return setImmediate;
|
||||
|
@ -6620,7 +6620,7 @@ const utils$1 = {
|
|||
isString,
|
||||
isNumber: isNumber$2,
|
||||
isBoolean,
|
||||
isObject: isObject$4,
|
||||
isObject: isObject$3,
|
||||
isPlainObject,
|
||||
isReadableStream,
|
||||
isRequest,
|
||||
|
@ -6657,7 +6657,7 @@ const utils$1 = {
|
|||
freezeMethods,
|
||||
toObjectSet,
|
||||
toCamelCase,
|
||||
noop: noop$4,
|
||||
noop: noop$3,
|
||||
toFiniteNumber,
|
||||
findKey,
|
||||
global: _global,
|
||||
|
@ -8449,7 +8449,10 @@ function AxiosError(message, code2, config2, request, response) {
|
|||
code2 && (this.code = code2);
|
||||
config2 && (this.config = config2);
|
||||
request && (this.request = request);
|
||||
response && (this.response = response);
|
||||
if (response) {
|
||||
this.response = response;
|
||||
this.status = response.status ? response.status : null;
|
||||
}
|
||||
}
|
||||
utils$1.inherits(AxiosError, Error, {
|
||||
toJSON: function toJSON() {
|
||||
|
@ -8468,7 +8471,7 @@ utils$1.inherits(AxiosError, Error, {
|
|||
// Axios
|
||||
config: utils$1.toJSONObject(this.config),
|
||||
code: this.code,
|
||||
status: this.response && this.response.status ? this.response.status : null
|
||||
status: this.status
|
||||
};
|
||||
}
|
||||
});
|
||||
|
@ -8749,9 +8752,8 @@ const platform$3 = {
|
|||
protocols: ["http", "https", "file", "blob", "url", "data"]
|
||||
};
|
||||
const hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
||||
const hasStandardBrowserEnv = ((product) => {
|
||||
return hasBrowserEnv && ["ReactNative", "NativeScript", "NS"].indexOf(product) < 0;
|
||||
})(typeof navigator !== "undefined" && navigator.product);
|
||||
const _navigator = typeof navigator === "object" && navigator || void 0;
|
||||
const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
|
||||
const hasStandardBrowserWebWorkerEnv = (() => {
|
||||
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
||||
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
||||
|
@ -8762,6 +8764,7 @@ const utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|||
hasBrowserEnv,
|
||||
hasStandardBrowserEnv,
|
||||
hasStandardBrowserWebWorkerEnv,
|
||||
navigator: _navigator,
|
||||
origin
|
||||
}, Symbol.toStringTag, { value: "Module" }));
|
||||
const platform$2 = {
|
||||
|
@ -9337,7 +9340,7 @@ const isURLSameOrigin = platform$2.hasStandardBrowserEnv ? (
|
|||
// Standard browser envs have full support of the APIs needed to test
|
||||
// whether the request URL is of the same origin as current location.
|
||||
function standardBrowserEnv() {
|
||||
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
||||
const msie = platform$2.navigator && /(msie|trident)/i.test(platform$2.navigator.userAgent);
|
||||
const urlParsingNode = document.createElement("a");
|
||||
let originURL;
|
||||
function resolveURL(url) {
|
||||
|
@ -9650,36 +9653,37 @@ const xhrAdapter = isXHRAdapterSupported && function(config2) {
|
|||
});
|
||||
};
|
||||
const composeSignals = (signals, timeout) => {
|
||||
let controller = new AbortController();
|
||||
let aborted;
|
||||
const onabort = function(cancel) {
|
||||
if (!aborted) {
|
||||
aborted = true;
|
||||
unsubscribe2();
|
||||
const err = cancel instanceof Error ? cancel : this.reason;
|
||||
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
||||
}
|
||||
};
|
||||
let timer2 = timeout && setTimeout(() => {
|
||||
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
||||
}, timeout);
|
||||
const unsubscribe2 = () => {
|
||||
if (signals) {
|
||||
timer2 && clearTimeout(timer2);
|
||||
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
||||
if (timeout || length) {
|
||||
let controller = new AbortController();
|
||||
let aborted;
|
||||
const onabort = function(reason) {
|
||||
if (!aborted) {
|
||||
aborted = true;
|
||||
unsubscribe2();
|
||||
const err = reason instanceof Error ? reason : this.reason;
|
||||
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
||||
}
|
||||
};
|
||||
let timer2 = timeout && setTimeout(() => {
|
||||
timer2 = null;
|
||||
signals.forEach((signal2) => {
|
||||
signal2 && (signal2.removeEventListener ? signal2.removeEventListener("abort", onabort) : signal2.unsubscribe(onabort));
|
||||
});
|
||||
signals = null;
|
||||
}
|
||||
};
|
||||
signals.forEach((signal2) => signal2 && signal2.addEventListener && signal2.addEventListener("abort", onabort));
|
||||
const { signal } = controller;
|
||||
signal.unsubscribe = unsubscribe2;
|
||||
return [signal, () => {
|
||||
timer2 && clearTimeout(timer2);
|
||||
timer2 = null;
|
||||
}];
|
||||
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
||||
}, timeout);
|
||||
const unsubscribe2 = () => {
|
||||
if (signals) {
|
||||
timer2 && clearTimeout(timer2);
|
||||
timer2 = null;
|
||||
signals.forEach((signal2) => {
|
||||
signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
|
||||
});
|
||||
signals = null;
|
||||
}
|
||||
};
|
||||
signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
|
||||
const { signal } = controller;
|
||||
signal.unsubscribe = () => utils$1.asap(unsubscribe2);
|
||||
return signal;
|
||||
}
|
||||
};
|
||||
const streamChunk = function* (chunk2, chunkSize) {
|
||||
let len = chunk2.byteLength;
|
||||
|
@ -9695,13 +9699,31 @@ const streamChunk = function* (chunk2, chunkSize) {
|
|||
pos = end;
|
||||
}
|
||||
};
|
||||
const readBytes = async function* (iterable, chunkSize, encode2) {
|
||||
for await (const chunk2 of iterable) {
|
||||
yield* streamChunk(ArrayBuffer.isView(chunk2) ? chunk2 : await encode2(String(chunk2)), chunkSize);
|
||||
const readBytes = async function* (iterable, chunkSize) {
|
||||
for await (const chunk2 of readStream(iterable)) {
|
||||
yield* streamChunk(chunk2, chunkSize);
|
||||
}
|
||||
};
|
||||
const trackStream = (stream, chunkSize, onProgress, onFinish, encode2) => {
|
||||
const iterator = readBytes(stream, chunkSize, encode2);
|
||||
const readStream = async function* (stream) {
|
||||
if (stream[Symbol.asyncIterator]) {
|
||||
yield* stream;
|
||||
return;
|
||||
}
|
||||
const reader = stream.getReader();
|
||||
try {
|
||||
for (; ; ) {
|
||||
const { done, value: value3 } = await reader.read();
|
||||
if (done) {
|
||||
break;
|
||||
}
|
||||
yield value3;
|
||||
}
|
||||
} finally {
|
||||
await reader.cancel();
|
||||
}
|
||||
};
|
||||
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
||||
const iterator = readBytes(stream, chunkSize);
|
||||
let bytes = 0;
|
||||
let done;
|
||||
let _onFinish = (e2) => {
|
||||
|
@ -9780,7 +9802,11 @@ const getBodyLength = async (body) => {
|
|||
return body.size;
|
||||
}
|
||||
if (utils$1.isSpecCompliantForm(body)) {
|
||||
return (await new Request(body).arrayBuffer()).byteLength;
|
||||
const _request = new Request(platform$2.origin, {
|
||||
method: "POST",
|
||||
body
|
||||
});
|
||||
return (await _request.arrayBuffer()).byteLength;
|
||||
}
|
||||
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
||||
return body.byteLength;
|
||||
|
@ -9812,14 +9838,11 @@ const fetchAdapter = isFetchSupported && (async (config2) => {
|
|||
fetchOptions
|
||||
} = resolveConfig(config2);
|
||||
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
||||
let [composedSignal, stopTimeout] = signal || cancelToken || timeout ? composeSignals([signal, cancelToken], timeout) : [];
|
||||
let finished, request;
|
||||
const onFinish = () => {
|
||||
!finished && setTimeout(() => {
|
||||
composedSignal && composedSignal.unsubscribe();
|
||||
});
|
||||
finished = true;
|
||||
};
|
||||
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
||||
let request;
|
||||
const unsubscribe2 = composedSignal && composedSignal.unsubscribe && (() => {
|
||||
composedSignal.unsubscribe();
|
||||
});
|
||||
let requestContentLength;
|
||||
try {
|
||||
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data12)) !== 0) {
|
||||
|
@ -9837,12 +9860,13 @@ const fetchAdapter = isFetchSupported && (async (config2) => {
|
|||
requestContentLength,
|
||||
progressEventReducer(asyncDecorator(onUploadProgress))
|
||||
);
|
||||
data12 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
|
||||
data12 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
||||
}
|
||||
}
|
||||
if (!utils$1.isString(withCredentials)) {
|
||||
withCredentials = withCredentials ? "include" : "omit";
|
||||
}
|
||||
const isCredentialsSupported = "credentials" in Request.prototype;
|
||||
request = new Request(url, {
|
||||
...fetchOptions,
|
||||
signal: composedSignal,
|
||||
|
@ -9850,11 +9874,11 @@ const fetchAdapter = isFetchSupported && (async (config2) => {
|
|||
headers: headers.normalize().toJSON(),
|
||||
body: data12,
|
||||
duplex: "half",
|
||||
credentials: withCredentials
|
||||
credentials: isCredentialsSupported ? withCredentials : void 0
|
||||
});
|
||||
let response = await fetch(request);
|
||||
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
||||
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
||||
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe2)) {
|
||||
const options2 = {};
|
||||
["status", "statusText", "headers"].forEach((prop) => {
|
||||
options2[prop] = response[prop];
|
||||
|
@ -9867,15 +9891,14 @@ const fetchAdapter = isFetchSupported && (async (config2) => {
|
|||
response = new Response(
|
||||
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
||||
flush && flush();
|
||||
isStreamResponse && onFinish();
|
||||
}, encodeText),
|
||||
unsubscribe2 && unsubscribe2();
|
||||
}),
|
||||
options2
|
||||
);
|
||||
}
|
||||
responseType = responseType || "text";
|
||||
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config2);
|
||||
!isStreamResponse && onFinish();
|
||||
stopTimeout && stopTimeout();
|
||||
!isStreamResponse && unsubscribe2 && unsubscribe2();
|
||||
return await new Promise((resolve4, reject2) => {
|
||||
settle(resolve4, reject2, {
|
||||
data: responseData,
|
||||
|
@ -9887,7 +9910,7 @@ const fetchAdapter = isFetchSupported && (async (config2) => {
|
|||
});
|
||||
});
|
||||
} catch (err) {
|
||||
onFinish();
|
||||
unsubscribe2 && unsubscribe2();
|
||||
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
||||
throw Object.assign(
|
||||
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config2, request),
|
||||
|
@ -9994,7 +10017,7 @@ function dispatchRequest(config2) {
|
|||
return Promise.reject(reason);
|
||||
});
|
||||
}
|
||||
const VERSION = "1.7.4";
|
||||
const VERSION = "1.7.7";
|
||||
const validators$1 = {};
|
||||
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i2) => {
|
||||
validators$1[type] = function validator3(thing) {
|
||||
|
@ -10282,6 +10305,15 @@ class CancelToken {
|
|||
this._listeners.splice(index2, 1);
|
||||
}
|
||||
}
|
||||
toAbortSignal() {
|
||||
const controller = new AbortController();
|
||||
const abort = (err) => {
|
||||
controller.abort(err);
|
||||
};
|
||||
this.subscribe(abort);
|
||||
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
||||
return controller.signal;
|
||||
}
|
||||
/**
|
||||
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
||||
* cancels the `CancelToken`.
|
||||
|
@ -12087,7 +12119,7 @@ function baseGet(object, path) {
|
|||
return index2 && index2 == length ? object : void 0;
|
||||
}
|
||||
function baseIsNative(value3) {
|
||||
if (!isObject$3(value3) || isMasked(value3)) {
|
||||
if (!isObject$2(value3) || isMasked(value3)) {
|
||||
return false;
|
||||
}
|
||||
var pattern = isFunction(value3) || isHostObject(value3) ? reIsNative : reIsHostCtor;
|
||||
|
@ -12132,7 +12164,7 @@ function isMasked(func) {
|
|||
return !!maskSrcKey && maskSrcKey in func;
|
||||
}
|
||||
var stringToPath = memoize(function(string) {
|
||||
string = toString$2(string);
|
||||
string = toString$1(string);
|
||||
var result = [];
|
||||
if (reLeadingDot.test(string)) {
|
||||
result.push("");
|
||||
|
@ -12184,10 +12216,10 @@ function eq(value3, other) {
|
|||
}
|
||||
var isArray = Array.isArray;
|
||||
function isFunction(value3) {
|
||||
var tag = isObject$3(value3) ? objectToString.call(value3) : "";
|
||||
var tag = isObject$2(value3) ? objectToString.call(value3) : "";
|
||||
return tag == funcTag || tag == genTag;
|
||||
}
|
||||
function isObject$3(value3) {
|
||||
function isObject$2(value3) {
|
||||
var type = typeof value3;
|
||||
return !!value3 && (type == "object" || type == "function");
|
||||
}
|
||||
|
@ -12197,7 +12229,7 @@ function isObjectLike(value3) {
|
|||
function isSymbol(value3) {
|
||||
return typeof value3 == "symbol" || isObjectLike(value3) && objectToString.call(value3) == symbolTag;
|
||||
}
|
||||
function toString$2(value3) {
|
||||
function toString$1(value3) {
|
||||
return value3 == null ? "" : baseToString(value3);
|
||||
}
|
||||
function get$1(object, path, defaultValue) {
|
||||
|
@ -15605,26 +15637,42 @@ function showSuccess(text3, options2) {
|
|||
});
|
||||
}
|
||||
Vue.util.warn;
|
||||
function tryOnScopeDispose$1(fn) {
|
||||
function tryOnScopeDispose(fn) {
|
||||
if (getCurrentScope()) {
|
||||
onScopeDispose(fn);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function toValue$1(r2) {
|
||||
function toValue(r2) {
|
||||
return typeof r2 === "function" ? r2() : unref(r2);
|
||||
}
|
||||
const isClient$1 = typeof window !== "undefined" && typeof document !== "undefined";
|
||||
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
||||
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
||||
const notNullish = (val2) => val2 != null;
|
||||
const toString$1 = Object.prototype.toString;
|
||||
const isObject$2 = (val2) => toString$1.call(val2) === "[object Object]";
|
||||
const noop$3 = () => {
|
||||
const toString2 = Object.prototype.toString;
|
||||
const isObject$1 = (val2) => toString2.call(val2) === "[object Object]";
|
||||
const noop$2 = () => {
|
||||
};
|
||||
const isIOS$1 = /* @__PURE__ */ getIsIOS();
|
||||
function getIsIOS() {
|
||||
var _a2, _b2;
|
||||
return isClient && ((_a2 = window == null ? void 0 : window.navigator) == null ? void 0 : _a2.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b2 = window == null ? void 0 : window.navigator) == null ? void 0 : _b2.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
||||
}
|
||||
const directiveHooks = {
|
||||
mounted: "inserted",
|
||||
updated: "componentUpdated",
|
||||
unmounted: "unbind"
|
||||
};
|
||||
function getLifeCycleTarget(target2) {
|
||||
return getCurrentInstance();
|
||||
}
|
||||
function toRef(...args) {
|
||||
if (args.length !== 1)
|
||||
return toRef$1(...args);
|
||||
const r2 = args[0];
|
||||
return typeof r2 === "function" ? readonly(customRef(() => ({ get: r2, set: noop$2 }))) : ref$1(r2);
|
||||
}
|
||||
function tryOnMounted(fn, sync = true, target2) {
|
||||
const instance = getLifeCycleTarget();
|
||||
if (instance)
|
||||
|
@ -15637,10 +15685,10 @@ function tryOnMounted(fn, sync = true, target2) {
|
|||
Vue.util.warn;
|
||||
function unrefElement$1(elRef) {
|
||||
var _a2;
|
||||
const plain = toValue$1(elRef);
|
||||
const plain = toValue(elRef);
|
||||
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
||||
}
|
||||
const defaultWindow$1 = isClient$1 ? window : void 0;
|
||||
const defaultWindow$1 = isClient ? window : void 0;
|
||||
function useEventListener$1(...args) {
|
||||
let target2;
|
||||
let events2;
|
||||
|
@ -15653,7 +15701,7 @@ function useEventListener$1(...args) {
|
|||
[target2, events2, listeners, options2] = args;
|
||||
}
|
||||
if (!target2)
|
||||
return noop$3;
|
||||
return noop$2;
|
||||
if (!Array.isArray(events2))
|
||||
events2 = [events2];
|
||||
if (!Array.isArray(listeners))
|
||||
|
@ -15668,12 +15716,12 @@ function useEventListener$1(...args) {
|
|||
return () => el.removeEventListener(event, listener, options22);
|
||||
};
|
||||
const stopWatch = watch(
|
||||
() => [unrefElement$1(target2), toValue$1(options2)],
|
||||
() => [unrefElement$1(target2), toValue(options2)],
|
||||
([el, options22]) => {
|
||||
cleanup();
|
||||
if (!el)
|
||||
return;
|
||||
const optionsClone = isObject$2(options22) ? { ...options22 } : options22;
|
||||
const optionsClone = isObject$1(options22) ? { ...options22 } : options22;
|
||||
cleanups.push(
|
||||
...events2.flatMap((event) => {
|
||||
return listeners.map((listener) => register2(el, event, listener, optionsClone));
|
||||
|
@ -15686,7 +15734,7 @@ function useEventListener$1(...args) {
|
|||
stopWatch();
|
||||
cleanup();
|
||||
};
|
||||
tryOnScopeDispose$1(stop);
|
||||
tryOnScopeDispose(stop);
|
||||
return stop;
|
||||
}
|
||||
function useMounted() {
|
||||
|
@ -15717,7 +15765,7 @@ function useMutationObserver(target2, callback, options2 = {}) {
|
|||
}
|
||||
};
|
||||
const targets = computed(() => {
|
||||
const value3 = toValue$1(target2);
|
||||
const value3 = toValue(target2);
|
||||
const items = (Array.isArray(value3) ? value3 : [value3]).map(unrefElement$1).filter(notNullish);
|
||||
return new Set(items);
|
||||
});
|
||||
|
@ -15739,7 +15787,7 @@ function useMutationObserver(target2, callback, options2 = {}) {
|
|||
stopWatch();
|
||||
cleanup();
|
||||
};
|
||||
tryOnScopeDispose$1(stop);
|
||||
tryOnScopeDispose(stop);
|
||||
return {
|
||||
isSupported,
|
||||
stop,
|
||||
|
@ -15809,14 +15857,14 @@ function useMediaQuery(query2, options2 = {}) {
|
|||
if (!isSupported.value)
|
||||
return;
|
||||
cleanup();
|
||||
mediaQuery = window2.matchMedia(toValue$1(query2));
|
||||
mediaQuery = window2.matchMedia(toValue(query2));
|
||||
if ("addEventListener" in mediaQuery)
|
||||
mediaQuery.addEventListener("change", handler9);
|
||||
else
|
||||
mediaQuery.addListener(handler9);
|
||||
matches2.value = mediaQuery.matches;
|
||||
});
|
||||
tryOnScopeDispose$1(() => {
|
||||
tryOnScopeDispose(() => {
|
||||
stopWatch();
|
||||
cleanup();
|
||||
mediaQuery = void 0;
|
||||
|
@ -15834,7 +15882,7 @@ function useResizeObserver(target2, callback, options2 = {}) {
|
|||
}
|
||||
};
|
||||
const targets = computed(() => {
|
||||
const _targets = toValue$1(target2);
|
||||
const _targets = toValue(target2);
|
||||
return Array.isArray(_targets) ? _targets.map((el) => unrefElement$1(el)) : [unrefElement$1(_targets)];
|
||||
});
|
||||
const stopWatch = watch(
|
||||
|
@ -15855,7 +15903,7 @@ function useResizeObserver(target2, callback, options2 = {}) {
|
|||
cleanup();
|
||||
stopWatch();
|
||||
};
|
||||
tryOnScopeDispose$1(stop);
|
||||
tryOnScopeDispose(stop);
|
||||
return {
|
||||
isSupported,
|
||||
stop
|
||||
|
@ -15999,10 +16047,10 @@ function useIntersectionObserver(target2, callback, options2 = {}) {
|
|||
} = options2;
|
||||
const isSupported = useSupported(() => window2 && "IntersectionObserver" in window2);
|
||||
const targets = computed(() => {
|
||||
const _target = toValue$1(target2);
|
||||
const _target = toValue(target2);
|
||||
return (Array.isArray(_target) ? _target : [_target]).map(unrefElement$1).filter(notNullish);
|
||||
});
|
||||
let cleanup = noop$3;
|
||||
let cleanup = noop$2;
|
||||
const isActive = ref$1(immediate);
|
||||
const stopWatch = isSupported.value ? watch(
|
||||
() => [targets.value, unrefElement$1(root2), isActive.value],
|
||||
|
@ -16023,17 +16071,17 @@ function useIntersectionObserver(target2, callback, options2 = {}) {
|
|||
targets2.forEach((el) => el && observer.observe(el));
|
||||
cleanup = () => {
|
||||
observer.disconnect();
|
||||
cleanup = noop$3;
|
||||
cleanup = noop$2;
|
||||
};
|
||||
},
|
||||
{ immediate, flush: "post" }
|
||||
) : noop$3;
|
||||
) : noop$2;
|
||||
const stop = () => {
|
||||
cleanup();
|
||||
stopWatch();
|
||||
isActive.value = false;
|
||||
};
|
||||
tryOnScopeDispose$1(stop);
|
||||
tryOnScopeDispose(stop);
|
||||
return {
|
||||
isSupported,
|
||||
isActive,
|
||||
|
@ -16143,8 +16191,8 @@ function checkPassiveEventSupport(document2) {
|
|||
return false;
|
||||
}
|
||||
};
|
||||
document2.addEventListener("x", noop$3, optionsBlock);
|
||||
document2.removeEventListener("x", noop$3);
|
||||
document2.addEventListener("x", noop$2, optionsBlock);
|
||||
document2.removeEventListener("x", noop$2);
|
||||
return supportsPassive2;
|
||||
}
|
||||
function useWindowSize(options2 = {}) {
|
||||
|
@ -18805,9 +18853,9 @@ if (typeof window !== "undefined") {
|
|||
} catch (e2) {
|
||||
}
|
||||
}
|
||||
let isIOS$1 = false;
|
||||
let isIOS = false;
|
||||
if (typeof window !== "undefined" && typeof navigator !== "undefined") {
|
||||
isIOS$1 = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||
isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||
}
|
||||
const placements = ["auto", "top", "bottom", "left", "right"].reduce((acc, base) => acc.concat([
|
||||
base,
|
||||
|
@ -19653,7 +19701,7 @@ var PrivatePopper = () => ({
|
|||
}
|
||||
});
|
||||
if (typeof document !== "undefined" && typeof window !== "undefined") {
|
||||
if (isIOS$1) {
|
||||
if (isIOS) {
|
||||
document.addEventListener("touchstart", handleGlobalMousedown, supportsPassive ? {
|
||||
passive: true,
|
||||
capture: true
|
||||
|
@ -39015,8 +39063,8 @@ function decodeTlds(encoded) {
|
|||
const defaults = {
|
||||
defaultProtocol: "http",
|
||||
events: null,
|
||||
format: noop$2,
|
||||
formatHref: noop$2,
|
||||
format: noop$1,
|
||||
formatHref: noop$1,
|
||||
nl2br: false,
|
||||
tagName: "a",
|
||||
target: null,
|
||||
|
@ -39124,7 +39172,7 @@ Options.prototype = {
|
|||
return renderFn(ir, token2.t, token2);
|
||||
}
|
||||
};
|
||||
function noop$2(val2) {
|
||||
function noop$1(val2) {
|
||||
return val2;
|
||||
}
|
||||
function MultiToken(value3, tokens) {
|
||||
|
@ -39758,39 +39806,6 @@ const getRoute = (router, url) => {
|
|||
return route.fullPath;
|
||||
};
|
||||
Vue.util.warn;
|
||||
Vue.util.warn;
|
||||
function tryOnScopeDispose(fn) {
|
||||
if (getCurrentScope()) {
|
||||
onScopeDispose(fn);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function toValue(r2) {
|
||||
return typeof r2 === "function" ? r2() : unref(r2);
|
||||
}
|
||||
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
||||
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
||||
const toString2 = Object.prototype.toString;
|
||||
const isObject$1 = (val2) => toString2.call(val2) === "[object Object]";
|
||||
const noop$1 = () => {
|
||||
};
|
||||
const isIOS = /* @__PURE__ */ getIsIOS();
|
||||
function getIsIOS() {
|
||||
var _a2, _b2;
|
||||
return isClient && ((_a2 = window == null ? void 0 : window.navigator) == null ? void 0 : _a2.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b2 = window == null ? void 0 : window.navigator) == null ? void 0 : _b2.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
||||
}
|
||||
const directiveHooks = {
|
||||
mounted: "inserted",
|
||||
updated: "componentUpdated",
|
||||
unmounted: "unbind"
|
||||
};
|
||||
function toRef(...args) {
|
||||
if (args.length !== 1)
|
||||
return toRef$1(...args);
|
||||
const r2 = args[0];
|
||||
return typeof r2 === "function" ? readonly(customRef(() => ({ get: r2, set: noop$1 }))) : ref$1(r2);
|
||||
}
|
||||
function unrefElement(elRef) {
|
||||
var _a2;
|
||||
const plain = toValue(elRef);
|
||||
|
@ -39809,7 +39824,7 @@ function useEventListener(...args) {
|
|||
[target2, events2, listeners, options2] = args;
|
||||
}
|
||||
if (!target2)
|
||||
return noop$1;
|
||||
return noop$2;
|
||||
if (!Array.isArray(events2))
|
||||
events2 = [events2];
|
||||
if (!Array.isArray(listeners))
|
||||
|
@ -39849,11 +39864,11 @@ let _iOSWorkaround = false;
|
|||
function onClickOutside(target2, handler9, options2 = {}) {
|
||||
const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false } = options2;
|
||||
if (!window2)
|
||||
return noop$1;
|
||||
if (isIOS && !_iOSWorkaround) {
|
||||
return noop$2;
|
||||
if (isIOS$1 && !_iOSWorkaround) {
|
||||
_iOSWorkaround = true;
|
||||
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$1));
|
||||
window2.document.documentElement.addEventListener("click", noop$1);
|
||||
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$2));
|
||||
window2.document.documentElement.addEventListener("click", noop$2);
|
||||
}
|
||||
let shouldListen = true;
|
||||
const shouldIgnore = (event) => {
|
||||
|
@ -39965,7 +39980,7 @@ function useScrollLock(element, initialState = false) {
|
|||
const el = resolveElement(toValue(element));
|
||||
if (!el || isLocked.value)
|
||||
return;
|
||||
if (isIOS) {
|
||||
if (isIOS$1) {
|
||||
stopTouchMoveListener = useEventListener(
|
||||
el,
|
||||
"touchmove",
|
||||
|
@ -39982,7 +39997,7 @@ function useScrollLock(element, initialState = false) {
|
|||
const el = resolveElement(toValue(element));
|
||||
if (!el || !isLocked.value)
|
||||
return;
|
||||
if (isIOS)
|
||||
if (isIOS$1)
|
||||
stopTouchMoveListener == null ? void 0 : stopTouchMoveListener();
|
||||
el.style.overflow = initialOverflow;
|
||||
elInitialOverflow.delete(el);
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче