@webitel/ui-sdk 25.4.6 → 25.4.8

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": "@webitel/ui-sdk",
3
- "version": "25.04.6",
3
+ "version": "25.04.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -28,7 +28,7 @@
28
28
  :value="value"
29
29
  class="wt-time-input__input"
30
30
  type="number"
31
- @input="$emit('input', $event.target.value)"
31
+ v-on="listeners"
32
32
  />
33
33
  </div>
34
34
  <wt-input-info
@@ -106,6 +106,12 @@ export default {
106
106
  showInfo() {
107
107
  return this.isValidation && !this.hideInputInfo;
108
108
  },
109
+ listeners() {
110
+ return {
111
+ ...this.$listeners,
112
+ input: (event) => this.$emit('input', event.target.value),
113
+ };
114
+ },
109
115
  },
110
116
  };
111
117
  </script>
@@ -36,6 +36,7 @@
36
36
  :value="hour"
37
37
  hide-input-info
38
38
  @input="hour = $event"
39
+ @blur="onHoursBlurEvent"
39
40
  />
40
41
  <wt-time-input
41
42
  v-if="isMin"
@@ -225,7 +226,18 @@ export default {
225
226
  },
226
227
  },
227
228
 
228
- methods: {},
229
+ methods: {
230
+ onHoursBlurEvent() {
231
+ const newValue = this.dateMode
232
+ ? new Date(this.value).setHours(this.hour)
233
+ : this.value - this.hour * SEC_IN_HOUR + this.hour * SEC_IN_HOUR;
234
+
235
+ this.$emit('input', 0);
236
+ this.$nextTick(() => {
237
+ this.$emit('input', newValue);
238
+ });
239
+ },
240
+ },
229
241
  };
230
242
  </script>
231
243
 
@@ -21,16 +21,18 @@
21
21
 
22
22
  <div class="table-section__table-wrapper">
23
23
 
24
- <wt-loader v-show="isLoading" />
25
-
26
24
  <wt-empty
27
25
  v-show="showEmpty"
28
26
  :image="imageEmpty"
29
27
  :text="textEmpty"
30
28
  />
31
29
 
32
- <div class="table-section__visible-scroll-wrapper">
33
- <wt-table-transition v-if="dataList.length && !isLoading" >
30
+ <wt-loader v-show="isLoading" />
31
+
32
+ <div
33
+ v-if="dataList.length && !isLoading"
34
+ class="table-section__visible-scroll-wrapper">
35
+
34
36
  <wt-table
35
37
  :data="localizedDataList"
36
38
  :grid-actions="access.edit"
@@ -85,7 +87,6 @@
85
87
  />
86
88
  </template>
87
89
  </wt-table>
88
- </wt-table-transition>
89
90
  </div>
90
91
  <filter-pagination
91
92
  :namespace="filtersNamespace"