@adminforth/two-factors-auth 2.8.0 → 2.9.0
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/build.log +2 -2
- package/custom/TwoFAModal.vue +2 -2
- package/custom/tsconfig.json +14 -3
- package/dist/custom/TwoFAModal.vue +2 -2
- package/dist/custom/tsconfig.json +14 -3
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -15,5 +15,5 @@ custom/package.json
|
|
|
15
15
|
custom/tsconfig.json
|
|
16
16
|
custom/utils.js
|
|
17
17
|
|
|
18
|
-
sent 272,
|
|
19
|
-
total size is
|
|
18
|
+
sent 272,839 bytes received 210 bytes 182,032.67 bytes/sec
|
|
19
|
+
total size is 272,023 speedup is 1.00
|
package/custom/TwoFAModal.vue
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</svg>
|
|
46
46
|
<span class="sr-only">{{$t('Close modal')}}</span>
|
|
47
47
|
</button>
|
|
48
|
-
<IconShieldOutline class="w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
|
|
48
|
+
<IconShieldOutline class="af-2fa-shield-icon w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
|
|
49
49
|
<p class="text-4xl font-semibold mb-4 text:gray-900 dark:text-gray-200 ">{{$t('Passkey')}}</p>
|
|
50
50
|
<div class="mb-2 max-w-[300px] text:gray-900 dark:text-gray-200">
|
|
51
51
|
<p class="mb-2">{{customDialogTitle}} </p>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
{{$t('Use passkey')}}
|
|
56
56
|
</Button>
|
|
57
57
|
<div v-if="modalMode === 'passkey'" class="max-w-sm px-6 pt-3 w-full bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700">
|
|
58
|
-
<div class="mb-3 font-normal text-gray-700 dark:text-gray-400">
|
|
58
|
+
<div class="af-2fa-passkey-issues-card mb-3 font-normal text-gray-700 dark:text-gray-400">
|
|
59
59
|
<p>{{$t('Have issues with passkey?')}}</p>
|
|
60
60
|
<p class="underline hover:no-underline text-lightPrimary whitespace-nowrap hover:cursor-pointer" @click="modalMode = 'totp'" >{{$t('use TOTP')}}</p>
|
|
61
61
|
</div>
|
package/custom/tsconfig.json
CHANGED
|
@@ -4,16 +4,27 @@
|
|
|
4
4
|
"paths": {
|
|
5
5
|
"@/*": [
|
|
6
6
|
// "node_modules/adminforth/dist/spa/src/*"
|
|
7
|
-
"../../../spa/src/*"
|
|
7
|
+
"../../../adminforth/spa/src/*"
|
|
8
8
|
],
|
|
9
9
|
"*": [
|
|
10
10
|
// "node_modules/adminforth/dist/spa/node_modules/*"
|
|
11
|
-
"../../../spa/node_modules/*"
|
|
11
|
+
"../../../adminforth/spa/node_modules/*"
|
|
12
12
|
],
|
|
13
13
|
"@@/*": [
|
|
14
14
|
// "node_modules/adminforth/dist/spa/src/*"
|
|
15
15
|
"."
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"include": [
|
|
20
|
+
"./**/*.ts",
|
|
21
|
+
"./**/*.tsx",
|
|
22
|
+
"./**/*.vue",
|
|
23
|
+
"../**/*.ts",
|
|
24
|
+
"../**/*.tsx",
|
|
25
|
+
"../**/*.vue",
|
|
26
|
+
"../*.vue",
|
|
27
|
+
"../*.ts",
|
|
28
|
+
"../*.tsx"
|
|
29
|
+
]
|
|
19
30
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</svg>
|
|
46
46
|
<span class="sr-only">{{$t('Close modal')}}</span>
|
|
47
47
|
</button>
|
|
48
|
-
<IconShieldOutline class="w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
|
|
48
|
+
<IconShieldOutline class="af-2fa-shield-icon w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
|
|
49
49
|
<p class="text-4xl font-semibold mb-4 text:gray-900 dark:text-gray-200 ">{{$t('Passkey')}}</p>
|
|
50
50
|
<div class="mb-2 max-w-[300px] text:gray-900 dark:text-gray-200">
|
|
51
51
|
<p class="mb-2">{{customDialogTitle}} </p>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
{{$t('Use passkey')}}
|
|
56
56
|
</Button>
|
|
57
57
|
<div v-if="modalMode === 'passkey'" class="max-w-sm px-6 pt-3 w-full bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700">
|
|
58
|
-
<div class="mb-3 font-normal text-gray-700 dark:text-gray-400">
|
|
58
|
+
<div class="af-2fa-passkey-issues-card mb-3 font-normal text-gray-700 dark:text-gray-400">
|
|
59
59
|
<p>{{$t('Have issues with passkey?')}}</p>
|
|
60
60
|
<p class="underline hover:no-underline text-lightPrimary whitespace-nowrap hover:cursor-pointer" @click="modalMode = 'totp'" >{{$t('use TOTP')}}</p>
|
|
61
61
|
</div>
|
|
@@ -4,16 +4,27 @@
|
|
|
4
4
|
"paths": {
|
|
5
5
|
"@/*": [
|
|
6
6
|
// "node_modules/adminforth/dist/spa/src/*"
|
|
7
|
-
"../../../spa/src/*"
|
|
7
|
+
"../../../adminforth/spa/src/*"
|
|
8
8
|
],
|
|
9
9
|
"*": [
|
|
10
10
|
// "node_modules/adminforth/dist/spa/node_modules/*"
|
|
11
|
-
"../../../spa/node_modules/*"
|
|
11
|
+
"../../../adminforth/spa/node_modules/*"
|
|
12
12
|
],
|
|
13
13
|
"@@/*": [
|
|
14
14
|
// "node_modules/adminforth/dist/spa/src/*"
|
|
15
15
|
"."
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"include": [
|
|
20
|
+
"./**/*.ts",
|
|
21
|
+
"./**/*.tsx",
|
|
22
|
+
"./**/*.vue",
|
|
23
|
+
"../**/*.ts",
|
|
24
|
+
"../**/*.tsx",
|
|
25
|
+
"../**/*.vue",
|
|
26
|
+
"../*.vue",
|
|
27
|
+
"../*.ts",
|
|
28
|
+
"../*.tsx"
|
|
29
|
+
]
|
|
19
30
|
}
|