@webitel/ui-sdk 23.9.0 → 23.9.2

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": "23.09.0",
3
+ "version": "23.09.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -23,9 +23,9 @@
23
23
  class="wt-table-column-select__popup-list"
24
24
  :class="{
25
25
  'wt-table-column-select__popup-list--md':
26
- changeableDraft.length > 20 && changeableDraft.length <= 30,
26
+ changeableDraft.length > 10 && changeableDraft.length <= 20,
27
27
  'wt-table-column-select__popup-list--lg':
28
- changeableDraft.length > 30
28
+ changeableDraft.length > 20
29
29
  }"
30
30
  >
31
31
  <li
@@ -150,9 +150,11 @@ $list-width-md: calc(800px - var(--spacing-xl)); // all popup width - (paddings
150
150
  flex-wrap: wrap;
151
151
  overflow-x: hidden;
152
152
 
153
- // for 20-30 items
153
+ // for 10-30 items
154
154
  &--md {
155
155
  width: $list-width-md;
156
+ display: block;
157
+ column-count: 2;
156
158
  }
157
159
 
158
160
  // for 30+ items
@@ -174,4 +176,3 @@ $list-width-md: calc(800px - var(--spacing-xl)); // all popup width - (paddings
174
176
  }
175
177
 
176
178
  </style>
177
-
@@ -334,6 +334,7 @@ export default {
334
334
  options: 'Options',
335
335
  score: 'Score',
336
336
  },
337
+ clearSelection: 'Clear selection',
337
338
  },
338
339
  deleteConfirmationPopup: {
339
340
  title: 'Confirm deletion',
@@ -332,6 +332,7 @@ export default {
332
332
  options: 'Вариант',
333
333
  score: 'Бал',
334
334
  },
335
+ clearSelection: 'Очистить выбор',
335
336
  },
336
337
  deleteConfirmationPopup: {
337
338
  title: 'Подтвердите удаление',
@@ -332,6 +332,7 @@ export default {
332
332
  options: 'Варіант',
333
333
  score: 'Бал',
334
334
  },
335
+ clearSelection: 'Очистити вибір',
335
336
  },
336
337
  deleteConfirmationPopup: {
337
338
  title: 'Підтвердіть видалення',
@@ -30,6 +30,11 @@
30
30
  mode="read"
31
31
  @change:result="!readonly && emit('change:result', $event)"
32
32
  ></component>
33
+ <div
34
+ v-show="isResult"
35
+ class="audit-form-question--clear"
36
+ @click="emit('change:result', {})"
37
+ >{{ $t('webitelUI.auditForm.clearSelection') }}</div>
33
38
  </section>
34
39
  </article>
35
40
  </template>
@@ -119,4 +124,9 @@ const isResult = computed(() => !isEmpty(props.result));
119
124
  }
120
125
  }
121
126
  }
127
+ .audit-form-question--clear {
128
+ margin-top: var(--spacing-sm);;
129
+ cursor: pointer;
130
+ color: var(--link-color);
131
+ }
122
132
  </style>