hl-core 0.0.8-beta.34 → 0.0.8-beta.36
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/api/index.ts +11 -1
- package/components/Button/Btn.vue +1 -1
- package/components/Button/ScrollButtons.vue +2 -2
- package/components/Complex/Page.vue +1 -1
- package/components/Dialog/Dialog.vue +3 -3
- package/components/Dialog/FamilyDialog.vue +7 -4
- package/components/Form/FormBlock.vue +10 -10
- package/components/Form/FormToggle.vue +2 -3
- package/components/Form/ManagerAttachment.vue +17 -17
- package/components/Form/ProductConditionsBlock.vue +8 -8
- package/components/Input/Datepicker.vue +1 -1
- package/components/Input/FileInput.vue +2 -2
- package/components/Input/FormInput.vue +3 -3
- package/components/Input/PanelInput.vue +1 -1
- package/components/Input/RoundedInput.vue +2 -2
- package/components/Input/RoundedSelect.vue +1 -1
- package/components/Layout/Drawer.vue +2 -2
- package/components/Layout/Loader.vue +1 -1
- package/components/Layout/SettingsPanel.vue +16 -10
- package/components/Menu/MenuHover.vue +1 -1
- package/components/Menu/MenuNav.vue +2 -3
- package/components/Menu/MenuNavItem.vue +1 -1
- package/components/Pages/Anketa.vue +13 -18
- package/components/Pages/Auth.vue +18 -25
- package/components/Pages/Documents.vue +3 -3
- package/components/Pages/InvoiceInfo.vue +4 -4
- package/components/Pages/MemberForm.vue +154 -151
- package/components/Pages/ProductAgreement.vue +4 -2
- package/components/Pages/ProductConditions.vue +117 -94
- package/components/Panel/PanelHandler.vue +22 -23
- package/components/Utilities/JsonViewer.vue +1 -1
- package/layouts/default.vue +3 -3
- package/locales/en.json +2 -1
- package/locales/kz.json +2 -1
- package/locales/ru.json +2 -1
- package/package.json +14 -1
- package/pages/500.vue +1 -1
- package/store/data.store.js +11 -1
|
@@ -14,49 +14,42 @@
|
|
|
14
14
|
</v-carousel-item>
|
|
15
15
|
</v-carousel>
|
|
16
16
|
</div>
|
|
17
|
-
<base-btn :text="$t('buttons.more')" :disabled="true" class="mb-28"
|
|
17
|
+
<base-btn :text="$dataStore.t('buttons.more')" :disabled="true" class="mb-28" />
|
|
18
18
|
</aside>
|
|
19
19
|
<section v-if="isLogin" class="w-full lg:w-3/4 flex flex-col justify-center">
|
|
20
20
|
<!-- @vue-ignore -->
|
|
21
21
|
<img :class="{ '!block': !$display().lgAndUp.value }" draggable="false" class="hidden w-2/4 sm:w-1/3 mb-10 self-center" src="~/assets/auth-logo.svg" />
|
|
22
22
|
<div class="flex flex-col items-center mb-8 text-center">
|
|
23
|
-
<h1 class="text-[28px] font-medium mb-1">{{ $t('labels.welcomeHL') }}</h1>
|
|
24
|
-
<span :class="[$libStyles.greyTextDark]" class="text-[16px]">{{ $t('labels.needAuth') }}</span>
|
|
23
|
+
<h1 class="text-[28px] font-medium mb-1">{{ $dataStore.t('labels.welcomeHL') }}</h1>
|
|
24
|
+
<span :class="[$libStyles.greyTextDark]" class="text-[16px]">{{ $dataStore.t('labels.needAuth') }}</span>
|
|
25
25
|
</div>
|
|
26
26
|
<v-form ref="vForm" class="w-2/3 lg:w-[25vw] self-center">
|
|
27
|
-
<base-rounded-input
|
|
28
|
-
class="mb-1"
|
|
29
|
-
v-model.trim="login"
|
|
30
|
-
:rules="$rules.required"
|
|
31
|
-
:loading="authLoading"
|
|
32
|
-
:placeholder="$t('buttons.userLogin')"
|
|
33
|
-
type="text"
|
|
34
|
-
></base-rounded-input>
|
|
27
|
+
<base-rounded-input class="mb-1" v-model.trim="login" :rules="$rules.required" :loading="authLoading" :placeholder="$dataStore.t('buttons.userLogin')" type="text" />
|
|
35
28
|
<base-rounded-input
|
|
36
29
|
class="mb-1"
|
|
37
30
|
v-model.trim="password"
|
|
38
31
|
:rules="$rules.required"
|
|
39
32
|
:loading="authLoading"
|
|
40
|
-
:placeholder="$t('buttons.password')"
|
|
33
|
+
:placeholder="$dataStore.t('buttons.password')"
|
|
41
34
|
:append-inner-icon="showPassword ? 'mdi-eye-outline' : 'mdi-eye-off-outline'"
|
|
42
35
|
@append="showPassword = !showPassword"
|
|
43
36
|
:type="showPassword ? ('' as InputTypes) : 'password'"
|
|
44
|
-
|
|
37
|
+
/>
|
|
45
38
|
<span v-if="$dataStore.isLKA" class="inline-block w-full text-end mb-4" :class="[$libStyles.textSimple, $libStyles.greyTextDark]" @click="isLogin = false">{{
|
|
46
|
-
$t('labels.resetPassword')
|
|
39
|
+
$dataStore.t('labels.resetPassword')
|
|
47
40
|
}}</span>
|
|
48
|
-
<base-btn :text="$t('buttons.login')" :disabled="authLoading" :btn="$libStyles.greenBtn" @click="submitAuthForm"
|
|
41
|
+
<base-btn :text="$dataStore.t('buttons.login')" :disabled="authLoading" :btn="$libStyles.greenBtn" @click="submitAuthForm" />
|
|
49
42
|
</v-form>
|
|
50
43
|
</section>
|
|
51
44
|
<section v-if="isLogin === false" class="w-full lg:w-3/4 flex flex-col justify-center items-center">
|
|
52
45
|
<div class="flex flex-col items-center mb-4">
|
|
53
|
-
<h1 class="text-[28px] font-medium mb-1">{{ $t('labels.resetPassword') }}</h1>
|
|
54
|
-
<span :class="[$libStyles.greyTextDark]" class="text-[16px]">{{ $t('labels.resetType') }}</span>
|
|
46
|
+
<h1 class="text-[28px] font-medium mb-1">{{ $dataStore.t('labels.resetPassword') }}</h1>
|
|
47
|
+
<span :class="[$libStyles.greyTextDark]" class="text-[16px]">{{ $dataStore.t('labels.resetType') }}</span>
|
|
55
48
|
</div>
|
|
56
49
|
<div class="p-[2px] mb-8 rounded-[12px] border-[1px] w-2/3 lg:w-[25vw]" :class="[$libStyles.whiteBg]">
|
|
57
50
|
<v-tabs v-model="resetPasswordType" density="compact" slider-color="#009c73" class="w-full base-reset-password rounded-[12px]" :class="[$libStyles.whiteBg]">
|
|
58
|
-
<v-tab :ripple="false" value="phone"> {{ $t('form.phoneNumber') }} </v-tab>
|
|
59
|
-
<v-tab :ripple="false" value="email"> {{ $t('form.email') }} </v-tab>
|
|
51
|
+
<v-tab :ripple="false" value="phone"> {{ $dataStore.t('form.phoneNumber') }} </v-tab>
|
|
52
|
+
<v-tab :ripple="false" value="email"> {{ $dataStore.t('form.email') }} </v-tab>
|
|
60
53
|
</v-tabs>
|
|
61
54
|
</div>
|
|
62
55
|
<v-form ref="vForm" class="w-2/3 lg:w-[25vw] self-center">
|
|
@@ -66,19 +59,19 @@
|
|
|
66
59
|
:maska="$maska.phone"
|
|
67
60
|
:rules="$rules.required.concat($rules.phoneFormat)"
|
|
68
61
|
:loading="authLoading"
|
|
69
|
-
:placeholder="$t('form.phoneNumber')"
|
|
62
|
+
:placeholder="$dataStore.t('form.phoneNumber')"
|
|
70
63
|
type="text"
|
|
71
|
-
|
|
64
|
+
/>
|
|
72
65
|
<base-rounded-input
|
|
73
66
|
v-if="resetPasswordType === 'email'"
|
|
74
67
|
v-model.trim="email"
|
|
75
68
|
:rules="$rules.required.concat($rules.email)"
|
|
76
69
|
:loading="authLoading"
|
|
77
|
-
:placeholder="$t('form.email')"
|
|
70
|
+
:placeholder="$dataStore.t('form.email')"
|
|
78
71
|
type="text"
|
|
79
|
-
|
|
80
|
-
<span class="inline-block w-full text-end mb-4" :class="[$libStyles.textSimple, $libStyles.greyTextDark]" @click="isLogin = true">{{ $t('buttons.login') }}</span>
|
|
81
|
-
<base-btn :text="$t('buttons.reset')" :disabled="authLoading" :btn="$libStyles.greenBtn" @click="submitAuthForm"
|
|
72
|
+
/>
|
|
73
|
+
<span class="inline-block w-full text-end mb-4" :class="[$libStyles.textSimple, $libStyles.greyTextDark]" @click="isLogin = true">{{ $dataStore.t('buttons.login') }}</span>
|
|
74
|
+
<base-btn :text="$dataStore.t('buttons.reset')" :disabled="authLoading" :btn="$libStyles.greenBtn" @click="submitAuthForm" />
|
|
82
75
|
</v-form>
|
|
83
76
|
</section>
|
|
84
77
|
</section>
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
</base-content-block>
|
|
16
16
|
</section>
|
|
17
|
-
<base-list-empty v-else
|
|
17
|
+
<base-list-empty v-else />
|
|
18
18
|
<Teleport v-if="$dataStore.panelAction === null" to="#panel-actions">
|
|
19
19
|
<base-fade-transition>
|
|
20
20
|
<div :class="[$libStyles.flexColNav]">
|
|
21
|
-
<base-btn :disabled="documentLoading" :loading="documentLoading" text="Открыть" @click="getFile('view')"
|
|
22
|
-
<base-btn :disabled="documentLoading" :loading="documentLoading" text="Скачать" @click="getFile('download')"
|
|
21
|
+
<base-btn :disabled="documentLoading" :loading="documentLoading" text="Открыть" @click="getFile('view')" />
|
|
22
|
+
<base-btn :disabled="documentLoading" :loading="documentLoading" text="Скачать" @click="getFile('download')" />
|
|
23
23
|
</div>
|
|
24
24
|
</base-fade-transition>
|
|
25
25
|
</Teleport>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="w-full px-[10px] pt-[14px] flex flex-col gap-4" :class="[$libStyles.scrollPage]" v-if="!!invoiceData">
|
|
3
|
-
<lazy-base-form-section :title="$t('labels.jsonObject')">
|
|
3
|
+
<lazy-base-form-section :title="$dataStore.t('labels.jsonObject')">
|
|
4
4
|
<template #icon>
|
|
5
|
-
<v-btn icon="mdi mdi-content-copy !text-[18px]" size="x-small" variant="plain" color="#A0B3D8" @click="$dataStore.copyToClipboard(JSON.stringify(invoiceData))"
|
|
5
|
+
<v-btn icon="mdi mdi-content-copy !text-[18px]" size="x-small" variant="plain" color="#A0B3D8" @click="$dataStore.copyToClipboard(JSON.stringify(invoiceData))" />
|
|
6
6
|
</template>
|
|
7
|
-
<lazy-base-json-viewer :data="invoiceData" class="bg-white p-4 rounded"
|
|
7
|
+
<lazy-base-json-viewer :data="invoiceData" class="bg-white p-4 rounded" />
|
|
8
8
|
</lazy-base-form-section>
|
|
9
|
-
<lazy-base-form-section v-if="invoiceData.paymentLink && invoiceData.status !== 1" :title="$t('labels.epayPage')" class="flex items-center">
|
|
9
|
+
<lazy-base-form-section v-if="invoiceData.paymentLink && invoiceData.status !== 1" :title="$dataStore.t('labels.epayPage')" class="flex items-center">
|
|
10
10
|
<div class="w-full lg:w-[70%] bg-white">
|
|
11
11
|
<iframe :src="invoiceData.paymentLink" frameborder="0" class="w-full h-[70vh]"></iframe>
|
|
12
12
|
</div>
|