hl-core 0.0.9-beta.56 → 0.0.9-beta.58
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.
|
@@ -28,7 +28,7 @@ export default defineComponent({
|
|
|
28
28
|
},
|
|
29
29
|
bgColor: {
|
|
30
30
|
type: String,
|
|
31
|
-
default: import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' ? '#1B1918' : '#009c73',
|
|
31
|
+
default: import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT === 'lka-auletti' ? '#1B1918' : '#009c73',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="flex h-full" :class="$styles.blueBgLight">
|
|
3
|
-
<svg v-if="$dataStore.isAULETTI" class="absolute ml-8 mt-8" xmlns="http://www.w3.org/2000/svg" width="256" height="73" viewBox="0 0 256 73" fill="none">
|
|
3
|
+
<svg v-if="$dataStore.isAULETTI || $dataStore.isLKA_A" class="absolute ml-8 mt-8" xmlns="http://www.w3.org/2000/svg" width="256" height="73" viewBox="0 0 256 73" fill="none">
|
|
4
4
|
<path
|
|
5
5
|
fill-rule="evenodd"
|
|
6
6
|
clip-rule="evenodd"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</svg>
|
|
17
17
|
<!-- @vue-ignore -->
|
|
18
18
|
<aside
|
|
19
|
-
v-if="$dataStore.isAULETTI === false"
|
|
19
|
+
v-if="$dataStore.isAULETTI === false && $dataStore.isLKA_A === false"
|
|
20
20
|
:class="{ '!hidden': !$display().lgAndUp.value }"
|
|
21
21
|
class="w-full lg:w-1/4 bg-white flex flex-col justify-between border-r-2 relative px-8"
|
|
22
22
|
>
|
|
@@ -34,17 +34,19 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
<base-btn :text="$dataStore.t('buttons.more')" :disabled="true" class="mb-28" />
|
|
36
36
|
</aside>
|
|
37
|
-
<section v-if="isLogin" class="flex flex-col justify-center" :class="[$dataStore.isAULETTI === false ? 'w-full lg:w-3/4' : 'w-full']">
|
|
37
|
+
<section v-if="isLogin" class="flex flex-col justify-center" :class="[$dataStore.isAULETTI === false && $dataStore.isLKA_A === false ? 'w-full lg:w-3/4' : 'w-full']">
|
|
38
38
|
<!-- @vue-ignore -->
|
|
39
39
|
<img
|
|
40
|
-
v-if="$dataStore.isAULETTI === false"
|
|
40
|
+
v-if="$dataStore.isAULETTI === false && $dataStore.isLKA_A === false"
|
|
41
41
|
:class="{ '!block': !$display().lgAndUp.value }"
|
|
42
42
|
draggable="false"
|
|
43
43
|
class="hidden w-2/4 sm:w-1/3 mb-10 self-center"
|
|
44
44
|
src="~/assets/auth-logo.svg"
|
|
45
45
|
/>
|
|
46
46
|
<div class="flex flex-col items-center mb-8 text-center">
|
|
47
|
-
<h1 class="text-[28px] font-medium mb-1">
|
|
47
|
+
<h1 class="text-[28px] font-medium mb-1">
|
|
48
|
+
{{ $dataStore.isAULETTI === false && $dataStore.isLKA_A === false ? $dataStore.t('labels.welcomeHL') : $dataStore.t('labels.welcomeAuletti') }}
|
|
49
|
+
</h1>
|
|
48
50
|
<span :class="[$styles.greyTextDark]" class="text-[16px]">{{ $dataStore.t('labels.needAuth') }}</span>
|
|
49
51
|
</div>
|
|
50
52
|
<v-form ref="vForm" class="w-2/3 lg:w-[25vw] self-center">
|
|
@@ -74,7 +76,11 @@
|
|
|
74
76
|
<base-btn :text="$dataStore.t('buttons.login')" :disabled="authLoading" :btn="$styles.greenBtn" @click="submitAuthForm" />
|
|
75
77
|
</v-form>
|
|
76
78
|
</section>
|
|
77
|
-
<section
|
|
79
|
+
<section
|
|
80
|
+
v-if="isLogin === false"
|
|
81
|
+
class="flex flex-col justify-center items-center"
|
|
82
|
+
:class="[$dataStore.isAULETTI === false && $dataStore.isLKA_A === false ? 'w-full lg:w-3/4' : 'w-full']"
|
|
83
|
+
>
|
|
78
84
|
<div class="flex flex-col items-center mb-4">
|
|
79
85
|
<h1 class="text-[28px] font-medium mb-1">{{ $dataStore.t('labels.resetPassword') }}</h1>
|
|
80
86
|
<span :class="[$styles.greyTextDark]" class="text-[16px]">{{ $dataStore.t('labels.resetType') }}</span>
|
|
@@ -83,7 +89,7 @@
|
|
|
83
89
|
<v-tabs
|
|
84
90
|
v-model="resetPasswordType"
|
|
85
91
|
density="compact"
|
|
86
|
-
:slider-color="$dataStore.isAULETTI || $dataStore.isAulettiParent ? '#DEBE8C' : '#009c73'"
|
|
92
|
+
:slider-color="$dataStore.isAULETTI || $dataStore.isAulettiParent || $dataStore.isLKA_A ? '#DEBE8C' : '#009c73'"
|
|
87
93
|
class="w-full base-reset-password rounded-[12px]"
|
|
88
94
|
:class="[$styles.whiteBg]"
|
|
89
95
|
>
|
package/composables/styles.ts
CHANGED
|
@@ -15,12 +15,12 @@ export class Styles {
|
|
|
15
15
|
blueTextLight: string = 'text-[#F3F6FC]';
|
|
16
16
|
|
|
17
17
|
// Green
|
|
18
|
-
greenBg: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' ? 'bg-[#DEBE8C]' : 'bg-[#009C73]';
|
|
19
|
-
greenBgHover: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' ? 'bg-[#C19B5F]' : 'hover:bg-[#00a277]';
|
|
20
|
-
greenBgLight: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' ? 'bg-[#e8d2af]' : 'bg-[#EAF6EF]';
|
|
18
|
+
greenBg: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT === 'lka-auletti' ? 'bg-[#DEBE8C]' : 'bg-[#009C73]';
|
|
19
|
+
greenBgHover: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT === 'lka-auletti' ? 'bg-[#C19B5F]' : 'hover:bg-[#00a277]';
|
|
20
|
+
greenBgLight: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT === 'lka-auletti' ? 'bg-[#e8d2af]' : 'bg-[#EAF6EF]';
|
|
21
21
|
greenText: string ='!text-[#009C73]';
|
|
22
22
|
greenTextHover: string ='hover:text-[#009C73]';
|
|
23
|
-
greenBgLightHover: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' ? 'hover:bg-[#efdfc6]' : 'hover:bg-[#dbf0e4]';
|
|
23
|
+
greenBgLightHover: string = import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT === 'lka-auletti' ? 'hover:bg-[#efdfc6]' : 'hover:bg-[#dbf0e4]';
|
|
24
24
|
|
|
25
25
|
// Yellow
|
|
26
26
|
yellowText: string = '!text-[#FAB31C]';
|
|
@@ -53,7 +53,7 @@ export class Styles {
|
|
|
53
53
|
blueBorder: string = 'border-[1px] border-[#A0B3D8]';
|
|
54
54
|
blueLightBorder: string = 'border-[1px] border-[#F3F6FC]';
|
|
55
55
|
greenBorder: string =
|
|
56
|
-
import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' ? 'border-[1px] border-[#DEBE8C]' : 'border-[1px] border-[#009C73]';
|
|
56
|
+
import.meta.env.VITE_PRODUCT === 'auletti' || import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT === 'lka-auletti' ? 'border-[1px] border-[#DEBE8C]' : 'border-[1px] border-[#009C73]';
|
|
57
57
|
redBorder: string = 'border-[1px] border-[#FD2D39]';
|
|
58
58
|
yellowBorder: string = 'border-[1px] border-[#FAB31C]';
|
|
59
59
|
|