@syncfy/authentication-widget 0.0.14 → 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,7 +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
|
-
L.value ? L.value === "finish" ? fe() : L.value === "twofa" ? Qe() :
|
|
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);
|
|
73480
73483
|
}
|
|
73481
73484
|
function U() {
|
|
73482
73485
|
C.value = !0, re();
|
|
@@ -74104,9 +74107,9 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
74104
74107
|
return _e ? A.strictMode({ token: ce, strict: _e }) : A.updateToken(ce);
|
|
74105
74108
|
}
|
|
74106
74109
|
function Me() {
|
|
74107
|
-
a("back"), Un("close_site", {
|
|
74110
|
+
a("back"), n.navigation.oneSiteFlow && n.navigation.displayPrivacyScreen ? T.value = !0 : (Un("close_site", {
|
|
74108
74111
|
id_site: y.config.id_site
|
|
74109
|
-
}), 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));
|
|
74110
74113
|
}
|
|
74111
74114
|
function Qe(ce = !0) {
|
|
74112
74115
|
ce && a("back"), L.value = y = null, G(w, !1);
|
|
@@ -74203,8 +74206,10 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
74203
74206
|
"assets-path": Y(K),
|
|
74204
74207
|
"button-disabled-style": n.navigation.formButtonsDisabledStyle,
|
|
74205
74208
|
"disable-form-autocomplete": n.navigation.disableFormAutocomplete,
|
|
74209
|
+
"display-privacy-screen": n.navigation.displayPrivacyScreen,
|
|
74206
74210
|
"error-message": $.value,
|
|
74207
74211
|
"loader-message": q.value,
|
|
74212
|
+
"one-site-flow": n.navigation.oneSiteFlow,
|
|
74208
74213
|
"select-class": n.navigation.selectClass,
|
|
74209
74214
|
"show-logo": n.navigation.displayLogoImages,
|
|
74210
74215
|
"show-password-style": n.navigation.formShowPasswordStyle,
|
|
@@ -74218,7 +74223,7 @@ const rBe = ["aria-label"], nBe = { key: 1 }, iBe = ["aria-label"], aBe = { key:
|
|
|
74218
74223
|
onValid: _e[4] || (_e[4] = () => {
|
|
74219
74224
|
S.value = Y(i)("site.login.authenticating"), $.value = null;
|
|
74220
74225
|
})
|
|
74221
|
-
}, 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),
|
|
74222
74227
|
L.value === "twofa" || L.value === "twofa-loading" ? (de(), nt(rw, {
|
|
74223
74228
|
key: 1,
|
|
74224
74229
|
avatar: `${Y(K)}${Y(y).config.avatar}`,
|