adata-ui 0.1.92 → 0.1.95
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 +92 -96
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +92 -96
- 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/App.vue +2 -1
- package/src/components/Button/AButton.vue +2 -2
- package/src/components/Header/Header.vue +10 -9
- package/src/components/Header/InfoHeader.vue +3 -3
- package/src/components/Header/Profile.vue +0 -4
- package/src/components/MailTo/MailTo.stories.js +4 -3
- package/src/components/MailTo/MailTo.vue +7 -6
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -147,8 +147,8 @@ export default {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
&_yellow {
|
|
150
|
-
background: linear-gradient(
|
|
151
|
-
color: #
|
|
150
|
+
background: linear-gradient(140.08deg, #FFE15A 13.59%, #FBC920 85.57%);
|
|
151
|
+
color: #2C3E50;
|
|
152
152
|
|
|
153
153
|
&:hover {
|
|
154
154
|
background: #FBC920;
|
|
@@ -543,20 +543,20 @@ export default {
|
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
545
|
id: 2,
|
|
546
|
-
name: "Тендеры",
|
|
547
|
-
dev: "https://tender.adtdev.kz",
|
|
548
|
-
prod: "https://tender.adata.kz",
|
|
549
|
-
staging: "https://tender.adada.kz",
|
|
550
|
-
key: "tenders",
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
id: 3,
|
|
554
546
|
name: "Работа",
|
|
555
547
|
dev: "https://work.adtdev.kz",
|
|
556
548
|
prod: "https://work.adata.kz",
|
|
557
549
|
staging: "https://work.adada.kz",
|
|
558
550
|
key: "work",
|
|
559
551
|
},
|
|
552
|
+
{
|
|
553
|
+
id: 3,
|
|
554
|
+
name: "Тендеры",
|
|
555
|
+
dev: "https://tender.adtdev.kz",
|
|
556
|
+
prod: "https://tender.adata.kz",
|
|
557
|
+
staging: "https://tender.adada.kz",
|
|
558
|
+
key: "tenders",
|
|
559
|
+
},
|
|
560
560
|
{
|
|
561
561
|
id: 4,
|
|
562
562
|
name: "Штрафы",
|
|
@@ -597,7 +597,8 @@ export default {
|
|
|
597
597
|
},
|
|
598
598
|
async fetchNotification() {
|
|
599
599
|
try {
|
|
600
|
-
const
|
|
600
|
+
const link = `https://users.adata.kz/api/v1/system-messages/active-list/?module_name=${this.activeTabKey}`
|
|
601
|
+
const response = await fetch(link);
|
|
601
602
|
const {data} = await response.json();
|
|
602
603
|
|
|
603
604
|
if (data.details.length) {
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
<span class="info-header__result info-header__result_circled">{{ requestCount }}</span>
|
|
146
146
|
</div>
|
|
147
147
|
<div class="info-header__inner-item" v-show="daysRemaining === 0 || daysRemaining">
|
|
148
|
-
<span class="info-header__title"
|
|
148
|
+
<span class="info-header__title">Остаток дней</span>
|
|
149
149
|
<span class="info-header__result info-header__result_circled">{{ daysRemaining }}</span>
|
|
150
150
|
</div>
|
|
151
151
|
</div>
|
|
@@ -271,11 +271,11 @@ export default {
|
|
|
271
271
|
&__item {
|
|
272
272
|
display: flex;
|
|
273
273
|
align-items: center;
|
|
274
|
-
gap:
|
|
274
|
+
gap: 16px;
|
|
275
275
|
&-elem {
|
|
276
276
|
display: flex;
|
|
277
277
|
align-items: center;
|
|
278
|
-
gap:
|
|
278
|
+
gap: 20px;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
&__inner-item {
|
|
@@ -80,10 +80,6 @@
|
|
|
80
80
|
<div :class="{'rate-item': index === 0}">
|
|
81
81
|
<span v-show="index === 0" class="rate">
|
|
82
82
|
Тариф {{ rate }}
|
|
83
|
-
<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
84
|
-
<path d="M1 5.44444L4.69231 9L13 1" stroke="#007AFF" stroke-width="2" stroke-miterlimit="10"
|
|
85
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
86
|
-
</svg>
|
|
87
83
|
</span> {{ elem.name }} <span v-show="index === 1" class="balance">{{ balance || 0 }} ₸</span>
|
|
88
84
|
</div>
|
|
89
85
|
<span
|
|
@@ -6,9 +6,10 @@ export default {
|
|
|
6
6
|
template: "<a-mail-to></a-mail-to>",
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
const Template = () => ({
|
|
9
|
+
const Template = (args, { argTypes }) => ({
|
|
10
10
|
components: { MailTo },
|
|
11
|
-
|
|
11
|
+
props: Object.keys(argTypes),
|
|
12
|
+
template: '<mail-to v-bind="$props"></mail-to>',
|
|
12
13
|
});
|
|
13
14
|
|
|
14
|
-
export const AMailTo = Template.bind({});
|
|
15
|
+
export const AMailTo = Template.bind({});
|
|
@@ -65,8 +65,7 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
<h2 class="mail__title">Интересует больше данных?</h2>
|
|
67
67
|
<p class="mail__text">
|
|
68
|
-
|
|
69
|
-
в кратчайшие сроки.
|
|
68
|
+
Оставьте комментарий мы обязательно ответим <br />Вам в кратчайшие сроки
|
|
70
69
|
</p>
|
|
71
70
|
<form class="mail__form" novalidate>
|
|
72
71
|
<a-text-field
|
|
@@ -100,6 +99,7 @@
|
|
|
100
99
|
|
|
101
100
|
<script>
|
|
102
101
|
import Loader from "../Loader/Loader.vue";
|
|
102
|
+
|
|
103
103
|
export default {
|
|
104
104
|
name: "MailToTemplate",
|
|
105
105
|
components: {
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
194
194
|
}
|
|
195
195
|
&__title {
|
|
196
196
|
font-size: 24px;
|
|
197
|
-
line-height:
|
|
197
|
+
line-height: 32px;
|
|
198
198
|
color: #2c3e50;
|
|
199
199
|
font-weight: 700;
|
|
200
200
|
text-align: center;
|
|
@@ -231,10 +231,11 @@ export default {
|
|
|
231
231
|
z-index: 2;
|
|
232
232
|
}
|
|
233
233
|
&__text {
|
|
234
|
-
font-size:
|
|
235
|
-
|
|
234
|
+
font-size: 14px;
|
|
235
|
+
color: #71757A;
|
|
236
|
+
font-weight: 400;
|
|
237
|
+
line-height: 20px;
|
|
236
238
|
text-align: center;
|
|
237
|
-
color: #2c3e50;
|
|
238
239
|
margin-bottom: 16px;
|
|
239
240
|
}
|
|
240
241
|
&__form {
|