@sowell/quasar-app-extension-auth 1.4.2 → 1.4.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sowell/quasar-app-extension-auth",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "A Quasar app extension to manage Authentication",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": "https://github.com/sowell-ai/quasar.extension.auth",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"test": "test"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@capacitor/core": "^
|
|
43
|
+
"@capacitor/core": "^7.0.0",
|
|
44
|
+
"@capacitor/inappbrowser": "^2.3.1",
|
|
44
45
|
"@quasar/extras": "^1.15.2",
|
|
45
46
|
"axios": "^0.21.1",
|
|
46
47
|
"buffer": "^6.0.3",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
class="q-mb-sm"
|
|
23
23
|
style="font-size: 34px; font-weight: 600; line-height: 40px"
|
|
24
24
|
>
|
|
25
|
-
|
|
25
|
+
<span v-html="$t('auth.forgottenPassword').replace(/ (?!.* )/, ' ')" />
|
|
26
26
|
</div>
|
|
27
27
|
<div
|
|
28
28
|
class="text-subtitle1 q-mt-sm q-mb-lg"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<q-layout
|
|
3
3
|
class="column justify-start items-center q-pb-lg bg-white"
|
|
4
|
-
style="min-height:
|
|
4
|
+
style="min-height: 90vh; max-width: 100vw; overflow-x: hidden">
|
|
5
5
|
<div class="background-logo-container">
|
|
6
6
|
<img
|
|
7
7
|
src="../../assets/Background-logo.svg"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
type="email"
|
|
29
29
|
borderless
|
|
30
30
|
:rules="validations['email']"
|
|
31
|
-
placeholder="
|
|
31
|
+
placeholder="yourname@gmail.com"
|
|
32
32
|
lazy-rules
|
|
33
33
|
class="q-px-none q-mt-sm"
|
|
34
34
|
:class="{ 'input-error': errorEmailMessage }"
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
v-model="password"
|
|
48
48
|
:type="showPassword ? 'text' : 'password'"
|
|
49
49
|
:rules="validations['password']"
|
|
50
|
-
placeholder="********"
|
|
51
50
|
lazy-rules
|
|
52
51
|
borderless
|
|
53
52
|
class="q-px-none q-mt-sm"
|
|
@@ -88,7 +87,11 @@
|
|
|
88
87
|
</div>
|
|
89
88
|
<div
|
|
90
89
|
class="forgot-password-link self-start"
|
|
91
|
-
style="
|
|
90
|
+
style="
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
margin: 12px 0;
|
|
93
|
+
text-decoration: underline;
|
|
94
|
+
"
|
|
92
95
|
@click="forgottenPassword = true"
|
|
93
96
|
data-testid="ask-password-change-btn"
|
|
94
97
|
data-cy="forgot-password">
|
|
@@ -174,10 +177,16 @@
|
|
|
174
177
|
</q-dialog>
|
|
175
178
|
</div>
|
|
176
179
|
</div>
|
|
177
|
-
<div
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
<div
|
|
181
|
+
class="row justify-between full-width items-center q-px-md q-mt-auto absolute-bottom">
|
|
182
|
+
<q-btn
|
|
183
|
+
flat
|
|
184
|
+
no-caps
|
|
185
|
+
class="footer-text q-px-none"
|
|
186
|
+
:ripple="false"
|
|
187
|
+
@click="goToPrivacyPolicy"
|
|
188
|
+
:label="$t('common.privacyPolicy')"
|
|
189
|
+
style="text-decoration: underline" />
|
|
181
190
|
<div class="row justify-end footer-text">
|
|
182
191
|
{{ `VERSION ${appVersion.versionNumber}` }}
|
|
183
192
|
</div>
|
|
@@ -187,6 +196,10 @@
|
|
|
187
196
|
|
|
188
197
|
<script lang="ts">
|
|
189
198
|
import { defineComponent, reactive, onMounted, computed } from "vue"
|
|
199
|
+
import {
|
|
200
|
+
InAppBrowser,
|
|
201
|
+
DefaultSystemBrowserOptions
|
|
202
|
+
} from "@capacitor/inappbrowser"
|
|
190
203
|
import * as packageInfo from "app/package.json"
|
|
191
204
|
import SendEmail from "../dialogs/SendEmail.vue"
|
|
192
205
|
import SowellMessage from "../dialogs/Message.vue"
|
|
@@ -262,8 +275,11 @@ export default defineComponent({
|
|
|
262
275
|
}
|
|
263
276
|
}
|
|
264
277
|
|
|
265
|
-
const goToPrivacyPolicy = () => {
|
|
266
|
-
|
|
278
|
+
const goToPrivacyPolicy = async () => {
|
|
279
|
+
await InAppBrowser.openInSystemBrowser({
|
|
280
|
+
url: "https://sowell.app/privacy-policy-sowell/",
|
|
281
|
+
options: DefaultSystemBrowserOptions
|
|
282
|
+
})
|
|
267
283
|
}
|
|
268
284
|
|
|
269
285
|
onMounted(() => {
|
|
@@ -327,7 +343,7 @@ export default defineComponent({
|
|
|
327
343
|
}
|
|
328
344
|
|
|
329
345
|
.sowell-logo {
|
|
330
|
-
padding:
|
|
346
|
+
padding: 34px 0 0 20px;
|
|
331
347
|
}
|
|
332
348
|
|
|
333
349
|
.title {
|
|
@@ -398,7 +414,7 @@ export default defineComponent({
|
|
|
398
414
|
}
|
|
399
415
|
|
|
400
416
|
.login-page .q-field--error .q-field__bottom {
|
|
401
|
-
color: #
|
|
417
|
+
color: #ef476f;
|
|
402
418
|
}
|
|
403
419
|
|
|
404
420
|
.login-page .q-field__bottom {
|
|
@@ -445,7 +461,8 @@ export default defineComponent({
|
|
|
445
461
|
padding: 12px 0 0 16px;
|
|
446
462
|
}
|
|
447
463
|
|
|
448
|
-
.login-page .input-container,
|
|
464
|
+
.login-page .input-container,
|
|
465
|
+
.login-page .button-container {
|
|
449
466
|
margin-left: 16px !important;
|
|
450
467
|
margin-right: 16px !important;
|
|
451
468
|
}
|
|
@@ -461,12 +478,12 @@ export default defineComponent({
|
|
|
461
478
|
.login-button div {
|
|
462
479
|
font-size: 14px !important;
|
|
463
480
|
}
|
|
464
|
-
|
|
481
|
+
|
|
465
482
|
.error_input {
|
|
466
483
|
min-height: 50px;
|
|
467
484
|
padding: 4px 12px;
|
|
468
485
|
}
|
|
469
|
-
|
|
486
|
+
|
|
470
487
|
.error-placeholder {
|
|
471
488
|
min-height: 25px;
|
|
472
489
|
}
|