@webitel/ui-sdk 24.2.37 → 24.2.40

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.37",
3
+ "version": "24.2.40",
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.5.0",
41
+ "@vueuse/components": "^10.7.2",
42
42
  "clipboard-copy": "^4.0.1",
43
43
  "csv-stringify": "^5.5.3",
44
44
  "deep-copy": "^1.4.2",
@@ -54,19 +54,17 @@
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.1",
57
+ "vue-multiselect": "^3.0.0-beta.3",
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": "4.4.1",
64
- "@vue/compat": "^3.2.47",
65
- "vue": "^3.2.47",
63
+ "@vitejs/plugin-vue": "5.0.3",
66
64
  "@vitest/coverage-v8": "^0.34.6",
67
- "@vue/compiler-sfc": "^3.2.47",
68
- "@vue/test-utils": "^2.3.0",
69
- "bamboo-jest-reporter": "^1.0.3",
65
+ "@vue/compat": "^3.4.15",
66
+ "@vue/compiler-sfc": "^3.4.15",
67
+ "@vue/test-utils": "^2.4.4",
70
68
  "eslint": "^8.53.0",
71
69
  "eslint-plugin-vue": "^9.18.1",
72
70
  "globby": "^14.0.0",
@@ -77,12 +75,13 @@
77
75
  "postcss-prefix-selector": "^1.16.0",
78
76
  "prismjs": "^1.29.0",
79
77
  "sass": "^1.51.0",
80
- "vite": "^4.5.2",
81
- "vite-plugin-node-polyfills": "^0.15.0",
78
+ "vite": "^5.0.12",
79
+ "vite-plugin-node-polyfills": "^0.19.0",
82
80
  "vite-plugin-static-copy": "^0.17.1",
83
81
  "vite-plugin-svg-sprite": "^0.5.1",
84
- "vitepress": "^1.0.0-rc.29",
82
+ "vitepress": "^1.0.0-rc.40",
85
83
  "vitest": "^0.34.6",
84
+ "vue": "^3.4.15",
86
85
  "vuex": "^4.1.0"
87
86
  }
88
87
  }
@@ -3,6 +3,7 @@
3
3
  class="wt-icon-btn"
4
4
  :class="{ 'wt-icon-btn--disabled': disabled }"
5
5
  type="button"
6
+ @mousedown="emit('mousedown', $event)"
6
7
  @click="emit('click', $event)"
7
8
  >
8
9
  <!-- prevent icon-btn classes to fall to wt-icon -->
@@ -23,7 +24,7 @@ const props = defineProps({
23
24
  },
24
25
  });
25
26
 
26
- const emit = defineEmits(['click']);
27
+ const emit = defineEmits(['click', 'mousedown']);
27
28
  </script>
28
29
 
29
30
  <style lang="scss">
@@ -88,7 +88,6 @@ export default {
88
88
  },
89
89
  listeners() {
90
90
  return {
91
- ...this.$listeners,
92
91
  'update:model-value': this.input,
93
92
  close: this.close,
94
93
  tag: this.tag,
@@ -90,7 +90,8 @@
90
90
  :disabled="disabled"
91
91
  class="multiselect__select multiselect__custom-value-arrow"
92
92
  icon="call-merge-filled"
93
- @mousedown.prevent.stop="handleCustomValue(toggle)"
93
+ @mousedown.prevent
94
+ @click="handleCustomValue(toggle)"
94
95
  />
95
96
  <!-- To view a list of possible values, click on this icon -->
96
97
  <!-- @mousedown.native.prevent.stop="toggle": https://github.com/shentao/vue-multiselect/issues/1204#issuecomment-615114727 -->
@@ -99,7 +100,8 @@
99
100
  :disabled="disabled"
100
101
  class="multiselect__select"
101
102
  icon="arrow-down"
102
- @mousedown.prevent.stop="toggle"
103
+ @mousedown.prevent
104
+ @click="toggle"
103
105
  />
104
106
  </template>
105
107