@webitel/ui-sdk 3.2.115 → 3.2.117

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": "3.2.115",
3
+ "version": "3.2.117",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -63,6 +63,7 @@
63
63
  description: 'Object with props, passed down to wt-label as props',
64
64
  },
65
65
  },
66
+ emits: ['change'],
66
67
  computed: {
67
68
  isChecked() {
68
69
  if (typeof this.selected === 'boolean') {
@@ -23,6 +23,7 @@
23
23
  <wt-button
24
24
  v-if="!hideSecondary && !emptySecondary"
25
25
  color="secondary"
26
+ :disabled="secondaryDisabled"
26
27
  @click="secondaryAction"
27
28
  >
28
29
  {{ secondaryText || $t('reusable.close') }}
@@ -53,6 +54,10 @@ const props = defineProps({
53
54
  type: Boolean,
54
55
  default: false,
55
56
  },
57
+ secondaryDisabled: {
58
+ type: Boolean,
59
+ default: false,
60
+ },
56
61
  secondaryText: {
57
62
  type: String,
58
63
  },
@@ -49,7 +49,8 @@
49
49
  >
50
50
  <td v-if="selectable" class="wt-table__td wt-table__td--checkbox">
51
51
  <wt-checkbox
52
- v-model="row._isSelected"
52
+ :selected="row._isSelected"
53
+ @change="row._isSelected = !row._isSelected"
53
54
  ></wt-checkbox>
54
55
  </td>
55
56