adata-ui 4.0.32 → 4.0.34
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 +2 -4
- package/dist/runtime/components/pill-tabs/PillTabs.vue +5 -4
- package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +3 -2
- 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;
|
|
@@ -20,7 +20,7 @@ const emit = defineEmits(["goToAnotherModule", "search"]);
|
|
|
20
20
|
class="flex justify-between"
|
|
21
21
|
>
|
|
22
22
|
<div>
|
|
23
|
-
<slot name="burger"
|
|
23
|
+
<slot name="burger" />
|
|
24
24
|
</div>
|
|
25
25
|
<nuxt-link
|
|
26
26
|
class="text-deepblue dark:text-[#E3E5E8]"
|
|
@@ -31,9 +31,7 @@ const emit = defineEmits(["goToAnotherModule", "search"]);
|
|
|
31
31
|
filled
|
|
32
32
|
/>
|
|
33
33
|
</nuxt-link>
|
|
34
|
-
<div
|
|
35
|
-
|
|
36
|
-
</div>
|
|
34
|
+
<div />
|
|
37
35
|
</div>
|
|
38
36
|
<div
|
|
39
37
|
v-else-if="mobileHeaderType === 'search'"
|
|
@@ -13,7 +13,8 @@ const props = defineProps({
|
|
|
13
13
|
align: { type: String, required: false, default: "center" },
|
|
14
14
|
block: { type: Boolean, required: false, default: false },
|
|
15
15
|
wrapper: { type: String, required: false, default: "row" },
|
|
16
|
-
countView: { type: String, required: false, default: "badge" }
|
|
16
|
+
countView: { type: String, required: false, default: "badge" },
|
|
17
|
+
disabled: { type: Boolean, required: false }
|
|
17
18
|
});
|
|
18
19
|
const tabs = ref(null);
|
|
19
20
|
const activeTab = defineModel({ type: null, ...{ default: 1 } });
|
|
@@ -92,10 +93,10 @@ onMounted(() => {
|
|
|
92
93
|
class="scroll-container overflow-auto whitespace-nowrap"
|
|
93
94
|
:class="props.wrapper === 'row' ? 'flex gap-1' : 'flex flex-col gap-1'"
|
|
94
95
|
>
|
|
95
|
-
<
|
|
96
|
+
<button
|
|
96
97
|
v-for="option in options"
|
|
97
98
|
:key="option.key"
|
|
98
|
-
:disabled="option.disabled"
|
|
99
|
+
:disabled="option.disabled || disabled"
|
|
99
100
|
:data-active="activeTab === option.key"
|
|
100
101
|
:class="[
|
|
101
102
|
activeTab === option.key ? selectedClasses() : defaultClasses(!!option.disabled),
|
|
@@ -127,7 +128,7 @@ onMounted(() => {
|
|
|
127
128
|
</template>
|
|
128
129
|
</span>
|
|
129
130
|
</slot>
|
|
130
|
-
</
|
|
131
|
+
</button>
|
|
131
132
|
</div>
|
|
132
133
|
</template>
|
|
133
134
|
|
|
@@ -8,16 +8,17 @@ interface Props {
|
|
|
8
8
|
block?: boolean;
|
|
9
9
|
wrapper?: 'column' | 'row';
|
|
10
10
|
countView?: 'badge' | 'brackets';
|
|
11
|
+
disabled?: boolean;
|
|
11
12
|
}
|
|
12
13
|
type __VLS_Props = Props;
|
|
13
14
|
type __VLS_PublicProps = __VLS_Props & {
|
|
14
15
|
modelValue?: any;
|
|
15
16
|
};
|
|
16
|
-
declare var
|
|
17
|
+
declare var __VLS_1: {
|
|
17
18
|
option: any;
|
|
18
19
|
};
|
|
19
20
|
type __VLS_Slots = {} & {
|
|
20
|
-
option?: (props: typeof
|
|
21
|
+
option?: (props: typeof __VLS_1) => any;
|
|
21
22
|
};
|
|
22
23
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
23
24
|
size: "lg" | "sm" | "xs";
|