adata-ui 0.1.69 → 0.1.72

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.69",
3
+ "version": "0.1.72",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -142,6 +142,7 @@
142
142
  &--ellipsis {
143
143
  width: calc(100% - 56px);
144
144
  text-overflow: ellipsis;
145
+ overflow: hidden;
145
146
  }
146
147
 
147
148
  &__icon {
@@ -21,8 +21,7 @@
21
21
  </div>
22
22
  <h2 class="mail__title">Интересует больше данных?</h2>
23
23
  <p class="mail__text">
24
- Мы обязательно ответим вам <br />
25
- в кратчайшие сроки.
24
+ Оставьте комментарий мы обязательно ответим Вам в кратчайшие сроки
26
25
  </p>
27
26
  <form class="mail__form" novalidate>
28
27
  <a-text-field
@@ -80,7 +79,7 @@ export default {
80
79
  },
81
80
  onSubmitForm() {
82
81
  const regex = new RegExp('^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$')
83
-
82
+ this.email = this.userEmail
84
83
  if(!this.email.length || !regex.test(this.email)) {
85
84
  this.emailError = 'Введите валидыный email';
86
85
  return;
@@ -106,7 +105,7 @@ export default {
106
105
  }
107
106
 
108
107
  try {
109
- const response = await fetch('https://users.adtdev.kz/api/v1/message/regards', {
108
+ const response = await fetch('https://users.adata.kz/api/v1/message/regards', {
110
109
  method: "POST",
111
110
  headers: {
112
111
  'Content-Type': 'application/json'
@@ -18,7 +18,7 @@
18
18
  class="adt-text-block__input"
19
19
  :class="{ error: !!errorText }"
20
20
  />
21
- <label class="adt-text-block__label">
21
+ <label class="adt-text-block__label" :class="{ 'adt-text-block--ellipsis': isEllipsis }">
22
22
  {{ label }}
23
23
  </label>
24
24
  <div
@@ -149,6 +149,10 @@ export default {
149
149
  type: Boolean,
150
150
  default: false,
151
151
  },
152
+ isEllipsis: {
153
+ type: Boolean,
154
+ default: false,
155
+ }
152
156
  },
153
157
  components: {
154
158
  PerfectScrollbar,
@@ -12,7 +12,7 @@
12
12
  class="adt-text-block__input"
13
13
  :class="{ error: !!errorText }"
14
14
  />
15
- <label class="adt-text-block__label" :class="{ 'adt-text-block--ellipsis': isEllipsis }">
15
+ <label class="adt-text-block__label">
16
16
  {{ label }}
17
17
  <span v-if="required" class="adt-text-block__required">*</span>
18
18
  </label>
@@ -95,10 +95,6 @@ export default {
95
95
  type: Boolean,
96
96
  default: false,
97
97
  },
98
- isEllipsis: {
99
- type: Boolean,
100
- default: false,
101
- }
102
98
  },
103
99
  data() {
104
100
  return {