jssz-meeting-component 1.1.0 → 1.1.2
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/index.esm.js +262 -299
- package/dist/index.umd.js +1 -1
- package/dist/src/components/call-list.vue.d.ts.map +1 -1
- package/dist/src/components/meeting.vue.d.ts.map +1 -1
- package/dist/src/components/sos-setting.vue.d.ts.map +1 -1
- package/dist/src/components/unattended-setting.vue.d.ts.map +1 -1
- package/dist/src/internal/Chat.vue.d.ts.map +1 -1
- package/dist/src/internal/Dial.vue.d.ts.map +1 -1
- package/dist/src/internal/Invite.vue.d.ts.map +1 -1
- package/dist/src/internal/ManageMembers.vue.d.ts.map +1 -1
- package/dist/src/utils/http/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22,7 +22,7 @@ const typeOfTest = (type) => (thing) => typeof thing === type;
|
|
|
22
22
|
const { isArray: isArray$1 } = Array;
|
|
23
23
|
const isUndefined$1 = typeOfTest("undefined");
|
|
24
24
|
function isBuffer(val) {
|
|
25
|
-
return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction
|
|
25
|
+
return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
26
26
|
}
|
|
27
27
|
const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
28
28
|
function isArrayBufferView(val) {
|
|
@@ -35,7 +35,7 @@ function isArrayBufferView(val) {
|
|
|
35
35
|
return result;
|
|
36
36
|
}
|
|
37
37
|
const isString$1 = typeOfTest("string");
|
|
38
|
-
const isFunction
|
|
38
|
+
const isFunction = typeOfTest("function");
|
|
39
39
|
const isNumber$1 = typeOfTest("number");
|
|
40
40
|
const isObject = (thing) => thing !== null && typeof thing === "object";
|
|
41
41
|
const isBoolean$1 = (thing) => thing === true || thing === false;
|
|
@@ -60,11 +60,11 @@ const isDate$1 = kindOfTest("Date");
|
|
|
60
60
|
const isFile = kindOfTest("File");
|
|
61
61
|
const isBlob = kindOfTest("Blob");
|
|
62
62
|
const isFileList = kindOfTest("FileList");
|
|
63
|
-
const isStream = (val) => isObject(val) && isFunction
|
|
63
|
+
const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
64
64
|
const isFormData = (thing) => {
|
|
65
65
|
let kind;
|
|
66
|
-
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction
|
|
67
|
-
kind === "object" && isFunction
|
|
66
|
+
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
67
|
+
kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
|
|
68
68
|
};
|
|
69
69
|
const isURLSearchParams = kindOfTest("URLSearchParams");
|
|
70
70
|
const [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
|
|
@@ -117,7 +117,7 @@ const _global$1 = (() => {
|
|
|
117
117
|
})();
|
|
118
118
|
const isContextDefined = (context) => !isUndefined$1(context) && context !== _global$1;
|
|
119
119
|
function merge() {
|
|
120
|
-
const { caseless
|
|
120
|
+
const { caseless } = isContextDefined(this) && this || {};
|
|
121
121
|
const result = {};
|
|
122
122
|
const assignValue = (val, key) => {
|
|
123
123
|
const targetKey = caseless && findKey(result, key) || key;
|
|
@@ -127,7 +127,7 @@ function merge() {
|
|
|
127
127
|
result[targetKey] = merge({}, val);
|
|
128
128
|
} else if (isArray$1(val)) {
|
|
129
129
|
result[targetKey] = val.slice();
|
|
130
|
-
} else
|
|
130
|
+
} else {
|
|
131
131
|
result[targetKey] = val;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
@@ -138,7 +138,7 @@ function merge() {
|
|
|
138
138
|
}
|
|
139
139
|
const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
|
|
140
140
|
forEach$1(b2, (val, key) => {
|
|
141
|
-
if (thisArg && isFunction
|
|
141
|
+
if (thisArg && isFunction(val)) {
|
|
142
142
|
a2[key] = bind(val, thisArg);
|
|
143
143
|
} else {
|
|
144
144
|
a2[key] = val;
|
|
@@ -247,11 +247,11 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
247
247
|
};
|
|
248
248
|
const freezeMethods = (obj) => {
|
|
249
249
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
250
|
-
if (isFunction
|
|
250
|
+
if (isFunction(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
251
251
|
return false;
|
|
252
252
|
}
|
|
253
253
|
const value = obj[name];
|
|
254
|
-
if (!isFunction
|
|
254
|
+
if (!isFunction(value)) return;
|
|
255
255
|
descriptor.enumerable = false;
|
|
256
256
|
if ("writable" in descriptor) {
|
|
257
257
|
descriptor.writable = false;
|
|
@@ -280,7 +280,7 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
280
280
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
281
281
|
};
|
|
282
282
|
function isSpecCompliantForm(thing) {
|
|
283
|
-
return !!(thing && isFunction
|
|
283
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
284
284
|
}
|
|
285
285
|
const toJSONObject = (obj) => {
|
|
286
286
|
const stack = new Array(10);
|
|
@@ -308,7 +308,7 @@ const toJSONObject = (obj) => {
|
|
|
308
308
|
return visit(obj, 0);
|
|
309
309
|
};
|
|
310
310
|
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
311
|
-
const isThenable = (thing) => thing && (isObject(thing) || isFunction
|
|
311
|
+
const isThenable = (thing) => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
312
312
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
313
313
|
if (setImmediateSupported) {
|
|
314
314
|
return setImmediate;
|
|
@@ -326,10 +326,10 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
326
326
|
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
327
327
|
})(
|
|
328
328
|
typeof setImmediate === "function",
|
|
329
|
-
isFunction
|
|
329
|
+
isFunction(_global$1.postMessage)
|
|
330
330
|
);
|
|
331
331
|
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global$1) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
332
|
-
const isIterable = (thing) => thing != null && isFunction
|
|
332
|
+
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
333
333
|
const utils$1 = {
|
|
334
334
|
isArray: isArray$1,
|
|
335
335
|
isArrayBuffer,
|
|
@@ -351,7 +351,7 @@ const utils$1 = {
|
|
|
351
351
|
isFile,
|
|
352
352
|
isBlob,
|
|
353
353
|
isRegExp: isRegExp$1,
|
|
354
|
-
isFunction
|
|
354
|
+
isFunction,
|
|
355
355
|
isStream,
|
|
356
356
|
isURLSearchParams,
|
|
357
357
|
isTypedArray: isTypedArray$1,
|
|
@@ -456,13 +456,9 @@ AxiosError$1.from = (error, code, config, request, response, customProps) => {
|
|
|
456
456
|
}, (prop) => {
|
|
457
457
|
return prop !== "isAxiosError";
|
|
458
458
|
});
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
if (error && axiosError.cause == null) {
|
|
463
|
-
Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
|
|
464
|
-
}
|
|
465
|
-
axiosError.name = error && error.name || "Error";
|
|
459
|
+
AxiosError$1.call(axiosError, error.message, code, config, request, response);
|
|
460
|
+
axiosError.cause = error;
|
|
461
|
+
axiosError.name = error.name;
|
|
466
462
|
customProps && Object.assign(axiosError, customProps);
|
|
467
463
|
return axiosError;
|
|
468
464
|
};
|
|
@@ -610,7 +606,7 @@ prototype.toString = function toString2(encoder) {
|
|
|
610
606
|
}, "").join("&");
|
|
611
607
|
};
|
|
612
608
|
function encode(val) {
|
|
613
|
-
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
609
|
+
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
614
610
|
}
|
|
615
611
|
function buildURL(url, params, options) {
|
|
616
612
|
if (!params) {
|
|
@@ -866,7 +862,7 @@ const defaults = {
|
|
|
866
862
|
const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
|
|
867
863
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
868
864
|
try {
|
|
869
|
-
return JSON.parse(data
|
|
865
|
+
return JSON.parse(data);
|
|
870
866
|
} catch (e2) {
|
|
871
867
|
if (strictJSONParsing) {
|
|
872
868
|
if (e2.name === "SyntaxError") {
|
|
@@ -1450,17 +1446,13 @@ const resolveConfig = (config) => {
|
|
|
1450
1446
|
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
1451
1447
|
);
|
|
1452
1448
|
}
|
|
1449
|
+
let contentType;
|
|
1453
1450
|
if (utils$1.isFormData(data)) {
|
|
1454
1451
|
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
1455
1452
|
headers.setContentType(void 0);
|
|
1456
|
-
} else if (
|
|
1457
|
-
const
|
|
1458
|
-
|
|
1459
|
-
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
1460
|
-
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
1461
|
-
headers.set(key, val);
|
|
1462
|
-
}
|
|
1463
|
-
});
|
|
1453
|
+
} else if ((contentType = headers.getContentType()) !== false) {
|
|
1454
|
+
const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
|
|
1455
|
+
headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
|
|
1464
1456
|
}
|
|
1465
1457
|
}
|
|
1466
1458
|
if (platform.hasStandardBrowserEnv) {
|
|
@@ -1538,11 +1530,8 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1538
1530
|
reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
|
|
1539
1531
|
request = null;
|
|
1540
1532
|
};
|
|
1541
|
-
request.onerror = function handleError(
|
|
1542
|
-
|
|
1543
|
-
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
1544
|
-
err.event = event || null;
|
|
1545
|
-
reject(err);
|
|
1533
|
+
request.onerror = function handleError() {
|
|
1534
|
+
reject(new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request));
|
|
1546
1535
|
request = null;
|
|
1547
1536
|
};
|
|
1548
1537
|
request.ontimeout = function handleTimeout() {
|
|
@@ -1710,16 +1699,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
1710
1699
|
highWaterMark: 2
|
|
1711
1700
|
});
|
|
1712
1701
|
};
|
|
1713
|
-
const
|
|
1714
|
-
const
|
|
1715
|
-
const
|
|
1716
|
-
Request,
|
|
1717
|
-
Response
|
|
1718
|
-
}))(utils$1.global);
|
|
1719
|
-
const {
|
|
1720
|
-
ReadableStream: ReadableStream$1,
|
|
1721
|
-
TextEncoder: TextEncoder$1
|
|
1722
|
-
} = utils$1.global;
|
|
1702
|
+
const isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
1703
|
+
const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
1704
|
+
const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
1723
1705
|
const test = (fn2, ...args) => {
|
|
1724
1706
|
try {
|
|
1725
1707
|
return !!fn2(...args);
|
|
@@ -1727,202 +1709,162 @@ const test = (fn2, ...args) => {
|
|
|
1727
1709
|
return false;
|
|
1728
1710
|
}
|
|
1729
1711
|
};
|
|
1730
|
-
const
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1712
|
+
const supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
1713
|
+
let duplexAccessed = false;
|
|
1714
|
+
const hasContentType = new Request(platform.origin, {
|
|
1715
|
+
body: new ReadableStream(),
|
|
1716
|
+
method: "POST",
|
|
1717
|
+
get duplex() {
|
|
1718
|
+
duplexAccessed = true;
|
|
1719
|
+
return "half";
|
|
1720
|
+
}
|
|
1721
|
+
}).headers.has("Content-Type");
|
|
1722
|
+
return duplexAccessed && !hasContentType;
|
|
1723
|
+
});
|
|
1724
|
+
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
1725
|
+
const supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
1726
|
+
const resolvers = {
|
|
1727
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
1728
|
+
};
|
|
1729
|
+
isFetchSupported && ((res) => {
|
|
1730
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
1731
|
+
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_2, config) => {
|
|
1732
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
1733
|
+
});
|
|
1734
|
+
});
|
|
1735
|
+
})(new Response());
|
|
1736
|
+
const getBodyLength = async (body) => {
|
|
1737
|
+
if (body == null) {
|
|
1738
|
+
return 0;
|
|
1739
|
+
}
|
|
1740
|
+
if (utils$1.isBlob(body)) {
|
|
1741
|
+
return body.size;
|
|
1740
1742
|
}
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
1744
|
-
let duplexAccessed = false;
|
|
1745
|
-
const hasContentType = new Request(platform.origin, {
|
|
1746
|
-
body: new ReadableStream$1(),
|
|
1743
|
+
if (utils$1.isSpecCompliantForm(body)) {
|
|
1744
|
+
const _request = new Request(platform.origin, {
|
|
1747
1745
|
method: "POST",
|
|
1748
|
-
|
|
1749
|
-
duplexAccessed = true;
|
|
1750
|
-
return "half";
|
|
1751
|
-
}
|
|
1752
|
-
}).headers.has("Content-Type");
|
|
1753
|
-
return duplexAccessed && !hasContentType;
|
|
1754
|
-
});
|
|
1755
|
-
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
1756
|
-
const resolvers = {
|
|
1757
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
1758
|
-
};
|
|
1759
|
-
isFetchSupported && (() => {
|
|
1760
|
-
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
1761
|
-
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
1762
|
-
let method = res && res[type];
|
|
1763
|
-
if (method) {
|
|
1764
|
-
return method.call(res);
|
|
1765
|
-
}
|
|
1766
|
-
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
1767
|
-
});
|
|
1746
|
+
body
|
|
1768
1747
|
});
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1748
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
1749
|
+
}
|
|
1750
|
+
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
1751
|
+
return body.byteLength;
|
|
1752
|
+
}
|
|
1753
|
+
if (utils$1.isURLSearchParams(body)) {
|
|
1754
|
+
body = body + "";
|
|
1755
|
+
}
|
|
1756
|
+
if (utils$1.isString(body)) {
|
|
1757
|
+
return (await encodeText(body)).byteLength;
|
|
1758
|
+
}
|
|
1759
|
+
};
|
|
1760
|
+
const resolveBodyLength = async (headers, body) => {
|
|
1761
|
+
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
1762
|
+
return length == null ? getBodyLength(body) : length;
|
|
1763
|
+
};
|
|
1764
|
+
const fetchAdapter = isFetchSupported && (async (config) => {
|
|
1765
|
+
let {
|
|
1766
|
+
url,
|
|
1767
|
+
method,
|
|
1768
|
+
data,
|
|
1769
|
+
signal,
|
|
1770
|
+
cancelToken,
|
|
1771
|
+
timeout,
|
|
1772
|
+
onDownloadProgress,
|
|
1773
|
+
onUploadProgress,
|
|
1774
|
+
responseType,
|
|
1775
|
+
headers,
|
|
1776
|
+
withCredentials = "same-origin",
|
|
1777
|
+
fetchOptions
|
|
1778
|
+
} = resolveConfig(config);
|
|
1779
|
+
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
1780
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
1781
|
+
let request;
|
|
1782
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
1783
|
+
composedSignal.unsubscribe();
|
|
1784
|
+
});
|
|
1785
|
+
let requestContentLength;
|
|
1786
|
+
try {
|
|
1787
|
+
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
1788
|
+
let _request = new Request(url, {
|
|
1779
1789
|
method: "POST",
|
|
1780
|
-
body
|
|
1790
|
+
body: data,
|
|
1791
|
+
duplex: "half"
|
|
1781
1792
|
});
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1793
|
+
let contentTypeHeader;
|
|
1794
|
+
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
1795
|
+
headers.setContentType(contentTypeHeader);
|
|
1796
|
+
}
|
|
1797
|
+
if (_request.body) {
|
|
1798
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
1799
|
+
requestContentLength,
|
|
1800
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
1801
|
+
);
|
|
1802
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
1803
|
+
}
|
|
1786
1804
|
}
|
|
1787
|
-
if (utils$1.
|
|
1788
|
-
|
|
1805
|
+
if (!utils$1.isString(withCredentials)) {
|
|
1806
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
1789
1807
|
}
|
|
1790
|
-
|
|
1791
|
-
|
|
1808
|
+
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
1809
|
+
request = new Request(url, {
|
|
1810
|
+
...fetchOptions,
|
|
1811
|
+
signal: composedSignal,
|
|
1812
|
+
method: method.toUpperCase(),
|
|
1813
|
+
headers: headers.normalize().toJSON(),
|
|
1814
|
+
body: data,
|
|
1815
|
+
duplex: "half",
|
|
1816
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
1817
|
+
});
|
|
1818
|
+
let response = await fetch(request, fetchOptions);
|
|
1819
|
+
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
1820
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
1821
|
+
const options = {};
|
|
1822
|
+
["status", "statusText", "headers"].forEach((prop) => {
|
|
1823
|
+
options[prop] = response[prop];
|
|
1824
|
+
});
|
|
1825
|
+
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
1826
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
1827
|
+
responseContentLength,
|
|
1828
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
1829
|
+
) || [];
|
|
1830
|
+
response = new Response(
|
|
1831
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
1832
|
+
flush && flush();
|
|
1833
|
+
unsubscribe && unsubscribe();
|
|
1834
|
+
}),
|
|
1835
|
+
options
|
|
1836
|
+
);
|
|
1792
1837
|
}
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
return
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
timeout,
|
|
1806
|
-
onDownloadProgress,
|
|
1807
|
-
onUploadProgress,
|
|
1808
|
-
responseType,
|
|
1809
|
-
headers,
|
|
1810
|
-
withCredentials = "same-origin",
|
|
1811
|
-
fetchOptions
|
|
1812
|
-
} = resolveConfig(config);
|
|
1813
|
-
let _fetch = envFetch || fetch;
|
|
1814
|
-
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
1815
|
-
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
1816
|
-
let request = null;
|
|
1817
|
-
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
1818
|
-
composedSignal.unsubscribe();
|
|
1838
|
+
responseType = responseType || "text";
|
|
1839
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
1840
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
1841
|
+
return await new Promise((resolve, reject) => {
|
|
1842
|
+
settle(resolve, reject, {
|
|
1843
|
+
data: responseData,
|
|
1844
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
1845
|
+
status: response.status,
|
|
1846
|
+
statusText: response.statusText,
|
|
1847
|
+
config,
|
|
1848
|
+
request
|
|
1849
|
+
});
|
|
1819
1850
|
});
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
});
|
|
1828
|
-
let contentTypeHeader;
|
|
1829
|
-
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
1830
|
-
headers.setContentType(contentTypeHeader);
|
|
1831
|
-
}
|
|
1832
|
-
if (_request.body) {
|
|
1833
|
-
const [onProgress, flush] = progressEventDecorator(
|
|
1834
|
-
requestContentLength,
|
|
1835
|
-
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
1836
|
-
);
|
|
1837
|
-
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
1851
|
+
} catch (err) {
|
|
1852
|
+
unsubscribe && unsubscribe();
|
|
1853
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
1854
|
+
throw Object.assign(
|
|
1855
|
+
new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
|
|
1856
|
+
{
|
|
1857
|
+
cause: err.cause || err
|
|
1838
1858
|
}
|
|
1839
|
-
|
|
1840
|
-
if (!utils$1.isString(withCredentials)) {
|
|
1841
|
-
withCredentials = withCredentials ? "include" : "omit";
|
|
1842
|
-
}
|
|
1843
|
-
const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
|
|
1844
|
-
const resolvedOptions = {
|
|
1845
|
-
...fetchOptions,
|
|
1846
|
-
signal: composedSignal,
|
|
1847
|
-
method: method.toUpperCase(),
|
|
1848
|
-
headers: headers.normalize().toJSON(),
|
|
1849
|
-
body: data,
|
|
1850
|
-
duplex: "half",
|
|
1851
|
-
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
1852
|
-
};
|
|
1853
|
-
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
1854
|
-
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
|
|
1855
|
-
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
1856
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
1857
|
-
const options = {};
|
|
1858
|
-
["status", "statusText", "headers"].forEach((prop) => {
|
|
1859
|
-
options[prop] = response[prop];
|
|
1860
|
-
});
|
|
1861
|
-
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
1862
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
1863
|
-
responseContentLength,
|
|
1864
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
1865
|
-
) || [];
|
|
1866
|
-
response = new Response(
|
|
1867
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
1868
|
-
flush && flush();
|
|
1869
|
-
unsubscribe && unsubscribe();
|
|
1870
|
-
}),
|
|
1871
|
-
options
|
|
1872
|
-
);
|
|
1873
|
-
}
|
|
1874
|
-
responseType = responseType || "text";
|
|
1875
|
-
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
1876
|
-
!isStreamResponse && unsubscribe && unsubscribe();
|
|
1877
|
-
return await new Promise((resolve, reject) => {
|
|
1878
|
-
settle(resolve, reject, {
|
|
1879
|
-
data: responseData,
|
|
1880
|
-
headers: AxiosHeaders$1.from(response.headers),
|
|
1881
|
-
status: response.status,
|
|
1882
|
-
statusText: response.statusText,
|
|
1883
|
-
config,
|
|
1884
|
-
request
|
|
1885
|
-
});
|
|
1886
|
-
});
|
|
1887
|
-
} catch (err) {
|
|
1888
|
-
unsubscribe && unsubscribe();
|
|
1889
|
-
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
1890
|
-
throw Object.assign(
|
|
1891
|
-
new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
|
|
1892
|
-
{
|
|
1893
|
-
cause: err.cause || err
|
|
1894
|
-
}
|
|
1895
|
-
);
|
|
1896
|
-
}
|
|
1897
|
-
throw AxiosError$1.from(err, err && err.code, config, request);
|
|
1859
|
+
);
|
|
1898
1860
|
}
|
|
1899
|
-
|
|
1900
|
-
};
|
|
1901
|
-
const seedCache = /* @__PURE__ */ new Map();
|
|
1902
|
-
const getFetch = (config) => {
|
|
1903
|
-
let env = config ? config.env : {};
|
|
1904
|
-
const { fetch: fetch2, Request, Response } = env;
|
|
1905
|
-
const seeds = [
|
|
1906
|
-
Request,
|
|
1907
|
-
Response,
|
|
1908
|
-
fetch2
|
|
1909
|
-
];
|
|
1910
|
-
let len = seeds.length, i2 = len, seed, target2, map = seedCache;
|
|
1911
|
-
while (i2--) {
|
|
1912
|
-
seed = seeds[i2];
|
|
1913
|
-
target2 = map.get(seed);
|
|
1914
|
-
target2 === void 0 && map.set(seed, target2 = i2 ? /* @__PURE__ */ new Map() : factory(env));
|
|
1915
|
-
map = target2;
|
|
1861
|
+
throw AxiosError$1.from(err, err && err.code, config, request);
|
|
1916
1862
|
}
|
|
1917
|
-
|
|
1918
|
-
};
|
|
1919
|
-
getFetch();
|
|
1863
|
+
});
|
|
1920
1864
|
const knownAdapters = {
|
|
1921
1865
|
http: httpAdapter,
|
|
1922
1866
|
xhr: xhrAdapter,
|
|
1923
|
-
fetch:
|
|
1924
|
-
get: getFetch
|
|
1925
|
-
}
|
|
1867
|
+
fetch: fetchAdapter
|
|
1926
1868
|
};
|
|
1927
1869
|
utils$1.forEach(knownAdapters, (fn2, value) => {
|
|
1928
1870
|
if (fn2) {
|
|
@@ -1936,7 +1878,7 @@ utils$1.forEach(knownAdapters, (fn2, value) => {
|
|
|
1936
1878
|
const renderReason = (reason) => `- ${reason}`;
|
|
1937
1879
|
const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
1938
1880
|
const adapters = {
|
|
1939
|
-
getAdapter: (adapters2
|
|
1881
|
+
getAdapter: (adapters2) => {
|
|
1940
1882
|
adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
|
|
1941
1883
|
const { length } = adapters2;
|
|
1942
1884
|
let nameOrAdapter;
|
|
@@ -1952,7 +1894,7 @@ const adapters = {
|
|
|
1952
1894
|
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
1953
1895
|
}
|
|
1954
1896
|
}
|
|
1955
|
-
if (adapter
|
|
1897
|
+
if (adapter) {
|
|
1956
1898
|
break;
|
|
1957
1899
|
}
|
|
1958
1900
|
rejectedReasons[id || "#" + i2] = adapter;
|
|
@@ -1989,7 +1931,7 @@ function dispatchRequest(config) {
|
|
|
1989
1931
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
1990
1932
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
1991
1933
|
}
|
|
1992
|
-
const adapter = adapters.getAdapter(config.adapter || defaults.adapter
|
|
1934
|
+
const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
|
|
1993
1935
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
1994
1936
|
throwIfCancellationRequested(config);
|
|
1995
1937
|
response.data = transformData.call(
|
|
@@ -2014,7 +1956,7 @@ function dispatchRequest(config) {
|
|
|
2014
1956
|
return Promise.reject(reason);
|
|
2015
1957
|
});
|
|
2016
1958
|
}
|
|
2017
|
-
const VERSION$1 = "1.
|
|
1959
|
+
const VERSION$1 = "1.11.0";
|
|
2018
1960
|
const validators$1 = {};
|
|
2019
1961
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i2) => {
|
|
2020
1962
|
validators$1[type] = function validator2(thing) {
|
|
@@ -2193,6 +2135,7 @@ let Axios$1 = class Axios {
|
|
|
2193
2135
|
}
|
|
2194
2136
|
len = requestInterceptorChain.length;
|
|
2195
2137
|
let newConfig = config;
|
|
2138
|
+
i2 = 0;
|
|
2196
2139
|
while (i2 < len) {
|
|
2197
2140
|
const onFulfilled = requestInterceptorChain[i2++];
|
|
2198
2141
|
const onRejected = requestInterceptorChain[i2++];
|
|
@@ -2524,8 +2467,8 @@ const _PureHttp = class _PureHttp {
|
|
|
2524
2467
|
}
|
|
2525
2468
|
);
|
|
2526
2469
|
}
|
|
2527
|
-
/**
|
|
2528
|
-
* 响应拦截
|
|
2470
|
+
/**
|
|
2471
|
+
* 响应拦截
|
|
2529
2472
|
* 10012 登录失效请重新登录
|
|
2530
2473
|
* 500 重新登录
|
|
2531
2474
|
* */
|
|
@@ -24391,9 +24334,9 @@ async function getMeetingInfo() {
|
|
|
24391
24334
|
meetingStore$1.initMembers(meetingMembers);
|
|
24392
24335
|
for (const item of members.value) {
|
|
24393
24336
|
if (((_b25 = item == null ? void 0 : item.member) == null ? void 0 : _b25.memberId) === getUserId()) {
|
|
24394
|
-
meState.roleType = item.roleType;
|
|
24395
|
-
meState.microPhoneState = item.audioStatus;
|
|
24396
|
-
meState.cameraState = item.cameraStatus;
|
|
24337
|
+
meState.roleType = item.roleType || "";
|
|
24338
|
+
meState.microPhoneState = item.audioStatus || "";
|
|
24339
|
+
meState.cameraState = item.cameraStatus || "";
|
|
24397
24340
|
meInfo.value = {
|
|
24398
24341
|
memberId: ((_c = item.member) == null ? void 0 : _c.memberId) || "",
|
|
24399
24342
|
name: ((_d = item.member) == null ? void 0 : _d.name) || "",
|
|
@@ -26246,7 +26189,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
26246
26189
|
};
|
|
26247
26190
|
}
|
|
26248
26191
|
});
|
|
26249
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
26192
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-97925336"]]);
|
|
26250
26193
|
const jsCreateMeeting = async (data) => {
|
|
26251
26194
|
try {
|
|
26252
26195
|
if (!data) {
|
|
@@ -26482,7 +26425,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26482
26425
|
};
|
|
26483
26426
|
}
|
|
26484
26427
|
});
|
|
26485
|
-
const SmartPopup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
26428
|
+
const SmartPopup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-de3830bd"]]);
|
|
26486
26429
|
const _hoisted_1$o = { class: "dial-display" };
|
|
26487
26430
|
const _hoisted_2$n = { class: "dial-pad" };
|
|
26488
26431
|
const _hoisted_3$m = ["onClick"];
|
|
@@ -26537,28 +26480,26 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
26537
26480
|
}
|
|
26538
26481
|
setCallStatus("calling");
|
|
26539
26482
|
getLoading().show();
|
|
26540
|
-
|
|
26541
|
-
|
|
26542
|
-
|
|
26543
|
-
sessionStorage.setItem("JS_MEETING_INFO", JSON.stringify(resp.data));
|
|
26483
|
+
await getCallStart(params).then((res) => {
|
|
26484
|
+
if (res.code === 200) {
|
|
26485
|
+
sessionStorage.setItem("JS_MEETING_INFO", JSON.stringify(res.data));
|
|
26544
26486
|
openCall();
|
|
26545
26487
|
playRingtone("dialing");
|
|
26546
26488
|
getLoading().hide();
|
|
26547
26489
|
phoneNumber.value = "";
|
|
26548
26490
|
emit("success");
|
|
26549
|
-
return
|
|
26491
|
+
return res.data;
|
|
26550
26492
|
} else {
|
|
26551
|
-
console.log(resp.message);
|
|
26552
|
-
showNotification(resp.message || "拨打失败", "error", 4e3);
|
|
26553
26493
|
getLoading().hide();
|
|
26554
26494
|
stopRingtone();
|
|
26555
26495
|
}
|
|
26556
|
-
}
|
|
26557
|
-
|
|
26496
|
+
}).catch((error) => {
|
|
26497
|
+
var _a25, _b25, _c, _d;
|
|
26498
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message) || "拨打失败";
|
|
26499
|
+
showNotification(message, "error", 4e3);
|
|
26558
26500
|
getLoading().hide();
|
|
26559
26501
|
stopRingtone();
|
|
26560
|
-
|
|
26561
|
-
}
|
|
26502
|
+
});
|
|
26562
26503
|
};
|
|
26563
26504
|
return (_ctx, _cache) => {
|
|
26564
26505
|
return openBlock(), createElementBlock("div", {
|
|
@@ -26614,7 +26555,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
26614
26555
|
};
|
|
26615
26556
|
}
|
|
26616
26557
|
});
|
|
26617
|
-
const DialDialog = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
26558
|
+
const DialDialog = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-a4d6dbdc"]]);
|
|
26618
26559
|
const _hoisted_1$n = { class: "dialog" };
|
|
26619
26560
|
const _hoisted_2$m = { class: "header" };
|
|
26620
26561
|
const _hoisted_3$l = { class: "title" };
|
|
@@ -26966,7 +26907,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26966
26907
|
};
|
|
26967
26908
|
}
|
|
26968
26909
|
});
|
|
26969
|
-
const JSUser = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
26910
|
+
const JSUser = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-646da201"]]);
|
|
26970
26911
|
var RoomModalSelectType = /* @__PURE__ */ ((RoomModalSelectType2) => {
|
|
26971
26912
|
RoomModalSelectType2["microphoneClick"] = "microphoneClick";
|
|
26972
26913
|
RoomModalSelectType2["cameraClick"] = "cameraClick";
|
|
@@ -27147,7 +27088,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
27147
27088
|
};
|
|
27148
27089
|
}
|
|
27149
27090
|
});
|
|
27150
|
-
const DeviceSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
27091
|
+
const DeviceSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-bb453dd3"]]);
|
|
27151
27092
|
const _hoisted_1$l = {
|
|
27152
27093
|
key: 0,
|
|
27153
27094
|
class: "sos-flash-overlay"
|
|
@@ -27699,7 +27640,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
27699
27640
|
};
|
|
27700
27641
|
}
|
|
27701
27642
|
});
|
|
27702
|
-
const JSCall = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
27643
|
+
const JSCall = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6e381076"]]);
|
|
27703
27644
|
const _hoisted_1$k = { class: "js-dialog-header-title" };
|
|
27704
27645
|
const _hoisted_2$j = { class: "js-dialog-header-actions" };
|
|
27705
27646
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
@@ -27796,7 +27737,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
27796
27737
|
};
|
|
27797
27738
|
}
|
|
27798
27739
|
});
|
|
27799
|
-
const MeetingHeader = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
27740
|
+
const MeetingHeader = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8bf83c3f"]]);
|
|
27800
27741
|
const _hoisted_1$j = { class: "js-dialog-content-inner" };
|
|
27801
27742
|
const _hoisted_2$i = { class: "js-dialog-content-inner-right" };
|
|
27802
27743
|
const _hoisted_3$i = { class: "grid-layout" };
|
|
@@ -28018,7 +27959,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
28018
27959
|
};
|
|
28019
27960
|
}
|
|
28020
27961
|
});
|
|
28021
|
-
const MeetingContent = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
27962
|
+
const MeetingContent = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-b5585ce7"]]);
|
|
28022
27963
|
const _hoisted_1$i = { class: "js-dialog-footer" };
|
|
28023
27964
|
const _hoisted_2$h = { class: "js-dialog-footer-group js-dialog-footer-left" };
|
|
28024
27965
|
const _hoisted_3$h = { class: "js-dialog-footer-group js-dialog-footer-center" };
|
|
@@ -28324,7 +28265,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28324
28265
|
};
|
|
28325
28266
|
}
|
|
28326
28267
|
});
|
|
28327
|
-
const MeetingFooter = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
28268
|
+
const MeetingFooter = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-14c97f82"]]);
|
|
28328
28269
|
const _hoisted_1$h = { class: "search" };
|
|
28329
28270
|
const _hoisted_2$g = { class: "custom-tabs" };
|
|
28330
28271
|
const _hoisted_3$g = { class: "member-list" };
|
|
@@ -28460,9 +28401,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28460
28401
|
getChangeHost(params).then((res) => {
|
|
28461
28402
|
if (res.code == 200) {
|
|
28462
28403
|
showNotification("主持人已移交", "success", 3e3);
|
|
28463
|
-
} else {
|
|
28464
|
-
showNotification(res.message, "error", 3e3);
|
|
28465
28404
|
}
|
|
28405
|
+
}).catch((error) => {
|
|
28406
|
+
var _a25, _b25, _c, _d;
|
|
28407
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message) || "移交失败";
|
|
28408
|
+
showNotification(message, "error", 3e3);
|
|
28409
|
+
}).finally(() => {
|
|
28466
28410
|
});
|
|
28467
28411
|
};
|
|
28468
28412
|
const kickOut = (targetId) => {
|
|
@@ -28477,9 +28421,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28477
28421
|
getKickOut(params).then((res) => {
|
|
28478
28422
|
if (res.code == 200) {
|
|
28479
28423
|
showNotification("移出会议成功", "success", 3e3);
|
|
28480
|
-
} else {
|
|
28481
|
-
showNotification(res.message, "error", 3e3);
|
|
28482
28424
|
}
|
|
28425
|
+
}).catch((error) => {
|
|
28426
|
+
var _a25, _b25, _c, _d;
|
|
28427
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message);
|
|
28428
|
+
showNotification(message, "error", 3e3);
|
|
28429
|
+
}).finally(() => {
|
|
28483
28430
|
});
|
|
28484
28431
|
};
|
|
28485
28432
|
const handleMouseLeave = () => {
|
|
@@ -28521,9 +28468,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28521
28468
|
}).then((res) => {
|
|
28522
28469
|
if (res.code == 200) {
|
|
28523
28470
|
showNotification("主持人已收回", "success", 3e3);
|
|
28524
|
-
} else {
|
|
28525
|
-
showNotification(res.message, "error", 3e3);
|
|
28526
28471
|
}
|
|
28472
|
+
}).catch((error) => {
|
|
28473
|
+
var _a25, _b25, _c, _d;
|
|
28474
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message);
|
|
28475
|
+
showNotification(message, "error", 3e3);
|
|
28476
|
+
}).finally(() => {
|
|
28527
28477
|
});
|
|
28528
28478
|
};
|
|
28529
28479
|
return (_ctx, _cache) => {
|
|
@@ -28648,7 +28598,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28648
28598
|
};
|
|
28649
28599
|
}
|
|
28650
28600
|
});
|
|
28651
|
-
const ManageMembers = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
28601
|
+
const ManageMembers = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-8bb2ed9e"]]);
|
|
28652
28602
|
const _hoisted_1$g = { class: "chat-container" };
|
|
28653
28603
|
const _hoisted_2$f = { class: "chat-content" };
|
|
28654
28604
|
const _hoisted_3$f = { class: "chat-meta" };
|
|
@@ -28765,6 +28715,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28765
28715
|
getMeetingChat(params).then((res) => {
|
|
28766
28716
|
if (res.code != 200) return console.error("消息发送失败");
|
|
28767
28717
|
input.value = "";
|
|
28718
|
+
}).catch((error) => {
|
|
28719
|
+
console.error("消息发送失败:", error);
|
|
28768
28720
|
});
|
|
28769
28721
|
}
|
|
28770
28722
|
function previewImage(url) {
|
|
@@ -29223,7 +29175,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
29223
29175
|
};
|
|
29224
29176
|
}
|
|
29225
29177
|
});
|
|
29226
|
-
const Chat = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
29178
|
+
const Chat = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-943d45ce"]]);
|
|
29227
29179
|
const _hoisted_1$f = { class: "monitor-container" };
|
|
29228
29180
|
const _hoisted_2$e = { class: "monitor-grid" };
|
|
29229
29181
|
const _hoisted_3$e = { class: "camera-header" };
|
|
@@ -29331,7 +29283,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
29331
29283
|
};
|
|
29332
29284
|
}
|
|
29333
29285
|
});
|
|
29334
|
-
const Monitor = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
29286
|
+
const Monitor = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-9e767594"]]);
|
|
29335
29287
|
const _hoisted_1$e = { class: "js-dialog-sidebar-tabs" };
|
|
29336
29288
|
const _hoisted_2$d = ["onClick"];
|
|
29337
29289
|
const _hoisted_3$d = { class: "tab-content-wrapper" };
|
|
@@ -29401,7 +29353,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29401
29353
|
};
|
|
29402
29354
|
}
|
|
29403
29355
|
});
|
|
29404
|
-
const MeetingSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
29356
|
+
const MeetingSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-e0f9bc90"]]);
|
|
29405
29357
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
29406
29358
|
__name: "ScreenSharingIndicator",
|
|
29407
29359
|
props: {
|
|
@@ -29569,7 +29521,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29569
29521
|
};
|
|
29570
29522
|
}
|
|
29571
29523
|
});
|
|
29572
|
-
const MinimizedMeeting = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
29524
|
+
const MinimizedMeeting = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-9ac9477f"]]);
|
|
29573
29525
|
const _hoisted_1$c = {
|
|
29574
29526
|
key: 0,
|
|
29575
29527
|
class: "toggle"
|
|
@@ -30057,7 +30009,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
30057
30009
|
}).finally(() => {
|
|
30058
30010
|
});
|
|
30059
30011
|
} catch (err) {
|
|
30060
|
-
console.error("获取通讯录失败:", err);
|
|
30061
30012
|
treeData.value = [];
|
|
30062
30013
|
originalTreeData.value = [];
|
|
30063
30014
|
}
|
|
@@ -30160,7 +30111,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
30160
30111
|
};
|
|
30161
30112
|
}
|
|
30162
30113
|
});
|
|
30163
|
-
const Invite = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
30114
|
+
const Invite = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-a84edfe9"]]);
|
|
30164
30115
|
const _hoisted_1$9 = { class: "meeting-invite-modal" };
|
|
30165
30116
|
const _hoisted_2$9 = { class: "meeting-invite-modal-header" };
|
|
30166
30117
|
const _hoisted_3$9 = { class: "meeting-invite-modal-title" };
|
|
@@ -30255,7 +30206,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
30255
30206
|
};
|
|
30256
30207
|
}
|
|
30257
30208
|
});
|
|
30258
|
-
const MeetingInviteModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
30209
|
+
const MeetingInviteModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-0f898f5a"]]);
|
|
30259
30210
|
const _hoisted_1$8 = {
|
|
30260
30211
|
key: 0,
|
|
30261
30212
|
class: "js-dialog-overlay"
|
|
@@ -30491,14 +30442,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
30491
30442
|
meetingId: meetingInfo.meetingId,
|
|
30492
30443
|
memberId: userId2
|
|
30493
30444
|
}).then((res) => {
|
|
30494
|
-
getLoading().hide();
|
|
30495
30445
|
if (res.code === 200) {
|
|
30496
30446
|
logoutRoomAction();
|
|
30497
30447
|
visible.value = false;
|
|
30498
30448
|
openTabs.value.clear();
|
|
30499
|
-
} else {
|
|
30500
|
-
showNotification(`离开会议失败: ${res.message}`, "error", 5e3);
|
|
30501
30449
|
}
|
|
30450
|
+
}).catch((error) => {
|
|
30451
|
+
var _a25, _b25, _c, _d;
|
|
30452
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message);
|
|
30453
|
+
showNotification(`离开会议失败: ${message}`, "error", 5e3);
|
|
30454
|
+
}).finally(() => {
|
|
30455
|
+
getLoading().hide();
|
|
30502
30456
|
});
|
|
30503
30457
|
};
|
|
30504
30458
|
const endMeeting = () => {
|
|
@@ -30510,12 +30464,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
30510
30464
|
meetingId: meetingInfo.meetingId,
|
|
30511
30465
|
memberId: userId2
|
|
30512
30466
|
}).then((res) => {
|
|
30513
|
-
getLoading().hide();
|
|
30514
30467
|
if (res.code === 200) {
|
|
30515
30468
|
logoutRoomAction();
|
|
30516
30469
|
visible.value = false;
|
|
30517
30470
|
openTabs.value.clear();
|
|
30518
30471
|
}
|
|
30472
|
+
}).catch((error) => {
|
|
30473
|
+
var _a25, _b25, _c, _d;
|
|
30474
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message) || "未知错误";
|
|
30475
|
+
showNotification(`结束会议失败: ${message}`, "error", 5e3);
|
|
30476
|
+
}).finally(() => {
|
|
30477
|
+
getLoading().hide();
|
|
30519
30478
|
});
|
|
30520
30479
|
};
|
|
30521
30480
|
onMounted(async () => {
|
|
@@ -30611,7 +30570,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
30611
30570
|
};
|
|
30612
30571
|
}
|
|
30613
30572
|
});
|
|
30614
|
-
const JSMeeting = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
30573
|
+
const JSMeeting = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-25955a05"]]);
|
|
30615
30574
|
const _hoisted_1$7 = { class: "modal" };
|
|
30616
30575
|
const _hoisted_2$7 = { class: "modal-header" };
|
|
30617
30576
|
const _hoisted_3$7 = { class: "meeting-list" };
|
|
@@ -30757,7 +30716,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
30757
30716
|
};
|
|
30758
30717
|
}
|
|
30759
30718
|
});
|
|
30760
|
-
const JSMeetingList = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
30719
|
+
const JSMeetingList = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-423b5b7f"]]);
|
|
30761
30720
|
const _hoisted_1$6 = { class: "modal" };
|
|
30762
30721
|
const _hoisted_2$6 = { class: "modal-header" };
|
|
30763
30722
|
const _hoisted_3$6 = { class: "tab-header" };
|
|
@@ -30950,23 +30909,27 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
30950
30909
|
}
|
|
30951
30910
|
}
|
|
30952
30911
|
function onBreak(user) {
|
|
30953
|
-
getForcedDemolition({ memberId: getUserId(), targetId: user.memberId }).then(
|
|
30954
|
-
|
|
30955
|
-
|
|
30956
|
-
|
|
30957
|
-
|
|
30958
|
-
|
|
30959
|
-
|
|
30960
|
-
|
|
30961
|
-
|
|
30962
|
-
|
|
30963
|
-
|
|
30964
|
-
|
|
30965
|
-
|
|
30966
|
-
showNotification(res.message, "error", 3e3);
|
|
30967
|
-
}
|
|
30912
|
+
getForcedDemolition({ memberId: getUserId(), targetId: user.memberId }).then(async (res) => {
|
|
30913
|
+
if (res.code === 200) {
|
|
30914
|
+
await close();
|
|
30915
|
+
await getLoading().hide();
|
|
30916
|
+
setCallStatus("connected");
|
|
30917
|
+
sessionStorage.setItem("JS_MEETING_INFO", JSON.stringify(res.data));
|
|
30918
|
+
await openCall();
|
|
30919
|
+
setTimeout(() => {
|
|
30920
|
+
joinRoom();
|
|
30921
|
+
}, 100);
|
|
30922
|
+
} else {
|
|
30923
|
+
getLoading().hide();
|
|
30924
|
+
showNotification(res.message, "error", 3e3);
|
|
30968
30925
|
}
|
|
30969
|
-
)
|
|
30926
|
+
}).catch((error) => {
|
|
30927
|
+
var _a25, _b25, _c, _d;
|
|
30928
|
+
const message = ((_b25 = (_a25 = error == null ? void 0 : error.response) == null ? void 0 : _a25.data) == null ? void 0 : _b25.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.msg) || (error == null ? void 0 : error.message);
|
|
30929
|
+
showNotification(message, "error", 3e3);
|
|
30930
|
+
}).finally(() => {
|
|
30931
|
+
getLoading().hide();
|
|
30932
|
+
});
|
|
30970
30933
|
}
|
|
30971
30934
|
async function onDial(item) {
|
|
30972
30935
|
const targetId = item.callee.memberId === getUserId() ? item.caller.memberId : item.callee.memberId;
|
|
@@ -31175,7 +31138,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
31175
31138
|
};
|
|
31176
31139
|
}
|
|
31177
31140
|
});
|
|
31178
|
-
const JSCallList = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
31141
|
+
const JSCallList = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-b6435c67"]]);
|
|
31179
31142
|
const _hoisted_1$5 = { class: "dialog" };
|
|
31180
31143
|
const _hoisted_2$5 = { class: "modal-header" };
|
|
31181
31144
|
const _hoisted_3$5 = { class: "content" };
|
|
@@ -31353,7 +31316,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
31353
31316
|
};
|
|
31354
31317
|
}
|
|
31355
31318
|
});
|
|
31356
|
-
const JSSOSSetting = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
31319
|
+
const JSSOSSetting = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7f8bf832"]]);
|
|
31357
31320
|
const _hoisted_1$4 = { class: "dialog" };
|
|
31358
31321
|
const _hoisted_2$4 = { class: "modal-header" };
|
|
31359
31322
|
const _hoisted_3$4 = { class: "content" };
|
|
@@ -31581,7 +31544,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
31581
31544
|
};
|
|
31582
31545
|
}
|
|
31583
31546
|
});
|
|
31584
|
-
const JSUnattendedSetting = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
31547
|
+
const JSUnattendedSetting = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-038f887f"]]);
|
|
31585
31548
|
const _hoisted_1$3 = { class: "notification-container" };
|
|
31586
31549
|
const _hoisted_2$3 = ["onClick"];
|
|
31587
31550
|
const _hoisted_3$3 = { class: "notification-content" };
|
|
@@ -31657,7 +31620,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
31657
31620
|
};
|
|
31658
31621
|
}
|
|
31659
31622
|
});
|
|
31660
|
-
const Notification = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
31623
|
+
const Notification = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-724cb8da"]]);
|
|
31661
31624
|
const _hoisted_1$2 = { class: "incoming-call-card-content" };
|
|
31662
31625
|
const _hoisted_2$2 = { class: "caller-info" };
|
|
31663
31626
|
const _hoisted_3$2 = { class: "caller-avatar" };
|
|
@@ -31727,7 +31690,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
31727
31690
|
};
|
|
31728
31691
|
}
|
|
31729
31692
|
});
|
|
31730
|
-
const IncomingCallModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
31693
|
+
const IncomingCallModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-055bf8e4"]]);
|
|
31731
31694
|
const _hoisted_1$1 = {
|
|
31732
31695
|
key: 0,
|
|
31733
31696
|
class: "incoming-call-panel"
|
|
@@ -31834,7 +31797,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
31834
31797
|
};
|
|
31835
31798
|
}
|
|
31836
31799
|
});
|
|
31837
|
-
const GlobalIncomingCallModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
31800
|
+
const GlobalIncomingCallModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-b9a920d0"]]);
|
|
31838
31801
|
const _hoisted_1 = {
|
|
31839
31802
|
key: 0,
|
|
31840
31803
|
class: "unattended-display"
|