@webitel/ui-sdk 23.9.1 → 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.1",
3
+ "version": "23.09.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -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>