@webitel/ui-sdk 26.8.21 → 26.8.23

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-Q-Lkl5tb.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-C_F39G5j.js} +5 -5
  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-CiL3CTCQ.js} +3 -3
  20. package/dist/{wt-datepicker-DTUMTWJK.js → wt-datepicker-BwjMwR9-.js} +38 -34
  21. package/dist/{wt-display-chip-items-3GRXkRfT.js → wt-display-chip-items-DXfs6aQp.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-DaBSWvlP.js} +3 -3
  31. package/dist/wt-send-message-popup-BvnTPEeX.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-CS5S9HHJ.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-bsEXPInV.js} +14 -9
  42. package/dist/{wt-vidstack-player-DbRHboYo.js → wt-vidstack-player-BymuGcAX.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 +3 -0
  125. package/src/locale/es/es.js +3 -0
  126. package/src/locale/kz/kz.js +3 -0
  127. package/src/locale/pl/pl.js +3 -0
  128. package/src/locale/ro/ro.js +3 -0
  129. package/src/locale/ru/ru.js +3 -0
  130. package/src/locale/uk/uk.js +3 -0
  131. package/src/locale/uz/uz.js +3 -0
  132. package/src/locale/vi/vi.js +3 -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 +25 -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 +4 -2
  287. package/types/locale/es/es.d.ts +4 -2
  288. package/types/locale/i18n.d.ts +36 -18
  289. package/types/locale/index.d.ts +36 -18
  290. package/types/locale/kz/kz.d.ts +4 -2
  291. package/types/locale/pl/pl.d.ts +4 -2
  292. package/types/locale/ro/ro.d.ts +4 -2
  293. package/types/locale/ru/ru.d.ts +4 -2
  294. package/types/locale/uk/uk.d.ts +4 -2
  295. package/types/locale/uz/uz.d.ts +4 -2
  296. package/types/locale/vi/vi.d.ts +4 -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,3 +1,6 @@
1
+ import type { SortSymbols } from '../../../scripts/sortQueryAdapters';
2
+ /** derived so adding a symbol to `SortSymbols` widens this automatically */
3
+ export type WtTableSortOrder = (typeof SortSymbols)[keyof typeof SortSymbols];
1
4
  export type WtTableHeader = {
2
5
  value: string;
3
6
  /**
@@ -9,6 +12,9 @@ export type WtTableHeader = {
9
12
  width?: string;
10
13
  /** API/query field name when it differs from `value` */
11
14
  field?: string;
12
- sort?: boolean | null;
15
+ /** `undefined` means the column is not sortable; `boolean` is back-compat */
16
+ sort?: WtTableSortOrder | boolean;
13
17
  show?: boolean;
14
18
  };
19
+ /** TODO(types): every cell is read through a header-driven runtime `field` key. */
20
+ export type WtTableRow = any;
@@ -1,6 +1,6 @@
1
1
  import type { DataTableProps } from 'primevue';
2
2
  import type { VirtualScrollerLazyEvent } from 'primevue/virtualscroller';
3
- import type { WtTableHeader } from './types/WtTable';
3
+ import type { WtTableHeader, WtTableRow } from './types/WtTable';
4
4
  interface Props extends DataTableProps {
5
5
  /**
6
6
  * 'Accepts list of header objects. Draws text depending on "text" property, looks for data values through "value", "show" boolean controls visibility of a column (if undefined, all visible by default). ' Column width is calculated by "width" param. By default, sets 140px. '
@@ -9,7 +9,7 @@ interface Props extends DataTableProps {
9
9
  /**
10
10
  * 'List of data, represented by table. '
11
11
  */
12
- data?: Array<unknown>;
12
+ data?: WtTableRow[];
13
13
  /**
14
14
  * 'If true, draws sorting arrows and sends sorting events at header click. Draws a sorting arrow by "sort": "asc"/"desc" header value. '
15
15
  */
@@ -48,7 +48,7 @@ interface Props extends DataTableProps {
48
48
  /**
49
49
  * 'If true, restrict sprecific row reorder.'
50
50
  */
51
- isRowReorderDisabled?: (row: any) => boolean;
51
+ isRowReorderDisabled?: (row: WtTableRow) => boolean;
52
52
  rowExpansion?: boolean;
53
53
  rowClass?: () => string;
54
54
  rowStyle?: () => {
@@ -96,14 +96,14 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
96
96
  "column-resize": (...args: any[]) => void;
97
97
  "column-reorder": (...args: any[]) => void;
98
98
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
99
- onSort?: (...args: any[]) => any;
100
- "onUpdate:selected"?: (...args: any[]) => any;
101
- "onReorder:row"?: (...args: any[]) => any;
102
- "onColumn-resize"?: (...args: any[]) => any;
103
- "onColumn-reorder"?: (...args: any[]) => any;
99
+ onSort?: ((...args: any[]) => any) | undefined;
100
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
101
+ "onReorder:row"?: ((...args: any[]) => any) | undefined;
102
+ "onColumn-resize"?: ((...args: any[]) => any) | undefined;
103
+ "onColumn-reorder"?: ((...args: any[]) => any) | undefined;
104
104
  }>, {
105
105
  lazy: boolean;
106
- data: Array<unknown>;
106
+ data: WtTableRow[];
107
107
  dataKey: string;
108
108
  headers: WtTableHeader[];
109
109
  sortable: boolean;
@@ -112,7 +112,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
112
112
  fixedActions: boolean;
113
113
  headless: boolean;
114
114
  rowReorder: boolean;
115
- isRowReorderDisabled: (row: any) => boolean;
115
+ isRowReorderDisabled: (row: WtTableRow) => boolean;
116
116
  rowExpansion: boolean;
117
117
  rowClass: () => string;
118
118
  rowStyle: () => {
@@ -121,8 +121,8 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
121
121
  resizableColumns: boolean;
122
122
  reorderableColumns: boolean;
123
123
  rowExpansionDisabled: (row: object) => boolean;
124
- itemSize: number | undefined;
125
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
124
+ itemSize: number;
125
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
126
126
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
127
127
  declare const _default: typeof __VLS_export;
128
128
  export default _default;
@@ -29,12 +29,12 @@ type __VLS_Slots = {} & {
29
29
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
30
  input: (value: string) => any;
31
31
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
32
- onInput?: (value: string) => any;
32
+ onInput?: ((value: string) => any) | undefined;
33
33
  }>, {
34
34
  icons: string[];
35
35
  isSettingsActive: boolean;
36
36
  isSettingsBadge: boolean;
37
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
38
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
39
  declare const _default: typeof __VLS_export;
40
40
  export default _default;
@@ -12,7 +12,7 @@ type __VLS_Props = {
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  change: (headers: Header[]) => any;
14
14
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onChange?: (headers: Header[]) => any;
15
+ onChange?: ((headers: Header[]) => any) | undefined;
16
16
  }>, {
17
17
  staticHeaders: string[];
18
18
  enableSearch: boolean;
@@ -7,7 +7,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
7
7
  };
8
8
  tabs: {
9
9
  type: ArrayConstructor;
10
- default: () => any[];
10
+ default: () => never[];
11
11
  };
12
12
  wide: {
13
13
  type: BooleanConstructor;
@@ -26,14 +26,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
26
26
  };
27
27
  tabs: {
28
28
  type: ArrayConstructor;
29
- default: () => any[];
29
+ default: () => never[];
30
30
  };
31
31
  wide: {
32
32
  type: BooleanConstructor;
33
33
  default: boolean;
34
34
  };
35
35
  }>> & Readonly<{
36
- onChange?: (...args: any[]) => any;
36
+ onChange?: ((...args: any[]) => any) | undefined;
37
37
  }>, {
38
38
  wide: boolean;
39
39
  current: Record<string, any>;
@@ -1,4 +1,5 @@
1
1
  import type { TextareaProps } from 'primevue/textarea';
2
+ import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
2
3
  /**
3
4
  * @emits {string} input - Fires when textarea value changes. Emits value
4
5
  * @emits {void} enter - Fires at enter key press if autoresize is on
@@ -64,16 +65,13 @@ interface Props extends /* @vue-ignore */ TextareaProps {
64
65
  /**
65
66
  * Validation rules
66
67
  */
67
- v?: unknown;
68
+ v?: VuelidateFieldLike;
68
69
  /**
69
70
  * Custom validators array
70
71
  * @type {Array<{name: string, text: string}>}
71
72
  * @default []
72
73
  */
73
- customValidators?: Array<{
74
- name: string;
75
- text: string;
76
- }>;
74
+ customValidators?: CompatCustomValidator[];
77
75
  }
78
76
  type __VLS_Props = Props;
79
77
  type __VLS_ModelProps = {
@@ -91,25 +89,22 @@ type __VLS_Slots = {} & {
91
89
  label?: (props: typeof __VLS_7) => any;
92
90
  };
93
91
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
94
- "update:modelValue": (value: string) => any;
92
+ "update:modelValue": (value: string | undefined) => any;
95
93
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
96
- "onUpdate:modelValue"?: (value: string) => any;
94
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
97
95
  }>, {
98
96
  name: string;
99
- required: boolean;
100
97
  label: string;
101
98
  disabled: boolean;
99
+ required: boolean;
102
100
  placeholder: string;
103
101
  readonly: boolean;
104
- customValidators: Array<{
105
- name: string;
106
- text: string;
107
- }>;
108
- v: any;
102
+ customValidators: CompatCustomValidator[];
103
+ v: VuelidateFieldLike;
109
104
  labelProps: Record<string, unknown>;
110
105
  rows: number;
111
106
  autoresize: boolean;
112
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
107
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
113
108
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
114
109
  declare const _default: typeof __VLS_export;
115
110
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
2
+ import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
2
3
  interface WtTimeInputProps {
3
4
  /**
4
5
  * Form input label
@@ -35,7 +36,7 @@ interface WtTimeInputProps {
35
36
  /**
36
37
  * Vuelidate validation object
37
38
  */
38
- v?: Record<string, unknown>;
39
+ v?: VuelidateFieldLike;
39
40
  /**
40
41
  * Regle validation object
41
42
  */
@@ -43,7 +44,7 @@ interface WtTimeInputProps {
43
44
  /**
44
45
  * Custom validators for vuelidate
45
46
  */
46
- customValidators?: unknown[];
47
+ customValidators?: CompatCustomValidator[];
47
48
  }
48
49
  type __VLS_Props = WtTimeInputProps;
49
50
  type __VLS_ModelProps = {
@@ -54,21 +55,20 @@ type __VLS_ModelProps = {
54
55
  };
55
56
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
56
57
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
- "update:modelValue": (value: number) => any;
58
+ "update:modelValue": (value: number | undefined) => any;
58
59
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
59
- "onUpdate:modelValue"?: (value: number) => any;
60
+ "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
60
61
  }>, {
61
62
  name: string;
62
- required: boolean;
63
63
  label: string;
64
64
  disabled: boolean;
65
- customValidators: unknown[];
65
+ required: boolean;
66
+ customValidators: CompatCustomValidator[];
66
67
  minValue: number;
67
68
  maxValue: number;
68
- v: Record<string, unknown>;
69
- regleValidation: SuperCompatibleRegleFieldStatus;
69
+ v: VuelidateFieldLike;
70
70
  labelProps: Record<string, unknown>;
71
71
  hideInputInfo: boolean;
72
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
73
73
  declare const _default: typeof __VLS_export;
74
74
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
2
+ import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
2
3
  interface WtTimepickerProps {
3
4
  /**
4
5
  * Time value in seconds (not milliseconds!)
@@ -35,7 +36,7 @@ interface WtTimepickerProps {
35
36
  /**
36
37
  * Vuelidate validation object
37
38
  */
38
- v?: Record<string, unknown>;
39
+ v?: VuelidateFieldLike;
39
40
  /**
40
41
  * Regle validation object
41
42
  */
@@ -43,7 +44,7 @@ interface WtTimepickerProps {
43
44
  /**
44
45
  * Custom validators for vuelidate
45
46
  */
46
- customValidators?: unknown[];
47
+ customValidators?: CompatCustomValidator[];
47
48
  }
48
49
  declare var __VLS_7: {
49
50
  label: string;
@@ -54,20 +55,19 @@ type __VLS_Slots = {} & {
54
55
  declare const __VLS_base: import("vue").DefineComponent<WtTimepickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
56
  "update:modelValue": (value: number) => any;
56
57
  }, string, import("vue").PublicProps, Readonly<WtTimepickerProps> & Readonly<{
57
- "onUpdate:modelValue"?: (value: number) => any;
58
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
58
59
  }>, {
59
- required: boolean;
60
60
  label: string;
61
61
  disabled: boolean;
62
+ required: boolean;
62
63
  modelValue: string | number;
63
- customValidators: unknown[];
64
- v: Record<string, unknown>;
65
- regleValidation: SuperCompatibleRegleFieldStatus;
64
+ customValidators: CompatCustomValidator[];
65
+ v: VuelidateFieldLike;
66
66
  labelProps: Record<string, unknown>;
67
67
  format: string;
68
68
  dateMode: boolean;
69
69
  noLabel: boolean;
70
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
71
71
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
72
  declare const _default: typeof __VLS_export;
73
73
  export default _default;
@@ -7,7 +7,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  triggers: {
9
9
  type: ArrayConstructor;
10
- default: () => any[];
10
+ default: () => never[];
11
11
  };
12
12
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  hide: (...args: any[]) => void;
@@ -15,14 +15,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
15
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  triggers: {
17
17
  type: ArrayConstructor;
18
- default: () => any[];
18
+ default: () => never[];
19
19
  };
20
20
  }>> & Readonly<{
21
- onHide?: (...args: any[]) => any;
22
- onShow?: (...args: any[]) => any;
21
+ onHide?: ((...args: any[]) => any) | undefined;
22
+ onShow?: ((...args: any[]) => any) | undefined;
23
23
  }>, {
24
24
  triggers: unknown[];
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
26
  type __VLS_Slots = {
27
- default?: (props: {}) => any;
27
+ default?: ((props: {}) => any) | undefined;
28
28
  };
@@ -15,7 +15,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
15
15
  };
16
16
  popperTriggers: {
17
17
  type: ArrayConstructor;
18
- default: () => any[];
18
+ default: () => never[];
19
19
  };
20
20
  triggers: {
21
21
  type: ArrayConstructor;
@@ -46,7 +46,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
46
46
  };
47
47
  popperTriggers: {
48
48
  type: ArrayConstructor;
49
- default: () => any[];
49
+ default: () => never[];
50
50
  };
51
51
  triggers: {
52
52
  type: ArrayConstructor;
@@ -65,7 +65,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
65
65
  default: boolean;
66
66
  };
67
67
  }>> & Readonly<{
68
- "onUpdate:visible"?: (...args: any[]) => any;
68
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
69
69
  }>, {
70
70
  disabled: boolean;
71
71
  triggers: unknown[];
@@ -76,11 +76,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
76
76
  disableClickAway: boolean;
77
77
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
78
78
  type __VLS_Slots = {
79
- activator?: (props: {
79
+ activator?: ((props: {
80
80
  visible: boolean;
81
- }) => any;
81
+ }) => any) | undefined;
82
82
  } & {
83
- default?: (props: {
83
+ default?: ((props: {
84
84
  hide: (event?: {}) => void;
85
- }) => any;
85
+ }) => any) | undefined;
86
86
  };
@@ -27,7 +27,9 @@ type __VLS_Props = {
27
27
  multiple?: boolean;
28
28
  allowParent?: boolean;
29
29
  };
30
- declare var __VLS_10: any;
30
+ declare var __VLS_10: {
31
+ [x: string]: unknown;
32
+ };
31
33
  type __VLS_Slots = {} & {
32
34
  'item-prefix'?: (props: typeof __VLS_10) => any;
33
35
  };
@@ -35,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
35
37
  select: (data: unknown) => any;
36
38
  "update:modelValue": (value: unknown) => any;
37
39
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
38
- onSelect?: (data: unknown) => any;
39
- "onUpdate:modelValue"?: (value: unknown) => any;
40
+ onSelect?: ((data: unknown) => any) | undefined;
41
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
40
42
  }>, {
41
43
  mode: string;
42
44
  childrenProp: string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * TODO(types): every field the tree reads (`itemLabel`, `itemData`,
3
+ * `childrenProp`, `searchedProp`) is a prop-driven runtime key.
4
+ */
5
+ export type WtTreeNode = any;
@@ -1,7 +1,8 @@
1
1
  import type { WtTreeNestedIcons } from './types/wt-tree-nested-icons.ts';
2
+ import type { WtTreeNode } from './types/wt-tree-node.ts';
2
3
  type __VLS_Props = {
3
- modelValue: null | unknown | unknown[];
4
- data: unknown;
4
+ modelValue: WtTreeNode | WtTreeNode[] | null;
5
+ data: WtTreeNode;
5
6
  itemLabel?: string | undefined;
6
7
  itemData?: string | undefined;
7
8
  childrenProp?: string;
@@ -16,28 +17,17 @@ type __VLS_Props = {
16
17
  * 'It's a key in data object, which contains field what display searched elements. By this field, table will be opened to elements with this field value. '
17
18
  */
18
19
  searchedProp?: string;
19
- rootData?: unknown;
20
+ rootData?: WtTreeNode;
20
21
  };
21
- declare var __VLS_18: {
22
- data: unknown;
23
- rootData: unknown;
24
- nestedLevel: number;
25
- active: any;
26
- hasChildren: boolean;
27
- selectedParent: boolean;
28
- class: string;
29
- }, __VLS_41: any;
30
- type __VLS_Slots = {} & {
31
- 'item-prefix'?: (props: typeof __VLS_18) => any;
32
- } & {
33
- 'item-prefix'?: (props: typeof __VLS_41) => any;
22
+ type __VLS_Slots = {
23
+ 'item-prefix'(props: Record<string, unknown>): unknown;
34
24
  };
35
25
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
36
26
  "update:modelValue": (value: unknown) => any;
37
27
  openParent: () => any;
38
28
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
- "onUpdate:modelValue"?: (value: unknown) => any;
40
- onOpenParent?: () => any;
29
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
30
+ onOpenParent?: (() => any) | undefined;
41
31
  }>, {
42
32
  multiple: boolean;
43
33
  lastChild: boolean;
@@ -47,8 +47,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
47
47
  sort: (...args: any[]) => void;
48
48
  "update:selected": (...args: any[]) => void;
49
49
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
50
- onSort?: (...args: any[]) => any;
51
- "onUpdate:selected"?: (...args: any[]) => any;
50
+ onSort?: ((...args: any[]) => any) | undefined;
51
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
52
52
  }>, {
53
53
  sortable: boolean;
54
54
  selectable: boolean;
@@ -25,28 +25,13 @@ type __VLS_Props = {
25
25
  */
26
26
  searchedProp?: string;
27
27
  };
28
- declare var __VLS_16: string, __VLS_17: {
29
- index: number;
30
- item: Record<string, unknown>;
31
- }, __VLS_19: {
32
- index: number;
33
- item: Record<string, unknown>;
34
- }, __VLS_32: string, __VLS_33: any, __VLS_36: any;
35
- type __VLS_Slots = {} & {
36
- [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any;
37
- } & {
38
- [K in NonNullable<typeof __VLS_32>]?: (props: typeof __VLS_33) => any;
39
- } & {
40
- actions?: (props: typeof __VLS_19) => any;
41
- } & {
42
- actions?: (props: typeof __VLS_36) => any;
43
- };
28
+ type __VLS_Slots = Record<string, (props: Record<string, any>) => unknown>;
44
29
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
30
  "update:selected": (...args: any[]) => void;
46
31
  "expanded-collapse": (...args: any[]) => void;
47
32
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
48
- "onUpdate:selected"?: (...args: any[]) => any;
49
- "onExpanded-collapse"?: (...args: any[]) => any;
33
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
34
+ "onExpanded-collapse"?: ((...args: any[]) => any) | undefined;
50
35
  }>, {
51
36
  selectable: boolean;
52
37
  gridActions: boolean;
@@ -1,7 +1,7 @@
1
1
  declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
2
  toggle: (value: boolean) => any;
3
3
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
- onToggle?: (value: boolean) => any;
4
+ onToggle?: ((value: boolean) => any) | undefined;
5
5
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  export default _default;
@@ -23,11 +23,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
23
23
  "make-screenshot": () => any;
24
24
  "toggle-record": () => any;
25
25
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- "onClose-player"?: () => any;
27
- "onClose-session"?: () => any;
28
- "onMake-screenshot"?: () => any;
29
- "onToggle-record"?: () => any;
30
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
+ "onClose-player"?: (() => any) | undefined;
27
+ "onClose-session"?: (() => any) | undefined;
28
+ "onMake-screenshot"?: (() => any) | undefined;
29
+ "onToggle-record"?: (() => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  export default _default;
@@ -1,7 +1,7 @@
1
1
  declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
2
  toggle: (value: boolean) => any;
3
3
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
- onToggle?: (value: boolean) => any;
4
+ onToggle?: ((value: boolean) => any) | undefined;
5
5
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  export default _default;
@@ -3,6 +3,6 @@ type __VLS_Props = {
3
3
  };
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
5
  countdown: boolean;
6
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const _default: typeof __VLS_export;
8
8
  export default _default;
@@ -3,6 +3,6 @@ type __VLS_Props = {
3
3
  };
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
5
  countdownTimeMode: boolean;
6
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const _default: typeof __VLS_export;
8
8
  export default _default;
@@ -10,9 +10,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
10
10
  "make-screenshot": () => any;
11
11
  "toggle-record": () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
13
- "onClose-session"?: () => any;
14
- "onMake-screenshot"?: () => any;
15
- "onToggle-record"?: () => any;
13
+ "onClose-session"?: (() => any) | undefined;
14
+ "onMake-screenshot"?: (() => any) | undefined;
15
+ "onToggle-record"?: (() => any) | undefined;
16
16
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  export default _default;
@@ -15,21 +15,21 @@ type __VLS_Props = {
15
15
  'actions:chat:pressed': boolean;
16
16
  };
17
17
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- video: (payload?: unknown, options?: ResultCallbacks) => any;
19
- chat: (payload?: unknown, options?: ResultCallbacks) => any;
20
- settings: (payload?: unknown, options?: ResultCallbacks) => any;
21
- screenshot: (payload?: unknown, options?: ResultCallbacks) => any;
22
- recordings: (payload?: unknown, options?: ResultCallbacks) => any;
23
- mic: (payload?: unknown, options?: ResultCallbacks) => any;
24
- hangup: (payload?: unknown, options?: ResultCallbacks) => any;
18
+ video: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
19
+ chat: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
20
+ settings: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
21
+ screenshot: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
22
+ recordings: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
23
+ mic: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
24
+ hangup: (payload?: unknown, options?: ResultCallbacks | undefined) => any;
25
25
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- onVideo?: (payload?: unknown, options?: ResultCallbacks) => any;
27
- onChat?: (payload?: unknown, options?: ResultCallbacks) => any;
28
- onSettings?: (payload?: unknown, options?: ResultCallbacks) => any;
29
- onScreenshot?: (payload?: unknown, options?: ResultCallbacks) => any;
30
- onRecordings?: (payload?: unknown, options?: ResultCallbacks) => any;
31
- onMic?: (payload?: unknown, options?: ResultCallbacks) => any;
32
- onHangup?: (payload?: unknown, options?: ResultCallbacks) => any;
26
+ onVideo?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
27
+ onChat?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
28
+ onSettings?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
29
+ onScreenshot?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
30
+ onRecordings?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
31
+ onMic?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
32
+ onHangup?: ((payload?: unknown, options?: ResultCallbacks | undefined) => any) | undefined;
33
33
  }>, {
34
34
  actions: VideoCallAction[];
35
35
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -13,8 +13,8 @@ type __VLS_Slots = {} & {
13
13
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  close: () => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onClose?: () => any;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ onClose?: (() => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  export default _default;
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
7
7
  close: () => any;
8
8
  zoom: () => any;
9
9
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- onClose?: () => any;
11
- onZoom?: () => any;
10
+ onClose?: (() => any) | undefined;
11
+ onZoom?: (() => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -6,7 +6,7 @@ type __VLS_Props = {
6
6
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  toggle: () => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onToggle?: () => any;
9
+ onToggle?: (() => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -0,0 +1,2 @@
1
+ import type { WtVidstackPlayerSizeProvider } from '../types/WtVidstackPlayerSizeProvider';
2
+ export declare const useVidstackPlayerSize: () => WtVidstackPlayerSizeProvider;