@syncfy/authentication-widget 2.1.0 → 2.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.
|
@@ -2586,9 +2586,9 @@ const paramsValidator = yup.object().shape({
|
|
|
2586
2586
|
}).strict().noUnknown();
|
|
2587
2587
|
let __VERSION__ = {
|
|
2588
2588
|
"git": {
|
|
2589
|
-
"hash": "
|
|
2589
|
+
"hash": "gd5878a2",
|
|
2590
2590
|
"distance": 0,
|
|
2591
|
-
"tag": "v2.1.
|
|
2591
|
+
"tag": "v2.1.2"
|
|
2592
2592
|
}
|
|
2593
2593
|
};
|
|
2594
2594
|
function getVersion() {
|
|
@@ -5589,8 +5589,8 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5589
5589
|
const props = __props;
|
|
5590
5590
|
const emit = __emit;
|
|
5591
5591
|
const rootEmit = vue.inject(rootEmitter), t = vue.inject(translateFunction);
|
|
5592
|
-
const arrayData = vue.ref({}), data = vue.ref({ ...props.twofa.data }), imageSize = vue.ref({}), imageWithoutSize = vue.ref([]), loading = vue.ref(false);
|
|
5593
|
-
let imagesLoaded = 0,
|
|
5592
|
+
const arrayData = vue.ref({}), data = vue.ref({ ...props.twofa.data }), imageSize = vue.ref({}), imageWithoutSize = vue.ref([]), isInvalid = vue.ref(true), loading = vue.ref(false);
|
|
5593
|
+
let imagesLoaded = 0, showPassword = false, validSiteFormFields = {};
|
|
5594
5594
|
const imagesCount = vue.computed(() => {
|
|
5595
5595
|
return props.twofa.config.twofa.reduce(
|
|
5596
5596
|
(count, credential) => credential.imgBase64File ? count + 1 : count,
|
|
@@ -5665,7 +5665,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5665
5665
|
imageWithoutSize.value = [];
|
|
5666
5666
|
loading.value = false;
|
|
5667
5667
|
imagesLoaded = 0;
|
|
5668
|
-
isInvalid = true;
|
|
5668
|
+
isInvalid.value = true;
|
|
5669
5669
|
showPassword = false;
|
|
5670
5670
|
validSiteFormFields = {};
|
|
5671
5671
|
props.twofa.defineRules(t);
|
|
@@ -5709,7 +5709,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5709
5709
|
if (name) {
|
|
5710
5710
|
validSiteFormFields[name] = valid;
|
|
5711
5711
|
}
|
|
5712
|
-
isInvalid = Object.getOwnPropertyNames(rules).reduce(
|
|
5712
|
+
isInvalid.value = Object.getOwnPropertyNames(rules).reduce(
|
|
5713
5713
|
(isInvalidObject, key) => key === "__ob__" || rules[key].length === 0 ? isInvalidObject : isInvalidObject || !validSiteFormFields[key],
|
|
5714
5714
|
false
|
|
5715
5715
|
);
|
|
@@ -5926,7 +5926,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5926
5926
|
props.twofa.displaySubmitButton ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
5927
5927
|
key: 1,
|
|
5928
5928
|
class: "pb-w-sync_primary-button",
|
|
5929
|
-
disabled: props.buttonDisabledStyle &&
|
|
5929
|
+
disabled: props.buttonDisabledStyle && isInvalid.value,
|
|
5930
5930
|
"data-testid": "twofa-button",
|
|
5931
5931
|
type: "submit"
|
|
5932
5932
|
}, vue.toDisplayString(vue.unref(t)("common.next")), 9, _hoisted_8)) : vue.createCommentVNode("", true)
|
|
@@ -1247,6 +1247,14 @@
|
|
|
1247
1247
|
color: #31383e;
|
|
1248
1248
|
}
|
|
1249
1249
|
|
|
1250
|
+
.el-select__popper > .el-select-dropdown {
|
|
1251
|
+
position: static;
|
|
1252
|
+
margin: 0;
|
|
1253
|
+
border: none;
|
|
1254
|
+
background-color: transparent;
|
|
1255
|
+
box-shadow: none;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1250
1258
|
.el-select-dropdown__item {
|
|
1251
1259
|
font-size: 16px;
|
|
1252
1260
|
}
|
|
@@ -2584,9 +2584,9 @@ const paramsValidator = object().shape({
|
|
|
2584
2584
|
}).strict().noUnknown();
|
|
2585
2585
|
let __VERSION__ = {
|
|
2586
2586
|
"git": {
|
|
2587
|
-
"hash": "
|
|
2587
|
+
"hash": "gd5878a2",
|
|
2588
2588
|
"distance": 0,
|
|
2589
|
-
"tag": "v2.1.
|
|
2589
|
+
"tag": "v2.1.2"
|
|
2590
2590
|
}
|
|
2591
2591
|
};
|
|
2592
2592
|
function getVersion() {
|
|
@@ -5587,8 +5587,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5587
5587
|
const props = __props;
|
|
5588
5588
|
const emit = __emit;
|
|
5589
5589
|
const rootEmit = inject(rootEmitter), t = inject(translateFunction);
|
|
5590
|
-
const arrayData = ref({}), data = ref({ ...props.twofa.data }), imageSize = ref({}), imageWithoutSize = ref([]), loading = ref(false);
|
|
5591
|
-
let imagesLoaded = 0,
|
|
5590
|
+
const arrayData = ref({}), data = ref({ ...props.twofa.data }), imageSize = ref({}), imageWithoutSize = ref([]), isInvalid = ref(true), loading = ref(false);
|
|
5591
|
+
let imagesLoaded = 0, showPassword = false, validSiteFormFields = {};
|
|
5592
5592
|
const imagesCount = computed(() => {
|
|
5593
5593
|
return props.twofa.config.twofa.reduce(
|
|
5594
5594
|
(count, credential) => credential.imgBase64File ? count + 1 : count,
|
|
@@ -5663,7 +5663,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5663
5663
|
imageWithoutSize.value = [];
|
|
5664
5664
|
loading.value = false;
|
|
5665
5665
|
imagesLoaded = 0;
|
|
5666
|
-
isInvalid = true;
|
|
5666
|
+
isInvalid.value = true;
|
|
5667
5667
|
showPassword = false;
|
|
5668
5668
|
validSiteFormFields = {};
|
|
5669
5669
|
props.twofa.defineRules(t);
|
|
@@ -5707,7 +5707,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5707
5707
|
if (name) {
|
|
5708
5708
|
validSiteFormFields[name] = valid;
|
|
5709
5709
|
}
|
|
5710
|
-
isInvalid = Object.getOwnPropertyNames(rules).reduce(
|
|
5710
|
+
isInvalid.value = Object.getOwnPropertyNames(rules).reduce(
|
|
5711
5711
|
(isInvalidObject, key) => key === "__ob__" || rules[key].length === 0 ? isInvalidObject : isInvalidObject || !validSiteFormFields[key],
|
|
5712
5712
|
false
|
|
5713
5713
|
);
|
|
@@ -5924,7 +5924,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5924
5924
|
props.twofa.displaySubmitButton ? (openBlock(), createElementBlock("button", {
|
|
5925
5925
|
key: 1,
|
|
5926
5926
|
class: "pb-w-sync_primary-button",
|
|
5927
|
-
disabled: props.buttonDisabledStyle &&
|
|
5927
|
+
disabled: props.buttonDisabledStyle && isInvalid.value,
|
|
5928
5928
|
"data-testid": "twofa-button",
|
|
5929
5929
|
type: "submit"
|
|
5930
5930
|
}, toDisplayString(unref(t)("common.next")), 9, _hoisted_8)) : createCommentVNode("", true)
|