@webitel/ui-sdk 24.2.21 → 24.2.23

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": "24.2.21",
3
+ "version": "24.2.23",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -38,7 +38,7 @@
38
38
  "@vuelidate/core": "^2.0.3",
39
39
  "@vuelidate/validators": "^2.0.4",
40
40
  "@vuepic/vue-datepicker": "^4.4.0",
41
- "@vueuse/components": "^10.7.2",
41
+ "@vueuse/components": "^10.5.0",
42
42
  "clipboard-copy": "^4.0.1",
43
43
  "csv-stringify": "^5.5.3",
44
44
  "deep-copy": "^1.4.2",
@@ -54,17 +54,19 @@
54
54
  "sortablejs": "^1.15.0",
55
55
  "tiny-emitter": "^2.1.0",
56
56
  "vue-i18n": "^9.2.2",
57
- "vue-multiselect": "^3.0.0-beta.3",
57
+ "vue-multiselect": "^3.0.0-beta.1",
58
58
  "vue-observe-visibility": "^2.0.0-alpha.1",
59
59
  "vue-router": "^4.1.6",
60
60
  "webitel-sdk": "^23.7.5"
61
61
  },
62
62
  "devDependencies": {
63
- "@vitejs/plugin-vue": "5.0.3",
63
+ "@vitejs/plugin-vue": "4.4.1",
64
+ "@vue/compat": "^3.3.8",
65
+ "vue": "^3.3.8",
64
66
  "@vitest/coverage-v8": "^0.34.6",
65
- "@vue/compat": "^3.4.15",
66
- "@vue/compiler-sfc": "^3.4.15",
67
- "@vue/test-utils": "^2.4.4",
67
+ "@vue/compiler-sfc": "^3.2.47",
68
+ "@vue/test-utils": "^2.3.0",
69
+ "bamboo-jest-reporter": "^1.0.3",
68
70
  "eslint": "^8.53.0",
69
71
  "eslint-plugin-vue": "^9.18.1",
70
72
  "globby": "^14.0.0",
@@ -75,13 +77,12 @@
75
77
  "postcss-prefix-selector": "^1.16.0",
76
78
  "prismjs": "^1.29.0",
77
79
  "sass": "^1.51.0",
78
- "vite": "^5.0.12",
79
- "vite-plugin-node-polyfills": "^0.19.0",
80
- "vite-plugin-static-copy": "^0.17.1",
81
- "vite-plugin-svg-sprite": "^0.5.1",
82
- "vitepress": "^1.0.0-rc.40",
80
+ "vite": "^4.5.0",
81
+ "vite-plugin-node-polyfills": "^0.15.0",
82
+ "vite-plugin-static-copy": "^0.17.0",
83
+ "vite-plugin-svg-sprite": "^0.5.0",
84
+ "vitepress": "^1.0.0-rc.29",
83
85
  "vitest": "^0.34.6",
84
- "vue": "^3.4.15",
85
86
  "vuex": "^4.1.0"
86
87
  }
87
88
  }
@@ -3,7 +3,6 @@
3
3
  class="wt-icon-btn"
4
4
  :class="{ 'wt-icon-btn--disabled': disabled }"
5
5
  type="button"
6
- @mousedown="emit('mousedown', $event)"
7
6
  @click="emit('click', $event)"
8
7
  >
9
8
  <!-- prevent icon-btn classes to fall to wt-icon -->
@@ -24,7 +23,7 @@ const props = defineProps({
24
23
  },
25
24
  });
26
25
 
27
- const emit = defineEmits(['click', 'mousedown']);
26
+ const emit = defineEmits(['click']);
28
27
  </script>
29
28
 
30
29
  <style lang="scss">
@@ -90,8 +90,7 @@
90
90
  :disabled="disabled"
91
91
  class="multiselect__select multiselect__custom-value-arrow"
92
92
  icon="call-merge-filled"
93
- @mousedown.prevent
94
- @click="handleCustomValue(toggle)"
93
+ @mousedown.prevent.stop="handleCustomValue(toggle)"
95
94
  />
96
95
  <!-- To view a list of possible values, click on this icon -->
97
96
  <!-- @mousedown.native.prevent.stop="toggle": https://github.com/shentao/vue-multiselect/issues/1204#issuecomment-615114727 -->
@@ -100,8 +99,7 @@
100
99
  :disabled="disabled"
101
100
  class="multiselect__select"
102
101
  icon="arrow-down"
103
- @mousedown.prevent
104
- @click="toggle"
102
+ @mousedown.prevent.stop="toggle"
105
103
  />
106
104
  </template>
107
105
 
@@ -188,11 +186,6 @@ export default {
188
186
  data: () => ({
189
187
  isOpened: false,
190
188
  }),
191
- watch: {
192
- value: { handler() {
193
- console.info(this.value);
194
- }, immediate: true },
195
- },
196
189
  computed: {
197
190
  // for taggableMixin
198
191
  taggable() { return this.allowCustomValues; },
@@ -202,7 +195,6 @@ export default {
202
195
  methods: {
203
196
  // for taggableMixin functionality
204
197
  handleCustomValue(toggle) {
205
- console.info(this.value);
206
198
  toggle();
207
199
  this.tag(this.searchParams.search);
208
200
  },
@@ -4,7 +4,6 @@ export default {
4
4
  // this functionality allows you to add custom values to the list of values
5
5
  // [https://my.webitel.com/browse/WTEL-3181]
6
6
  tag(searchQuery, id) {
7
- console.info(this.value);
8
7
  this.emitTagEvent(searchQuery, id);
9
8
 
10
9
  const tag = this.trackBy ? {
@@ -25,9 +24,6 @@ export default {
25
24
  this.options.unshift(tag);
26
25
  if (!this.manualTagging) {
27
26
  const value = this.multiple ? [...this.value, tag] : tag;
28
-
29
- console.info(value, this.value, tag);
30
-
31
27
  this.input(value);
32
28
  }
33
29
  },