@webitel/ui-sdk 23.12.38 → 23.12.39-vite-1

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 (277) hide show
  1. package/dist/favicon.ico +0 -0
  2. package/dist/img/sprite/sprite/index.js +147 -0
  3. package/dist/plyr.svg +70 -0
  4. package/dist/style.css +1 -0
  5. package/dist/ui-sdk.mjs +22666 -0
  6. package/dist/ui-sdk.umd.js +37 -43322
  7. package/package.json +19 -37
  8. package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +3 -3
  9. package/src/components/transitions/wt-expand-transition.vue +2 -2
  10. package/src/components/wt-app-header/wt-app-header.vue +2 -2
  11. package/src/components/wt-app-header/wt-app-navigator.vue +6 -5
  12. package/src/components/wt-app-header/wt-header-actions.vue +30 -14
  13. package/src/components/wt-avatar/wt-avatar.vue +2 -2
  14. package/src/components/wt-badge/wt-badge.vue +3 -3
  15. package/src/components/wt-button/wt-button.vue +5 -3
  16. package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +4 -4
  17. package/src/components/wt-button-select/wt-button-select.vue +3 -3
  18. package/src/components/wt-checkbox/wt-checkbox.vue +12 -7
  19. package/src/components/wt-chip/wt-chip.vue +6 -3
  20. package/src/components/wt-context-menu/wt-context-menu.vue +4 -4
  21. package/src/components/wt-copy-action/wt-copy-action.vue +6 -6
  22. package/src/components/wt-datepicker/wt-datepicker.vue +14 -12
  23. package/src/components/wt-divider/wt-divider.vue +1 -1
  24. package/src/components/wt-dummy/wt-dummy.vue +6 -2
  25. package/src/components/wt-error-page/wt-error-page.vue +10 -4
  26. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -4
  27. package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +7 -4
  28. package/src/components/wt-headline/wt-headline.vue +4 -4
  29. package/src/components/wt-headline-nav/wt-headline-nav.vue +11 -4
  30. package/src/components/wt-hint/wt-hint.vue +4 -4
  31. package/src/components/wt-icon/wt-icon.vue +5 -5
  32. package/src/components/wt-icon-action/_internals/wt-add-icon-action.vue +2 -2
  33. package/src/components/wt-icon-action/_internals/wt-delete-icon-action.vue +2 -2
  34. package/src/components/wt-icon-action/_internals/wt-download-icon-action.vue +2 -2
  35. package/src/components/wt-icon-action/_internals/wt-edit-icon-action.vue +2 -2
  36. package/src/components/wt-icon-action/_internals/wt-history-icon-action.vue +2 -2
  37. package/src/components/wt-icon-action/_internals/wt-refresh-icon-action.vue +2 -2
  38. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  39. package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
  40. package/src/components/wt-indicator/wt-indicator.vue +6 -3
  41. package/src/components/wt-input/Readme.md +96 -0
  42. package/src/components/wt-input/wt-input.vue +193 -182
  43. package/src/components/wt-input-info/wt-input-info.vue +2 -2
  44. package/src/components/wt-item-link/wt-item-link.vue +1 -1
  45. package/src/components/wt-label/wt-label.vue +2 -2
  46. package/src/components/wt-load-bar/wt-load-bar.vue +5 -2
  47. package/src/components/wt-loader/_internals/wt-loader--md.vue +11 -2
  48. package/src/components/wt-loader/_internals/wt-loader--sm.vue +9 -2
  49. package/src/components/wt-loader/wt-loader.vue +10 -3
  50. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +16 -8
  51. package/src/components/wt-notification/wt-notification.vue +3 -3
  52. package/src/components/wt-notifications-bar/wt-notifications-bar.vue +9 -5
  53. package/src/components/wt-page-header/wt-page-header.vue +7 -8
  54. package/src/components/wt-page-wrapper/wt-page-wrapper.vue +8 -5
  55. package/src/components/wt-pagination/wt-pagination.vue +17 -15
  56. package/src/components/wt-player/wt-player.vue +16 -16
  57. package/src/components/wt-popup/wt-popup.vue +13 -7
  58. package/src/components/wt-progress-bar/wt-progress-bar.vue +11 -7
  59. package/src/components/wt-radio/wt-radio.vue +15 -7
  60. package/src/components/wt-rounded-action/wt-rounded-action.vue +2 -2
  61. package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -1
  62. package/src/components/wt-search-bar/wt-search-bar.vue +6 -5
  63. package/src/components/wt-select/_multiselect.scss +0 -1
  64. package/src/components/wt-select/wt-select.vue +33 -19
  65. package/src/components/wt-slider/wt-slider.vue +5 -5
  66. package/src/components/wt-status-select/wt-status-select.vue +9 -9
  67. package/src/components/wt-stepper/wt-stepper.vue +8 -6
  68. package/src/components/wt-switcher/wt-switcher.vue +12 -7
  69. package/src/components/wt-table/wt-table.vue +110 -72
  70. package/src/components/wt-table-actions/wt-table-actions.vue +14 -14
  71. package/src/components/wt-table-column-select/wt-table-column-select.vue +28 -26
  72. package/src/components/wt-tabs/wt-tabs.vue +7 -7
  73. package/src/components/wt-tags-input/wt-tags-input.vue +23 -15
  74. package/src/components/wt-textarea/wt-textarea.vue +15 -10
  75. package/src/components/wt-time-input/wt-time-input.vue +7 -4
  76. package/src/components/wt-timepicker/wt-timepicker.vue +19 -15
  77. package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +2 -2
  78. package/src/components/wt-tooltip/wt-tooltip.vue +4 -4
  79. package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +5 -5
  80. package/src/css/styleguide/colors/_colors.scss +9 -8
  81. package/src/css/styleguide/colors/reusable/_text-field.scss +20 -0
  82. package/src/locale/en/en.js +1 -0
  83. package/src/locale/es/es.js +1 -0
  84. package/src/locale/i18n.js +1 -1
  85. package/src/locale/kz/kz.js +4 -0
  86. package/src/locale/ru/ru.js +1 -0
  87. package/src/locale/ua/ua.js +1 -0
  88. package/src/mixins/validationMixin/useValidation.js +2 -2
  89. package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +4 -4
  90. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +11 -9
  91. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +6 -5
  92. package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +3 -3
  93. package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +1 -1
  94. package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +10 -6
  95. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +8 -8
  96. package/src/modules/AuditForm/components/audit-form-question.vue +8 -8
  97. package/src/modules/AuditForm/components/audit-form.vue +6 -5
  98. package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +4 -4
  99. package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +7 -4
  100. package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +3 -3
  101. package/src/modules/CSVExport/__tests__/CSVExport.spec.js +2 -2
  102. package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +6 -6
  103. package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +13 -6
  104. package/src/modules/FilesExport/__tests__/FilesExport.spec.js +3 -3
  105. package/src/modules/Filters/components/filter-pagination.vue +1 -1
  106. package/src/modules/Filters/components/filter-table-fields.vue +1 -1
  107. package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +3 -3
  108. package/src/modules/QueryFilters/classes/__tests__/ApiFilterSchema.spec.js +1 -1
  109. package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +4 -4
  110. package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +2 -2
  111. package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +4 -4
  112. package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +2 -2
  113. package/src/modules/QueryFilters/components/abstract-api-filter.vue +2 -2
  114. package/src/modules/QueryFilters/components/abstract-enum-filter.vue +2 -2
  115. package/src/modules/QueryFilters/components/filter-datetime.vue +2 -2
  116. package/src/modules/QueryFilters/components/filter-from-to.vue +12 -10
  117. package/src/modules/QueryFilters/components/filter-search.vue +2 -2
  118. package/src/modules/QueryFilters/components/filter-table-fields.vue +7 -7
  119. package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +1 -1
  120. package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +2 -2
  121. package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +2 -2
  122. package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
  123. package/src/modules/QueryFilters/store/__tests__/QueryFiltersStoreModule.spec.js +2 -2
  124. package/src/modules/Userinfo/components/__tests__/auth.spec.js +4 -4
  125. package/src/modules/Userinfo/components/the-auth.vue +7 -4
  126. package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +6 -6
  127. package/dist/demo.html +0 -1
  128. package/dist/img/sprite/index.js +0 -1
  129. package/dist/ui-sdk.common.js +0 -43304
  130. package/dist/ui-sdk.common.js.map +0 -1
  131. package/dist/ui-sdk.css +0 -1
  132. package/dist/ui-sdk.umd.js.map +0 -1
  133. package/dist/ui-sdk.umd.min.js +0 -35
  134. package/dist/ui-sdk.umd.min.js.map +0 -1
  135. /package/dist/img/sprite/{account.svg → sprite/account.svg} +0 -0
  136. /package/dist/img/sprite/{adfs.svg → sprite/adfs.svg} +0 -0
  137. /package/dist/img/sprite/{app-navigator.svg → sprite/app-navigator.svg} +0 -0
  138. /package/dist/img/sprite/{arrow-down.svg → sprite/arrow-down.svg} +0 -0
  139. /package/dist/img/sprite/{arrow-left.svg → sprite/arrow-left.svg} +0 -0
  140. /package/dist/img/sprite/{arrow-mix.svg → sprite/arrow-mix.svg} +0 -0
  141. /package/dist/img/sprite/{arrow-right.svg → sprite/arrow-right.svg} +0 -0
  142. /package/dist/img/sprite/{arrow-up.svg → sprite/arrow-up.svg} +0 -0
  143. /package/dist/img/sprite/{attach.svg → sprite/attach.svg} +0 -0
  144. /package/dist/img/sprite/{attention.svg → sprite/attention.svg} +0 -0
  145. /package/dist/img/sprite/{azure.svg → sprite/azure.svg} +0 -0
  146. /package/dist/img/sprite/{back.svg → sprite/back.svg} +0 -0
  147. /package/dist/img/sprite/{bell-badged.svg → sprite/bell-badged.svg} +0 -0
  148. /package/dist/img/sprite/{bell.svg → sprite/bell.svg} +0 -0
  149. /package/dist/img/sprite/{bucket.svg → sprite/bucket.svg} +0 -0
  150. /package/dist/img/sprite/{calendar.svg → sprite/calendar.svg} +0 -0
  151. /package/dist/img/sprite/{call--filled.svg → sprite/call--filled.svg} +0 -0
  152. /package/dist/img/sprite/{call-add-to--filled.svg → sprite/call-add-to--filled.svg} +0 -0
  153. /package/dist/img/sprite/{call-add-to.svg → sprite/call-add-to.svg} +0 -0
  154. /package/dist/img/sprite/{call-disconnect--filled.svg → sprite/call-disconnect--filled.svg} +0 -0
  155. /package/dist/img/sprite/{call-disconnect.svg → sprite/call-disconnect.svg} +0 -0
  156. /package/dist/img/sprite/{call-end--filled.svg → sprite/call-end--filled.svg} +0 -0
  157. /package/dist/img/sprite/{call-end.svg → sprite/call-end.svg} +0 -0
  158. /package/dist/img/sprite/{call-inbound--filled.svg → sprite/call-inbound--filled.svg} +0 -0
  159. /package/dist/img/sprite/{call-inbound.svg → sprite/call-inbound.svg} +0 -0
  160. /package/dist/img/sprite/{call-missed--filled.svg → sprite/call-missed--filled.svg} +0 -0
  161. /package/dist/img/sprite/{call-missed.svg → sprite/call-missed.svg} +0 -0
  162. /package/dist/img/sprite/{call-outbound--filled.svg → sprite/call-outbound--filled.svg} +0 -0
  163. /package/dist/img/sprite/{call-outbound.svg → sprite/call-outbound.svg} +0 -0
  164. /package/dist/img/sprite/{call-ringing--filled.svg → sprite/call-ringing--filled.svg} +0 -0
  165. /package/dist/img/sprite/{call-ringing.svg → sprite/call-ringing.svg} +0 -0
  166. /package/dist/img/sprite/{call-transfer--filled.svg → sprite/call-transfer--filled.svg} +0 -0
  167. /package/dist/img/sprite/{call-transfer.svg → sprite/call-transfer.svg} +0 -0
  168. /package/dist/img/sprite/{call.svg → sprite/call.svg} +0 -0
  169. /package/dist/img/sprite/{chat--filled.svg → sprite/chat--filled.svg} +0 -0
  170. /package/dist/img/sprite/{chat-emoji.svg → sprite/chat-emoji.svg} +0 -0
  171. /package/dist/img/sprite/{chat-end--filled.svg → sprite/chat-end--filled.svg} +0 -0
  172. /package/dist/img/sprite/{chat-end.svg → sprite/chat-end.svg} +0 -0
  173. /package/dist/img/sprite/{chat-group.svg → sprite/chat-group.svg} +0 -0
  174. /package/dist/img/sprite/{chat-join.svg → sprite/chat-join.svg} +0 -0
  175. /package/dist/img/sprite/{chat-message-status-read.svg → sprite/chat-message-status-read.svg} +0 -0
  176. /package/dist/img/sprite/{chat-message-status-sent.svg → sprite/chat-message-status-sent.svg} +0 -0
  177. /package/dist/img/sprite/{chat-quick-response--filled.svg → sprite/chat-quick-response--filled.svg} +0 -0
  178. /package/dist/img/sprite/{chat-quick-response.svg → sprite/chat-quick-response.svg} +0 -0
  179. /package/dist/img/sprite/{chat-reply.svg → sprite/chat-reply.svg} +0 -0
  180. /package/dist/img/sprite/{chat-send.svg → sprite/chat-send.svg} +0 -0
  181. /package/dist/img/sprite/{chat-transfer--filled.svg → sprite/chat-transfer--filled.svg} +0 -0
  182. /package/dist/img/sprite/{chat-transfer.svg → sprite/chat-transfer.svg} +0 -0
  183. /package/dist/img/sprite/{chat.svg → sprite/chat.svg} +0 -0
  184. /package/dist/img/sprite/{checkbox--checked--filled.svg → sprite/checkbox--checked--filled.svg} +0 -0
  185. /package/dist/img/sprite/{checkbox--checked.svg → sprite/checkbox--checked.svg} +0 -0
  186. /package/dist/img/sprite/{checkbox.svg → sprite/checkbox.svg} +0 -0
  187. /package/dist/img/sprite/{clear.svg → sprite/clear.svg} +0 -0
  188. /package/dist/img/sprite/{close--filled.svg → sprite/close--filled.svg} +0 -0
  189. /package/dist/img/sprite/{close.svg → sprite/close.svg} +0 -0
  190. /package/dist/img/sprite/{collapse.svg → sprite/collapse.svg} +0 -0
  191. /package/dist/img/sprite/{column-select.svg → sprite/column-select.svg} +0 -0
  192. /package/dist/img/sprite/{conference.svg → sprite/conference.svg} +0 -0
  193. /package/dist/img/sprite/{contacts.svg → sprite/contacts.svg} +0 -0
  194. /package/dist/img/sprite/{copy.svg → sprite/copy.svg} +0 -0
  195. /package/dist/img/sprite/{docs.svg → sprite/docs.svg} +0 -0
  196. /package/dist/img/sprite/{done.svg → sprite/done.svg} +0 -0
  197. /package/dist/img/sprite/{download.svg → sprite/download.svg} +0 -0
  198. /package/dist/img/sprite/{edit.svg → sprite/edit.svg} +0 -0
  199. /package/dist/img/sprite/{email.svg → sprite/email.svg} +0 -0
  200. /package/dist/img/sprite/{expand.svg → sprite/expand.svg} +0 -0
  201. /package/dist/img/sprite/{eye--closed.svg → sprite/eye--closed.svg} +0 -0
  202. /package/dist/img/sprite/{eye--opened.svg → sprite/eye--opened.svg} +0 -0
  203. /package/dist/img/sprite/{filter.svg → sprite/filter.svg} +0 -0
  204. /package/dist/img/sprite/{generate.svg → sprite/generate.svg} +0 -0
  205. /package/dist/img/sprite/{google.svg → sprite/google.svg} +0 -0
  206. /package/dist/img/sprite/{history.svg → sprite/history.svg} +0 -0
  207. /package/dist/img/sprite/{hold.svg → sprite/hold.svg} +0 -0
  208. /package/dist/img/sprite/{idle.svg → sprite/idle.svg} +0 -0
  209. /package/dist/img/sprite/{instagram.svg → sprite/instagram.svg} +0 -0
  210. /package/dist/img/sprite/{job--accept.svg → sprite/job--accept.svg} +0 -0
  211. /package/dist/img/sprite/{job--end.svg → sprite/job--end.svg} +0 -0
  212. /package/dist/img/sprite/{job.svg → sprite/job.svg} +0 -0
  213. /package/dist/img/sprite/{link.svg → sprite/link.svg} +0 -0
  214. /package/dist/img/sprite/{lock.svg → sprite/lock.svg} +0 -0
  215. /package/dist/img/sprite/{logout.svg → sprite/logout.svg} +0 -0
  216. /package/dist/img/sprite/{mail--color.svg → sprite/mail--color.svg} +0 -0
  217. /package/dist/img/sprite/{mail.svg → sprite/mail.svg} +0 -0
  218. /package/dist/img/sprite/{menu.svg → sprite/menu.svg} +0 -0
  219. /package/dist/img/sprite/{messenger-facebook--filled.svg → sprite/messenger-facebook--filled.svg} +0 -0
  220. /package/dist/img/sprite/{messenger-facebook.svg → sprite/messenger-facebook.svg} +0 -0
  221. /package/dist/img/sprite/{messenger-infobip.svg → sprite/messenger-infobip.svg} +0 -0
  222. /package/dist/img/sprite/{messenger-messenger.svg → sprite/messenger-messenger.svg} +0 -0
  223. /package/dist/img/sprite/{messenger-telegram--filled.svg → sprite/messenger-telegram--filled.svg} +0 -0
  224. /package/dist/img/sprite/{messenger-telegram.svg → sprite/messenger-telegram.svg} +0 -0
  225. /package/dist/img/sprite/{messenger-viber--filled.svg → sprite/messenger-viber--filled.svg} +0 -0
  226. /package/dist/img/sprite/{messenger-viber.svg → sprite/messenger-viber.svg} +0 -0
  227. /package/dist/img/sprite/{messenger-web-chat.svg → sprite/messenger-web-chat.svg} +0 -0
  228. /package/dist/img/sprite/{messenger-whatsapp--filled.svg → sprite/messenger-whatsapp--filled.svg} +0 -0
  229. /package/dist/img/sprite/{messenger-whatsapp.svg → sprite/messenger-whatsapp.svg} +0 -0
  230. /package/dist/img/sprite/{meta.svg → sprite/meta.svg} +0 -0
  231. /package/dist/img/sprite/{mic-muted.svg → sprite/mic-muted.svg} +0 -0
  232. /package/dist/img/sprite/{mic.svg → sprite/mic.svg} +0 -0
  233. /package/dist/img/sprite/{move.svg → sprite/move.svg} +0 -0
  234. /package/dist/img/sprite/{note.svg → sprite/note.svg} +0 -0
  235. /package/dist/img/sprite/{numpad.svg → sprite/numpad.svg} +0 -0
  236. /package/dist/img/sprite/{options.svg → sprite/options.svg} +0 -0
  237. /package/dist/img/sprite/{pause.svg → sprite/pause.svg} +0 -0
  238. /package/dist/img/sprite/{pin.svg → sprite/pin.svg} +0 -0
  239. /package/dist/img/sprite/{play.svg → sprite/play.svg} +0 -0
  240. /package/dist/img/sprite/{plus.svg → sprite/plus.svg} +0 -0
  241. /package/dist/img/sprite/{preview-tag-application.svg → sprite/preview-tag-application.svg} +0 -0
  242. /package/dist/img/sprite/{preview-tag-audio.svg → sprite/preview-tag-audio.svg} +0 -0
  243. /package/dist/img/sprite/{preview-tag-image.svg → sprite/preview-tag-image.svg} +0 -0
  244. /package/dist/img/sprite/{preview-tag-video.svg → sprite/preview-tag-video.svg} +0 -0
  245. /package/dist/img/sprite/{prompter.svg → sprite/prompter.svg} +0 -0
  246. /package/dist/img/sprite/{queue-member.svg → sprite/queue-member.svg} +0 -0
  247. /package/dist/img/sprite/{radio--checked.svg → sprite/radio--checked.svg} +0 -0
  248. /package/dist/img/sprite/{radio.svg → sprite/radio.svg} +0 -0
  249. /package/dist/img/sprite/{rec-off.svg → sprite/rec-off.svg} +0 -0
  250. /package/dist/img/sprite/{rec.svg → sprite/rec.svg} +0 -0
  251. /package/dist/img/sprite/{refresh.svg → sprite/refresh.svg} +0 -0
  252. /package/dist/img/sprite/{role.svg → sprite/role.svg} +0 -0
  253. /package/dist/img/sprite/{rounded-info.svg → sprite/rounded-info.svg} +0 -0
  254. /package/dist/img/sprite/{scorecard.svg → sprite/scorecard.svg} +0 -0
  255. /package/dist/img/sprite/{search.svg → sprite/search.svg} +0 -0
  256. /package/dist/img/sprite/{send-arrow.svg → sprite/send-arrow.svg} +0 -0
  257. /package/dist/img/sprite/{settings.svg → sprite/settings.svg} +0 -0
  258. /package/dist/img/sprite/{sort-arrow-down.svg → sprite/sort-arrow-down.svg} +0 -0
  259. /package/dist/img/sprite/{sort-arrow-up.svg → sprite/sort-arrow-up.svg} +0 -0
  260. /package/dist/img/sprite/{sound-off.svg → sprite/sound-off.svg} +0 -0
  261. /package/dist/img/sprite/{sound-on.svg → sprite/sound-on.svg} +0 -0
  262. /package/dist/img/sprite/{star--filled.svg → sprite/star--filled.svg} +0 -0
  263. /package/dist/img/sprite/{star.svg → sprite/star.svg} +0 -0
  264. /package/dist/img/sprite/{stop.svg → sprite/stop.svg} +0 -0
  265. /package/dist/img/sprite/{stt-download.svg → sprite/stt-download.svg} +0 -0
  266. /package/dist/img/sprite/{stt-search.svg → sprite/stt-search.svg} +0 -0
  267. /package/dist/img/sprite/{stt.svg → sprite/stt.svg} +0 -0
  268. /package/dist/img/sprite/{telegram-bot.svg → sprite/telegram-bot.svg} +0 -0
  269. /package/dist/img/sprite/{tick.svg → sprite/tick.svg} +0 -0
  270. /package/dist/img/sprite/{tts-download.svg → sprite/tts-download.svg} +0 -0
  271. /package/dist/img/sprite/{unpin.svg → sprite/unpin.svg} +0 -0
  272. /package/dist/img/sprite/{upload.svg → sprite/upload.svg} +0 -0
  273. /package/dist/img/sprite/{user.svg → sprite/user.svg} +0 -0
  274. /package/dist/img/sprite/{video-cam-off.svg → sprite/video-cam-off.svg} +0 -0
  275. /package/dist/img/sprite/{video-cam.svg → sprite/video-cam.svg} +0 -0
  276. /package/dist/img/sprite/{zoom-in.svg → sprite/zoom-in.svg} +0 -0
  277. /package/dist/img/sprite/{zoom-out.svg → sprite/zoom-out.svg} +0 -0
@@ -19,13 +19,18 @@
19
19
  :disabled="disabled"
20
20
  @change="inputHandler"
21
21
  >
22
- <span class="wt-switcher__checkmark"></span>
22
+ <span class="wt-switcher__checkmark" />
23
23
  <!-- @slot Custom input label -->
24
24
  <slot
25
25
  v-bind="{ label, value, disabled }"
26
26
  name="label"
27
27
  >
28
- <div v-if="label" class="wt-switcher__label">{{ label }}</div>
28
+ <div
29
+ v-if="label"
30
+ class="wt-switcher__label"
31
+ >
32
+ {{ label }}
33
+ </div>
29
34
  </slot>
30
35
  </wt-label>
31
36
  </div>
@@ -33,7 +38,11 @@
33
38
 
34
39
  <script>
35
40
  export default {
36
- name: 'wt-switcher',
41
+ name: 'WtSwitcher',
42
+ model: {
43
+ prop: 'value',
44
+ event: 'change',
45
+ },
37
46
  props: {
38
47
  value: {
39
48
  type: Boolean,
@@ -56,10 +65,6 @@ export default {
56
65
  description: 'Object with props, passed down to wt-label as props',
57
66
  },
58
67
  },
59
- model: {
60
- prop: 'value',
61
- event: 'change',
62
- },
63
68
  methods: {
64
69
  inputHandler() {
65
70
  this.$emit('change', !this.value);
@@ -2,86 +2,124 @@
2
2
  <div class="wt-table">
3
3
  <table class="wt-table__table">
4
4
  <thead class="wt-table__head">
5
- <tr :style="columnsStyle" class="wt-table__tr wt-table__tr__head">
6
- <th v-if="selectable" class="wt-table__th wt-table__th--checkbox">
7
- <wt-checkbox
8
- :selected="isAllSelected"
9
- @change="selectAll"
10
- ></wt-checkbox>
11
- </th>
12
- <th
13
- v-for="(col, key) of dataHeaders"
14
- :key="key"
15
- :class="[
16
- {'wt-table__th--sortable': isColSortable(col)},
17
- `wt-table__th--sort-${col.sort}`,
18
- ]"
19
- class="wt-table__th"
20
- @click="sort(col)"
5
+ <tr
6
+ :style="columnsStyle"
7
+ class="wt-table__tr wt-table__tr__head"
21
8
  >
22
- <div class="wt-table__th__text">{{ col.text }}</div>
23
- <wt-icon
24
- v-if="sortable"
25
- class="wt-table__th__sort-arrow wt-table__th__sort-arrow--asc"
26
- icon="sort-arrow-up"
27
- size="sm"
28
- ></wt-icon>
29
- <wt-icon
30
- v-if="sortable"
31
- class="wt-table__th__sort-arrow wt-table__th__sort-arrow--desc"
32
- icon="sort-arrow-down"
33
- size="sm"
34
- ></wt-icon>
35
- </th>
36
- <th v-if="gridActions" class="wt-table__th__actions">
37
- <slot name="actions-header"></slot>
38
- </th>
39
- </tr>
9
+ <th
10
+ v-if="selectable"
11
+ class="wt-table__th wt-table__th--checkbox"
12
+ >
13
+ <wt-checkbox
14
+ :selected="isAllSelected"
15
+ @change="selectAll"
16
+ />
17
+ </th>
18
+ <th
19
+ v-for="(col, key) of dataHeaders"
20
+ :key="key"
21
+ :class="[
22
+ {'wt-table__th--sortable': isColSortable(col)},
23
+ `wt-table__th--sort-${col.sort}`,
24
+ ]"
25
+ class="wt-table__th"
26
+ @click="sort(col)"
27
+ >
28
+ <div class="wt-table__th__text">
29
+ {{ col.text }}
30
+ </div>
31
+ <wt-icon
32
+ v-if="sortable"
33
+ class="wt-table__th__sort-arrow wt-table__th__sort-arrow--asc"
34
+ icon="sort-arrow-up"
35
+ size="sm"
36
+ />
37
+ <wt-icon
38
+ v-if="sortable"
39
+ class="wt-table__th__sort-arrow wt-table__th__sort-arrow--desc"
40
+ icon="sort-arrow-down"
41
+ size="sm"
42
+ />
43
+ </th>
44
+ <th
45
+ v-if="gridActions"
46
+ class="wt-table__th__actions"
47
+ >
48
+ <slot name="actions-header" />
49
+ </th>
50
+ </tr>
40
51
  </thead>
41
52
 
42
53
  <tbody class="wt-table__body">
43
- <tr
44
- v-for="(row, dataKey) of data"
45
- :key="dataKey"
46
- :class="`wt-table__tr__${row.id || dataKey}`"
47
- :style="columnsStyle"
48
- class="wt-table__tr wt-table__tr__body"
49
- >
50
- <td v-if="selectable" class="wt-table__td wt-table__td--checkbox">
51
- <wt-checkbox
52
- :selected="row._isSelected"
53
- @change="row._isSelected = !row._isSelected"
54
- ></wt-checkbox>
55
- </td>
56
-
57
- <td
58
- v-for="(col, headerKey) of dataHeaders"
59
- :key="headerKey"
60
- class="wt-table__td"
54
+ <tr
55
+ v-for="(row, dataKey) of data"
56
+ :key="dataKey"
57
+ :class="`wt-table__tr__${row.id || dataKey}`"
58
+ :style="columnsStyle"
59
+ class="wt-table__tr wt-table__tr__body"
61
60
  >
62
- <slot :index="dataKey" :item="row" :name="col.value">
63
- <div>{{ row[col.value] }}</div>
64
- </slot>
65
- </td>
61
+ <td
62
+ v-if="selectable"
63
+ class="wt-table__td wt-table__td--checkbox"
64
+ >
65
+ <wt-checkbox
66
+ :selected="row._isSelected"
67
+ @change="row._isSelected = !row._isSelected"
68
+ />
69
+ </td>
66
70
 
67
- <td v-if="gridActions" class="wt-table__td__actions">
68
- <slot :index="dataKey" :item="row" name="actions"></slot>
69
- </td>
70
- </tr>
71
+ <td
72
+ v-for="(col, headerKey) of dataHeaders"
73
+ :key="headerKey"
74
+ class="wt-table__td"
75
+ >
76
+ <slot
77
+ :index="dataKey"
78
+ :item="row"
79
+ :name="col.value"
80
+ >
81
+ <div>{{ row[col.value] }}</div>
82
+ </slot>
83
+ </td>
84
+
85
+ <td
86
+ v-if="gridActions"
87
+ class="wt-table__td__actions"
88
+ >
89
+ <slot
90
+ :index="dataKey"
91
+ :item="row"
92
+ name="actions"
93
+ />
94
+ </td>
95
+ </tr>
71
96
  </tbody>
72
97
 
73
- <tfoot v-if="isTableFooter" class="wt-table__foot">
74
- <tr :style="columnsStyle" class="wt-table__tr wt-table__tr__foot">
75
- <!-- empty checkbox column -->
76
- <th v-if="selectable" class="wt-table__th__checkbox"></th>
77
- <td
78
- v-for="(col, headerKey) of dataHeaders"
79
- :key="headerKey"
80
- class="wt-table__td"
98
+ <tfoot
99
+ v-if="isTableFooter"
100
+ class="wt-table__foot"
101
+ >
102
+ <tr
103
+ :style="columnsStyle"
104
+ class="wt-table__tr wt-table__tr__foot"
81
105
  >
82
- <slot :header="col" :index="headerKey" :name="`${col.value}-footer`"></slot>
83
- </td>
84
- </tr>
106
+ <!-- empty checkbox column -->
107
+ <th
108
+ v-if="selectable"
109
+ class="wt-table__th__checkbox"
110
+ />
111
+ <td
112
+ v-for="(col, headerKey) of dataHeaders"
113
+ :key="headerKey"
114
+ class="wt-table__td"
115
+ >
116
+ <slot
117
+ :header="col"
118
+ :index="headerKey"
119
+ :name="`${col.value}-footer`"
120
+ />
121
+ </td>
122
+ </tr>
85
123
  </tfoot>
86
124
  </table>
87
125
  </div>
@@ -91,7 +129,7 @@
91
129
  import getNextSortOrder from './_internals/getSortOrder';
92
130
 
93
131
  export default {
94
- name: 'wt-table',
132
+ name: 'WtTable',
95
133
  props: {
96
134
  headers: {
97
135
  type: Array,
@@ -1,58 +1,58 @@
1
1
  <template>
2
2
  <aside class="wt-table-actions">
3
- <slot></slot>
3
+ <slot />
4
4
  <wt-tooltip v-if="isImport">
5
- <template v-slot:activator>
5
+ <template #activator>
6
6
  <wt-icon-btn
7
7
  icon="download"
8
8
  @click="$emit('input', 'import')"
9
- ></wt-icon-btn>
9
+ />
10
10
  </template>
11
11
  {{ $t('reusable.import') }}
12
12
  </wt-tooltip>
13
13
  <wt-tooltip v-if="isExport">
14
- <template v-slot:activator>
14
+ <template #activator>
15
15
  <wt-icon-btn
16
16
  icon="upload"
17
17
  @click="$emit('input', 'export')"
18
- ></wt-icon-btn>
18
+ />
19
19
  </template>
20
20
  {{ $t('reusable.export') }}
21
21
  </wt-tooltip>
22
22
  <wt-tooltip v-if="isFilterReset">
23
- <template v-slot:activator>
23
+ <template #activator>
24
24
  <wt-icon-btn
25
25
  icon="clear"
26
26
  @click="$emit('input', 'filterReset')"
27
- ></wt-icon-btn>
27
+ />
28
28
  </template>
29
29
  {{ $t('webitelUI.tableActions.filterReset') }}
30
30
  </wt-tooltip>
31
31
  <wt-tooltip v-if="isColumnSelect">
32
- <template v-slot:activator>
32
+ <template #activator>
33
33
  <wt-icon-btn
34
34
  icon="column-select"
35
35
  @click="$emit('input', 'columnSelect')"
36
- ></wt-icon-btn>
36
+ />
37
37
  </template>
38
38
  {{ $t('webitelUI.tableActions.columnSelect') }}
39
39
  </wt-tooltip>
40
40
  <wt-tooltip v-if="isRefresh">
41
- <template v-slot:activator>
41
+ <template #activator>
42
42
  <wt-icon-btn
43
43
  icon="refresh"
44
44
  @click="$emit('input', 'refresh')"
45
- ></wt-icon-btn>
45
+ />
46
46
  </template>
47
47
  {{ $t('webitelUI.tableActions.refreshTable') }}
48
48
  </wt-tooltip>
49
49
  <wt-tooltip v-if="isSettings">
50
- <template v-slot:activator>
50
+ <template #activator>
51
51
  <wt-icon-btn
52
52
  :class="{'active': isSettingsActive}"
53
53
  icon="filter"
54
54
  @click="$emit('input', 'settings')"
55
- ></wt-icon-btn>
55
+ />
56
56
  </template>
57
57
  {{ $t('webitelUI.tableActions.expandFilters') }}
58
58
  </wt-tooltip>
@@ -61,7 +61,7 @@
61
61
 
62
62
  <script>
63
63
  export default {
64
- name: 'wt-table-actions',
64
+ name: 'WtTableActions',
65
65
  props: {
66
66
  icons: {
67
67
  type: Array,
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <div class="wt-table-column-select">
3
3
  <wt-tooltip>
4
- <template v-slot:activator>
4
+ <template #activator>
5
5
  <wt-icon-btn
6
6
  icon="column-select"
7
7
  @click="openPopup"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.tableColumnSelect.title') }}
11
11
  </wt-tooltip>
@@ -14,18 +14,18 @@
14
14
  class="wt-table-column-select__popup"
15
15
  @close="close"
16
16
  >
17
- <template v-slot:title>
17
+ <template #title>
18
18
  {{ $t('webitelUI.tableColumnSelect.title') }}
19
19
  </template>
20
- <template v-slot:main>
20
+ <template #main>
21
21
  <div class="wt-table-column-select__popup-list-wrap">
22
22
  <ul
23
23
  class="wt-table-column-select__popup-list"
24
24
  :class="{
25
- 'wt-table-column-select__popup-list--md':
26
- changeableDraft.length > 10 && changeableDraft.length <= 20,
27
- 'wt-table-column-select__popup-list--lg':
28
- changeableDraft.length > 20
25
+ 'wt-table-column-select__popup-list--md':
26
+ changeableDraft.length > 10 && changeableDraft.length <= 20,
27
+ 'wt-table-column-select__popup-list--lg':
28
+ changeableDraft.length > 20
29
29
  }"
30
30
  >
31
31
  <li
@@ -37,20 +37,22 @@
37
37
  <wt-checkbox
38
38
  v-model="column.show"
39
39
  :label="shownColLabel(column)"
40
- ></wt-checkbox>
40
+ />
41
41
  </li>
42
42
  </ul>
43
43
  </div>
44
44
  </template>
45
- <template v-slot:actions>
45
+ <template #actions>
46
46
  <wt-button
47
47
  @click="setShownColumns"
48
- >{{ $t('reusable.add') }}
48
+ >
49
+ {{ $t('reusable.add') }}
49
50
  </wt-button>
50
51
  <wt-button
51
52
  color="secondary"
52
53
  @click="close"
53
- >{{ $t('reusable.cancel') }}
54
+ >
55
+ {{ $t('reusable.cancel') }}
54
56
  </wt-button>
55
57
  </template>
56
58
  </wt-popup>
@@ -61,7 +63,12 @@
61
63
  import deepCopy from 'deep-copy';
62
64
 
63
65
  export default {
64
- name: 'wt-table-column-select',
66
+ name: 'WtTableColumnSelect',
67
+
68
+ model: {
69
+ prop: 'headers',
70
+ event: 'change',
71
+ },
65
72
  props: {
66
73
  headers: {
67
74
  type: Array,
@@ -75,23 +82,10 @@ export default {
75
82
  },
76
83
  },
77
84
 
78
- model: {
79
- prop: 'headers',
80
- event: 'change',
81
- },
82
-
83
85
  data: () => ({
84
86
  draft: [], // headers draft
85
87
  isColumnSelectPopup: false,
86
88
  }),
87
-
88
- watch: {
89
- isColumnSelectPopup: {
90
- handler() {
91
- this.fillHeadersDraft();
92
- },
93
- },
94
- },
95
89
  computed: {
96
90
  changeableDraft() {
97
91
  return this.draft.filter((header) => !this.staticHeaders.includes(header.value)).sort((a, b) => {
@@ -100,6 +94,14 @@ export default {
100
94
  });
101
95
  },
102
96
  },
97
+
98
+ watch: {
99
+ isColumnSelectPopup: {
100
+ handler() {
101
+ this.fillHeadersDraft();
102
+ },
103
+ },
104
+ },
103
105
  methods: {
104
106
  shownColLabel({ text, locale }) {
105
107
  if (!text && locale) {
@@ -26,14 +26,19 @@
26
26
  transform: `translateX(${activeLineOffset}px)`
27
27
  }"
28
28
  class="wt-tab__underline--highlight"
29
- ></div>
29
+ />
30
30
  </div>
31
31
  </nav>
32
32
  </template>
33
33
 
34
34
  <script>
35
35
  export default {
36
- name: 'wt-tabs',
36
+ name: 'WtTabs',
37
+
38
+ model: {
39
+ prop: 'current',
40
+ event: 'change',
41
+ },
37
42
  props: {
38
43
  current: {
39
44
  type: Object,
@@ -45,11 +50,6 @@ export default {
45
50
  },
46
51
  },
47
52
 
48
- model: {
49
- prop: 'current',
50
- event: 'change',
51
- },
52
-
53
53
  data: () => ({
54
54
  activeLineWidth: 0,
55
55
  activeLineOffset: 0,
@@ -8,8 +8,8 @@
8
8
  class="wt-tags-input"
9
9
  >
10
10
  <wt-label
11
- v-bind="labelProps"
12
11
  v-if="hasLabel"
12
+ v-bind="labelProps"
13
13
  :disabled="disabled"
14
14
  :invalid="invalid"
15
15
  class="wt-tags-input__label"
@@ -18,7 +18,9 @@
18
18
  <slot
19
19
  v-bind="{ label }"
20
20
  name="label"
21
- >{{ requiredLabel }}</slot>
21
+ >
22
+ {{ requiredLabel }}
23
+ </slot>
22
24
  </wt-label>
23
25
 
24
26
  <vue-multiselect
@@ -38,21 +40,20 @@
38
40
  multiple
39
41
  v-on="listeners"
40
42
  >
41
-
42
43
  <!-- Slot that is used for all selected options (tags)-->
43
- <template v-slot:tag="{ option, remove }">
44
+ <template #tag="{ option, remove }">
44
45
  <wt-chip class="multiselect__custom-tag">
45
46
  {{ getTagOptionLabel({ option, optionLabel }) }}
46
47
  <wt-icon-btn
47
48
  icon="close--filled"
48
49
  size="sm"
49
50
  @click="remove(option)"
50
- ></wt-icon-btn>
51
+ />
51
52
  </wt-chip>
52
53
  </template>
53
54
 
54
55
  <!-- Slot for custom option template -->
55
- <template v-slot:option="{ option }">
56
+ <template #option="{ option }">
56
57
  <slot
57
58
  v-bind="{ option, optionLabel }"
58
59
  name="option"
@@ -62,7 +63,7 @@
62
63
  </template>
63
64
 
64
65
  <!-- Element for opening and closing the dropdown -->
65
- <template v-slot:caret="{ toggle }">
66
+ <template #caret="{ toggle }">
66
67
  <!-- @mousedown.native.prevent.stop="toggle": https://github.com/shentao/vue-multiselect/issues/1204#issuecomment-615114727 -->
67
68
  <wt-icon-btn
68
69
  :disabled="disabled"
@@ -70,24 +71,31 @@
70
71
  color="active"
71
72
  icon="arrow-down"
72
73
  @mousedown.prevent.stop="toggle"
73
- ></wt-icon-btn>
74
+ />
74
75
  </template>
75
76
 
76
- <template v-slot:beforeList>
77
- <div v-show="isLoading" class="multiselect__loading-wrapper">
78
- <wt-loader size="sm"></wt-loader>
77
+ <template #beforeList>
78
+ <div
79
+ v-show="isLoading"
80
+ class="multiselect__loading-wrapper"
81
+ >
82
+ <wt-loader size="sm" />
79
83
  </div>
80
84
  </template>
81
85
 
82
- <template v-if="showIntersectionObserver" v-slot:afterList>
83
- <div v-observe-visibility="handleAfterListIntersect"></div>
86
+ <template
87
+ v-if="showIntersectionObserver"
88
+ #afterList
89
+ >
90
+ <div v-observe-visibility="handleAfterListIntersect" />
84
91
  </template>
85
92
  </vue-multiselect>
86
93
 
87
94
  <wt-input-info
88
95
  v-if="isValidation"
89
96
  :invalid="invalid"
90
- >{{ validationText }}
97
+ >
98
+ {{ validationText }}
91
99
  </wt-input-info>
92
100
  </div>
93
101
  </template>
@@ -96,7 +104,7 @@
96
104
  import multiselectMixin from '../wt-select/mixins/multiselectMixin';
97
105
 
98
106
  export default {
99
- name: 'wt-tags-input',
107
+ name: 'WtTagsInput',
100
108
  mixins: [multiselectMixin],
101
109
  props: {
102
110
  value: {
@@ -16,7 +16,8 @@
16
16
  <slot
17
17
  name="label"
18
18
  v-bind="{ label }"
19
- >{{ requiredLabel }}
19
+ >
20
+ {{ requiredLabel }}
20
21
  </slot>
21
22
  </wt-label>
22
23
  <div class="wt-textarea__wrapper">
@@ -28,9 +29,12 @@
28
29
  :value="value"
29
30
  class="wt-textarea__textarea"
30
31
  v-on="listeners"
31
- ></textarea>
32
- <div ref="after-wrapper" class="wt-textarea__after-wrapper">
33
- <slot name="after-input"></slot>
32
+ />
33
+ <div
34
+ ref="after-wrapper"
35
+ class="wt-textarea__after-wrapper"
36
+ >
37
+ <slot name="after-input" />
34
38
  <wt-icon-btn
35
39
  :class="{ 'hidden': !value }"
36
40
  :disabled="disabled"
@@ -38,13 +42,14 @@
38
42
  icon="close--filled"
39
43
  size="sm"
40
44
  @click="$emit('input', '')"
41
- ></wt-icon-btn>
45
+ />
42
46
  </div>
43
47
  </div>
44
48
  <wt-input-info
45
49
  v-if="isValidation"
46
50
  :invalid="invalid"
47
- >{{ validationText }}
51
+ >
52
+ {{ validationText }}
48
53
  </wt-input-info>
49
54
  </div>
50
55
  </template>
@@ -53,7 +58,7 @@
53
58
  import validationMixin from '../../mixins/validationMixin/validationMixin';
54
59
 
55
60
  export default {
56
- name: 'wt-textarea',
61
+ name: 'WtTextarea',
57
62
  mixins: [validationMixin],
58
63
  props: {
59
64
  /**
@@ -114,6 +119,9 @@ export default {
114
119
  return this.required ? `${this.label}*` : this.label;
115
120
  },
116
121
  },
122
+ mounted() {
123
+ this.updateInputPaddings();
124
+ },
117
125
 
118
126
  methods: {
119
127
  handleKeypress(event) {
@@ -133,9 +141,6 @@ export default {
133
141
  inputEl.style.paddingRight = `calc(${defaultInputPadding} * 2 + ${afterWrapperWidth}px)`;
134
142
  },
135
143
  },
136
- mounted() {
137
- this.updateInputPaddings();
138
- },
139
144
  };
140
145
  </script>
141
146