adata-ui 4.0.31 → 4.0.33
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/dist/module.json +1 -1
- package/dist/runtime/components/Header.vue +10 -15
- package/dist/runtime/components/Header.vue.d.ts +6 -2
- package/dist/runtime/components/header-mobile/HeaderMobile.vue +5 -7
- package/dist/runtime/components/header-mobile/HeaderMobile.vue.d.ts +11 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -69,19 +69,11 @@ onBeforeMount(() => {
|
|
|
69
69
|
<header
|
|
70
70
|
class="relative h-16 border-b border-deepblue-900/10 bg-white dark:border-gray-200/10 dark:bg-gray-900"
|
|
71
71
|
>
|
|
72
|
-
<div class="a-container mobile-padding flex h-full
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
:lang-is-on="langIsOn"
|
|
78
|
-
:module="module"
|
|
79
|
-
@go-to-another-module="goToAnotherModule"
|
|
80
|
-
@search="emit('search')"
|
|
81
|
-
/>
|
|
82
|
-
|
|
83
|
-
<!-- Mobile hidden -->
|
|
84
|
-
<nav class="hidden items-center gap-4 lg:flex">
|
|
72
|
+
<div class="a-container mobile-padding flex h-full items-center justify-between gap-2">
|
|
73
|
+
<div class="flex items-center gap-4 justify-between lg:justify-start w-full">
|
|
74
|
+
<div class="lg:hidden">
|
|
75
|
+
<slot name="mobile-left"></slot>
|
|
76
|
+
</div>
|
|
85
77
|
<nuxt-link
|
|
86
78
|
aria-label="Adata-logo"
|
|
87
79
|
:to="`https://${mode}.kz`"
|
|
@@ -93,8 +85,11 @@ onBeforeMount(() => {
|
|
|
93
85
|
filled
|
|
94
86
|
/>
|
|
95
87
|
</nuxt-link>
|
|
96
|
-
<header-link />
|
|
97
|
-
|
|
88
|
+
<header-link class="hidden lg:block" />
|
|
89
|
+
<div class="lg:hidden">
|
|
90
|
+
<slot name="mobile-right"></slot>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
98
93
|
<div class="text-deepblue hidden items-center gap-4 dark:text-[#E3E5E8] lg:flex">
|
|
99
94
|
<!-- Mobile hidden -->
|
|
100
95
|
<div class="hidden items-center gap-4 lg:flex">
|
|
@@ -14,9 +14,13 @@ interface Props {
|
|
|
14
14
|
oldVersion?: string;
|
|
15
15
|
redirectAfterLogin?: string;
|
|
16
16
|
}
|
|
17
|
-
declare var
|
|
17
|
+
declare var __VLS_4: {}, __VLS_20: {}, __VLS_25: {};
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
19
|
-
|
|
19
|
+
'mobile-left'?: (props: typeof __VLS_4) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'mobile-right'?: (props: typeof __VLS_20) => any;
|
|
22
|
+
} & {
|
|
23
|
+
notifications?: (props: typeof __VLS_25) => any;
|
|
20
24
|
};
|
|
21
25
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
22
26
|
daysRemaining: number;
|
|
@@ -17,8 +17,11 @@ const emit = defineEmits(["goToAnotherModule", "search"]);
|
|
|
17
17
|
>
|
|
18
18
|
<div
|
|
19
19
|
v-if="mobileHeaderType === 'default'"
|
|
20
|
-
class="flex justify-
|
|
20
|
+
class="flex justify-between"
|
|
21
21
|
>
|
|
22
|
+
<div>
|
|
23
|
+
<slot name="burger" />
|
|
24
|
+
</div>
|
|
22
25
|
<nuxt-link
|
|
23
26
|
class="text-deepblue dark:text-[#E3E5E8]"
|
|
24
27
|
@click="emit('goToAnotherModule')"
|
|
@@ -28,6 +31,7 @@ const emit = defineEmits(["goToAnotherModule", "search"]);
|
|
|
28
31
|
filled
|
|
29
32
|
/>
|
|
30
33
|
</nuxt-link>
|
|
34
|
+
<div />
|
|
31
35
|
</div>
|
|
32
36
|
<div
|
|
33
37
|
v-else-if="mobileHeaderType === 'search'"
|
|
@@ -46,10 +50,4 @@ const emit = defineEmits(["goToAnotherModule", "search"]);
|
|
|
46
50
|
</button>
|
|
47
51
|
</div>
|
|
48
52
|
</section>
|
|
49
|
-
<div class="lg:hidden">
|
|
50
|
-
<div
|
|
51
|
-
v-if="langIsOn || module === 'fea'"
|
|
52
|
-
class="lg:hidden"
|
|
53
|
-
/>
|
|
54
|
-
</div>
|
|
55
53
|
</template>
|
|
@@ -3,5 +3,15 @@ type __VLS_Props = {
|
|
|
3
3
|
langIsOn: boolean;
|
|
4
4
|
module: string;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
burger?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
12
|
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|