adata-ui 0.1.42 → 0.1.43
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/adata-ui.common.js +43 -21
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.umd.js +43 -21
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Header/Profile.vue +9 -9
- package/src/configs/profileDropDown.js +33 -11
package/package.json
CHANGED
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
<div v-for="(elem, index) in listDropDown" :key="index">
|
|
51
51
|
<div :class="elem.link ? 'profile-menu__balance-link': 'profile-menu__links'"
|
|
52
52
|
class="gray-text"
|
|
53
|
-
v-if="elem
|
|
54
|
-
@click="handleClick(elem
|
|
53
|
+
v-if="elem[mode]"
|
|
54
|
+
@click="handleClick(elem[mode], elem.name)"
|
|
55
55
|
>
|
|
56
56
|
<div>
|
|
57
57
|
{{ elem.name }}
|
|
58
58
|
</div>
|
|
59
59
|
<span
|
|
60
60
|
v-if="elem.link"
|
|
61
|
-
@click="showModal(elem
|
|
61
|
+
@click="showModal(elem[mode], elem.name)"
|
|
62
62
|
class="profile-menu__balance"
|
|
63
63
|
>
|
|
64
64
|
{{ elem.link }}
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
<div
|
|
80
80
|
class="profile-menu__item__child"
|
|
81
81
|
:key="idx + 'link'"
|
|
82
|
-
v-if="child
|
|
83
|
-
@click="handleClick(child
|
|
82
|
+
v-if="child[mode]"
|
|
83
|
+
@click="handleClick(child[mode], child.name)"
|
|
84
84
|
>
|
|
85
85
|
<span>
|
|
86
86
|
<svg width="4" height="4" viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
<div class="profile-menu-mobile__items" v-if="listDropDown.length > 0">
|
|
123
123
|
<div v-for="(elem, index) in listDropDown" :key="index" class="bb">
|
|
124
124
|
<div
|
|
125
|
-
@click="handleClick(elem
|
|
126
|
-
v-if="elem
|
|
125
|
+
@click="handleClick(elem[mode], elem.name)"
|
|
126
|
+
v-if="elem[mode]"
|
|
127
127
|
:class="elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links'"
|
|
128
128
|
>
|
|
129
129
|
<div v-if="!elem.link" class="button-inner">
|
|
@@ -201,8 +201,8 @@
|
|
|
201
201
|
<div class="profile-menu-mobile__inner">
|
|
202
202
|
<div class="profile-menu-mobile__items" v-if="chosenElem.children.length > 0">
|
|
203
203
|
<div v-for="(elem, index) in chosenElem.children" :key="index" class="bb">
|
|
204
|
-
<div @click="handleClick(elem
|
|
205
|
-
v-if="elem
|
|
204
|
+
<div @click="handleClick(elem[mode], elem.name)"
|
|
205
|
+
v-if="elem[mode]"
|
|
206
206
|
:class="elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links'">
|
|
207
207
|
<div class="button-inner">
|
|
208
208
|
<div>{{ elem.name }}</div>
|
|
@@ -2,21 +2,27 @@ export const profileDropDown = [
|
|
|
2
2
|
{
|
|
3
3
|
id: 1,
|
|
4
4
|
name: "Общие настройки",
|
|
5
|
-
|
|
5
|
+
dev: "https://adtdev.kz/profile?tab=general",
|
|
6
|
+
staging: "https://adada.kz/profile?tab=general",
|
|
7
|
+
prod: "https://adata.kz/profile?tab=general",
|
|
6
8
|
disabled: false,
|
|
7
9
|
withoutArray: true
|
|
8
10
|
},
|
|
9
11
|
{
|
|
10
12
|
id: 2,
|
|
11
13
|
name: "Увеличить лимит запросов",
|
|
12
|
-
|
|
14
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
15
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
16
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
13
17
|
disabled: false,
|
|
14
18
|
withoutArray: true
|
|
15
19
|
},
|
|
16
20
|
{
|
|
17
21
|
id: 3,
|
|
18
22
|
name: "Текущий баланс: 0 ₸",
|
|
19
|
-
|
|
23
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
24
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
25
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
20
26
|
link: "Пополнить",
|
|
21
27
|
disabled: true,
|
|
22
28
|
withoutArray: true
|
|
@@ -24,7 +30,9 @@ export const profileDropDown = [
|
|
|
24
30
|
{
|
|
25
31
|
id: 4,
|
|
26
32
|
name: "Историй платежей",
|
|
27
|
-
|
|
33
|
+
dev: "https://adtdev.kz/profile?tab=payments",
|
|
34
|
+
staging: "https://adada.kz/profile?tab=payments",
|
|
35
|
+
prod: "https://adata.kz/profile?tab=payments",
|
|
28
36
|
disabled: false,
|
|
29
37
|
withoutArray: true
|
|
30
38
|
},
|
|
@@ -36,12 +44,16 @@ export const profileDropDown = [
|
|
|
36
44
|
{
|
|
37
45
|
id: 8,
|
|
38
46
|
name: "Избранные",
|
|
39
|
-
|
|
47
|
+
dev: "https://pk.adtdev.kz/profile/favorites",
|
|
48
|
+
staging: "https://pk.adada.kz/profile/favorites",
|
|
49
|
+
prod: "https://pk.adata.kz/profile/favorites"
|
|
40
50
|
},
|
|
41
51
|
{
|
|
42
52
|
id: 9,
|
|
43
53
|
name: "История просмотров",
|
|
44
|
-
|
|
54
|
+
dev: "https://pk.adtdev.kz/profile/browsing-history",
|
|
55
|
+
staging: "https://pk.adada.kz/profile/browsing-history",
|
|
56
|
+
prod: "https://pk.adata.kz/profile/browsing-history"
|
|
45
57
|
}
|
|
46
58
|
],
|
|
47
59
|
disabled: false
|
|
@@ -54,7 +66,9 @@ export const profileDropDown = [
|
|
|
54
66
|
{
|
|
55
67
|
id: 10,
|
|
56
68
|
name: "Профиль",
|
|
57
|
-
|
|
69
|
+
dev: "https://work.adtdev.kz/profile/account",
|
|
70
|
+
staging: "https://work.adada.kz/profile/account",
|
|
71
|
+
prod: "https://work.adata.kz/profile/account"
|
|
58
72
|
},
|
|
59
73
|
// {
|
|
60
74
|
// id: 11,
|
|
@@ -64,12 +78,16 @@ export const profileDropDown = [
|
|
|
64
78
|
{
|
|
65
79
|
id: 12,
|
|
66
80
|
name: "Отклики",
|
|
67
|
-
|
|
81
|
+
dev: "https://work.adtdev.kz/profile/application",
|
|
82
|
+
staging: "https://work.adada.kz/profile/application",
|
|
83
|
+
prod: "https://work.adata.kz/profile/application",
|
|
68
84
|
},
|
|
69
85
|
{
|
|
70
86
|
id: 13,
|
|
71
87
|
name: "Предложения",
|
|
72
|
-
|
|
88
|
+
dev: "https://work.adtdev.kz/profile/offer",
|
|
89
|
+
staging: "https://work.adada.kz/profile/offer",
|
|
90
|
+
prod: "https://work.adata.kz/profile/offer"
|
|
73
91
|
}
|
|
74
92
|
],
|
|
75
93
|
disabled: false
|
|
@@ -82,12 +100,16 @@ export const profileDropDown = [
|
|
|
82
100
|
{
|
|
83
101
|
id: 17,
|
|
84
102
|
name: "Шаблоны поиска",
|
|
85
|
-
|
|
103
|
+
dev: "https://tender.adtdev.kz/profile/search-profile",
|
|
104
|
+
staging: "https://tender.adada.kz/profile/search-profile",
|
|
105
|
+
prod: "https://tender.adata.kz/profile/search-profile",
|
|
86
106
|
},
|
|
87
107
|
{
|
|
88
108
|
id: 17,
|
|
89
109
|
name: "Избранные",
|
|
90
|
-
|
|
110
|
+
dev: "https://tender.adtdev.kz/profile/favourites",
|
|
111
|
+
staging: "https://tender.adada.kz/profile/favourites",
|
|
112
|
+
prod: "https://tender.adata.kz/profile/favourites"
|
|
91
113
|
}
|
|
92
114
|
],
|
|
93
115
|
disabled: false
|