adata-ui 0.3.91 → 3.0.0

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.
Files changed (106) hide show
  1. package/README.md +84 -7
  2. package/dist/module.d.mts +8 -0
  3. package/dist/module.json +9 -0
  4. package/dist/module.mjs +16 -0
  5. package/dist/runtime/plugin.d.ts +2 -0
  6. package/dist/runtime/plugin.js +4 -0
  7. package/dist/runtime/server/tsconfig.json +3 -0
  8. package/dist/types.d.mts +3 -0
  9. package/package.json +55 -76
  10. package/babel.config.js +0 -5
  11. package/dist/adata-ui.common.js +0 -10489
  12. package/dist/adata-ui.common.js.map +0 -1
  13. package/dist/adata-ui.css +0 -1
  14. package/dist/adata-ui.umd.js +0 -10499
  15. package/dist/adata-ui.umd.js.map +0 -1
  16. package/dist/adata-ui.umd.min.js +0 -7
  17. package/dist/adata-ui.umd.min.js.map +0 -1
  18. package/dist/demo.html +0 -10
  19. package/dist/img/facebook.797d820f.svg +0 -4
  20. package/dist/img/instagram.8a77381c.svg +0 -6
  21. package/dist/img/logo-desktop-main.4d169395.svg +0 -8
  22. package/dist/img/logo-mobile-main.397bce24.svg +0 -4
  23. package/dist/img/logo-white-desktop.7d0e3481.svg +0 -8
  24. package/dist/img/telegram.be0d1008.svg +0 -4
  25. package/dist/img/tiktok.eaeb39cb.svg +0 -4
  26. package/dist/img/up-down.e2b28f72.svg +0 -3
  27. package/dist/img/youtube.125aace6.svg +0 -5
  28. package/package-lock.json +0 -27138
  29. package/public/favicon.ico +0 -0
  30. package/public/index.html +0 -17
  31. package/public/logo.svg +0 -4
  32. package/src/App.vue +0 -28
  33. package/src/assets/_text_field.scss +0 -225
  34. package/src/assets/facebook.svg +0 -4
  35. package/src/assets/instagram.svg +0 -6
  36. package/src/assets/logo-desktop-main.svg +0 -8
  37. package/src/assets/logo-desktop.svg +0 -9
  38. package/src/assets/logo-desktop.webp +0 -0
  39. package/src/assets/logo-mobile-main.svg +0 -4
  40. package/src/assets/logo-mobile.svg +0 -9
  41. package/src/assets/logo-mobile.webp +0 -0
  42. package/src/assets/logo-white-desktop.svg +0 -8
  43. package/src/assets/style.scss +0 -1
  44. package/src/assets/telegram.svg +0 -4
  45. package/src/assets/tiktok.svg +0 -4
  46. package/src/assets/up-down.svg +0 -3
  47. package/src/assets/youtube.svg +0 -5
  48. package/src/components/Alert/Alert.stories.js +0 -17
  49. package/src/components/Alert/Alert.vue +0 -63
  50. package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +0 -160
  51. package/src/components/BottomNavigationBar/BottomNavigationBar.stories.js +0 -25
  52. package/src/components/Button/AButton.vue +0 -231
  53. package/src/components/Button/Button.stories.js +0 -23
  54. package/src/components/Checkbox/ACheckbox.vue +0 -114
  55. package/src/components/Checkbox/Checkbox.stories.js +0 -15
  56. package/src/components/CheckboxMenu/CheckboxMenu.stories.js +0 -24
  57. package/src/components/CheckboxMenu/CheckboxMenu.vue +0 -108
  58. package/src/components/ErrorPages/BadGateway.vue +0 -224
  59. package/src/components/ErrorPages/Forbidden.vue +0 -468
  60. package/src/components/ErrorPages/InternalServerError.vue +0 -275
  61. package/src/components/ErrorPages/NotFound.vue +0 -995
  62. package/src/components/ErrorPages/Unavailable.vue +0 -3705
  63. package/src/components/Footer/Footer.stories.js +0 -20
  64. package/src/components/Footer/Footer.vue +0 -292
  65. package/src/components/Header/ChildLinks.vue +0 -144
  66. package/src/components/Header/Header.stories.js +0 -56
  67. package/src/components/Header/Header.vue +0 -1308
  68. package/src/components/Header/InfoHeader.vue +0 -319
  69. package/src/components/Header/Profile.vue +0 -670
  70. package/src/components/Header/ProfileMenu.vue +0 -293
  71. package/src/components/Header/ProfileMobile.vue +0 -308
  72. package/src/components/Header/ProfileOld.vue +0 -781
  73. package/src/components/InternalServerError/InternalServerError.stories.js +0 -17
  74. package/src/components/InternalServerError/InternalServerError.vue +0 -262
  75. package/src/components/Introduction.stories.mdx +0 -7
  76. package/src/components/Loader/Loader.stories.js +0 -25
  77. package/src/components/Loader/Loader.vue +0 -325
  78. package/src/components/MailTo/MailTo.stories.js +0 -15
  79. package/src/components/MailTo/MailTo.vue +0 -258
  80. package/src/components/NavIcon/ANavIcon.vue +0 -50
  81. package/src/components/NavIcon/NavIcon.stories.js +0 -15
  82. package/src/components/PasswordField/PasswordField.stories.js +0 -16
  83. package/src/components/PasswordField/PasswordField.vue +0 -77
  84. package/src/components/SearchTextField/SearchTextField.stories.js +0 -78
  85. package/src/components/SearchTextField/SearchTextField.vue +0 -230
  86. package/src/components/ServiceSlider/AServiceSlider.vue +0 -793
  87. package/src/components/ServiceSlider/ServiceSlider.stories.js +0 -20
  88. package/src/components/Table/ATable.vue +0 -117
  89. package/src/components/Table/Table.stories.js +0 -15
  90. package/src/components/TextArea/TextArea.stories.js +0 -17
  91. package/src/components/TextArea/TextArea.vue +0 -116
  92. package/src/components/TextError/TextError.stories.js +0 -15
  93. package/src/components/TextError/TextError.vue +0 -57
  94. package/src/components/TextField/TextField.stories.js +0 -17
  95. package/src/components/TextField/TextField.vue +0 -107
  96. package/src/components/index.js +0 -54
  97. package/src/components/newComponents/FooterNew/FooterBottom.vue +0 -153
  98. package/src/components/newComponents/FooterNew/FooterItem.vue +0 -114
  99. package/src/components/newComponents/FooterNew/FooterNew.stories.js +0 -20
  100. package/src/components/newComponents/FooterNew/FooterNew.vue +0 -39
  101. package/src/components/newComponents/FooterNew/FooterTop.vue +0 -321
  102. package/src/components/transitions/SlideToggle.vue +0 -55
  103. package/src/components/transitions/VerticalMobileToggle.vue +0 -75
  104. package/src/configs/icons.js +0 -112
  105. package/src/configs/profileDropDown.js +0 -134
  106. package/src/main.js +0 -12
@@ -1,1308 +0,0 @@
1
- <template>
2
- <header :class="{ sticky: isSticky }">
3
- <div class="version">
4
- <a :href="newVersion[mode]" target='_blank'>Перейти на новую версию сайта</a>
5
- </div>
6
- <InfoHeader
7
- :weather="weather"
8
- :currencies="currencies"
9
- :system-message="systemMessage"
10
- :requestCount="requestCount"
11
- :daysRemaining="daysRemaining"
12
- :is-open-notification="isOpenNotification"
13
- :is-authenticated="isAuthenticated"
14
- @closeNotification="closeNotification"
15
- />
16
- <div class="header" :class="{ bordered: isBordered }">
17
- <div class="container">
18
- <div class="header__left">
19
- <a
20
- class="logo"
21
- :href="main[mode]"
22
- onclick="return false;"
23
- @click="goToAnotherModule(main[mode])"
24
- >
25
-
26
- <span class="logo-desktop">
27
- </span>
28
- <span class="logo-mobile">
29
- </span>
30
- </a>
31
- <div class="menu" v-show="headerItems.length > 0">
32
- <div
33
- class="menu__item"
34
- v-for="(item, index) in headerItems"
35
- :key="index">
36
- <a
37
- class="menu__wrapper menu__items"
38
- :class="{ active: item.key === activeTabKey }"
39
- :href="item[mode]"
40
- @click="goToAnotherModule(item[mode])"
41
- onclick="return false;"
42
- >
43
- {{ item.name }}
44
- </a>
45
- <child-links v-if="item.children.length" class="menu__sublinks" :links="item" :module="activeTabKey" :mode="mode" />
46
- </div>
47
- </div>
48
- <div class="mobile-search">
49
- <div v-show="hasSearchField" @click="$emit('search')" class="search-input">
50
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
51
- <path d="M14 13.9995L10.5967 10.596" stroke="#2C3E50" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
52
- <circle cx="7" cy="7" r="5" stroke="#2C3E50" stroke-linecap="round" stroke-linejoin="round"/>
53
- </svg>
54
- Найти
55
- </div>
56
- </div>
57
- </div>
58
- <div class="header__right" v-show="!noAuth">
59
- <Profile
60
- :mode="mode"
61
- :activeTabKey="activeTabKey"
62
- :isAuthenticated="isAuthenticated"
63
- :email="email"
64
- :loginUrl="loginUrl"
65
- :rate="rate"
66
- :balance="this.thousandSeparator(balance)"
67
- :tab="tab"
68
- @showBalanceModal="
69
- (val) => {
70
- $emit('showBalanceModal', val);
71
- }
72
- "
73
- @setShowModal="
74
- (val) => {
75
- $emit('setShowModal', val);
76
- }
77
- "
78
- @logout="$emit('logout')"
79
- @setIsReplenishModal="
80
- (val) => {
81
- $emit('setIsReplenishModal', val);
82
- }
83
- "
84
- />
85
- </div>
86
- </div>
87
- <MobileToggle v-slot="{ animationClass }">
88
- <div
89
- class="menu_mobile"
90
- :class="animationClass"
91
- v-show="headerItems.length > 0 && isOpen"
92
- >
93
- <div class="empty-space" @click="changeValue"></div>
94
- <div class="menu-wrapper">
95
- <div class="menu-wrapper__top">
96
- <div class="mobile-table-head">
97
- <button
98
- @click.prevent="goAuth"
99
- class="sign"
100
- v-if="!isAuthenticated"
101
- >
102
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
103
- <path d="M13.5 15L16.5 11.9189L13.6154 9" stroke="#007AFF" stroke-miterlimit="10"
104
- stroke-linecap="round" stroke-linejoin="round"/>
105
- <path d="M9 7.125V4.5H19.5V19.5H9V17.4375" stroke="#007AFF" stroke-miterlimit="10"
106
- stroke-linecap="round" stroke-linejoin="round"/>
107
- <path d="M16 12H4" stroke="#007AFF" stroke-miterlimit="10" stroke-linecap="round"
108
- stroke-linejoin="round"/>
109
- </svg>
110
- <span>Войти</span>
111
- </button>
112
- <div v-else class="menu-wrapper__top-left">
113
- <div class="text-wrapper">
114
- <p>{{ email }}
115
- <span @click.stop="changeValue">
116
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
117
- <path d="M1.99902 1.99957L13.9996 14.0002" stroke="#2C3E50" stroke-linecap="round"/>
118
- <path d="M14 1.99957L1.9994 14.0002" stroke="#2C3E50" stroke-linecap="round"/>
119
- </svg>
120
- </span>
121
- </p>
122
- <p>Тариф {{ rate }}
123
- <span @click.stop.prevent="isActiveMenu = true">
124
- Перейти
125
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
126
- <rect width="24" height="24" rx="12" transform="matrix(-1 0 0 1 24 0)" fill="#007AFF" fill-opacity="0.12"/>
127
- <path d="M14.0005 8.00311L18.0005 12.0096L14.0005 16.0031" stroke="#007AFF" stroke-width="1.2" stroke-miterlimit="10"
128
- stroke-linecap="round" stroke-linejoin="round"/>
129
- <path d="M18 12L6 12" stroke="#007AFF" stroke-width="1.2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
130
- </svg>
131
- </span>
132
- </p>
133
- </div>
134
- </div>
135
- <div v-if="!isAuthenticated" class="menu-wrapper__top-right" @click.stop="changeValue">
136
- <svg
137
- width="18"
138
- height="18"
139
- fill="none"
140
- xmlns="http://www.w3.org/2000/svg"
141
- viewBox="0 0 24 24"
142
- >
143
- <path
144
- fill-rule="evenodd"
145
- clip-rule="evenodd"
146
- d="M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z"
147
- fill="#2C3E50"
148
- ></path>
149
- <path
150
- fill-rule="evenodd"
151
- clip-rule="evenodd"
152
- d="M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z"
153
- fill="#2C3E50"
154
- ></path>
155
- </svg>
156
- </div>
157
- </div>
158
- <div class="menu__link">
159
- <a
160
- v-for="(item, index) in headerItems"
161
- :key="index"
162
- class="menu_mobile-wrapper"
163
- :class="{ 'active-burger-tab': item.key === activeTabKey }"
164
- :href="item[mode]"
165
- >
166
- {{ item.name }}
167
- </a>
168
- </div>
169
- </div>
170
- <div class="menu-wrapper__bottom">
171
- <div class="menu-wrapper__bottom-header">
172
- <span>Валюта</span>
173
- <span>Покупка</span>
174
- <span>Продажа</span>
175
- </div>
176
- <div class="menu-wrapper__bottom-body">
177
- <div v-for="(currency, index) in currencies" :key="index" class="menu-wrapper__bottom-row">
178
- <div class="menu-wrapper__bottom-column">
179
- <svg v-if="currency.currency === 'USD'" width="16" height="17" viewBox="0 0 16 17" fill="none"
180
- xmlns="http://www.w3.org/2000/svg">
181
- <g clip-path="url(#clip0_179_1917)">
182
- <path d="M26.4 0.5H-4V16.5H26.4V0.5Z" fill="white"/>
183
- <path d="M26.4 0.5H-4V1.732H26.4V0.5Z" fill="#B22234"/>
184
- <path d="M26.4 2.95996H-4V4.19196H26.4V2.95996Z" fill="#B22234"/>
185
- <path d="M26.4 5.42407H-4V6.65607H26.4V5.42407Z" fill="#B22234"/>
186
- <path d="M26.4 7.88403H-4V9.11603H26.4V7.88403Z" fill="#B22234"/>
187
- <path d="M26.4 10.3479H-4V11.5799H26.4V10.3479Z" fill="#B22234"/>
188
- <path d="M26.4 12.8081H-4V14.0401H26.4V12.8081Z" fill="#B22234"/>
189
- <path d="M26.4 15.2681H-4V16.5001H26.4V15.2681Z" fill="#B22234"/>
190
- <path d="M8.16 0.5H-4V9.116H8.16V0.5Z" fill="#3C3B6E"/>
191
- <path
192
- d="M0.603882 1.20011L0.891882 1.40811L0.783882 1.75211L1.07188 1.54011L1.35988 1.75211L1.25188 1.40811L1.53988 1.20011H1.18388L1.07188 0.860107L0.959882 1.20011H0.603882Z"
193
- fill="white"/>
194
- <path
195
- d="M2.61987 1.20011L2.90787 1.40811L2.79987 1.75211L3.08787 1.54011L3.37587 1.75211L3.26787 1.40811L3.55587 1.20011H3.19987L3.08787 0.860107L2.97587 1.20011H2.61987Z"
196
- fill="white"/>
197
- <path
198
- d="M4.63599 1.20011L4.92399 1.40811L4.81599 1.75211L5.10399 1.54011L5.39199 1.75211L5.28399 1.40811L5.57199 1.20011H5.21599L5.10399 0.860107L4.99199 1.20011H4.63599Z"
199
- fill="white"/>
200
- <path
201
- d="M6.65198 1.20011L6.93998 1.40811L6.83198 1.75211L7.11998 1.54011L7.40798 1.75211L7.29998 1.40811L7.58798 1.20011H7.23198L7.11998 0.860107L7.00798 1.20011H6.65198Z"
202
- fill="white"/>
203
- <path
204
- d="M-0.403931 2.06412L-0.115931 2.27212L-0.223931 2.61612L0.0640694 2.40412L0.352069 2.61612L0.244069 2.27212L0.532069 2.06412H0.176069L0.0640694 1.72412L-0.0479305 2.06412H-0.403931Z"
205
- fill="white"/>
206
- <path
207
- d="M1.61206 2.06412L1.90006 2.27212L1.79206 2.61612L2.08006 2.40412L2.36806 2.61612L2.26006 2.27212L2.54806 2.06412H2.19206L2.08006 1.72412L1.96806 2.06412H1.61206Z"
208
- fill="white"/>
209
- <path
210
- d="M3.62817 2.06412L3.91617 2.27212L3.80817 2.61612L4.09617 2.40412L4.38417 2.61612L4.27617 2.27212L4.56417 2.06412H4.20817L4.09617 1.72412L3.98417 2.06412H3.62817Z"
211
- fill="white"/>
212
- <path
213
- d="M5.64417 2.06412L5.93216 2.27212L5.82416 2.61612L6.11216 2.40412L6.40016 2.61612L6.29216 2.27212L6.58016 2.06412H6.22416L6.11216 1.72412L6.00016 2.06412H5.64417Z"
214
- fill="white"/>
215
- <path
216
- d="M0.603882 2.92789L0.891882 3.13589L0.783882 3.47989L1.07188 3.26789L1.35988 3.47989L1.25188 3.13589L1.53988 2.92789H1.18388L1.07188 2.58789L0.959882 2.92789H0.603882Z"
217
- fill="white"/>
218
- <path
219
- d="M2.61987 2.92789L2.90787 3.13589L2.79987 3.47989L3.08787 3.26789L3.37587 3.47989L3.26787 3.13589L3.55587 2.92789H3.19987L3.08787 2.58789L2.97587 2.92789H2.61987Z"
220
- fill="white"/>
221
- <path
222
- d="M4.63599 2.92789L4.92399 3.13589L4.81599 3.47989L5.10399 3.26789L5.39199 3.47989L5.28399 3.13589L5.57199 2.92789H5.21599L5.10399 2.58789L4.99199 2.92789H4.63599Z"
223
- fill="white"/>
224
- <path
225
- d="M6.65198 2.92789L6.93998 3.13589L6.83198 3.47989L7.11998 3.26789L7.40798 3.47989L7.29998 3.13589L7.58798 2.92789H7.23198L7.11998 2.58789L7.00798 2.92789H6.65198Z"
226
- fill="white"/>
227
- <path
228
- d="M-0.380127 3.7959L-0.0881271 4.0039L-0.200127 4.3439L0.0878731 4.1359L0.379873 4.3439L0.267873 4.0039L0.555873 3.7959H0.199873L0.0878731 3.4519L-0.0201271 3.7959H-0.380127Z"
229
- fill="white"/>
230
- <path
231
- d="M1.63599 3.7959L1.92399 4.0039L1.81599 4.3439L2.10399 4.1359L2.39599 4.3439L2.28399 4.0039L2.57199 3.7959H2.21599L2.10399 3.4519L1.99599 3.7959H1.63599Z"
232
- fill="white"/>
233
- <path
234
- d="M3.65198 3.7959L3.94398 4.0039L3.83198 4.3439L4.11998 4.1359L4.41198 4.3439L4.29998 4.0039L4.58798 3.7959H4.23198L4.11998 3.4519L4.01198 3.7959H3.65198Z"
235
- fill="white"/>
236
- <path
237
- d="M5.66797 3.7959L5.95597 4.0039L5.84797 4.3439L6.13597 4.1359L6.42797 4.3439L6.31597 4.0039L6.60397 3.7959H6.24797L6.13597 3.4519L6.02797 3.7959H5.66797Z"
238
- fill="white"/>
239
- <path
240
- d="M0.635986 4.65201L0.923986 4.86001L0.811986 5.20401L1.10399 4.99201L1.39199 5.20401L1.27999 4.86001L1.57199 4.65201H1.21199L1.10399 4.31201L0.991986 4.65201H0.635986Z"
241
- fill="white"/>
242
- <path
243
- d="M2.65198 4.65201L2.93998 4.86001L2.82798 5.20401L3.11998 4.99201L3.40798 5.20401L3.29598 4.86001L3.58798 4.65201H3.22798L3.11998 4.31201L3.00798 4.65201H2.65198Z"
244
- fill="white"/>
245
- <path
246
- d="M4.66406 4.65201L4.95606 4.86001L4.84406 5.20401L5.13606 4.99201L5.42406 5.20401L5.31206 4.86001L5.60406 4.65201H5.24406L5.13606 4.31201L5.02406 4.65201H4.66406Z"
247
- fill="white"/>
248
- <path
249
- d="M6.40002 4.84L6.69202 5.048L6.58002 5.392L6.87202 5.18L7.16002 5.392L7.04802 5.048L7.34002 4.84H6.98002L6.87202 4.5L6.76002 4.84H6.40002Z"
250
- fill="white"/>
251
- <path
252
- d="M0.651978 6.35196L0.943977 6.55996L0.831978 6.90396L1.11998 6.69196L1.41198 6.90396L1.29998 6.55996L1.58798 6.35196H1.23198L1.11998 6.01196L1.01198 6.35196H0.651978Z"
253
- fill="white"/>
254
- <path
255
- d="M2.66797 6.35196L2.95997 6.55996L2.84797 6.90396L3.13597 6.69196L3.42797 6.90396L3.31597 6.55996L3.60797 6.35196H3.24797L3.13597 6.01196L3.02797 6.35196H2.66797Z"
256
- fill="white"/>
257
- <path
258
- d="M4.68396 6.35196L4.97596 6.55996L4.86396 6.90396L5.15196 6.69196L5.44396 6.90396L5.33196 6.55996L5.61996 6.35196H5.26396L5.15196 6.01196L5.04396 6.35196H4.68396Z"
259
- fill="white"/>
260
- <path
261
- d="M6.69995 6.35196L6.99195 6.55996L6.87995 6.90396L7.16795 6.69196L7.45995 6.90396L7.34795 6.55996L7.63595 6.35196H7.27995L7.16795 6.01196L7.05995 6.35196H6.69995Z"
262
- fill="white"/>
263
- <path
264
- d="M0.628174 8.07193L0.916174 8.28393L0.808174 8.62393L1.09617 8.41193L1.38817 8.62393L1.27617 8.28393L1.56417 8.07193H1.20817L1.09617 7.73193L0.988174 8.07193H0.628174Z"
265
- fill="white"/>
266
- <path
267
- d="M2.64417 8.07193L2.93616 8.28393L2.82416 8.62393L3.11216 8.41193L3.40416 8.62393L3.29216 8.28393L3.58016 8.07193H3.22416L3.11216 7.73193L3.00416 8.07193H2.64417Z"
268
- fill="white"/>
269
- <path
270
- d="M4.66016 8.07193L4.95216 8.28393L4.84016 8.62393L5.12816 8.41193L5.42016 8.62393L5.30816 8.28393L5.59616 8.07193H5.24016L5.12816 7.73193L5.02016 8.07193H4.66016Z"
271
- fill="white"/>
272
- <path
273
- d="M6.67615 8.07193L6.96415 8.28393L6.85615 8.62393L7.14415 8.41193L7.43615 8.62393L7.32415 8.28393L7.61215 8.07193H7.25615L7.14415 7.73193L7.03615 8.07193H6.67615Z"
274
- fill="white"/>
275
- <path
276
- d="M-0.376221 5.4921L-0.0842209 5.7041L-0.196221 6.0441L0.095779 5.8321L0.383779 6.0441L0.275779 5.7041L0.563779 5.4921H0.203779L0.095779 5.1521L-0.0162209 5.4921H-0.376221Z"
277
- fill="white"/>
278
- <path
279
- d="M1.64417 5.4921L1.93217 5.7041L1.82017 6.0441L2.11217 5.8321L2.40017 6.0441L2.28817 5.7041L2.58017 5.4921H2.22017L2.11217 5.1521L2.00017 5.4921H1.64417Z"
280
- fill="white"/>
281
- <path
282
- d="M3.65588 5.4921L3.94788 5.7041L3.83588 6.0441L4.12788 5.8321L4.41588 6.0441L4.30788 5.7041L4.59588 5.4921H4.23588L4.12788 5.1521L4.01588 5.4921H3.65588Z"
283
- fill="white"/>
284
- <path
285
- d="M5.67188 5.4921L5.96387 5.7041L5.85187 6.0441L6.14387 5.8321L6.43187 6.0441L6.31987 5.7041L6.61187 5.4921H6.25187L6.14387 5.1521L6.03187 5.4921H5.67188Z"
286
- fill="white"/>
287
- <path
288
- d="M-0.380127 7.21207L-0.0881271 7.42007L-0.200127 7.76007L0.0878731 7.55207L0.379873 7.76007L0.267873 7.42007L0.555873 7.21207H0.199873L0.0878731 6.87207L-0.0201271 7.21207H-0.380127Z"
289
- fill="white"/>
290
- <path
291
- d="M1.63599 7.21207L1.92399 7.42007L1.81599 7.76007L2.10399 7.55207L2.39599 7.76007L2.28399 7.42007L2.57199 7.21207H2.21599L2.10399 6.87207L1.99599 7.21207H1.63599Z"
292
- fill="white"/>
293
- <path
294
- d="M3.65198 7.21207L3.94398 7.42007L3.83198 7.76007L4.11998 7.55207L4.41198 7.76007L4.29998 7.42007L4.58798 7.21207H4.23198L4.11998 6.87207L4.01198 7.21207H3.65198Z"
295
- fill="white"/>
296
- <path
297
- d="M5.66797 7.21207L5.95597 7.42007L5.84797 7.76007L6.13597 7.55207L6.42797 7.76007L6.31597 7.42007L6.60397 7.21207H6.24797L6.13597 6.87207L6.02797 7.21207H5.66797Z"
298
- fill="white"/>
299
- </g>
300
- <defs>
301
- <clipPath id="clip0_179_1917">
302
- <path
303
- d="M0 2.5C0 1.39543 0.895431 0.5 2 0.5H14C15.1046 0.5 16 1.39543 16 2.5V14.5C16 15.6046 15.1046 16.5 14 16.5H2C0.895431 16.5 0 15.6046 0 14.5V2.5Z"
304
- fill="white"/>
305
- </clipPath>
306
- </defs>
307
- </svg>
308
- <svg v-if="currency.currency === 'EUR'" width="16" height="17" viewBox="0 0 16 17" fill="none"
309
- xmlns="http://www.w3.org/2000/svg">
310
- <path
311
- d="M0 2.5C0 1.39543 0.895431 0.5 2 0.5H14C15.1046 0.5 16 1.39543 16 2.5V14.5C16 15.6046 15.1046 16.5 14 16.5H2C0.895431 16.5 0 15.6046 0 14.5V2.5Z"
312
- fill="#314199"/>
313
- <path
314
- d="M7.99479 12.5967L8.18355 13.1573L8.75857 13.1568L8.35044 13.4667L8.46265 14.0686L7.99479 13.7271L7.52542 14.0594L7.639 13.4667L7.23511 13.1549H7.80958L7.99479 12.5967Z"
315
- fill="#F8EC26"/>
316
- <path
317
- d="M7.99479 2.85718L8.18355 3.41796L8.75857 3.41727L8.35044 3.72735L8.46265 4.32913L7.99479 3.98765L7.52542 4.31994L7.639 3.72735L7.23511 3.41535H7.80958L7.99479 2.85718Z"
318
- fill="#F8EC26"/>
319
- <path
320
- d="M10.333 3.48364L10.5218 4.04428L11.097 4.04373L10.6888 4.35368L10.8009 4.95546L10.333 4.61411L9.86366 4.94641L9.97739 4.35368L9.57349 4.04181H10.148L10.333 3.48364Z"
321
- fill="#F8EC26"/>
322
- <path
323
- d="M5.54397 3.48364L5.73273 4.04428L6.3079 4.04373L5.89976 4.35368L6.01184 4.95546L5.54397 4.61411L5.0746 4.94641L5.18832 4.35368L4.78442 4.04181H5.35877L5.54397 3.48364Z"
324
- fill="#F8EC26"/>
325
- <path
326
- d="M10.333 11.9387L10.5218 12.4995L11.097 12.4989L10.6888 12.8089L10.8009 13.4107L10.333 13.0693L9.86366 13.4016L9.97739 12.8089L9.57349 12.4969H10.148L10.333 11.9387Z"
327
- fill="#F8EC26"/>
328
- <path
329
- d="M5.54397 11.9387L5.73273 12.4995L6.3079 12.4989L5.89976 12.8089L6.01184 13.4107L5.54397 13.0693L5.0746 13.4016L5.18832 12.8089L4.78442 12.4969H5.35877L5.54397 11.9387Z"
330
- fill="#F8EC26"/>
331
- <path
332
- d="M3.75309 5.32153L3.94185 5.88231L4.51688 5.88162L4.10888 6.1917L4.22082 6.79349L3.75309 6.45214L3.28372 6.7843L3.39731 6.1917L2.99341 5.8797H3.56789L3.75309 5.32153Z"
333
- fill="#F8EC26"/>
334
- <path
335
- d="M12.1823 5.32153L12.3711 5.88231L12.9462 5.88162L12.5381 6.1917L12.6502 6.79349L12.1823 6.45214L11.7129 6.7843L11.8265 6.1917L11.4226 5.8797H11.9971L12.1823 5.32153Z"
336
- fill="#F8EC26"/>
337
- <path
338
- d="M3.75309 10.1826L3.94185 10.7434L4.51688 10.7427L4.10888 11.0528L4.22082 11.6546L3.75309 11.3131L3.28372 11.6454L3.39731 11.0528L2.99341 10.7408H3.56789L3.75309 10.1826Z"
339
- fill="#F8EC26"/>
340
- <path
341
- d="M12.1823 10.1826L12.3711 10.7434L12.9462 10.7427L12.5381 11.0528L12.6502 11.6546L12.1823 11.3131L11.7129 11.6454L11.8265 11.0528L11.4226 10.7408H11.9971L12.1823 10.1826Z"
342
- fill="#F8EC26"/>
343
- <path
344
- d="M3.19682 7.73389L3.38558 8.29466L3.96074 8.29398L3.55261 8.60406L3.66469 9.20584L3.19682 8.86436L2.72745 9.19665L2.84103 8.60406L2.43713 8.29206H3.01161L3.19682 7.73389Z"
345
- fill="#F8EC26"/>
346
- <path
347
- d="M12.799 7.73389L12.9877 8.29466L13.5629 8.29398L13.1548 8.60406L13.2668 9.20584L12.799 8.86436L12.3296 9.19665L12.4433 8.60406L12.0394 8.29206H12.6138L12.799 7.73389Z"
348
- fill="#F8EC26"/>
349
- </svg>
350
- <svg v-if="currency.currency === 'RUB'" width="16" height="17" viewBox="0 0 16 17" fill="none"
351
- xmlns="http://www.w3.org/2000/svg">
352
- <g clip-path="url(#clip0_179_2012)">
353
- <path d="M0 0.5C0 -0.60457 0.895431 -1.5 2 -1.5H18C19.1046 -1.5 20 -0.604569 20 0.5V5.5H0V0.5Z"
354
- fill="#F0F0F0"/>
355
- <rect y="5.5" width="20" height="7" fill="#0039A6"/>
356
- <path d="M0 11.5H20V16.5C20 17.6046 19.1046 18.5 18 18.5H2C0.895431 18.5 0 17.6046 0 16.5V11.5Z"
357
- fill="#D52B1E"/>
358
- </g>
359
- <defs>
360
- <clipPath id="clip0_179_2012">
361
- <rect y="0.5" width="16" height="16" rx="2" fill="white"/>
362
- </clipPath>
363
- </defs>
364
- </svg>
365
- <svg v-if="currency.currency === 'CNY'" width="16" height="16" viewBox="0 0 16 16" fill="none"
366
- xmlns="http://www.w3.org/2000/svg">
367
- <path
368
- d="M0 2C0 0.895431 0.895431 0 2 0H14C15.1046 0 16 0.895431 16 2V14C16 15.1046 15.1046 16 14 16H2C0.895431 16 0 15.1046 0 14V2Z"
369
- fill="#DE2910"/>
370
- <path
371
- d="M4.00115 1.60043L5.41155 5.94203L1.71875 3.25883H6.28355L2.59075 5.94203L4.00115 1.60043Z"
372
- fill="#FFDE00"/>
373
- <path
374
- d="M7.3125 2.01103L8.3117 0.863831L8.1781 2.37983L7.3957 1.07503L8.7957 1.67023L7.3125 2.01103Z"
375
- fill="#FFDE00"/>
376
- <path
377
- d="M8.80803 3.31335L10.1744 2.64375L9.46323 3.98855L9.24803 2.48215L10.3072 3.57415L8.80803 3.31335Z"
378
- fill="#FFDE00"/>
379
- <path
380
- d="M8.82968 5.38077L10.3497 5.32637L9.15208 6.26477L9.56968 4.80157L10.0913 6.23037L8.82968 5.38077Z"
381
- fill="#FFDE00"/>
382
- <path d="M7.3758 6.6997L8.7998 7.2365L7.3326 7.6397L8.283 6.4509L8.2118 7.9709L7.3758 6.6997Z"
383
- fill="#FFDE00"/>
384
- </svg>
385
-
386
- <span>{{ currency.currency }}</span>
387
- </div>
388
- <div class="menu-wrapper__bottom-column">
389
- <span>{{ currency.sell }}</span>
390
- <svg v-if="currency.sell_state === 'DOWN'" width="16" height="17" viewBox="0 0 16 17" fill="none"
391
- xmlns="http://www.w3.org/2000/svg">
392
- <path d="M8 12.5249L12.3301 4.52507H3.66987L8 12.5249Z" fill="#FF2E43"/>
393
- </svg>
394
- <svg v-else width="16" height="17" viewBox="0 0 16 17" fill="none"
395
- xmlns="http://www.w3.org/2000/svg">
396
- <path d="M8 4.47461L12.3301 12.4702H3.66987L8 4.47461Z" fill="#00B92D"/>
397
- </svg>
398
- </div>
399
- <div class="menu-wrapper__bottom-column">
400
- <span>{{ currency.buy }}</span>
401
- <svg v-if="currency.buy_state === 'DOWN'" width="16" height="17" viewBox="0 0 16 17" fill="none"
402
- xmlns="http://www.w3.org/2000/svg">
403
- <path d="M8 12.5249L12.3301 4.52507H3.66987L8 12.5249Z" fill="#FF2E43"/>
404
- </svg>
405
- <svg v-else width="16" height="17" viewBox="0 0 16 17" fill="none"
406
- xmlns="http://www.w3.org/2000/svg">
407
- <path d="M8 4.47461L12.3301 12.4702H3.66987L8 4.47461Z" fill="#00B92D"/>
408
- </svg>
409
- </div>
410
- </div>
411
- </div>
412
- <div v-show="isAuthenticated" class="menu_mobile-footer">
413
- <button class="sign" @click="$emit('logout')">
414
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
415
- <path d="M16.5 15L19.5 12L16.5 9" stroke="white" stroke-miterlimit="10" stroke-linecap="round"
416
- stroke-linejoin="round"/>
417
- <path d="M15 16.875L15 19.5L4.5 19.5L4.5 4.5L15 4.5L15 6.5625" stroke="white" stroke-miterlimit="10"
418
- stroke-linecap="round" stroke-linejoin="round"/>
419
- <path d="M19 12H8" stroke="white" stroke-miterlimit="10" stroke-linecap="round"
420
- stroke-linejoin="round"/>
421
- </svg>
422
- <span>Выход</span>
423
- </button>
424
- </div>
425
- </div>
426
- </div>
427
- </div>
428
- </MobileToggle>
429
- </div>
430
- </header>
431
- </template>
432
-
433
- <script>
434
- import Profile from "./Profile";
435
- import MobileToggle from "../transitions/VerticalMobileToggle";
436
- import InfoHeader from "./InfoHeader";
437
- import ChildLinks from "@/components/Header/ChildLinks";
438
-
439
- export default {
440
- components: {
441
- ChildLinks,
442
- InfoHeader,
443
- Profile,
444
- MobileToggle,
445
- },
446
- props: {
447
- rate: {
448
- type: String,
449
- default: ""
450
- },
451
- mode: {
452
- type: String,
453
- required: true,
454
- validator: function (value) {
455
- return ["prod", "dev", "staging"].indexOf(value) !== -1;
456
- },
457
- },
458
- noAuth: {
459
- type: Boolean,
460
- default: false
461
- },
462
- isAuthenticated: {
463
- type: Boolean,
464
- default: false,
465
- },
466
- isBordered: {
467
- type: Boolean,
468
- default: false,
469
- },
470
- isSticky: {
471
- type: Boolean,
472
- default: false,
473
- },
474
- requestCount: {
475
- type: [String, Number],
476
- default: null,
477
- },
478
- daysRemaining: {
479
- type: [String, Number],
480
- default: null,
481
- },
482
- email: {
483
- type: String,
484
- default: "",
485
- },
486
- loginUrl: {
487
- type: String,
488
- default: "",
489
- required: true,
490
- },
491
- activeTabKey: {
492
- type: String,
493
- default: "",
494
- required: true,
495
- },
496
- balance: {
497
- type: Number,
498
- default: 0
499
- },
500
- hasFavourites: {
501
- type: Boolean,
502
- default: false
503
- },
504
- hasSearchField: {
505
- type: Boolean,
506
- default: false
507
- },
508
- tab: {
509
- type: String,
510
- default: ""
511
- }
512
- },
513
- data() {
514
- return {
515
- isActiveMenu: false,
516
- main: {
517
- dev: "https://adtdev.kz",
518
- prod: "https://adata.kz",
519
- staging: "https://adada.kz",
520
- },
521
- newVersion: {
522
- dev: "https://analytics-new.adtdev.kz",
523
- staging: "https://analytics-new.adada.kz",
524
- prod: "https://analytics-new.adata.kz",
525
- },
526
- headerItems: [
527
- {
528
- id: 1,
529
- name: "Контрагенты",
530
- dev: "https://pk.adtdev.kz",
531
- prod: "https://pk.adata.kz",
532
- staging: "https://pk.adada.kz",
533
- key: "counterparty",
534
- children: [
535
- {
536
- name: 'Проверка контрагентов',
537
- subtitle: 'Проверьте контрагента на благонадежность',
538
- to: '/',
539
- icon: 'search'
540
- },
541
- {
542
- name: 'Сравнение контрагентов',
543
- subtitle: 'Проверьте рейтинг компании',
544
- to: '/counterparty/compare',
545
- icon: 'scales'
546
- },
547
- {
548
- name: 'Косвенные связи',
549
- subtitle: 'Проверьте наличие косвенных связей',
550
- to: '/counterparty/search-connections/check',
551
- icon: 'link'
552
- },
553
- {
554
- name: 'Массовая проверка',
555
- subtitle: 'Проверьте благонадежность нескольких компаний или сотрудников одновременно',
556
- to: '/counterparty/employees-check',
557
- icon: 'users'
558
- },
559
- {
560
- name: 'Зарубежные контрагенты',
561
- subtitle: 'Изучите сведения о российских и зарубежных компаниях',
562
- to: '/counterparty/foreign',
563
- icon: 'globe'
564
- },
565
- {
566
- name: 'Санкции',
567
- subtitle: 'Проверьте бизнес-партнера на включение в санкционные списки',
568
- to: '/counterparty/sanctions',
569
- icon: 'slash'
570
- },
571
- {
572
- name: 'Офшоры',
573
- subtitle: 'Проверьте наличие контрагента в офшорных списках',
574
- to: '/counterparty/offshore',
575
- icon: 'dollar'
576
- },
577
- ],
578
- },
579
- {
580
- id: 2,
581
- name: "Работа",
582
- dev: "https://work.adtdev.kz",
583
- prod: "https://work.adata.kz",
584
- staging: "https://work.adada.kz",
585
- key: "work",
586
- children: [
587
- {
588
- name: 'Вакансии',
589
- subtitle: 'Поиск вакансий',
590
- to: '/vacancy',
591
- icon: 'bag'
592
- },
593
- {
594
- name: 'Резюме',
595
- subtitle: 'Поиск резюме',
596
- to: '/summary',
597
- icon: 'scales'
598
- },
599
- ],
600
- },
601
- {
602
- id: 3,
603
- name: "Тендеры",
604
- dev: "https://tender.adtdev.kz",
605
- prod: "https://tender.adata.kz",
606
- staging: "https://tender.adada.kz",
607
- key: "tenders",
608
- children: [
609
- {
610
- name: 'Поиск тендеров',
611
- subtitle: 'Найдите интересующие объявления о закупках',
612
- to: '/',
613
- icon: 'search'
614
- },
615
- {
616
- name: 'Поиск договоров',
617
- subtitle: 'Найдите договоры по совершенным тендерным закупкам',
618
- to: '/main/contracts',
619
- icon: 'file'
620
- },
621
- {
622
- name: 'Планы закупок',
623
- subtitle: 'Узнайте о планирующихся тендерных закупках',
624
- to: '/main/plans',
625
- icon: 'package'
626
- }
627
- ],
628
- },
629
- {
630
- id: 4,
631
- name: "Штрафы",
632
- dev: "https://avto.adtdev.kz",
633
- prod: "https://avto.adata.kz",
634
- staging: "https://avto.adada.kz",
635
- key: "fines",
636
- children: [
637
- {
638
- name: 'Проверка штрафов',
639
- subtitle: 'Проверьте наличие штрафов, задолженностей и запретов',
640
- to: '/',
641
- icon: 'check'
642
- },
643
- {
644
- name: 'Проверка авто',
645
- subtitle: 'Проверьте информацию и историю авто',
646
- to: '/check',
647
- icon: 'car'
648
- },
649
- {
650
- name: 'Массовая проверка авто',
651
- subtitle: 'Используйте массовую проверку для получения информации о нескольких авто',
652
- to: '/bulk-check',
653
- icon: 'truck'
654
- },
655
- ],
656
- },
657
- {
658
- id: 5,
659
- name: "Аналитика",
660
- dev: "https://analytics.adtdev.kz",
661
- prod: "https://analytics.adata.kz",
662
- staging: "https://analytics.adada.kz",
663
- key: "marketing",
664
- children: [
665
- // {
666
- // name: 'Поиск клиентов',
667
- // subtitle: 'Получите актуальную базу контактов потенциальных клиентов',
668
- // to: '/unload-data',
669
- // icon: 'search'
670
- // },
671
- {
672
- name: 'Анализ закупок',
673
- subtitle: 'Изучите динамику и получите данные о проведенных тендерных закупках',
674
- to: '/purchasing-analysis',
675
- icon: 'package'
676
- },
677
- {
678
- name: 'Индекс деловой активности',
679
- subtitle: 'Изучайте активность предприятий на рынке',
680
- to: '/business-activity',
681
- icon: 'trending'
682
- },
683
- {
684
- name: 'Рейтинг налогоплательщиков',
685
- subtitle: 'Получите данные о лидерах компаний, видах деятельности и регионах',
686
- to: '/tax-payment',
687
- icon: 'award'
688
- },
689
- {
690
- name: 'Субъекты бизнеса',
691
- subtitle: 'Изучите динамику субъектов действующего бизнеса',
692
- to: '/business-entities',
693
- icon: 'company'
694
- }
695
- ],
696
- },
697
- {
698
- id: 6,
699
- name: 'ВЭД',
700
- dev: "https://tnved.adtdev.kz",
701
- prod: "https://tnved.adata.kz",
702
- staging: "https://tnved.adada.kz",
703
- key: "tnved",
704
- children: []
705
- },
706
- ],
707
- isOpen: false,
708
- weather: null,
709
- currencies: null,
710
- systemMessage: null,
711
- timer: null,
712
- isOpenNotification: false,
713
- };
714
- },
715
- created() {
716
- this.fetchCurrencies();
717
- },
718
- mounted() {
719
- this.notificationShow()
720
- },
721
- methods: {
722
- goToAnotherModule(url) {
723
- if(!location.href.includes(url)) {
724
- this.$emit("changeModule");
725
- }
726
- window.open(url, "_self");
727
- },
728
- goAuth() {
729
- const fullPath = encodeURIComponent(window.location.toString());
730
- if (window) {
731
- window.location.href = `${this.loginUrl}?url=${fullPath}`;
732
- }
733
- },
734
- async fetchNotification() {
735
- try {
736
- const link = `https://users.adata.kz/api/v1/system-messages/active-list/?module_name=${this.activeTabKey}`
737
- const response = await fetch(link);
738
- const {data} = await response.json();
739
-
740
- if (data.details.length) {
741
- this.systemMessage = data.details[0].message;
742
- this.isOpenNotification = true;
743
- localStorage.setItem('start_time', JSON.stringify(new Date()))
744
- }
745
-
746
- } catch (e) {
747
- console.log(e.message)
748
- }
749
- },
750
- notificationShow() {
751
- const startTime = localStorage.getItem('start_time');
752
- let diffTime = startTime ? Math.round((new Date() - new Date(JSON.parse(startTime))) / 3600000) : 0
753
- if (startTime) {
754
- if (diffTime >= 24) {
755
- localStorage.removeItem('start_time')
756
- }
757
- } else {
758
- this.fetchNotification()
759
- }
760
- },
761
- async fetchCurrencies() {
762
- try {
763
- const response = await fetch('https://users.adata.kz/api/v1/information/currency');
764
- const {data} = await response.json();
765
-
766
- if (data.currencies) {
767
- this.currencies = data.currencies;
768
- }
769
-
770
- } catch (e) {
771
- console.log(e.message)
772
- }
773
- },
774
- async fetchWeather() {
775
- try {
776
- const response = await fetch('https://users.adata.kz/api/v1/information/weather');
777
- const {data} = await response.json();
778
-
779
- if (data.cities) {
780
- this.weather = data.cities;
781
- }
782
-
783
- } catch (e) {
784
- console.log(e.message)
785
- }
786
- },
787
- closeNotification(option) {
788
- this.isOpenNotification = !option
789
- },
790
- changeValue() {
791
- this.isActiveMenu = false;
792
- this.isOpen = !this.isOpen;
793
- this.$emit("menuOpen", this.isOpen);
794
- },
795
- thousandSeparator(val) {
796
- return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "0";
797
- },
798
- },
799
- };
800
- </script>
801
-
802
- <style lang="scss">
803
- .version{
804
- background: #E0EFFF;
805
- a{
806
- font-size: 14px;
807
- font-weight: 600;
808
- color: #0070EB;
809
- display: flex;
810
- align-items: center;
811
- justify-content: center;
812
- gap: 1px;
813
- width: 100%;
814
- padding: 8px 0px;
815
- cursor: pointer;
816
- }
817
- }
818
- * {
819
- font-family: "Open Sans", sans-serif;
820
- box-sizing: border-box;
821
- margin: 0;
822
- padding: 0;
823
- }
824
-
825
- .sticky {
826
- position: sticky;
827
- z-index: 1000;
828
- top: 0;
829
- }
830
-
831
- .header {
832
- background: #ffffff;
833
- max-height: 62px;
834
- height: 62px;
835
- display: flex;
836
- align-items: center;
837
- width: 100%;
838
- @media (max-width: 1025px) {
839
- height: 56px;
840
- border-bottom: 1px solid #BDC7CE;
841
- }
842
-
843
- &.bordered {
844
- border-bottom: 1px solid #2c3e5026;
845
- }
846
-
847
- & > .container {
848
- width: 100%;
849
- display: flex;
850
- justify-content: space-between;
851
- align-items: center;
852
- @media (max-width: 1025px) {
853
- gap: 12px;
854
- }
855
- }
856
-
857
- &__right {
858
- display: flex;
859
- align-items: center;
860
- }
861
-
862
- &__left {
863
- display: flex;
864
- align-items: center;
865
- @media (max-width: 1025px) {
866
- width: 100%;
867
- }
868
-
869
- .menu {
870
- display: flex;
871
- align-items: center;
872
- $self: &;
873
- @media (max-width: 1025px) {
874
- display: none;
875
- }
876
-
877
- &__sublinks {
878
- display: none;
879
- }
880
- &__item {
881
- margin-right: 8px;
882
- align-items: center;
883
- position: relative;
884
- &:hover {
885
- .menu__sublinks {
886
- display: block;
887
- }
888
- }
889
- }
890
- &__items {
891
- padding: 20px 8px 20px 0;
892
- transition: text-shadow 0.3s;
893
- display: block;
894
- font-weight: bold;
895
- font-size: 16px;
896
- line-height: 22px;
897
- text-transform: uppercase;
898
- color: #71757a;
899
- position: relative;
900
-
901
- &::after {
902
- content: "";
903
- position: absolute;
904
- right: -1px;
905
- top: 50%;
906
- transform: translateY(-50%);
907
- height: 22px;
908
- width: 1px;
909
- background-color: #e5e5e5;
910
- }
911
-
912
- &.active {
913
- font-weight: bold;
914
- font-size: 16px;
915
- line-height: 22px;
916
- text-transform: uppercase;
917
- color: #2c3e50;
918
- }
919
-
920
- &:hover {
921
- color: #9da3ac;
922
- cursor: pointer;
923
- }
924
- }
925
- }
926
-
927
- .logo {
928
- display: block;
929
- margin-right: 20px;
930
- @media (max-width: 1025px) {
931
- margin-right: 10px;
932
- padding-bottom: 0;
933
- }
934
-
935
- svg {
936
- //width: 90px;
937
- //height: 26px;
938
- //display: block;
939
- fill: #2c3e50;
940
- @media (max-width: 1025px) {
941
- // width: 77px;
942
- // height: 24px;
943
- width: 38px;
944
- height: 30px;
945
- }
946
-
947
- &:hover {
948
- fill: #71757a;
949
- }
950
- &.desktop {
951
- @media (max-width: 1025px) {
952
- display: none;
953
- }
954
- }
955
- &.mobile {
956
- display: none;
957
- @media (max-width: 1025px) {
958
- display: block;
959
- width: auto;
960
- }
961
- }
962
- }
963
- }
964
- }
965
-
966
- .menu_mobile {
967
- display: none;
968
- grid-template-columns: 10% 90%;
969
- z-index: 1000000;
970
- position: absolute !important;
971
-
972
- .empty-space {
973
- background: rgba(0, 0, 0, 0.40);
974
- }
975
-
976
- &::-webkit-scrollbar {
977
- width: 4px;
978
-
979
- &-thumb {
980
- background: #c4c4c4;
981
- }
982
-
983
- &-track {
984
- background: #fff;
985
- }
986
- }
987
-
988
- &--switcher {
989
- display: none;
990
- cursor: pointer;
991
- }
992
-
993
- button.sign {
994
- height: auto;
995
- justify-content: flex-start;
996
-
997
- svg {
998
- margin-right: 8px;
999
- height: 24px;
1000
- width: 24px;
1001
- }
1002
-
1003
- span {
1004
- color: #007AFF;
1005
- font-size: 14px;
1006
- }
1007
- }
1008
-
1009
- @media (max-width: 1025px) {
1010
- display: grid;
1011
- background: transparent !important;
1012
- .mobile-table-head {
1013
- display: flex;
1014
- justify-content: space-between;
1015
- padding: 20px 16px;
1016
- height: auto;
1017
- background: #ECEFF1;
1018
- border-bottom: 0.5px solid rgba(157, 163, 172, 0.5);
1019
- }
1020
- &-wrapper {
1021
- border-top: 1px solid #9da3ac4c;
1022
- padding: 16px;
1023
- font-weight: 600;
1024
- font-size: 14px;
1025
- line-height: 22px;
1026
- color: #2c3e50;
1027
- display: block;
1028
-
1029
- &:first-child {
1030
- border-top: none;
1031
- }
1032
-
1033
- &.active-burger-tab {
1034
- background: #2c3e500d;
1035
- }
1036
- }
1037
- &--switcher {
1038
- display: flex;
1039
- align-items: center;
1040
- justify-content: center;
1041
- }
1042
- }
1043
-
1044
- .menu-wrapper {
1045
- height: 100%;
1046
- display: flex;
1047
- flex-direction: column;
1048
- justify-content: space-between;
1049
- box-shadow: -6px 4px 12px rgb(157 163 172 / 40%);
1050
- background: #fff;
1051
- @media (max-width: 1025px) {
1052
- justify-content: flex-start;
1053
- }
1054
-
1055
- &__top {
1056
- &-left {
1057
- display: flex;
1058
- gap: 8px;
1059
- align-items: center;
1060
- width: 100%;
1061
-
1062
- .svg-wrapper {
1063
- width: 32px;
1064
- height: 32px;
1065
- background: rgba(189, 199, 206, 0.2);
1066
- display: flex;
1067
- justify-content: center;
1068
- align-items: center;
1069
- border-radius: 50%;
1070
-
1071
- svg {
1072
- width: 24px;
1073
- height: 24px;
1074
- }
1075
- }
1076
-
1077
- .text-wrapper {
1078
- width: 100%;
1079
- p {
1080
- font-size: 14px;
1081
- font-weight: 500;
1082
- display: flex;
1083
- justify-content: space-between;
1084
- align-items: center;
1085
-
1086
- &:first-child {
1087
- border-bottom: 0.5px solid rgba(157, 163, 172, 0.5);
1088
- padding-bottom: 12px;
1089
- margin-bottom: 12px;
1090
- span {
1091
- cursor: pointer;
1092
- svg {
1093
- width: 16px;
1094
- height: 16px;
1095
- }
1096
- }
1097
- }
1098
-
1099
- &:nth-child(2) {
1100
- color: #007AFF;
1101
- font-size: 12px;
1102
- font-weight: 600;
1103
- span {
1104
- display: flex;
1105
- align-items: center;
1106
- gap: 8px;
1107
- cursor: pointer;
1108
- font-weight: 400;
1109
- }
1110
- }
1111
- }
1112
- }
1113
- }
1114
-
1115
- &-right {
1116
- display: flex;
1117
- align-items: center;
1118
- justify-content: center;
1119
- cursor: pointer;
1120
- }
1121
- }
1122
- }
1123
-
1124
- &-footer {
1125
- width: 100%;
1126
- background: #007AFF;
1127
- padding: 20px 16px;
1128
- display: flex;
1129
- margin-top: auto;
1130
- position: relative;
1131
- z-index: 1000000;
1132
- @media (max-width: 1025px) {
1133
- height: 40px;
1134
- width: calc(100% - 32px);
1135
- margin: 32px 16px;
1136
- justify-content: center;
1137
- }
1138
-
1139
- button.sign {
1140
- span {
1141
- color: #fff;
1142
- }
1143
- }
1144
- }
1145
- }
1146
-
1147
- .menu-wrapper__bottom {
1148
- margin: 80px 0 0;
1149
- @media (max-width: 1025px) {
1150
- margin: 0;
1151
- }
1152
-
1153
- &-header {
1154
- background: rgba(189, 199, 206, 0.2);
1155
- padding: 4px 16px;
1156
- display: flex;
1157
- justify-content: space-between;
1158
- align-items: center;
1159
-
1160
- span {
1161
- font-weight: 500;
1162
- font-size: 12px;
1163
- line-height: 20px;
1164
- color: #666C72;
1165
- }
1166
- }
1167
-
1168
- &-body {
1169
- padding: 8px 16px 16px;
1170
- display: flex;
1171
- flex-direction: column;
1172
- justify-content: space-between;
1173
- gap: 12px;
1174
- margin-bottom: 36px;
1175
- @media (max-width: 1025px) {
1176
- margin-bottom: 0;
1177
- }
1178
- }
1179
-
1180
- &-row {
1181
- display: flex;
1182
- justify-content: space-between;
1183
- align-items: center;
1184
- }
1185
-
1186
- &-column {
1187
- display: flex;
1188
- align-items: center;
1189
- gap: 8px;
1190
-
1191
- &:first-child {
1192
- justify-content: flex-start;
1193
- }
1194
-
1195
- &:nth-child(2), &:nth-child(3) {
1196
- justify-content: flex-end;
1197
- width: 60px;;
1198
- }
1199
-
1200
- span {
1201
- font-weight: 500;
1202
- font-size: 14px;
1203
- line-height: 20px;
1204
- color: #2C3E50;
1205
- }
1206
- }
1207
-
1208
- &-footer {
1209
- background: rgba(189, 199, 206, 0.2);
1210
- padding: 8px 16px;
1211
- display: flex;
1212
- flex-direction: column;
1213
- gap: 10px;
1214
-
1215
- &-item {
1216
- display: flex;
1217
- justify-content: space-between;
1218
- align-items: center;
1219
- }
1220
-
1221
- &-title {
1222
- font-weight: 500;
1223
- font-size: 14px;
1224
- line-height: 20px;
1225
- color: #2C3E50;
1226
- }
1227
-
1228
- &-circle {
1229
- color: #ffffff;
1230
- padding: 4px 12px;
1231
- background: #007AFF;
1232
- border-radius: 100px;
1233
- font-weight: 500;
1234
- font-size: 14px;
1235
- line-height: 20px;
1236
- }
1237
- }
1238
- }
1239
- }
1240
-
1241
- .logo-desktop {
1242
- display: flex;
1243
- justify-content: center;
1244
- align-items: center;
1245
- width: 90px;
1246
- height: 26px;
1247
- background-image: url("~@/assets/logo-desktop-main.svg");
1248
- background-size: cover;
1249
- background-position: center;
1250
- @media screen and (max-width: 1025px){
1251
- display: none;
1252
- }
1253
- }
1254
- .logo-mobile {
1255
- display: none;
1256
- width: 24px;
1257
- height: 24px;
1258
- background-image: url("~@/assets/logo-mobile-main.svg");
1259
- background-size: cover;
1260
- background-position: center;
1261
- @media screen and (max-width: 1025px){
1262
- display: flex;
1263
- align-items: center;
1264
- justify-content: center;
1265
- }
1266
- }
1267
-
1268
- .mobile-search {
1269
- display: none;
1270
- height: 32px;
1271
- max-height: 32px;
1272
- @media (max-width: 1025px) {
1273
- display: flex;
1274
- align-items: center;
1275
- justify-content: flex-end;
1276
- gap: 8px;
1277
- width: 100%;
1278
- }
1279
- .search-input {
1280
- display: flex;
1281
- align-items: center;
1282
- gap: 8px;
1283
- background: rgba(189, 199, 206, 0.2);
1284
- height: 100%;
1285
- border-radius: 2px;
1286
- width: 100%;
1287
- padding: 0 14px;
1288
- font-weight: 500;
1289
- font-size: 12px;
1290
- line-height: 20px;
1291
- cursor: pointer;
1292
- }
1293
- .favorite-btn {
1294
- background: rgba(189, 199, 206, 0.2);
1295
- display: flex;
1296
- justify-content: center;
1297
- align-items: center;
1298
- padding: 10px;
1299
- height: 100%;
1300
- border-radius: 2px;
1301
- cursor: pointer;
1302
- svg {
1303
- width: 16px;
1304
- height: 16px;
1305
- }
1306
- }
1307
- }
1308
- </style>