adata-ui 0.1.63 → 0.1.66

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.1.63",
3
+ "version": "0.1.66",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
package/src/App.vue CHANGED
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div id="app"><a-header active-tab-key="" login-url="" mode="" is-authenticated /></div>
2
+ <div id="app"><a-header active-tab-key="" login-url="" mode="" is-authenticated request-count="199" days-remaining="18 часов 44 минуты"/></div>
3
3
  </template>
4
4
 
5
5
  <script>
@@ -237,11 +237,11 @@
237
237
  </div>
238
238
  </div>
239
239
  <div class="menu-mobile__info-footer">
240
- <div class="menu-mobile__info-footer-item">
240
+ <div class="menu-mobile__info-footer-item" v-show="requestCount === 0 || requestCount">
241
241
  <span class="menu-mobile__info-footer-title">Суточный лимит запросов:</span>
242
242
  <span class="menu-mobile__info-footer-circle">{{ requestCount }}</span>
243
243
  </div>
244
- <div class="menu-mobile__info-footer-item">
244
+ <div class="menu-mobile__info-footer-item" v-show="daysRemaining === 0 || daysRemaining">
245
245
  <span class="menu-mobile__info-footer-title">Остаток дней:</span>
246
246
  <span class="menu-mobile__info-footer-circle">{{ daysRemaining }}</span>
247
247
  </div>
@@ -376,7 +376,6 @@ export default {
376
376
  isOpenNotification: false,
377
377
  };
378
378
  },
379
-
380
379
  created() {
381
380
  this.fetchCurrencies();
382
381
  this.fetchWeather()
@@ -393,7 +392,7 @@ export default {
393
392
  methods: {
394
393
  async fetchNotification() {
395
394
  try {
396
- const response = await fetch('https://users.adtdev.kz/api/v1/system-messages/active-list/?module_name=counterparty');
395
+ const response = await fetch('https://users.adata.kz/api/v1/system-messages/active-list/?module_name=counterparty');
397
396
  const { data } = await response.json();
398
397
 
399
398
  if (data.details.length) {
@@ -5,7 +5,7 @@
5
5
  <div class="container">
6
6
  <div class="info-notification__wrapper">
7
7
  <div class="info-notification__content">
8
- <svg id="note-svg" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8
+ <svg class="info-notification__info" id="note-svg" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
9
9
  <circle cx="8" cy="8" r="6" stroke="white"/>
10
10
  <path d="M9.6613 11.1367L9.54952 11.5936C9.21418 11.726 8.94631 11.8267 8.74685 11.896C8.54716 11.9654 8.31514 12 8.05079 12C7.64483 12 7.32906 11.9006 7.10386 11.703C6.87865 11.5047 6.76601 11.2534 6.76601 10.9485C6.76601 10.8305 6.77418 10.7091 6.79117 10.5854C6.80831 10.4616 6.83556 10.3222 6.87284 10.1663L7.29192 8.68297C7.32921 8.54094 7.3609 8.40636 7.38628 8.27909C7.41202 8.15261 7.42442 8.03624 7.42442 7.93149C7.42442 7.74206 7.3852 7.60956 7.30712 7.53507C7.22904 7.46079 7.08005 7.42307 6.85886 7.42307C6.75052 7.42307 6.63917 7.44042 6.52567 7.47398C6.41167 7.50768 6.31423 7.54023 6.23242 7.57049L6.34449 7.11319C6.61902 7.00141 6.88144 6.90569 7.13246 6.82625C7.38348 6.74659 7.62066 6.70672 7.84501 6.70672C8.24818 6.70672 8.55928 6.80416 8.77775 6.99904C8.99622 7.19406 9.10542 7.44688 9.10542 7.75841C9.10542 7.82287 9.09825 7.93644 9.08283 8.09877C9.06777 8.26145 9.03974 8.41051 8.99887 8.5461L8.58158 10.0235C8.54738 10.1421 8.51662 10.2778 8.48988 10.4304C8.46227 10.5821 8.44908 10.6979 8.44908 10.7757C8.44908 10.9718 8.49282 11.1058 8.5805 11.177C8.66884 11.2482 8.82098 11.2836 9.03709 11.2836C9.13854 11.2836 9.25398 11.2656 9.38225 11.2302C9.51016 11.1949 9.60344 11.1638 9.6613 11.1367ZM9.76713 4.93424C9.76713 5.19164 9.67012 5.41147 9.47517 5.59223C9.28072 5.77363 9.04641 5.8644 8.7723 5.8644C8.49733 5.8644 8.26245 5.77363 8.06577 5.59223C7.86946 5.4114 7.77109 5.19164 7.77109 4.93424C7.77109 4.67734 7.86946 4.45716 8.06577 4.27411C8.26209 4.09134 8.4974 4 8.7723 4C9.04634 4 9.28072 4.09156 9.47517 4.27411C9.67026 4.45716 9.76713 4.67742 9.76713 4.93424Z" fill="white"/>
11
11
  </svg>
@@ -131,11 +131,11 @@
131
131
  </div>
132
132
  <div v-if="isAuthenticated" class="info-header__item">
133
133
  <div class="info-header__item-elem">
134
- <div class="info-header__inner-item">
134
+ <div class="info-header__inner-item" v-show="requestCount === 0 || requestCount">
135
135
  <span class="info-header__title">Суточный лимит запросов</span>
136
136
  <span class="info-header__result info-header__result_circled">{{ requestCount }}</span>
137
137
  </div>
138
- <div class="info-header__inner-item">
138
+ <div class="info-header__inner-item" v-show="daysRemaining === 0 || daysRemaining">
139
139
  <span class="info-header__title">остаток дней</span>
140
140
  <span class="info-header__result info-header__result_circled">{{ daysRemaining }}</span>
141
141
  </div>
@@ -207,18 +207,22 @@ export default {
207
207
  font-size: 14px;
208
208
  @media(max-width: 1025px) {
209
209
  position: relative;
210
- height: 30px;
210
+ min-height: 30px;
211
211
  }
212
212
  &__wrapper {
213
213
  display: flex;
214
214
  justify-content: space-between;
215
215
  align-items: center;
216
+ gap: 10px;
216
217
  }
217
218
  &__content {
218
219
  display: flex;
219
220
  align-items: center;
220
221
  gap: 10px;
221
222
  }
223
+ &__info {
224
+ flex-shrink: 0;
225
+ }
222
226
  &__close {
223
227
  display: flex;
224
228
  align-items: center;