@webitel/ui-sdk 23.12.41 → 23.12.44

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.
Files changed (155) hide show
  1. package/dist/favicon.ico +0 -0
  2. package/dist/img/sprite/index.js +148 -1
  3. package/dist/img/sprite/variable-select.svg +9 -0
  4. package/dist/plyr.svg +70 -0
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.mjs +22671 -0
  7. package/dist/ui-sdk.umd.js +37 -43322
  8. package/package.json +33 -41
  9. package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +3 -3
  10. package/src/components/transitions/wt-expand-transition.vue +2 -2
  11. package/src/components/wt-app-header/wt-app-header.vue +2 -2
  12. package/src/components/wt-app-header/wt-app-navigator.vue +6 -5
  13. package/src/components/wt-app-header/wt-header-actions.vue +30 -14
  14. package/src/components/wt-avatar/wt-avatar.vue +2 -2
  15. package/src/components/wt-badge/wt-badge.vue +3 -3
  16. package/src/components/wt-button/wt-button.vue +5 -3
  17. package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +4 -4
  18. package/src/components/wt-button-select/wt-button-select.vue +3 -3
  19. package/src/components/wt-checkbox/wt-checkbox.vue +15 -48
  20. package/src/components/wt-chip/_variables.scss +25 -2
  21. package/src/components/wt-chip/wt-chip.scss +20 -17
  22. package/src/components/wt-chip/wt-chip.vue +10 -5
  23. package/src/components/wt-context-menu/wt-context-menu.vue +4 -4
  24. package/src/components/wt-copy-action/wt-copy-action.vue +6 -6
  25. package/src/components/wt-datepicker/wt-datepicker.vue +14 -12
  26. package/src/components/wt-divider/wt-divider.vue +1 -1
  27. package/src/components/wt-dummy/wt-dummy.vue +6 -2
  28. package/src/components/wt-error-page/wt-error-page.vue +10 -4
  29. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -4
  30. package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +7 -4
  31. package/src/components/wt-headline/wt-headline.vue +4 -4
  32. package/src/components/wt-headline-nav/wt-headline-nav.vue +11 -4
  33. package/src/components/wt-hint/wt-hint.vue +4 -4
  34. package/src/components/wt-icon/wt-icon.vue +5 -5
  35. package/src/components/wt-icon-action/_internals/wt-add-icon-action.vue +2 -2
  36. package/src/components/wt-icon-action/_internals/wt-delete-icon-action.vue +2 -2
  37. package/src/components/wt-icon-action/_internals/wt-download-icon-action.vue +2 -2
  38. package/src/components/wt-icon-action/_internals/wt-edit-icon-action.vue +2 -2
  39. package/src/components/wt-icon-action/_internals/wt-history-icon-action.vue +2 -2
  40. package/src/components/wt-icon-action/_internals/wt-refresh-icon-action.vue +2 -2
  41. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  42. package/src/components/wt-icon-btn/wt-icon-btn.vue +3 -2
  43. package/src/components/wt-indicator/wt-indicator.vue +6 -3
  44. package/src/components/wt-input/wt-input.vue +190 -199
  45. package/src/components/wt-input-info/wt-input-info.vue +2 -2
  46. package/src/components/wt-item-link/wt-item-link.vue +1 -1
  47. package/src/components/wt-label/_variables.scss +4 -2
  48. package/src/components/wt-label/wt-label.vue +5 -18
  49. package/src/components/wt-load-bar/wt-load-bar.vue +5 -2
  50. package/src/components/wt-loader/_internals/wt-loader--md.vue +11 -2
  51. package/src/components/wt-loader/_internals/wt-loader--sm.vue +9 -2
  52. package/src/components/wt-loader/wt-loader.vue +10 -3
  53. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +16 -8
  54. package/src/components/wt-notification/wt-notification.vue +3 -3
  55. package/src/components/wt-notifications-bar/wt-notifications-bar.vue +9 -5
  56. package/src/components/wt-page-header/wt-page-header.vue +7 -8
  57. package/src/components/wt-page-wrapper/wt-page-wrapper.vue +8 -5
  58. package/src/components/wt-pagination/wt-pagination.vue +17 -15
  59. package/src/components/wt-player/wt-player.vue +16 -16
  60. package/src/components/wt-popup/_variables.scss +4 -3
  61. package/src/components/wt-popup/wt-popup.vue +18 -10
  62. package/src/components/wt-progress-bar/wt-progress-bar.vue +11 -7
  63. package/src/components/wt-radio/wt-radio.vue +15 -7
  64. package/src/components/wt-rounded-action/wt-rounded-action.vue +2 -2
  65. package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -1
  66. package/src/components/wt-search-bar/wt-search-bar.vue +6 -5
  67. package/src/components/wt-select/_multiselect.scss +48 -53
  68. package/src/components/wt-select/_variables.scss +0 -3
  69. package/src/components/wt-select/wt-select.vue +41 -40
  70. package/src/components/wt-slider/wt-slider.vue +5 -5
  71. package/src/components/wt-status-select/wt-status-select.vue +9 -9
  72. package/src/components/wt-stepper/wt-stepper.vue +8 -6
  73. package/src/components/wt-switcher/_variables.scss +30 -7
  74. package/src/components/wt-switcher/wt-switcher.vue +56 -35
  75. package/src/components/wt-table/_variables.scss +8 -5
  76. package/src/components/wt-table/wt-table.vue +123 -90
  77. package/src/components/wt-table-actions/wt-table-actions.vue +14 -14
  78. package/src/components/wt-table-column-select/wt-table-column-select.vue +33 -28
  79. package/src/components/wt-tabs/_variables.scss +4 -4
  80. package/src/components/wt-tabs/wt-tabs.vue +15 -13
  81. package/src/components/wt-tags-input/wt-tags-input.vue +26 -35
  82. package/src/components/wt-textarea/wt-textarea.vue +21 -33
  83. package/src/components/wt-time-input/wt-time-input.vue +24 -54
  84. package/src/components/wt-timepicker/wt-timepicker.vue +19 -27
  85. package/src/components/wt-tooltip/__tests__/WtTooltip.spec.js +0 -10
  86. package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +2 -2
  87. package/src/components/wt-tooltip/_variables.scss +2 -4
  88. package/src/components/wt-tooltip/wt-tooltip.vue +6 -18
  89. package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +5 -5
  90. package/src/css/styleguide/colors/_colors.scss +15 -14
  91. package/src/css/styleguide/colors/reusable/_text-field.scss +36 -0
  92. package/src/css/styleguide/placeholder/_placeholder.scss +9 -9
  93. package/src/locale/i18n.js +1 -1
  94. package/src/locale/kz/kz.js +74 -78
  95. package/src/mixins/validationMixin/useValidation.js +2 -2
  96. package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +4 -4
  97. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +11 -9
  98. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +6 -5
  99. package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +3 -3
  100. package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +1 -1
  101. package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +10 -6
  102. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +8 -8
  103. package/src/modules/AuditForm/components/audit-form-question.vue +8 -8
  104. package/src/modules/AuditForm/components/audit-form.vue +6 -5
  105. package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +4 -4
  106. package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +7 -4
  107. package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +3 -3
  108. package/src/modules/CSVExport/__tests__/CSVExport.spec.js +5 -2
  109. package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +6 -6
  110. package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +13 -6
  111. package/src/modules/FilesExport/__tests__/FilesExport.spec.js +6 -3
  112. package/src/modules/Filters/components/filter-pagination.vue +1 -1
  113. package/src/modules/Filters/components/filter-table-fields.vue +1 -1
  114. package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +6 -6
  115. package/src/modules/QueryFilters/classes/__tests__/ApiFilterSchema.spec.js +1 -1
  116. package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +4 -4
  117. package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +2 -2
  118. package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +4 -4
  119. package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +2 -2
  120. package/src/modules/QueryFilters/components/abstract-api-filter.vue +2 -2
  121. package/src/modules/QueryFilters/components/abstract-enum-filter.vue +2 -2
  122. package/src/modules/QueryFilters/components/filter-datetime.vue +2 -2
  123. package/src/modules/QueryFilters/components/filter-from-to.vue +12 -10
  124. package/src/modules/QueryFilters/components/filter-search.vue +2 -2
  125. package/src/modules/QueryFilters/components/filter-table-fields.vue +7 -7
  126. package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +1 -1
  127. package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +2 -2
  128. package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +2 -2
  129. package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
  130. package/src/modules/QueryFilters/store/__tests__/QueryFiltersStoreModule.spec.js +2 -2
  131. package/src/modules/Userinfo/components/__tests__/auth.spec.js +7 -8
  132. package/src/modules/Userinfo/components/the-auth.vue +7 -4
  133. package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +6 -6
  134. package/dist/demo.html +0 -1
  135. package/dist/ui-sdk.common.js +0 -43304
  136. package/dist/ui-sdk.common.js.map +0 -1
  137. package/dist/ui-sdk.umd.js.map +0 -1
  138. package/dist/ui-sdk.umd.min.js +0 -35
  139. package/dist/ui-sdk.umd.min.js.map +0 -1
  140. package/src/components/wt-button/Readme.md +0 -23
  141. package/src/components/wt-button-select/Readme.md +0 -13
  142. package/src/components/wt-headline-nav/Readme.md +0 -9
  143. package/src/components/wt-icon/Readme.md +0 -327
  144. package/src/components/wt-icon/docs/cleanup-svg-fill-none.png +0 -0
  145. package/src/components/wt-icon/docs/cleanup-svg-fill.png +0 -0
  146. package/src/components/wt-icon/docs/cleanup-svg-viewbox-correct.png +0 -0
  147. package/src/components/wt-icon/docs/cleanup-svg-viewbox-incorrect.png +0 -0
  148. package/src/components/wt-icon/docs/cleanup-svg-width-height.png +0 -0
  149. package/src/components/wt-icon/docs/svg-icon-code-example.png +0 -0
  150. package/src/components/wt-icon/docs/svg-sprite-in-dom.png +0 -0
  151. package/src/components/wt-icon-btn/Readme.md +0 -10
  152. package/src/components/wt-rounded-action/Readme.md +0 -68
  153. package/src/components/wt-tags-input/_variables.scss +0 -24
  154. package/src/validators/variableSearchValidator/Readme.md +0 -13
  155. package/src/validators/websocketValidator/Readme.md +0 -7
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <wt-tooltip class="wt-copy-action">
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  v-bind="$attrs"
6
6
  :icon="copied ? 'done' : 'copy'"
7
7
  class="copy-action"
8
8
  @click="copy"
9
- ></wt-icon-btn>
9
+ />
10
10
  </template>
11
11
  {{ copied ? copiedTooltip : copyTooltip }}
12
12
  </wt-tooltip>
@@ -18,10 +18,7 @@ import copy from 'clipboard-copy';
18
18
  let copiedIdTimeout = null;
19
19
 
20
20
  export default {
21
- name: 'wt-copy-action',
22
- data: () => ({
23
- copied: false,
24
- }),
21
+ name: 'WtCopyAction',
25
22
  props: {
26
23
  value: {
27
24
  type: String,
@@ -34,6 +31,9 @@ export default {
34
31
  }),
35
32
  },
36
33
  },
34
+ data: () => ({
35
+ copied: false,
36
+ }),
37
37
  computed: {
38
38
  copyTooltip() {
39
39
  return this.tooltips.copy || this.$t('webitelUI.copyAction.copy');
@@ -13,7 +13,9 @@
13
13
  <slot
14
14
  v-bind="{ label }"
15
15
  name="label"
16
- >{{ label }}</slot>
16
+ >
17
+ {{ label }}
18
+ </slot>
17
19
  </wt-label>
18
20
  <vue-datepicker
19
21
  v-bind="{ ...$attrs, ...$props }"
@@ -29,46 +31,46 @@
29
31
  @open="isOpened = true"
30
32
  @update:model-value="emit('input', $event.getTime())"
31
33
  >
32
- <template v-slot:input-icon>
34
+ <template #input-icon>
33
35
  <wt-icon
34
36
  :color="disabled ? 'disabled' : 'default'"
35
37
  icon="calendar"
36
- ></wt-icon>
38
+ />
37
39
  </template>
38
- <template v-slot:clear-icon>
40
+ <template #clear-icon>
39
41
  <wt-icon
40
42
  :class="{ 'wt-datepicker__open-arrow--opened': isOpened }"
41
43
  :color="disabled ? 'disabled' : 'default'"
42
44
  class="wt-datepicker__open-arrow"
43
45
  icon="arrow-down"
44
- ></wt-icon>
46
+ />
45
47
  </template>
46
- <template v-slot:arrow-left>
48
+ <template #arrow-left>
47
49
  <wt-icon-btn
48
50
  icon="arrow-left"
49
- ></wt-icon-btn>
51
+ />
50
52
  </template>
51
- <template v-slot:arrow-right>
53
+ <template #arrow-right>
52
54
  <wt-icon-btn
53
55
  icon="arrow-right"
54
- ></wt-icon-btn>
56
+ />
55
57
  </template>
56
58
  <template
57
59
  v-if="isDateTime"
58
- v-slot:time-picker="{ time, updateTime }"
60
+ #time-picker="{ time, updateTime }"
59
61
  >
60
62
  <div class="datepicker__timepicker">
61
63
  <wt-time-input
62
64
  :value="time.hours"
63
65
  max-value="23"
64
66
  @input="updateTime"
65
- ></wt-time-input>
67
+ />
66
68
  :
67
69
  <wt-time-input
68
70
  :value="time.minutes"
69
71
  max-value="59"
70
72
  @input="updateTime($event, false)"
71
- ></wt-time-input>
73
+ />
72
74
  </div>
73
75
  </template>
74
76
  </vue-datepicker>
@@ -4,7 +4,7 @@
4
4
 
5
5
  <script>
6
6
  export default {
7
- name: 'wt-divider',
7
+ name: 'WtDivider',
8
8
  };
9
9
  </script>
10
10
 
@@ -10,11 +10,15 @@
10
10
  </div>
11
11
  <p
12
12
  v-if="!hiddenText"
13
- class="wt-dummy__text">{{ text || $t('webitelUI.dummy.text') }}</p>
13
+ class="wt-dummy__text"
14
+ >
15
+ {{ text || $t('webitelUI.dummy.text') }}
16
+ </p>
14
17
  <wt-button
15
18
  v-if="showAction"
16
19
  @click="emits('create')"
17
- >{{ buttonText || $t('reusable.add') }}
20
+ >
21
+ {{ buttonText || $t('reusable.add') }}
18
22
  </wt-button>
19
23
  </div>
20
24
  </template>
@@ -7,12 +7,18 @@
7
7
  :alt="errorPic.alt"
8
8
  >
9
9
  <h2
10
- class="wt-error-page__title">{{ errorTitle }}</h2>
11
- <p class="wt-error-page__text">{{ errorText }}</p>
10
+ class="wt-error-page__title"
11
+ >
12
+ {{ errorTitle }}
13
+ </h2>
14
+ <p class="wt-error-page__text">
15
+ {{ errorText }}
16
+ </p>
12
17
  <wt-button
13
18
  class="wt-error-page__action"
14
19
  @click="$emit('back')"
15
- >{{ $t('webitelUI.errorPages.goBack') }}
20
+ >
21
+ {{ $t('webitelUI.errorPages.goBack') }}
16
22
  </wt-button>
17
23
  </article>
18
24
  </section>
@@ -23,7 +29,7 @@ import pic403 from '../../assets/components/organisms/wt-error-page/403.svg';
23
29
  import pic404 from '../../assets/components/organisms/wt-error-page/404.svg';
24
30
 
25
31
  export default {
26
- name: 'wt-error-page',
32
+ name: 'WtErrorPage',
27
33
  props: {
28
34
  type: {
29
35
  type: String,
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  :class="[{'wt-expansion-panel--opened':open},
4
- `wt-expansion-panel--${props.size}`]"
4
+ `wt-expansion-panel--${props.size}`]"
5
5
  class="wt-expansion-panel"
6
6
  >
7
7
  <div
@@ -10,14 +10,14 @@
10
10
  @click="open = !open"
11
11
  @keypress.enter="open = !open"
12
12
  >
13
- <slot name="title"></slot>
13
+ <slot name="title" />
14
14
  <wt-icon
15
15
  icon="arrow-right"
16
- ></wt-icon>
16
+ />
17
17
  </div>
18
18
  <wt-expand-transition>
19
19
  <div v-show="open">
20
- <slot></slot>
20
+ <slot />
21
21
  </div>
22
22
  </wt-expand-transition>
23
23
  </div>
@@ -1,20 +1,23 @@
1
1
  <template>
2
- <article class="filters-panel-wrapper" :class="{ 'filters-panel-wrapper--opened': isOpened }">
2
+ <article
3
+ class="filters-panel-wrapper"
4
+ :class="{ 'filters-panel-wrapper--opened': isOpened }"
5
+ >
3
6
  <div class="filters-wrap">
4
- <slot></slot>
7
+ <slot />
5
8
  </div>
6
9
  <div class="actions-wrap">
7
10
  <wt-table-actions
8
11
  :icons="['filter-reset', 'settings']"
9
12
  @input="tableActionsHandler"
10
- ></wt-table-actions>
13
+ />
11
14
  </div>
12
15
  </article>
13
16
  </template>
14
17
 
15
18
  <script>
16
19
  export default {
17
- name: 'filters-panel-wrapper',
20
+ name: 'FiltersPanelWrapper',
18
21
  data: () => ({
19
22
  isOpened: false,
20
23
  filtersCount: 0,
@@ -3,12 +3,12 @@
3
3
  <slot>
4
4
  <slot name="title-wrapper">
5
5
  <h1 class="wt-headline__title">
6
- <slot name="title"></slot>
6
+ <slot name="title" />
7
7
  </h1>
8
8
  </slot>
9
9
  <div class="wt-headline__actions-wrapper">
10
- <slot name="search"></slot>
11
- <slot name="actions"></slot>
10
+ <slot name="search" />
11
+ <slot name="actions" />
12
12
  </div>
13
13
  </slot>
14
14
  </header>
@@ -16,7 +16,7 @@
16
16
 
17
17
  <script>
18
18
  export default {
19
- name: 'wt-headline',
19
+ name: 'WtHeadline',
20
20
  };
21
21
  </script>
22
22
 
@@ -5,15 +5,22 @@
5
5
  :key="key"
6
6
  class="wt-headline-nav__wrapper"
7
7
  >
8
- <span v-if="key !== 0" class="wt-headline-nav__indicator"></span>
8
+ <span
9
+ v-if="key !== 0"
10
+ class="wt-headline-nav__indicator"
11
+ />
9
12
  <h1 class="wt-headline-nav__title">
10
13
  <router-link
11
14
  v-if="singlePath.route"
12
15
  :to="singlePath.route"
13
16
  class="wt-headline-nav__text wt-headline-nav__text--link"
14
- >{{ singlePath.name }}
17
+ >
18
+ {{ singlePath.name }}
15
19
  </router-link>
16
- <span v-else class="wt-headline-nav__text">{{ singlePath.name }}</span>
20
+ <span
21
+ v-else
22
+ class="wt-headline-nav__text"
23
+ >{{ singlePath.name }}</span>
17
24
  </h1>
18
25
  </div>
19
26
  </nav>
@@ -77,7 +84,7 @@ const props = defineProps({
77
84
  }
78
85
 
79
86
  .wt-headline-nav__text {
80
- color: var(--main-text-color);
87
+ color: var(--text-main-color);
81
88
  }
82
89
 
83
90
  .wt-headline-nav__wrapper:last-child {
@@ -1,18 +1,18 @@
1
1
  <template>
2
2
  <wt-tooltip class="wt-hint">
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="rounded-info"
6
6
  :color="iconColor"
7
- ></wt-icon-btn>
7
+ />
8
8
  </template>
9
- <slot></slot>
9
+ <slot />
10
10
  </wt-tooltip>
11
11
  </template>
12
12
 
13
13
  <script>
14
14
  export default {
15
- name: 'wt-hint',
15
+ name: 'WtHint',
16
16
  props: {
17
17
  iconColor: {
18
18
  type: String,
@@ -2,13 +2,13 @@
2
2
  <i
3
3
  class="wt-icon"
4
4
  :class="[
5
- `wt-icon--size-${size}`,
6
- `wt-icon--color-${color}`,
7
- { 'wt-icon--disabled': disabled },
8
- ]"
5
+ `wt-icon--size-${size}`,
6
+ `wt-icon--color-${color}`,
7
+ { 'wt-icon--disabled': disabled },
8
+ ]"
9
9
  >
10
10
  <svg class="wt-icon__icon">
11
- <use :xlink:href="iconName"></use>
11
+ <use :xlink:href="iconName" />
12
12
  </svg>
13
13
  </i>
14
14
  </template>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="plus"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.addActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="bucket"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.deleteActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="download"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.downloadActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="edit"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.editActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="history"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.historyActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="refresh"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('reusable.refresh') }}
11
11
  </wt-tooltip>
@@ -3,7 +3,7 @@
3
3
  :is="actionComponent"
4
4
  :disabled="disabled"
5
5
  @click="emit('click')"
6
- ></component>
6
+ />
7
7
  </template>
8
8
 
9
9
  <script setup>
@@ -5,10 +5,11 @@
5
5
  type="button"
6
6
  @click="emit('click', $event)"
7
7
  >
8
+ <!-- prevent icon-btn classes to fall to wt-icon -->
8
9
  <wt-icon
9
- v-bind="$attrs"
10
+ v-bind="{ ...$attrs, class: '' }"
10
11
  :disabled="disabled"
11
- ></wt-icon>
12
+ />
12
13
  </button>
13
14
  </template>
14
15
 
@@ -10,8 +10,11 @@
10
10
  :class="[
11
11
  `wt-indicator__indicator--${color}`,
12
12
  ]"
13
- ></span>
14
- <div v-if="isText" class="wt-indicator__text">
13
+ />
14
+ <div
15
+ v-if="isText"
16
+ class="wt-indicator__text"
17
+ >
15
18
  {{ text }}
16
19
  </div>
17
20
  </div>
@@ -19,7 +22,7 @@
19
22
 
20
23
  <script>
21
24
  export default {
22
- name: 'wt-indicator',
25
+ name: 'WtIndicator',
23
26
  props: {
24
27
  color: {
25
28
  type: String,