@blueking/bk-user-selector 0.0.38-beta.2 → 0.0.38-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/vue2/index.es.min.js
CHANGED
|
@@ -10678,7 +10678,7 @@ const generateCallbackName = () => {
|
|
|
10678
10678
|
const jsonpRequest = (requestUrl, options = {}) => {
|
|
10679
10679
|
return new Promise((resolve, reject) => {
|
|
10680
10680
|
const url = unref(requestUrl);
|
|
10681
|
-
const { timeout = 1e3 * 60 * 2, params, withCredentials =
|
|
10681
|
+
const { timeout = 1e3 * 60 * 2, params, withCredentials = true } = options;
|
|
10682
10682
|
const callbackName = generateCallbackName();
|
|
10683
10683
|
const script = document.createElement("script");
|
|
10684
10684
|
let timeoutId;
|
|
@@ -10687,6 +10687,7 @@ const jsonpRequest = (requestUrl, options = {}) => {
|
|
|
10687
10687
|
} else {
|
|
10688
10688
|
script.crossOrigin = "anonymous";
|
|
10689
10689
|
}
|
|
10690
|
+
script.setAttribute("type", "text/javascript");
|
|
10690
10691
|
const cleanup = () => {
|
|
10691
10692
|
if (timeoutId) {
|
|
10692
10693
|
clearTimeout(timeoutId);
|
package/vue2/index.iife.min.js
CHANGED
|
@@ -17336,7 +17336,7 @@ ${$(r2)}`), n2;
|
|
|
17336
17336
|
const jsonpRequest = (requestUrl, options = {}) => {
|
|
17337
17337
|
return new Promise((resolve2, reject) => {
|
|
17338
17338
|
const url = unref(requestUrl);
|
|
17339
|
-
const { timeout = 1e3 * 60 * 2, params, withCredentials =
|
|
17339
|
+
const { timeout = 1e3 * 60 * 2, params, withCredentials = true } = options;
|
|
17340
17340
|
const callbackName = generateCallbackName();
|
|
17341
17341
|
const script = document.createElement("script");
|
|
17342
17342
|
let timeoutId;
|
|
@@ -17345,6 +17345,7 @@ ${$(r2)}`), n2;
|
|
|
17345
17345
|
} else {
|
|
17346
17346
|
script.crossOrigin = "anonymous";
|
|
17347
17347
|
}
|
|
17348
|
+
script.setAttribute("type", "text/javascript");
|
|
17348
17349
|
const cleanup = () => {
|
|
17349
17350
|
if (timeoutId) {
|
|
17350
17351
|
clearTimeout(timeoutId);
|
package/vue2/index.umd.min.js
CHANGED
|
@@ -10700,7 +10700,7 @@ ${$(r2)}`), n2;
|
|
|
10700
10700
|
const jsonpRequest = (requestUrl, options = {}) => {
|
|
10701
10701
|
return new Promise((resolve, reject) => {
|
|
10702
10702
|
const url = __WEBPACK_EXTERNAL_MODULE_vue__.unref(requestUrl);
|
|
10703
|
-
const { timeout = 1e3 * 60 * 2, params, withCredentials =
|
|
10703
|
+
const { timeout = 1e3 * 60 * 2, params, withCredentials = true } = options;
|
|
10704
10704
|
const callbackName = generateCallbackName();
|
|
10705
10705
|
const script = document.createElement("script");
|
|
10706
10706
|
let timeoutId;
|
|
@@ -10709,6 +10709,7 @@ ${$(r2)}`), n2;
|
|
|
10709
10709
|
} else {
|
|
10710
10710
|
script.crossOrigin = "anonymous";
|
|
10711
10711
|
}
|
|
10712
|
+
script.setAttribute("type", "text/javascript");
|
|
10712
10713
|
const cleanup = () => {
|
|
10713
10714
|
if (timeoutId) {
|
|
10714
10715
|
clearTimeout(timeoutId);
|
package/vue3/index.es.min.js
CHANGED
|
@@ -8,7 +8,7 @@ const generateCallbackName = () => {
|
|
|
8
8
|
const jsonpRequest = (requestUrl, options = {}) => {
|
|
9
9
|
return new Promise((resolve, reject) => {
|
|
10
10
|
const url = unref(requestUrl);
|
|
11
|
-
const { timeout = 1e3 * 60 * 2, params, withCredentials =
|
|
11
|
+
const { timeout = 1e3 * 60 * 2, params, withCredentials = true } = options;
|
|
12
12
|
const callbackName = generateCallbackName();
|
|
13
13
|
const script = document.createElement("script");
|
|
14
14
|
let timeoutId;
|
|
@@ -17,6 +17,7 @@ const jsonpRequest = (requestUrl, options = {}) => {
|
|
|
17
17
|
} else {
|
|
18
18
|
script.crossOrigin = "anonymous";
|
|
19
19
|
}
|
|
20
|
+
script.setAttribute("type", "text/javascript");
|
|
20
21
|
const cleanup = () => {
|
|
21
22
|
if (timeoutId) {
|
|
22
23
|
clearTimeout(timeoutId);
|
package/vue3/index.iife.min.js
CHANGED
|
@@ -10707,7 +10707,7 @@ ${$(r2)}`), n2;
|
|
|
10707
10707
|
const jsonpRequest = (requestUrl, options = {}) => {
|
|
10708
10708
|
return new Promise((resolve, reject) => {
|
|
10709
10709
|
const url = __WEBPACK_EXTERNAL_MODULE_vue__.unref(requestUrl);
|
|
10710
|
-
const { timeout = 1e3 * 60 * 2, params, withCredentials =
|
|
10710
|
+
const { timeout = 1e3 * 60 * 2, params, withCredentials = true } = options;
|
|
10711
10711
|
const callbackName = generateCallbackName();
|
|
10712
10712
|
const script = document.createElement("script");
|
|
10713
10713
|
let timeoutId;
|
|
@@ -10716,6 +10716,7 @@ ${$(r2)}`), n2;
|
|
|
10716
10716
|
} else {
|
|
10717
10717
|
script.crossOrigin = "anonymous";
|
|
10718
10718
|
}
|
|
10719
|
+
script.setAttribute("type", "text/javascript");
|
|
10719
10720
|
const cleanup = () => {
|
|
10720
10721
|
if (timeoutId) {
|
|
10721
10722
|
clearTimeout(timeoutId);
|
package/vue3/index.umd.min.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
const jsonpRequest = (requestUrl, options = {}) => {
|
|
14
14
|
return new Promise((resolve, reject) => {
|
|
15
15
|
const url = vue.unref(requestUrl);
|
|
16
|
-
const { timeout = 1e3 * 60 * 2, params, withCredentials =
|
|
16
|
+
const { timeout = 1e3 * 60 * 2, params, withCredentials = true } = options;
|
|
17
17
|
const callbackName = generateCallbackName();
|
|
18
18
|
const script = document.createElement("script");
|
|
19
19
|
let timeoutId;
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
} else {
|
|
23
23
|
script.crossOrigin = "anonymous";
|
|
24
24
|
}
|
|
25
|
+
script.setAttribute("type", "text/javascript");
|
|
25
26
|
const cleanup = () => {
|
|
26
27
|
if (timeoutId) {
|
|
27
28
|
clearTimeout(timeoutId);
|