@syncfy/authentication-widget 0.0.13 → 0.0.15
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.
|
@@ -8039,26 +8039,26 @@ const d2 = qi().noUnknown().shape({
|
|
|
8039
8039
|
let dg = {
|
|
8040
8040
|
git: {
|
|
8041
8041
|
dirty: !1,
|
|
8042
|
-
raw: "v0.0.
|
|
8043
|
-
hash: "
|
|
8042
|
+
raw: "v0.0.15-0-g0a10f1b",
|
|
8043
|
+
hash: "g0a10f1b",
|
|
8044
8044
|
distance: 0,
|
|
8045
|
-
tag: "v0.0.
|
|
8045
|
+
tag: "v0.0.15",
|
|
8046
8046
|
semver: {
|
|
8047
8047
|
options: {
|
|
8048
8048
|
loose: !1,
|
|
8049
8049
|
includePrerelease: !1
|
|
8050
8050
|
},
|
|
8051
8051
|
loose: !1,
|
|
8052
|
-
raw: "v0.0.
|
|
8052
|
+
raw: "v0.0.15",
|
|
8053
8053
|
major: 0,
|
|
8054
8054
|
minor: 0,
|
|
8055
|
-
patch:
|
|
8055
|
+
patch: 15,
|
|
8056
8056
|
prerelease: [],
|
|
8057
8057
|
build: [],
|
|
8058
|
-
version: "0.0.
|
|
8058
|
+
version: "0.0.15"
|
|
8059
8059
|
},
|
|
8060
|
-
suffix: "0-
|
|
8061
|
-
semverString: "0.0.
|
|
8060
|
+
suffix: "0-g0a10f1b",
|
|
8061
|
+
semverString: "0.0.15"
|
|
8062
8062
|
}
|
|
8063
8063
|
};
|
|
8064
8064
|
function V0() {
|
|
@@ -69649,8 +69649,10 @@ const MAe = { key: 1 }, CAe = ["alt", "src"], TAe = ["aria-label"], AAe = { clas
|
|
|
69649
69649
|
assetsPath: { default: "https://s.paybook.com" },
|
|
69650
69650
|
buttonDisabledStyle: { type: Boolean, default: !1 },
|
|
69651
69651
|
disableFormAutocomplete: { type: Boolean, default: !1 },
|
|
69652
|
+
displayPrivacyScreen: { type: Boolean },
|
|
69652
69653
|
errorMessage: { default: null },
|
|
69653
69654
|
loaderMessage: {},
|
|
69655
|
+
oneSiteFlow: { type: Boolean },
|
|
69654
69656
|
selectClass: { default: "" },
|
|
69655
69657
|
showLogo: { type: Boolean, default: !0 },
|
|
69656
69658
|
showPasswordStyle: { default: "icon" },
|
|
@@ -69904,12 +69906,13 @@ const MAe = { key: 1 }, CAe = ["alt", "src"], TAe = ["aria-label"], AAe = { clas
|
|
|
69904
69906
|
Re("div", {
|
|
69905
69907
|
class: Ce(M.$style["site-buttons"])
|
|
69906
69908
|
}, [
|
|
69907
|
-
|
|
69909
|
+
!r.oneSiteFlow || r.displayPrivacyScreen ? (de(), Be("button", {
|
|
69910
|
+
key: 0,
|
|
69908
69911
|
class: "pb-w-sync_secondary-button",
|
|
69909
69912
|
"data-testid": "site-button-back",
|
|
69910
69913
|
type: "button",
|
|
69911
69914
|
onClick: s[4] || (s[4] = () => t("back"))
|
|
69912
|
-
}, at(Y(B)("common.back")), 1),
|
|
69915
|
+
}, at(Y(B)("common.back")), 1)) : Ye("", !0),
|
|
69913
69916
|
Re("button", {
|
|
69914
69917
|
class: "pb-w-sync_primary-button",
|
|
69915
69918
|
"data-testid": "site-button",
|
|
@@ -73476,14 +73479,7 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
73476
73479
|
return typeof ce == "string" ? ce : ce.response && ce.response.data && ce.response.data.message === "Credential error, please consider updating credential password" ? "api_errors.credential_error." : `api_errors.${ce.response ? ce.response.status ? ce.response.status : 500 : "no_internet"}.`;
|
|
73477
73480
|
}
|
|
73478
73481
|
function F() {
|
|
73479
|
-
|
|
73480
|
-
B.value ? ne() : O.value ? (a("back"), O.value = null) : (a("back"), T.value = !0);
|
|
73481
|
-
else if (L.value === "finish")
|
|
73482
|
-
fe();
|
|
73483
|
-
else if (L.value === "twofa")
|
|
73484
|
-
Qe();
|
|
73485
|
-
else
|
|
73486
|
-
return Me();
|
|
73482
|
+
L.value ? L.value === "finish" ? fe() : L.value === "twofa" ? Qe() : Me() : B.value ? ne() : O.value ? (a("back"), O.value = null) : (a("back"), T.value = !0);
|
|
73487
73483
|
}
|
|
73488
73484
|
function U() {
|
|
73489
73485
|
C.value = !0, re();
|
|
@@ -73687,7 +73683,7 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
73687
73683
|
});
|
|
73688
73684
|
}
|
|
73689
73685
|
function me(ce, _e = !1) {
|
|
73690
|
-
if (Un("open_credential", { id_credential: ce }), !M || !M.loading) {
|
|
73686
|
+
if (T.value = !1, Un("open_credential", { id_credential: ce }), !M || !M.loading) {
|
|
73691
73687
|
let it = new Xb({
|
|
73692
73688
|
short: i("credential.search.title")
|
|
73693
73689
|
}), we;
|
|
@@ -74111,9 +74107,9 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
74111
74107
|
return _e ? A.strictMode({ token: ce, strict: _e }) : A.updateToken(ce);
|
|
74112
74108
|
}
|
|
74113
74109
|
function Me() {
|
|
74114
|
-
a("back"), Un("close_site", {
|
|
74110
|
+
a("back"), n.navigation.oneSiteFlow && n.navigation.displayPrivacyScreen ? T.value = !0 : (Un("close_site", {
|
|
74115
74111
|
id_site: y.config.id_site
|
|
74116
|
-
}), L.value = y = null, $.value = null, R.value.length === 1 && (B.value = null);
|
|
74112
|
+
}), L.value = y = null, $.value = null, R.value.length === 1 && (B.value = null));
|
|
74117
74113
|
}
|
|
74118
74114
|
function Qe(ce = !0) {
|
|
74119
74115
|
ce && a("back"), L.value = y = null, G(w, !1);
|
|
@@ -74210,8 +74206,10 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
74210
74206
|
"assets-path": Y(K),
|
|
74211
74207
|
"button-disabled-style": n.navigation.formButtonsDisabledStyle,
|
|
74212
74208
|
"disable-form-autocomplete": n.navigation.disableFormAutocomplete,
|
|
74209
|
+
"display-privacy-screen": n.navigation.displayPrivacyScreen,
|
|
74213
74210
|
"error-message": $.value,
|
|
74214
74211
|
"loader-message": q.value,
|
|
74212
|
+
"one-site-flow": n.navigation.oneSiteFlow,
|
|
74215
74213
|
"select-class": n.navigation.selectClass,
|
|
74216
74214
|
"show-logo": n.navigation.displayLogoImages,
|
|
74217
74215
|
"show-password-style": n.navigation.formShowPasswordStyle,
|
|
@@ -74225,7 +74223,7 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
74225
74223
|
onValid: _e[4] || (_e[4] = () => {
|
|
74226
74224
|
S.value = Y(i)("site.login.authenticating"), $.value = null;
|
|
74227
74225
|
})
|
|
74228
|
-
}, null, 8, ["assets-path", "button-disabled-style", "disable-form-autocomplete", "error-message", "loader-message", "select-class", "show-logo", "show-password-style", "site", "test-mode"])) : Ye("", !0),
|
|
74226
|
+
}, null, 8, ["assets-path", "button-disabled-style", "disable-form-autocomplete", "display-privacy-screen", "error-message", "loader-message", "one-site-flow", "select-class", "show-logo", "show-password-style", "site", "test-mode"])) : Ye("", !0),
|
|
74229
74227
|
L.value === "twofa" || L.value === "twofa-loading" ? (de(), nt(rw, {
|
|
74230
74228
|
key: 1,
|
|
74231
74229
|
avatar: `${Y(K)}${Y(y).config.avatar}`,
|