acsi-core 0.1.91 → 0.1.92
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.js +23 -20
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +23 -20
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -80,25 +80,6 @@ var ORGANIZATION_TEAM = "ORGANIZATION_TEAM";
|
|
|
80
80
|
|
|
81
81
|
var styleGlobal = {"signup_wrap":"_1KLz9","box-signin":"_2Jo1o","signin_title":"_3egBO","signup_link":"_1DoIT","google_button":"_34hK_","microsoft_button":"_19ESb","box-field":"_2e9xO","box-input":"_3zXRp","box-text":"_8NJga","box-button-email":"_21FPk","box-signin-container":"_1QERu","box-signin-text":"_2-znH","box-signin-logo":"_1aB2m","box-right":"_3qndF","image-slideshow":"_1aM7m","active":"_Vx1zf","box-right-body":"_JzdCr","box-right-footer":"_19aCA","pr-30":"_2HB5r","width-400":"_4ehXP"};
|
|
82
82
|
|
|
83
|
-
// A type of promise-like that resolves synchronously and supports only one observer
|
|
84
|
-
|
|
85
|
-
const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
|
|
86
|
-
|
|
87
|
-
const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
|
|
88
|
-
|
|
89
|
-
// Asynchronously call a function and send errors to recovery continuation
|
|
90
|
-
function _catch(body, recover) {
|
|
91
|
-
try {
|
|
92
|
-
var result = body();
|
|
93
|
-
} catch(e) {
|
|
94
|
-
return recover(e);
|
|
95
|
-
}
|
|
96
|
-
if (result && result.then) {
|
|
97
|
-
return result.then(void 0, recover);
|
|
98
|
-
}
|
|
99
|
-
return result;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
83
|
function _extends() {
|
|
103
84
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
104
85
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -118,6 +99,25 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
118
99
|
return t;
|
|
119
100
|
}
|
|
120
101
|
|
|
102
|
+
// A type of promise-like that resolves synchronously and supports only one observer
|
|
103
|
+
|
|
104
|
+
const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
|
|
105
|
+
|
|
106
|
+
const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
|
|
107
|
+
|
|
108
|
+
// Asynchronously call a function and send errors to recovery continuation
|
|
109
|
+
function _catch(body, recover) {
|
|
110
|
+
try {
|
|
111
|
+
var result = body();
|
|
112
|
+
} catch(e) {
|
|
113
|
+
return recover(e);
|
|
114
|
+
}
|
|
115
|
+
if (result && result.then) {
|
|
116
|
+
return result.then(void 0, recover);
|
|
117
|
+
}
|
|
118
|
+
return result;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
121
|
var styles = {"core-button":"_xvNBN","primary":"_U9Qyp","secondary":"_1VzMy","text":"_pZNuj","danger":"_2uYm1","light":"_wxH5S"};
|
|
122
122
|
|
|
123
123
|
var _excluded = ["type", "children", "onClick", "icon", "disabled", "htmlType"];
|
|
@@ -1420,7 +1420,10 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
1420
1420
|
var loginRequest = {
|
|
1421
1421
|
scopes: ["openid", "profile", "email"]
|
|
1422
1422
|
};
|
|
1423
|
-
|
|
1423
|
+
var silentRequest = _extends({}, loginRequest, {
|
|
1424
|
+
prompt: "select_account"
|
|
1425
|
+
});
|
|
1426
|
+
return Promise.resolve(msalInstance.loginPopup(silentRequest)).then(function (response) {
|
|
1424
1427
|
return function () {
|
|
1425
1428
|
if (response && response.account) {
|
|
1426
1429
|
var account = response.account;
|