@webitel/ui-sdk 26.8.21 → 26.8.22

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 (387) hide show
  1. package/dist/{clients-Ba7VhTMH.js → clients-Cgrz-ee-.js} +707 -22
  2. package/dist/{components-ABAwRPPa.js → components-BENKf-0C.js} +882 -846
  3. package/dist/{composables-C_OatTQJ.js → composables-BtWSAI5D.js} +14 -12
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +51 -50
  6. package/dist/ui-sdk.umd.cjs +695 -594
  7. package/dist/useEventBus-B-ZeklLu.js +5 -0
  8. package/dist/{useValidation-DgSm80YX.js → useValidation-B4_82RZv.js} +4 -4
  9. package/dist/{useVidstackSrc-B4mUti_c.js → useVidstackSrc-aQcqC_v0.js} +5 -5
  10. package/dist/{vidstack-C6nBVWwn-cKiWT0KJ.js → vidstack-C6nBVWwn-DNsvM1pU.js} +2 -2
  11. package/dist/{vidstack-CI5oafcm-DfWpvayJ.js → vidstack-CI5oafcm-EXmYmdjq.js} +1 -1
  12. package/dist/{vidstack-DUnfBERX2-BJtKHFxc.js → vidstack-DUnfBERX2-jgzDS0Hg.js} +1 -1
  13. package/dist/{vidstack-audio-BCPraiiR.js → vidstack-audio-CPO0A50Q.js} +1 -1
  14. package/dist/{vidstack-dash-MBx5aEEA.js → vidstack-dash-DHt7tTPh.js} +2 -2
  15. package/dist/{vidstack-hls-BbZsbfaO.js → vidstack-hls-WW1jeu5R.js} +2 -2
  16. package/dist/vidstack-video-Bwash4bY.js +2 -0
  17. package/dist/vue-router-Dwey8MMv.js +16 -0
  18. package/dist/{wt-button-G2Q1uf_y.js → wt-button-OZTROX1W.js} +3 -3
  19. package/dist/{wt-chat-emoji-DM6G80G_.js → wt-chat-emoji-ByGj5Mh4.js} +3 -3
  20. package/dist/{wt-datepicker-DTUMTWJK.js → wt-datepicker-OIgnVIpv.js} +38 -34
  21. package/dist/{wt-display-chip-items-3GRXkRfT.js → wt-display-chip-items-BUlu4Pqh.js} +2 -2
  22. package/dist/{wt-dual-panel-Dhj8Eg_y.js → wt-dual-panel-BEGLGU7F.js} +1 -1
  23. package/dist/{wt-expansion-card-BzhcCehz.js → wt-expansion-card-CpmnVJ03.js} +1 -1
  24. package/dist/{wt-galleria-qPHnXPx7.js → wt-galleria-CgY38PPx.js} +3 -6
  25. package/dist/{wt-icon-btn-BJl5VlM9.js → wt-icon-btn-hAWVJdNG.js} +2 -2
  26. package/dist/{wt-navigation-menu-CenQi_-T.js → wt-navigation-menu-BMupOW07.js} +2 -2
  27. package/dist/{wt-notifications-bar-C7cK0wEL.js → wt-notifications-bar-CqVk9cm7.js} +1 -1
  28. package/dist/{wt-player-Ca2x4geU.js → wt-player-vsOVUgi7.js} +17 -15
  29. package/dist/{wt-screen-recordings-action-Dzzo0eqW.js → wt-screen-recordings-action-Dj6ITuhE.js} +1 -1
  30. package/dist/{wt-search-bar-DtJL-csc.js → wt-search-bar-CagDl5av.js} +3 -3
  31. package/dist/wt-send-message-popup-zjxEP-HK.js +1208 -0
  32. package/dist/wt-start-page-BFQExFUj.js +73 -0
  33. package/dist/{wt-status-select-D1hAjCAS.js → wt-status-select-B-N9Fvz4.js} +2 -2
  34. package/dist/{wt-table-DJ3yOWZV.js → wt-table-C4PZJ3rP.js} +49 -47
  35. package/dist/{wt-table-column-select-CgEh5BAF.js → wt-table-column-select-D4c56HPB.js} +2 -2
  36. package/dist/{wt-time-input-u5Ay5_X5.js → wt-time-input-BEBrSugB.js} +9 -2
  37. package/dist/{wt-timepicker-CB8HzUZw.js → wt-timepicker-CQ2TRigf.js} +11 -4
  38. package/dist/{wt-toast-BbaZZWKt.js → wt-toast-Cb15-PN4.js} +1 -1
  39. package/dist/{wt-tree-DZ9ErOGj.js → wt-tree-CMIpbXBo.js} +40 -40
  40. package/dist/{wt-tree-table-C0ZIJXcv.js → wt-tree-table-CVvWMduu.js} +7 -7
  41. package/dist/{wt-type-extension-value-input-kzX2hJY_.js → wt-type-extension-value-input-l3TF0Xtv.js} +14 -9
  42. package/dist/{wt-vidstack-player-DbRHboYo.js → wt-vidstack-player-DV_fxJKW.js} +46 -42
  43. package/package.json +4 -1
  44. package/src/api/clients/_shared/types.ts +30 -0
  45. package/src/api/clients/caseSources/caseSources.ts +17 -8
  46. package/src/api/clients/quickReplies/quickReplies.ts +17 -8
  47. package/src/api/clients/roles/roles.ts +21 -12
  48. package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +16 -4
  49. package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +27 -9
  50. package/src/api/websocket/WebSocketClientController.ts +13 -5
  51. package/src/api/websocket/{config.js → config.ts} +5 -3
  52. package/src/api/websocket/websocketErrorEventHandler.ts +1 -1
  53. package/src/components/_internals/composables/useExpansion/useExpansion.ts +6 -1
  54. package/src/components/_internals/composables/useGalleriaMaskClick/useGalleriaMaskClick.ts +5 -3
  55. package/src/components/_internals/composables/useInputControl/useInputControl.ts +5 -3
  56. package/src/components/_internals/composables/useSelect/types.ts +69 -0
  57. package/src/components/_internals/composables/useSelect/useSelect.ts +4 -2
  58. package/src/components/_internals/composables/useSelect/useSelectCustomValues.ts +3 -2
  59. package/src/components/_internals/composables/useSelect/useSelectDropdown.ts +4 -3
  60. package/src/components/_internals/composables/useSelect/useSelectOptions.ts +20 -14
  61. package/src/components/_internals/composables/useSelect/useSelectUtils.ts +20 -7
  62. package/src/components/_internals/composables/useTableColumnDrag/useTableColumnDrag.ts +22 -12
  63. package/src/components/_internals/composables/useWtTable/useWtTable.ts +6 -2
  64. package/src/components/_internals/types/PrimevueInstance.ts +15 -0
  65. package/src/components/_shared/settings-panel/components/speed-settings/speed-settings.vue +6 -1
  66. package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +6 -1
  67. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +0 -2
  68. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue +0 -2
  69. package/src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue +12 -4
  70. package/src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue +17 -7
  71. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +36 -15
  72. package/src/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue +1 -1
  73. package/src/components/wt-badge-new/wt-badge.vue +1 -1
  74. package/src/components/wt-button/wt-button.vue +5 -5
  75. package/src/components/wt-checkbox/wt-checkbox.vue +4 -2
  76. package/src/components/wt-chip/wt-chip.vue +1 -1
  77. package/src/components/wt-datepicker/wt-datepicker.vue +30 -20
  78. package/src/components/wt-dual-panel/wt-dual-panel.vue +1 -1
  79. package/src/components/wt-galleria/wt-galleria.vue +1 -11
  80. package/src/components/wt-image/wt-image.vue +3 -3
  81. package/src/components/wt-input-number/wt-input-number.vue +8 -13
  82. package/src/components/wt-input-text/wt-input-text.vue +15 -17
  83. package/src/components/wt-intersection-observer/wt-intersection-observer.vue +1 -1
  84. package/src/components/wt-message/wt-message.vue +1 -1
  85. package/src/components/wt-multi-select/wt-multi-select.vue +22 -12
  86. package/src/components/wt-navigation-bar/types/WtNavigationBar.ts +3 -1
  87. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +34 -18
  88. package/src/components/wt-password/wt-password.vue +12 -13
  89. package/src/components/wt-player/wt-player.vue +7 -2
  90. package/src/components/wt-popover/wt-popover.vue +5 -1
  91. package/src/components/wt-popup/wt-popup.vue +5 -1
  92. package/src/components/wt-radio/wt-radio.vue +1 -1
  93. package/src/components/wt-search-bar/wt-search-bar.vue +17 -10
  94. package/src/components/wt-single-select/wt-single-select.vue +19 -12
  95. package/src/components/wt-status-select/wt-status-select.vue +2 -2
  96. package/src/components/wt-table/types/WtTable.ts +11 -1
  97. package/src/components/wt-table/wt-table.vue +43 -24
  98. package/src/components/wt-table-column-select/wt-table-column-select.vue +3 -5
  99. package/src/components/wt-textarea/wt-textarea.vue +9 -15
  100. package/src/components/wt-time-input/wt-time-input.vue +7 -4
  101. package/src/components/wt-timepicker/wt-timepicker.vue +6 -3
  102. package/src/components/wt-toast/wt-toast.vue +2 -2
  103. package/src/components/wt-tree/wt-tree.vue +6 -5
  104. package/src/components/wt-tree-line/types/wt-tree-node.ts +6 -0
  105. package/src/components/wt-tree-line/wt-tree-line.vue +29 -15
  106. package/src/components/wt-tree-table/wt-tree-table.vue +16 -18
  107. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +9 -4
  108. package/src/components/wt-vidstack-player/components/buttons/fullscreen-button.vue +2 -3
  109. package/src/components/wt-vidstack-player/components/buttons/play-button.vue +1 -5
  110. package/src/components/wt-vidstack-player/components/controls-group/controls-group.vue +2 -4
  111. package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +2 -4
  112. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/fullscreen-button.vue +0 -2
  113. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/play-button.vue +2 -4
  114. package/src/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue +4 -4
  115. package/src/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue +3 -3
  116. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +4 -4
  117. package/src/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue +1 -1
  118. package/src/components/wt-vidstack-player/composables/useVidstackPlayerSize.ts +11 -0
  119. package/src/components/wt-vidstack-player/composables/useVidstackSrc.ts +27 -6
  120. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +7 -4
  121. package/src/enums/MessageColor/MessageColor.ts +1 -1
  122. package/src/enums/MessageVariant/MessageVariant.ts +2 -1
  123. package/src/install.ts +6 -2
  124. package/src/locale/en/en.js +1 -0
  125. package/src/locale/es/es.js +1 -0
  126. package/src/locale/kz/kz.js +1 -0
  127. package/src/locale/pl/pl.js +1 -0
  128. package/src/locale/ro/ro.js +1 -0
  129. package/src/locale/ru/ru.js +1 -0
  130. package/src/locale/uk/uk.js +1 -0
  131. package/src/locale/uz/uz.js +1 -0
  132. package/src/locale/vi/vi.js +1 -0
  133. package/src/mixins/validationMixin/regle/useRegleValidation.ts +2 -2
  134. package/src/mixins/validationMixin/useValidation.ts +1 -1
  135. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +23 -8
  136. package/src/modules/CSVExport/CSVExport.js +1 -1
  137. package/src/modules/CallSession/modules/VideoCall/video-call.vue +34 -16
  138. package/src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.js +1 -1
  139. package/src/modules/FilesExport/composables/useFilesExport.ts +1 -1
  140. package/src/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue +2 -2
  141. package/src/modules/UploadCsvPopup/composable/useUploadCsv.ts +39 -12
  142. package/src/modules/UploadCsvPopup/scripts/normalizeCSVData.ts +20 -17
  143. package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +2 -2
  144. package/src/modules/UploadCsvPopup/scripts/processFile.ts +2 -2
  145. package/src/modules/UploadCsvPopup/scripts/splitAndSaveData.ts +8 -2
  146. package/src/modules/UserNotifications/stores/userNotificationsStore.ts +9 -1
  147. package/src/modules/Userinfo/classes/ApplicationsAccess.ts +12 -6
  148. package/src/modules/Userinfo/mappings/mappings.ts +10 -3
  149. package/src/modules/Userinfo/scripts/utils.ts +8 -4
  150. package/src/modules/Userinfo/stores/accessStore.ts +16 -16
  151. package/src/modules/Userinfo/types/UserAccess.ts +1 -1
  152. package/src/plugins/breakpoint/breakpoint.plugin.ts +1 -1
  153. package/src/scripts/compareSize.ts +4 -4
  154. package/src/scripts/downloadFile/downloadFile.ts +1 -1
  155. package/src/scripts/normalizeDatetime.ts +2 -2
  156. package/src/utils/displayText.ts +1 -1
  157. package/types/.tsbuildinfo +1 -1
  158. package/types/api/clients/_shared/types.d.ts +23 -0
  159. package/types/api/clients/caseSources/caseSources.d.ts +7 -15
  160. package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +1 -1
  161. package/types/api/clients/gateways/defaults/trunkingGateway.d.ts +1 -1
  162. package/types/api/clients/quickReplies/quickReplies.d.ts +7 -15
  163. package/types/api/clients/roles/roles.d.ts +8 -16
  164. package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +11 -12
  165. package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +19 -18
  166. package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +1 -1
  167. package/types/api/defaults/getDefaultGetParams/getDefaultGetParams.d.ts +2 -2
  168. package/types/api/transformers/applyTransform.d.ts +2 -2
  169. package/types/api/websocket/WebSocketClientController.d.ts +10 -9
  170. package/types/api/websocket/config.d.ts +3 -2
  171. package/types/api/websocket/websocketErrorEventHandler.d.ts +5 -1
  172. package/types/assets/icons/iconsRepository.d.ts +1 -1
  173. package/types/components/_internals/composables/useExpansion/useExpansion.d.ts +6 -1
  174. package/types/components/_internals/composables/useGalleriaMaskClick/useGalleriaMaskClick.d.ts +2 -1
  175. package/types/components/_internals/composables/useInputControl/useInputControl.d.ts +4 -2
  176. package/types/components/_internals/composables/useSelect/types.d.ts +52 -0
  177. package/types/components/_internals/composables/useSelect/useSelect.d.ts +4 -18
  178. package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +2 -12
  179. package/types/components/_internals/composables/useSelect/useSelectDropdown.d.ts +2 -14
  180. package/types/components/_internals/composables/useSelect/useSelectOptions.d.ts +6 -14
  181. package/types/components/_internals/composables/useSelect/useSelectUtils.d.ts +5 -4
  182. package/types/components/_internals/composables/useTableColumnDrag/useTableColumnDrag.d.ts +3 -1
  183. package/types/components/_internals/composables/useWtTable/useWtTable.d.ts +3 -2
  184. package/types/components/_internals/types/PrimevueInstance.d.ts +14 -0
  185. package/types/components/_shared/settings-panel/components/speed-settings/speed-settings.vue.d.ts +2 -2
  186. package/types/components/_shared/settings-panel/settings-panel.vue.d.ts +1 -1
  187. package/types/components/on-demand/wt-call-media-action/wt-call-media-action.vue.d.ts +2 -2
  188. package/types/components/on-demand/wt-chat-emoji/wt-chat-emoji.vue.d.ts +1 -1
  189. package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +6 -2
  190. package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue.d.ts +6 -6
  191. package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue.d.ts +2 -2
  192. package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
  193. package/types/components/on-demand/wt-route-transition/wt-route-transition.vue.d.ts +1 -1
  194. package/types/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue.d.ts +3 -3
  195. package/types/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue.d.ts +10 -2
  196. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +8 -8
  197. package/types/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue.d.ts +1 -1
  198. package/types/components/on-demand/wt-table-transition/wt-table-transition.vue.d.ts +1 -1
  199. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +18 -11
  200. package/types/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue.d.ts +3 -3
  201. package/types/components/transitions/cases/wt-replace-transition.vue.d.ts +1 -1
  202. package/types/components/transitions/wt-transition.vue.d.ts +1 -1
  203. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  204. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +64 -64
  205. package/types/components/wt-app-header/wt-app-header.vue.d.ts +1 -1
  206. package/types/components/wt-app-header/wt-header-actions.vue.d.ts +6 -9
  207. package/types/components/wt-badge/wt-badge.vue.d.ts +1 -1
  208. package/types/components/wt-badge-new/wt-badge.vue.d.ts +3 -3
  209. package/types/components/wt-breadcrumb/wt-breadcrumb.vue.d.ts +1 -1
  210. package/types/components/wt-button/wt-button.vue.d.ts +2 -2
  211. package/types/components/wt-button-select/wt-button-select.vue.d.ts +3 -3
  212. package/types/components/wt-call-media-metric/wt-call-media-metric.vue.d.ts +1 -1
  213. package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +3 -3
  214. package/types/components/wt-chip/wt-chip.vue.d.ts +2 -2
  215. package/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +5 -5
  216. package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +7 -7
  217. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +20 -19
  218. package/types/components/wt-divider/wt-divider.vue.d.ts +1 -1
  219. package/types/components/wt-dual-panel/wt-dual-panel.vue.d.ts +5 -5
  220. package/types/components/wt-empty/wt-empty.vue.d.ts +38 -38
  221. package/types/components/wt-expansion-card/wt-expansion-card.vue.d.ts +3 -3
  222. package/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +3 -3
  223. package/types/components/wt-galleria/wt-galleria.vue.d.ts +2 -2
  224. package/types/components/wt-icon/wt-icon.vue.d.ts +1 -1
  225. package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +4 -4
  226. package/types/components/wt-icon-btn/wt-icon-btn.vue.d.ts +3 -3
  227. package/types/components/wt-image/wt-image.vue.d.ts +2 -2
  228. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +3 -3
  229. package/types/components/wt-input-number/wt-input-number.vue.d.ts +9 -9
  230. package/types/components/wt-input-text/wt-input-text.vue.d.ts +11 -9
  231. package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +1 -1
  232. package/types/components/wt-item-link/wt-item-link.vue.d.ts +1 -1
  233. package/types/components/wt-label/mixins/labelUsageMixin.d.ts +1 -1
  234. package/types/components/wt-label/wt-label.vue.d.ts +1 -1
  235. package/types/components/wt-menubar/wt-menubar.vue.d.ts +1 -1
  236. package/types/components/wt-message/wt-message.vue.d.ts +1 -1
  237. package/types/components/wt-multi-select/wt-multi-select.vue.d.ts +19 -19
  238. package/types/components/wt-navigation-bar/types/WtNavigationBar.d.ts +2 -1
  239. package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +22 -45
  240. package/types/components/wt-page-header/wt-page-header.vue.d.ts +4 -4
  241. package/types/components/wt-password/wt-password.vue.d.ts +11 -9
  242. package/types/components/wt-player/wt-player.vue.d.ts +6 -6
  243. package/types/components/wt-popover/wt-popover.vue.d.ts +13 -9
  244. package/types/components/wt-popup/wt-popup.vue.d.ts +8 -4
  245. package/types/components/wt-radio/wt-radio.vue.d.ts +2 -2
  246. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +25 -18
  247. package/types/components/wt-single-select/wt-single-select.vue.d.ts +18 -15
  248. package/types/components/wt-slider/wt-slider.vue.d.ts +3 -3
  249. package/types/components/wt-status-select/wt-status-select.vue.d.ts +3 -3
  250. package/types/components/wt-stepper/wt-stepper.vue.d.ts +2 -2
  251. package/types/components/wt-switcher/wt-switcher.vue.d.ts +4 -4
  252. package/types/components/wt-table/types/WtTable.d.ts +7 -1
  253. package/types/components/wt-table/wt-table.vue.d.ts +12 -12
  254. package/types/components/wt-table-actions/wt-table-actions.vue.d.ts +2 -2
  255. package/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +1 -1
  256. package/types/components/wt-tabs/wt-tabs.vue.d.ts +3 -3
  257. package/types/components/wt-textarea/wt-textarea.vue.d.ts +9 -14
  258. package/types/components/wt-time-input/wt-time-input.vue.d.ts +9 -9
  259. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +8 -8
  260. package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +5 -5
  261. package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +7 -7
  262. package/types/components/wt-tree/wt-tree.vue.d.ts +5 -3
  263. package/types/components/wt-tree-line/types/wt-tree-node.d.ts +5 -0
  264. package/types/components/wt-tree-line/wt-tree-line.vue.d.ts +8 -18
  265. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +2 -2
  266. package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +3 -18
  267. package/types/components/wt-vidstack-player/components/buttons/fullscreen-button.vue.d.ts +1 -1
  268. package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +5 -5
  269. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/fullscreen-button.vue.d.ts +1 -1
  270. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue.d.ts +1 -1
  271. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue.d.ts +1 -1
  272. package/types/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue.d.ts +3 -3
  273. package/types/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue.d.ts +14 -14
  274. package/types/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue.d.ts +2 -2
  275. package/types/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue.d.ts +2 -2
  276. package/types/components/wt-vidstack-player/components/toggle-button.vue.d.ts +1 -1
  277. package/types/components/wt-vidstack-player/composables/useVidstackPlayerSize.d.ts +2 -0
  278. package/types/components/wt-vidstack-player/composables/useVidstackSrc.d.ts +11 -4
  279. package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +8 -7
  280. package/types/composables/useCachedInterval/useCachedInterval.d.ts +1 -1
  281. package/types/composables/useCachedItemInstanceName/useCachedItemInstanceName.d.ts +1 -1
  282. package/types/composables/useCard/useCardTabs.d.ts +1 -1
  283. package/types/composables/useClose/useClose.d.ts +1 -1
  284. package/types/enums/MessageColor/MessageColor.d.ts +1 -1
  285. package/types/enums/MessageVariant/MessageVariant.d.ts +1 -1
  286. package/types/locale/en/en.d.ts +3 -2
  287. package/types/locale/es/es.d.ts +3 -2
  288. package/types/locale/i18n.d.ts +27 -18
  289. package/types/locale/index.d.ts +27 -18
  290. package/types/locale/kz/kz.d.ts +3 -2
  291. package/types/locale/pl/pl.d.ts +3 -2
  292. package/types/locale/ro/ro.d.ts +3 -2
  293. package/types/locale/ru/ru.d.ts +3 -2
  294. package/types/locale/uk/uk.d.ts +3 -2
  295. package/types/locale/uz/uz.d.ts +3 -2
  296. package/types/locale/vi/vi.d.ts +3 -2
  297. package/types/mixins/dataFilterMixins/_urlControllerMixin/_urlControllerMixin.d.ts +1 -1
  298. package/types/mixins/dataFilterMixins/apiFilterMixin.d.ts +3 -3
  299. package/types/mixins/dataFilterMixins/baseFilterMixin/baseFilterMixin.d.ts +1 -1
  300. package/types/mixins/dataFilterMixins/enumFilterMixin.d.ts +4 -4
  301. package/types/mixins/dataFilterMixins/paginationFilterMixin.d.ts +2 -2
  302. package/types/mixins/dataFilterMixins/sortFilterMixin.d.ts +1 -1
  303. package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +1 -1
  304. package/types/mixins/validationMixin/useValidation.d.ts +2 -2
  305. package/types/mixins/validationMixin/validationMixin.d.ts +1 -1
  306. package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +9 -5
  307. package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +1 -1
  308. package/types/modules/AgentPdfs/components/pdf-status-preview.vue.d.ts +1 -1
  309. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +4 -4
  310. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +1 -1
  311. package/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +1 -1
  312. package/types/modules/Appearance/components/wt-dark-mode-switcher.vue.d.ts +1 -1
  313. package/types/modules/Appearance/pinia/store/AppearanceStore.d.ts +3 -3
  314. package/types/modules/Appearance/store/AppearanceStoreModule.d.ts +1 -1
  315. package/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +3 -3
  316. package/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +2 -2
  317. package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +7 -7
  318. package/types/modules/AuditForm/components/audit-form.vue.d.ts +6 -6
  319. package/types/modules/AuditForm/components/form/form-footer/audit-form-footer.vue.d.ts +3 -3
  320. package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue.d.ts +2 -2
  321. package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options.vue.d.ts +4 -4
  322. package/types/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue.d.ts +6 -6
  323. package/types/modules/AuditForm/components/form-questions/yes/audit-form-question-yes.vue.d.ts +2 -2
  324. package/types/modules/CSVExport/CSVExport.d.ts +3 -6
  325. package/types/modules/CSVExport/XLSExport.d.ts +1 -1
  326. package/types/modules/CSVExport/composables/useCSVExport.d.ts +6 -6
  327. package/types/modules/CSVExport/mixins/exportCSVMixin.d.ts +1 -1
  328. package/types/modules/CSVExport/mixins/exportXLSMixin.d.ts +1 -1
  329. package/types/modules/CallSession/modules/ScreenSharing/screen-sharing.vue.d.ts +3 -3
  330. package/types/modules/CallSession/modules/VideoCall/composables/useReceiverLiveStream.d.ts +6 -6
  331. package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +17 -17
  332. package/types/modules/CardStoreModule/store/CardStoreModule.d.ts +1 -1
  333. package/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +2 -2
  334. package/types/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.d.ts +1 -1
  335. package/types/modules/Filters/classes/BaseFilterSchema.d.ts +7 -7
  336. package/types/modules/Filters/components/filter-search.vue.d.ts +2 -2
  337. package/types/modules/Filters/components/filter-table-fields.vue.d.ts +3 -3
  338. package/types/modules/Filters/scripts/getters/localStorageGetter.d.ts +1 -1
  339. package/types/modules/Filters/store/FiltersStoreModule.d.ts +1 -1
  340. package/types/modules/Notifications/assets/audio/triggerSound.d.ts +1 -1
  341. package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +9 -9
  342. package/types/modules/ObjectPermissions/components/_internal/permissions-role-row.vue.d.ts +1 -1
  343. package/types/modules/ObjectPermissions/components/_internal/permissions-role-select.vue.d.ts +1 -1
  344. package/types/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue.d.ts +5 -5
  345. package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts +2 -2
  346. package/types/modules/ObjectPermissions/headers/headers.d.ts +1 -1
  347. package/types/modules/ObjectPermissions/store/objectPermissionsStoreModule.d.ts +2 -2
  348. package/types/modules/QueryFilters/classes/BaseFilterSchema.d.ts +2 -2
  349. package/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +1 -1
  350. package/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +1 -1
  351. package/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +1 -1
  352. package/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +1 -1
  353. package/types/modules/QueryFilters/components/filter-search.vue.d.ts +1 -1
  354. package/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +3 -3
  355. package/types/modules/QueryFilters/mixins/_urlControllerMixin/_urlControllerMixin.d.ts +1 -1
  356. package/types/modules/QueryFilters/mixins/apiFilterMixin.d.ts +1 -1
  357. package/types/modules/QueryFilters/mixins/baseFilterMixin/baseFilterMixin.d.ts +1 -1
  358. package/types/modules/QueryFilters/mixins/enumFilterMixin.d.ts +1 -1
  359. package/types/modules/QueryFilters/mixins/paginationFilterMixin.d.ts +2 -2
  360. package/types/modules/QueryFilters/mixins/sortFilterMixin.d.ts +1 -1
  361. package/types/modules/QueryFilters/store/QueryFiltersStoreModule.d.ts +4 -4
  362. package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +7 -7
  363. package/types/modules/TableStoreModule/store/TableStoreModule.d.ts +5 -5
  364. package/types/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue.d.ts +5 -5
  365. package/types/modules/UploadCsvPopup/composable/useUploadCsv.d.ts +21 -11
  366. package/types/modules/UploadCsvPopup/scripts/normalizeCSVData.d.ts +15 -20
  367. package/types/modules/UploadCsvPopup/scripts/parseCSV.d.ts +2 -1
  368. package/types/modules/UploadCsvPopup/scripts/processFile.d.ts +2 -2
  369. package/types/modules/UploadCsvPopup/scripts/splitAndSaveData.d.ts +3 -3
  370. package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +2 -10
  371. package/types/modules/Userinfo/mappings/mappings.d.ts +12 -24
  372. package/types/modules/Userinfo/scripts/utils.d.ts +2 -2
  373. package/types/modules/Userinfo/stores/settingsStore.d.ts +4 -4
  374. package/types/modules/Userinfo/stores/userinfoStore.d.ts +3 -3
  375. package/types/modules/Userinfo/types/UserAccess.d.ts +1 -1
  376. package/types/scripts/compareSize.d.ts +4 -4
  377. package/types/scripts/debounce.d.ts +1 -1
  378. package/types/scripts/sortQueryAdapters.d.ts +3 -3
  379. package/types/store/BaseStoreModules/BaseStoreModule.d.ts +6 -6
  380. package/types/store/new/modules/apiStoreModule/apiStoreModule.d.ts +12 -12
  381. package/types/store/new/modules/tableStoreModule/tableStoreModule.d.ts +4 -4
  382. package/types/utils/displayText.d.ts +1 -1
  383. package/types/validations/config/errors/customZodErrorsHandler.d.ts +1 -1
  384. package/dist/vidstack-video-DwlbGwN7.js +0 -2
  385. package/dist/wt-send-message-popup-MbV1uq6H.js +0 -77
  386. package/dist/wt-start-page-DMXRhA9E.js +0 -86
  387. package/dist/{wt-popover-ChCN6b1o.js → wt-popover-lP-AhF8l.js} +3 -3
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clients-Ba7VhTMH.js";
2
- import { a as t, o as n, r, s as i } from "./components-ABAwRPPa.js";
1
+ import { t as e } from "./clients-Cgrz-ee-.js";
2
+ import { a as t, o as n, r, s as i } from "./components-BENKf-0C.js";
3
3
  import { t as a } from "./enums-De8CDKZ1.js";
4
4
  import { t as o } from "./vue-i18n-Db_oYfO8.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
@@ -11,7 +11,11 @@ var y = /* @__PURE__ */ d({
11
11
  field: {},
12
12
  label: {},
13
13
  required: { type: Boolean },
14
- v: {}
14
+ v: { type: [
15
+ Object,
16
+ null,
17
+ Boolean
18
+ ] }
15
19
  }, {
16
20
  modelValue: {},
17
21
  modelModifiers: {}
@@ -19,7 +23,7 @@ var y = /* @__PURE__ */ d({
19
23
  emits: ["update:modelValue"],
20
24
  setup(d) {
21
25
  let f = v(d, "modelValue"), y = d;
22
- y.v?.$touch();
26
+ y.v?.$touch?.();
23
27
  let { t: b } = o(), x = s(() => y.label || b(y.field?.name || "vocabulary.labels")), S = s(() => y.required ?? y.field.required), C = s(() => f.value), w = s(() => ({
24
28
  label: x.value,
25
29
  required: S.value,
@@ -27,19 +31,20 @@ var y = /* @__PURE__ */ d({
27
31
  })), T = s(() => ({
28
32
  clearable: !0,
29
33
  dataKey: "id",
30
- searchMethod: () => O(y.field.lookup)
34
+ searchMethod: O(y.field.lookup)
31
35
  })), E = s(() => ({ ...T.value })), D = (e) => {
32
36
  f.value = e;
33
- }, O = ({ path: t, display: n, primary: r }) => (i) => e.getSysTypeRecordsLookup({
37
+ }, O = ({ path: t = "", display: n = "", primary: r = "" } = {}) => (i) => e.getLookup({
34
38
  ...i,
35
39
  path: t,
36
40
  display: n,
37
41
  primary: r
38
42
  }), k = (e) => {
39
- if (Object.values(e).length === 0) return D(null);
43
+ let t = e ?? {};
44
+ if (Object.values(t).length === 0) return D(null);
40
45
  D({
41
- id: e.id,
42
- name: e.name
46
+ id: t.id,
47
+ name: t.name
43
48
  });
44
49
  }, A = (e) => {
45
50
  D(e.map((e) => ({
@@ -1,11 +1,11 @@
1
- import { w as e } from "./components-ABAwRPPa.js";
1
+ import { E as e } from "./components-BENKf-0C.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-De8CDKZ1.js";
4
- import "./wt-button-G2Q1uf_y.js";
5
- import { t as r } from "./wt-icon-btn-BJl5VlM9.js";
4
+ import "./wt-button-OZTROX1W.js";
5
+ import { t as r } from "./wt-icon-btn-hAWVJdNG.js";
6
6
  import { $ as i, C as a, D as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as ee, P as te, Q as g, R as ne, S as _, U as re, V as v, W as y, X as b, Y as ie, Z as x, _ as S, a as ae, b as oe, c as se, d as ce, et as le, f as ue, g as de, h as fe, i as C, it as pe, j as me, k as he, l as w, m as ge, n as T, nt as E, o as D, ot as _e, p as O, q as k, r as A, rt as ve, t as ye, tt as be, u as xe, v as j, w as Se, y as Ce, z as we } from "./vidstack-D9mvYVIz-DesuYgKV.js";
7
7
  import { _ as M, a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, o as Fe, p as Ie, r as Le, s as Re, t as N, u as ze } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
8
- import { _ as Be, a as Ve, c as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, n as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./useVidstackSrc-B4mUti_c.js";
8
+ import { _ as Be, a as Ve, c as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, n as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./useVidstackSrc-aQcqC_v0.js";
9
9
  import { i as nt, n as rt } from "./vidstack-mvRkf9tF-CoFf7dS9.js";
10
10
  import { t as P } from "./vidstack-ijoHbXQB-DBClSWHE.js";
11
11
  import { n as it, r as F, t as at } from "./vidstack-CZQo98ic-D3uTuzB9.js";
@@ -1297,7 +1297,7 @@ var Sn = class extends pn {
1297
1297
  return "audio";
1298
1298
  }
1299
1299
  async load(e) {
1300
- return new (await (import("./vidstack-audio-BCPraiiR.js"))).AudioProvider(this.target, e);
1300
+ return new (await (import("./vidstack-audio-CPO0A50Q.js"))).AudioProvider(this.target, e);
1301
1301
  }
1302
1302
  }, wn = class {
1303
1303
  name = "video";
@@ -1309,7 +1309,7 @@ var Sn = class extends pn {
1309
1309
  return "video";
1310
1310
  }
1311
1311
  async load(e) {
1312
- return new (await (import("./vidstack-video-DwlbGwN7.js"))).VideoProvider(this.target, e);
1312
+ return new (await (import("./vidstack-video-Bwash4bY.js"))).VideoProvider(this.target, e);
1313
1313
  }
1314
1314
  }, Tn = class e extends wn {
1315
1315
  static supported = tt();
@@ -1318,7 +1318,7 @@ var Sn = class extends pn {
1318
1318
  return e.supported && $e(t);
1319
1319
  }
1320
1320
  async load(e) {
1321
- return new (await (import("./vidstack-hls-BbZsbfaO.js"))).HLSProvider(this.target, e);
1321
+ return new (await (import("./vidstack-hls-WW1jeu5R.js"))).HLSProvider(this.target, e);
1322
1322
  }
1323
1323
  }, En = class e extends wn {
1324
1324
  static supported = Be();
@@ -1327,7 +1327,7 @@ var Sn = class extends pn {
1327
1327
  return e.supported && We(t);
1328
1328
  }
1329
1329
  async load(e) {
1330
- return new (await (import("./vidstack-dash-MBx5aEEA.js"))).DASHProvider(this.target, e);
1330
+ return new (await (import("./vidstack-dash-DHt7tTPh.js"))).DASHProvider(this.target, e);
1331
1331
  }
1332
1332
  }, Dn = class {
1333
1333
  name = "vimeo";
@@ -1748,7 +1748,7 @@ var Sn = class extends pn {
1748
1748
  throw e.code = "CAST_NOT_AVAILABLE", e;
1749
1749
  }
1750
1750
  if (nt("https://www.gstatic.com"), !this.#b) {
1751
- let e = await import("./vidstack-DUnfBERX2-BJtKHFxc.js");
1751
+ let e = await import("./vidstack-DUnfBERX2-jgzDS0Hg.js");
1752
1752
  this.#b = new e.GoogleCastLoader();
1753
1753
  }
1754
1754
  await this.#b.prompt(this.#n), e && this.#t.queue.enqueue("media-google-cast-request", e);
@@ -7267,18 +7267,22 @@ var ao = (e, t, n) => {
7267
7267
  };
7268
7268
  S(bo), S(uo), S(fo), S(zo), S(lo), S(Co), S(wo), S(To), S(aa), S(ra), S(ea), S(ta), S(ia), S(oa), S($i), S(xo), S(So), S(Ao), S(No), S(xa), S(ya), S(Po), S(Fo), S(Io), S(Ro), S(ba), S(va), S(_a), S(Mo), S(ua), S(da), S(Eo), S(pa), S(fa), S(ca), S(la), S(ma), S(Oo), S(ha), S(Do), S(ko), S(ga), S(co), S(Zi), S(so), S(na), S(Qi), S(mo), S(go), S(vo);
7269
7269
  //#endregion
7270
- //#region src/components/wt-vidstack-player/components/controls-group/controls-group.vue?vue&type=script&setup=true&lang.ts
7271
- var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__ */ St({
7270
+ //#region src/components/wt-vidstack-player/composables/useVidstackPlayerSize.ts
7271
+ var Bo = () => {
7272
+ let e = Ct("size");
7273
+ if (!e) throw Error("wt-vidstack-player: \"size\" context is not provided");
7274
+ return e;
7275
+ }, Vo = { class: "controls-group__actions" }, Ho = /*#__PURE__*/ t(/* @__PURE__ */ St({
7272
7276
  __name: "controls-group",
7273
7277
  setup(e) {
7274
- let { size: t } = Ct("size");
7275
- return (e, n) => (V(), bt("media-controls-group", { class: wt(["controls-group", `controls-group--${U(t)}`]) }, [z("div", Bo, [H(e.$slots, "default", {}, void 0, !0)])], 2));
7278
+ let { size: t } = Bo();
7279
+ return (e, n) => (V(), bt("media-controls-group", { class: wt(["controls-group", `controls-group--${U(t)}`]) }, [z("div", Vo, [H(e.$slots, "default", {}, void 0, !0)])], 2));
7276
7280
  }
7277
- }), [["__scopeId", "data-v-435a35bc"]]), Ho = /*#__PURE__*/ t(/* @__PURE__ */ St({
7281
+ }), [["__scopeId", "data-v-dca54c57"]]), Uo = /*#__PURE__*/ t(/* @__PURE__ */ St({
7278
7282
  __name: "fullscreen-button",
7279
7283
  emits: ["toggle"],
7280
7284
  setup(e, { emit: t }) {
7281
- let { fullscreen: n } = Ct("size"), i = t;
7285
+ let { fullscreen: n } = Bo(), i = t;
7282
7286
  return (e, t) => (V(), bt("div", {
7283
7287
  class: wt(["fullscreen-button", { "fullscreen-button--active": U(n) }]),
7284
7288
  onClick: t[0] ||= (e) => i("toggle", !U(n))
@@ -7292,7 +7296,7 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7292
7296
  class: "fullscreen-button__exit"
7293
7297
  })], 2));
7294
7298
  }
7295
- }), [["__scopeId", "data-v-3d52fe3e"]]), Uo = /* @__PURE__ */ St({
7299
+ }), [["__scopeId", "data-v-a99f9d37"]]), Wo = /* @__PURE__ */ St({
7296
7300
  __name: "toggle-button",
7297
7301
  props: {
7298
7302
  icon: {},
@@ -7317,7 +7321,7 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7317
7321
  "disabled"
7318
7322
  ])]));
7319
7323
  }
7320
- }), Wo = { class: "video-display-panel__head" }, Go = ["title"], Ko = { class: "video-display-panel__controls" }, qo = /*#__PURE__*/ t(/* @__PURE__ */ St({
7324
+ }), Go = { class: "video-display-panel__head" }, Ko = ["title"], qo = { class: "video-display-panel__controls" }, Jo = /*#__PURE__*/ t(/* @__PURE__ */ St({
7321
7325
  __name: "video-display-panel",
7322
7326
  props: {
7323
7327
  title: {},
@@ -7327,7 +7331,7 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7327
7331
  },
7328
7332
  emits: ["close"],
7329
7333
  setup(t, { emit: i }) {
7330
- let { size: a, fullscreen: o, changeSize: s, enterFullscreen: c } = Ct("size"), l = _t(() => a.value === n.SM ? "expand" : "collapse"), u = t, d = i, f = (e) => {
7334
+ let { size: a, fullscreen: o, changeSize: s, enterFullscreen: c } = Bo(), l = _t(() => a.value === n.SM ? "expand" : "collapse"), u = t, d = i, f = (e) => {
7331
7335
  e ? a.value !== n.LG && (o.value = !0, s(n.LG), c()) : a.value === n.LG && (m(), o.value = !1, s(n.SM));
7332
7336
  }, p = () => {
7333
7337
  a.value === n.SM ? s(n.MD) : a.value === n.MD ? s(n.SM) : a.value === n.LG && (m(), o.value = !1, s(n.MD));
@@ -7342,7 +7346,7 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7342
7346
  }), Tt(() => {
7343
7347
  document.removeEventListener("keyup", h);
7344
7348
  });
7345
- }), (t, n) => (V(), bt("media-controls-group", { class: wt([`video-display-panel--${U(a)}`, "video-display-panel controls-group"]) }, [z("div", Wo, [H(t.$slots, "avatar", {}, () => [u.username ? (V(), vt(e, {
7349
+ }), (t, n) => (V(), bt("media-controls-group", { class: wt([`video-display-panel--${U(a)}`, "video-display-panel controls-group"]) }, [z("div", Go, [H(t.$slots, "avatar", {}, () => [u.username ? (V(), vt(e, {
7346
7350
  key: 0,
7347
7351
  username: u.username,
7348
7352
  size: "sm",
@@ -7350,10 +7354,10 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7350
7354
  }, null, 8, ["username"])) : yt("", !0)], !0), z("span", {
7351
7355
  class: "video-display-panel__title typo-body-2-bold",
7352
7356
  title: u.title || u.username
7353
- }, At(u.title || u.username), 9, Go)]), z("div", Ko, [
7357
+ }, At(u.title || u.username), 9, Ko)]), z("div", qo, [
7354
7358
  H(t.$slots, "actions", {}, void 0, !0),
7355
- B(Ho, { onToggle: f }),
7356
- u.hideExpand ? yt("", !0) : (V(), vt(Uo, {
7359
+ B(Uo, { onToggle: f }),
7360
+ u.hideExpand ? yt("", !0) : (V(), vt(Wo, {
7357
7361
  key: 0,
7358
7362
  icon: l.value,
7359
7363
  color: "on-dark",
@@ -7367,7 +7371,7 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7367
7371
  })) : yt("", !0)
7368
7372
  ])], 2));
7369
7373
  }
7370
- }), [["__scopeId", "data-v-f7d8a43b"]]), Jo = { class: "video-display-panel-wrapper" }, Yo = { class: "video-layout-content" }, Xo = { class: "video-layout-controls" }, Zo = /*#__PURE__*/ t(/* @__PURE__ */ St({
7374
+ }), [["__scopeId", "data-v-c4fbc40e"]]), Yo = { class: "video-display-panel-wrapper" }, Xo = { class: "video-layout-content" }, Zo = { class: "video-layout-controls" }, Qo = /*#__PURE__*/ t(/* @__PURE__ */ St({
7371
7375
  __name: "video-layout",
7372
7376
  props: {
7373
7377
  title: {},
@@ -7385,9 +7389,9 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7385
7389
  "toggle-record"
7386
7390
  ],
7387
7391
  setup(e, { emit: t }) {
7388
- let { size: n } = Ct("size"), r = e, i = t;
7392
+ let { size: n } = Bo(), r = e, i = t;
7389
7393
  return (e, t) => (V(), bt("media-controls", { class: wt(["video-layout controls", `video-layout--${U(n)}`]) }, [
7390
- z("div", Jo, [r.hideVideoDisplayPanel ? yt("", !0) : (V(), vt(qo, {
7394
+ z("div", Yo, [r.hideVideoDisplayPanel ? yt("", !0) : (V(), vt(Jo, {
7391
7395
  key: 0,
7392
7396
  title: r.title,
7393
7397
  username: r.username,
@@ -7408,17 +7412,17 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7408
7412
  "closable",
7409
7413
  "hide-expand"
7410
7414
  ]))]),
7411
- z("media-controls-group", Yo, [H(e.$slots, "content", {}, void 0, !0)]),
7412
- z("div", Xo, [r.hideControlsPanel ? yt("", !0) : H(e.$slots, "controls-panel", { key: 0 }, () => [B(U(ns), { "countdown-time-mode": r.countdownTimeMode }, null, 8, ["countdown-time-mode"])], !0)])
7415
+ z("media-controls-group", Xo, [H(e.$slots, "content", {}, void 0, !0)]),
7416
+ z("div", Zo, [r.hideControlsPanel ? yt("", !0) : H(e.$slots, "controls-panel", { key: 0 }, () => [B(U(rs), { "countdown-time-mode": r.countdownTimeMode }, null, 8, ["countdown-time-mode"])], !0)])
7413
7417
  ], 2));
7414
7418
  }
7415
- }), [["__scopeId", "data-v-7ab6ee81"]]), Qo = { class: "play-button" }, $o = /*#__PURE__*/ t(/* @__PURE__ */ St({
7419
+ }), [["__scopeId", "data-v-3f52c902"]]), $o = { class: "play-button" }, es = /*#__PURE__*/ t(/* @__PURE__ */ St({
7416
7420
  __name: "play-button",
7417
7421
  setup(e) {
7418
- let { size: t } = Ct("size");
7422
+ let { size: t } = Bo();
7419
7423
  return (e, n) => {
7420
7424
  let r = kt("wt-button");
7421
- return V(), bt("media-play-button", Qo, [B(r, {
7425
+ return V(), bt("media-play-button", $o, [B(r, {
7422
7426
  size: U(t),
7423
7427
  variant: "outlined",
7424
7428
  color: "secondary",
@@ -7439,12 +7443,12 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7439
7443
  }, null, 8, ["size"])]);
7440
7444
  };
7441
7445
  }
7442
- }), [["__scopeId", "data-v-b5fb70ec"]]), es = { class: "time-slider media-slider" }, ts = /*#__PURE__*/ t(/* @__PURE__ */ St({
7446
+ }), [["__scopeId", "data-v-9fd8a31f"]]), ts = { class: "time-slider media-slider" }, ns = /*#__PURE__*/ t(/* @__PURE__ */ St({
7443
7447
  __name: "time-slider",
7444
7448
  setup(e) {
7445
- return (e, t) => (V(), bt("media-time-slider", es, [B(gt, { class: "time-slider__slider" })]));
7449
+ return (e, t) => (V(), bt("media-time-slider", ts, [B(gt, { class: "time-slider__slider" })]));
7446
7450
  }
7447
- }), [["__scopeId", "data-v-fbc2d9f8"]]), ns = /*#__PURE__*/ t(/* @__PURE__ */ St({
7451
+ }), [["__scopeId", "data-v-fbc2d9f8"]]), rs = /*#__PURE__*/ t(/* @__PURE__ */ St({
7448
7452
  __name: "playback-controls-panel",
7449
7453
  props: { countdownTimeMode: {
7450
7454
  type: Boolean,
@@ -7452,20 +7456,20 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7452
7456
  } },
7453
7457
  setup(e) {
7454
7458
  let t = e;
7455
- return (e, n) => (V(), vt(U(Vo), { class: "playback-control-panel" }, {
7459
+ return (e, n) => (V(), vt(U(Ho), { class: "playback-control-panel" }, {
7456
7460
  default: Nt(() => [
7457
- B($o),
7458
- B(ts),
7461
+ B(es),
7462
+ B(ns),
7459
7463
  B(Je, { countdown: t.countdownTimeMode }, null, 8, ["countdown"])
7460
7464
  ], void 0, !0),
7461
7465
  _: 1
7462
7466
  }));
7463
7467
  }
7464
- }), [["__scopeId", "data-v-a6b8fc46"]]), rs = [
7468
+ }), [["__scopeId", "data-v-a6b8fc46"]]), is = [
7465
7469
  "autoplay",
7466
7470
  "muted",
7467
7471
  "src"
7468
- ], is = /*#__PURE__*/ t(/* @__PURE__ */ St({
7472
+ ], as = /*#__PURE__*/ t(/* @__PURE__ */ St({
7469
7473
  __name: "wt-vidstack-player",
7470
7474
  props: {
7471
7475
  src: {},
@@ -7559,7 +7563,7 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7559
7563
  playsinline: "",
7560
7564
  onClose: t[1] ||= (e) => a("close"),
7561
7565
  onCanPlay: h
7562
- }, [t[2] ||= z("media-provider", { class: "wt-vidstack-player__provider" }, null, -1), B(U(Zo), {
7566
+ }, [t[2] ||= z("media-provider", { class: "wt-vidstack-player__provider" }, null, -1), B(U(Qo), {
7563
7567
  autoplay: i.autoplay,
7564
7568
  closable: i.closable,
7565
7569
  "hide-controls-panel": i.hideControlsPanel,
@@ -7590,8 +7594,8 @@ var Bo = { class: "controls-group__actions" }, Vo = /*#__PURE__*/ t(/* @__PURE__
7590
7594
  "title",
7591
7595
  "username",
7592
7596
  "countdown-time-mode"
7593
- ])], 40, rs)], 2));
7597
+ ])], 40, is)], 2));
7594
7598
  }
7595
- }), [["__scopeId", "data-v-b63f74b6"]]);
7599
+ }), [["__scopeId", "data-v-8301ba7a"]]);
7596
7600
  //#endregion
7597
- export { is as default };
7601
+ export { as as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.21",
3
+ "version": "26.8.22",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -122,6 +122,9 @@
122
122
  "@biomejs/biome": "2.4.16",
123
123
  "@regle/core": "^1.16.2",
124
124
  "@tsconfig/node22": "^22.0.0",
125
+ "@types/deep-equal": "^1.0.4",
126
+ "@types/file-saver-es": "^2.0.3",
127
+ "@types/lodash": "^4.17.24",
125
128
  "@types/node": "^22.13.10",
126
129
  "@vitejs/plugin-vue": "^6.0.3",
127
130
  "@vitest/coverage-v8": "^4.1.3",
@@ -0,0 +1,30 @@
1
+ import type { Id } from '../../types/ApiModule';
2
+
3
+ /**
4
+ * TODO(types): payloads pass through `applyTransform` before reaching a
5
+ * generated client, so the generated request types don't apply here yet.
6
+ */
7
+ // biome-ignore lint/suspicious/noExplicitAny: see TODO above
8
+ export type ApiParams = Record<string, any>;
9
+
10
+ export interface GetItemParams<TId = Id> {
11
+ itemId: TId;
12
+ }
13
+
14
+ export interface AddItemParams {
15
+ itemInstance: ApiParams;
16
+ }
17
+
18
+ export interface UpdateItemParams<TId = Id> {
19
+ itemInstance: ApiParams;
20
+ itemId: TId;
21
+ }
22
+
23
+ export interface PatchItemParams<TId = Id> {
24
+ changes: ApiParams;
25
+ id: TId;
26
+ }
27
+
28
+ export interface DeleteItemParams<TId = Id> {
29
+ id: TId;
30
+ }
@@ -8,7 +8,6 @@ import {
8
8
  // getFieldsToSendFromZodSchema,
9
9
  getShallowFieldsToSendFromZodSchema,
10
10
  } from '@webitel/api-services/gen/utils';
11
-
12
11
  import {
13
12
  getDefaultGetListResponse,
14
13
  getDefaultGetParams,
@@ -20,10 +19,17 @@ import applyTransform, {
20
19
  sanitize,
21
20
  snakeToCamel,
22
21
  } from '../../transformers/index';
22
+ import type {
23
+ AddItemParams,
24
+ ApiParams,
25
+ DeleteItemParams,
26
+ GetItemParams,
27
+ UpdateItemParams,
28
+ } from '../_shared/types';
23
29
 
24
30
  const sourceService = getSources();
25
31
 
26
- const getSourcesList = async (params) => {
32
+ const getSourcesList = async (params: ApiParams) => {
27
33
  const fieldsToSend = getShallowFieldsToSendFromZodSchema(
28
34
  ListSourcesQueryParams,
29
35
  );
@@ -58,8 +64,8 @@ const getSourcesList = async (params) => {
58
64
  }
59
65
  };
60
66
 
61
- const getSource = async ({ itemId: id }) => {
62
- const itemResponseHandler = (item) => item.source; // TODO wtf??
67
+ const getSource = async ({ itemId: id }: GetItemParams<string>) => {
68
+ const itemResponseHandler = (item: ApiParams) => item.source; // TODO wtf??
63
69
 
64
70
  try {
65
71
  const response = await sourceService.locateSource(id);
@@ -74,7 +80,7 @@ const getSource = async ({ itemId: id }) => {
74
80
  }
75
81
  };
76
82
 
77
- const addSource = async ({ itemInstance }) => {
83
+ const addSource = async ({ itemInstance }: AddItemParams) => {
78
84
  const item = applyTransform(itemInstance, [
79
85
  sanitize(getShallowFieldsToSendFromZodSchema(CreateSourceBody)),
80
86
  camelToSnake(),
@@ -91,7 +97,10 @@ const addSource = async ({ itemInstance }) => {
91
97
  }
92
98
  };
93
99
 
94
- const updateSource = async ({ itemInstance, itemId: id }) => {
100
+ const updateSource = async ({
101
+ itemInstance,
102
+ itemId: id,
103
+ }: UpdateItemParams<string>) => {
95
104
  const item = applyTransform(itemInstance, [
96
105
  camelToSnake(),
97
106
  sanitize(getShallowFieldsToSendFromZodSchema(UpdateSourceBody)),
@@ -109,7 +118,7 @@ const updateSource = async ({ itemInstance, itemId: id }) => {
109
118
  }
110
119
  };
111
120
 
112
- const deleteSource = async ({ id }) => {
121
+ const deleteSource = async ({ id }: DeleteItemParams<string>) => {
113
122
  try {
114
123
  const response = await sourceService.deleteSource(id);
115
124
  return applyTransform(response.data, []);
@@ -120,7 +129,7 @@ const deleteSource = async ({ id }) => {
120
129
  }
121
130
  };
122
131
 
123
- const getLookup = (params) =>
132
+ const getLookup = (params: ApiParams) =>
124
133
  getSourcesList({
125
134
  ...params,
126
135
  fields: params.fields || [
@@ -1,5 +1,4 @@
1
1
  import { getQuickRepliesService } from '@webitel/api-services/gen';
2
-
3
2
  import {
4
3
  getDefaultGetListResponse,
5
4
  getDefaultGetParams,
@@ -12,6 +11,13 @@ import applyTransform, {
12
11
  snakeToCamel,
13
12
  starToSearch,
14
13
  } from '../../transformers/index';
14
+ import type {
15
+ AddItemParams,
16
+ ApiParams,
17
+ DeleteItemParams,
18
+ GetItemParams,
19
+ UpdateItemParams,
20
+ } from '../_shared/types';
15
21
 
16
22
  const quickReplyService = getQuickRepliesService();
17
23
 
@@ -23,7 +29,7 @@ const fieldsToSend = [
23
29
  'text',
24
30
  ];
25
31
 
26
- const getQuickRepliesList = async (params) => {
32
+ const getQuickRepliesList = async (params: ApiParams) => {
27
33
  const fieldsToSend = [
28
34
  'page',
29
35
  'size',
@@ -36,7 +42,7 @@ const getQuickRepliesList = async (params) => {
36
42
  const { page, size, fields, sort, id, q } = applyTransform(params, [
37
43
  merge(getDefaultGetParams()),
38
44
  starToSearch('search'),
39
- (params) => ({
45
+ (params: ApiParams) => ({
40
46
  ...params,
41
47
  q: params.search,
42
48
  }),
@@ -69,7 +75,7 @@ const getQuickRepliesList = async (params) => {
69
75
  }
70
76
  };
71
77
 
72
- const getQuickReply = async ({ itemId: id }) => {
78
+ const getQuickReply = async ({ itemId: id }: GetItemParams<number>) => {
73
79
  try {
74
80
  const response = await quickReplyService.readQuickReply(id);
75
81
  return applyTransform(response.data, [
@@ -82,7 +88,7 @@ const getQuickReply = async ({ itemId: id }) => {
82
88
  }
83
89
  };
84
90
 
85
- const addQuickReply = async ({ itemInstance }) => {
91
+ const addQuickReply = async ({ itemInstance }: AddItemParams) => {
86
92
  const item = applyTransform(itemInstance, [
87
93
  sanitize(fieldsToSend),
88
94
  camelToSnake(),
@@ -99,7 +105,10 @@ const addQuickReply = async ({ itemInstance }) => {
99
105
  }
100
106
  };
101
107
 
102
- const updateQuickReply = async ({ itemInstance, itemId: id }) => {
108
+ const updateQuickReply = async ({
109
+ itemInstance,
110
+ itemId: id,
111
+ }: UpdateItemParams<number>) => {
103
112
  const item = applyTransform(itemInstance, [
104
113
  camelToSnake(),
105
114
  sanitize(fieldsToSend),
@@ -117,7 +126,7 @@ const updateQuickReply = async ({ itemInstance, itemId: id }) => {
117
126
  }
118
127
  };
119
128
 
120
- const deleteQuickReply = async ({ id }) => {
129
+ const deleteQuickReply = async ({ id }: DeleteItemParams<number>) => {
121
130
  try {
122
131
  const response = await quickReplyService.deleteQuickReply(id);
123
132
  return applyTransform(response.data, []);
@@ -128,7 +137,7 @@ const deleteQuickReply = async ({ id }) => {
128
137
  }
129
138
  };
130
139
 
131
- const getLookup = (params) =>
140
+ const getLookup = (params: ApiParams) =>
132
141
  getQuickRepliesList({
133
142
  ...params,
134
143
  fields: params.fields || [
@@ -1,6 +1,5 @@
1
1
  import deepCopy from 'deep-copy';
2
2
  import { RolesApiFactory } from 'webitel-sdk';
3
-
4
3
  import { ApplicationsAccess } from '../../../modules/Userinfo';
5
4
  import {
6
5
  getDefaultGetListResponse,
@@ -17,6 +16,13 @@ import applyTransform, {
17
16
  snakeToCamel,
18
17
  starToSearch,
19
18
  } from '../../transformers';
19
+ import type {
20
+ AddItemParams,
21
+ ApiParams,
22
+ DeleteItemParams,
23
+ GetItemParams,
24
+ UpdateItemParams,
25
+ } from '../_shared/types';
20
26
 
21
27
  const instance = getDefaultInstance();
22
28
  const configuration = getDefaultOpenAPIConfig();
@@ -30,13 +36,13 @@ const fieldsToSend = [
30
36
  'metadata',
31
37
  ];
32
38
 
33
- const preRequestHandler = (item) => {
39
+ const preRequestHandler = (item: ApiParams) => {
34
40
  const copy = deepCopy(item);
35
41
  copy.metadata.access = ApplicationsAccess.minify(copy.metadata.access);
36
42
  return copy;
37
43
  };
38
44
 
39
- const getRoleList = async (params) => {
45
+ const getRoleList = async (params: ApiParams) => {
40
46
  const fieldsToSend = [
41
47
  'page',
42
48
  'size',
@@ -50,7 +56,7 @@ const getRoleList = async (params) => {
50
56
  applyTransform(params, [
51
57
  merge(getDefaultGetParams()),
52
58
  starToSearch('search'),
53
- (params) => {
59
+ (params: ApiParams) => {
54
60
  const rawId = params.id ?? params.ids;
55
61
  return {
56
62
  ...params,
@@ -89,7 +95,7 @@ const getRoleList = async (params) => {
89
95
  }
90
96
  };
91
97
 
92
- const getRole = async ({ itemId: id }) => {
98
+ const getRole = async ({ itemId: id }: GetItemParams<string>) => {
93
99
  const defaultObject = {
94
100
  name: '',
95
101
  description: '',
@@ -97,7 +103,7 @@ const getRole = async ({ itemId: id }) => {
97
103
  metadata: {},
98
104
  };
99
105
 
100
- const itemResponseHandler = (response) => {
106
+ const itemResponseHandler = (response: ApiParams) => {
101
107
  const copy = deepCopy(response);
102
108
  copy.metadata.access = new ApplicationsAccess({
103
109
  access: copy.metadata.access,
@@ -119,7 +125,7 @@ const getRole = async ({ itemId: id }) => {
119
125
  }
120
126
  };
121
127
 
122
- const addRole = async ({ itemInstance }) => {
128
+ const addRole = async ({ itemInstance }: AddItemParams) => {
123
129
  const item = applyTransform(itemInstance, [
124
130
  preRequestHandler,
125
131
  sanitize(fieldsToSend),
@@ -138,7 +144,10 @@ const addRole = async ({ itemInstance }) => {
138
144
  }
139
145
  };
140
146
 
141
- const updateRole = async ({ itemInstance, itemId: id }) => {
147
+ const updateRole = async ({
148
+ itemInstance,
149
+ itemId: id,
150
+ }: UpdateItemParams<string>) => {
142
151
  const item = applyTransform(itemInstance, [
143
152
  preRequestHandler,
144
153
  sanitize(fieldsToSend),
@@ -158,7 +167,7 @@ const updateRole = async ({ itemInstance, itemId: id }) => {
158
167
  }
159
168
  };
160
169
 
161
- const deleteRole = async ({ id }) => {
170
+ const deleteRole = async ({ id }: DeleteItemParams<string>) => {
162
171
  try {
163
172
  const response = await rolesApiFactory.deleteRole(id);
164
173
  return applyTransform(response.data, []);
@@ -169,7 +178,7 @@ const deleteRole = async ({ id }) => {
169
178
  }
170
179
  };
171
180
 
172
- const getRolesLookup = (params) =>
181
+ const getRolesLookup = (params: ApiParams) =>
173
182
  getRoleList({
174
183
  ...params,
175
184
  fields: params.fields || [
@@ -180,7 +189,7 @@ const getRolesLookup = (params) =>
180
189
 
181
190
  const PERMISSIONS_LIST_URL = '/permissions';
182
191
 
183
- const getPermissionsOptions = async (params) => {
192
+ const getPermissionsOptions = async (params: ApiParams) => {
184
193
  const fieldsToSend = [
185
194
  'page',
186
195
  'size',
@@ -192,7 +201,7 @@ const getPermissionsOptions = async (params) => {
192
201
 
193
202
  const url = applyTransform(params, [
194
203
  merge(getDefaultGetParams()),
195
- (params) => ({
204
+ (params: ApiParams) => ({
196
205
  ...params,
197
206
  q: params.search,
198
207
  }),
@@ -11,10 +11,20 @@ import applyTransform, {
11
11
  sanitize,
12
12
  starToSearch,
13
13
  } from '../../../transformers';
14
+ import type { ApiParams } from '../../_shared/types';
14
15
 
15
16
  const instance = getDefaultInstance();
16
17
 
17
- const getSysTypeRecordsList = async ({ path, display, primary, ...params }) => {
18
+ const getSysTypeRecordsList = async ({
19
+ path,
20
+ display,
21
+ primary,
22
+ ...params
23
+ }: {
24
+ path: string;
25
+ display: string;
26
+ primary: string;
27
+ } & ApiParams) => {
18
28
  const fieldsToSend = [
19
29
  'page',
20
30
  'size',
@@ -28,11 +38,11 @@ const getSysTypeRecordsList = async ({ path, display, primary, ...params }) => {
28
38
  const url = applyTransform(params, [
29
39
  merge(getDefaultGetParams()),
30
40
  starToSearch('search'),
31
- (params) => ({
41
+ (params: ApiParams) => ({
32
42
  ...params,
33
43
  q: params.search,
34
44
  }),
35
- (params) => ({
45
+ (params: ApiParams) => ({
36
46
  ...params,
37
47
  ids: params.id /* https://webitel.atlassian.net/browse/WTEL-6788 */,
38
48
  }),
@@ -61,7 +71,9 @@ const getSysTypeRecordsList = async ({ path, display, primary, ...params }) => {
61
71
  }
62
72
  };
63
73
 
64
- const getSysTypeRecordsLookup = (params) =>
74
+ const getSysTypeRecordsLookup = (
75
+ params: Parameters<typeof getSysTypeRecordsList>[0],
76
+ ) =>
65
77
  getSysTypeRecordsList({
66
78
  ...params,
67
79
  fields: params.fields || [