@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
@@ -13,7 +13,7 @@ declare const __VLS_base: import("vue").DefineComponent<WtMessageProps, {}, {},
13
13
  size: ComponentSize;
14
14
  color: MessageColor;
15
15
  variant: MessageVariant;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  export default _default;
@@ -1,6 +1,8 @@
1
1
  import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
2
2
  import type { SelectProps } from 'primevue';
3
- interface Props extends SelectProps {
3
+ import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
4
+ import type { SelectOption, SelectSearchMethod } from '../_internals/composables/useSelect/types';
5
+ interface Props extends Omit<SelectProps, 'options'> {
4
6
  label?: string;
5
7
  placeholder?: string;
6
8
  required?: boolean;
@@ -21,7 +23,8 @@ interface Props extends SelectProps {
21
23
  * true shows the clear button
22
24
  */
23
25
  showClear?: boolean;
24
- options?: unknown[];
26
+ /** readonly so consumers can pass `as const` option lists */
27
+ options?: readonly unknown[];
25
28
  optionLabel?: string;
26
29
  optionValue?: string;
27
30
  /**
@@ -31,7 +34,7 @@ interface Props extends SelectProps {
31
34
  /**
32
35
  * Function that returns filtered options for server-side search
33
36
  */
34
- searchMethod?: () => void;
37
+ searchMethod?: SelectSearchMethod;
35
38
  /**
36
39
  * true allows adding custom values through the filter input
37
40
  */
@@ -42,43 +45,40 @@ interface Props extends SelectProps {
42
45
  manualCustomValues?: boolean;
43
46
  chipsView?: boolean;
44
47
  labelProps?: object;
45
- v?: Record<string, unknown>;
48
+ v?: VuelidateFieldLike;
46
49
  regleValidation?: SuperCompatibleRegleFieldStatus;
47
- customValidators?: unknown[];
50
+ customValidators?: CompatCustomValidator[];
48
51
  }
49
52
  type __VLS_Props = Props;
50
- declare const __VLS_defaultModels: {
51
- modelValue: any[];
52
- };
53
53
  type __VLS_ModelProps = {
54
- modelValue?: typeof __VLS_defaultModels['modelValue'];
54
+ modelValue?: SelectOption;
55
55
  };
56
56
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
57
57
  declare var __VLS_7: {
58
- label: string;
58
+ label: string | undefined;
59
59
  };
60
60
  type __VLS_Slots = {} & {
61
61
  label?: (props: typeof __VLS_7) => any;
62
62
  };
63
63
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
64
  reset: () => any;
65
- "update:modelValue": (value: any[]) => any;
66
- "add:custom-value": (value: string) => any;
67
65
  hide: () => any;
66
+ "update:modelValue": (value: any) => any;
67
+ "add:custom-value": (value: string) => any;
68
68
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
69
- onReset?: () => any;
70
- "onUpdate:modelValue"?: (value: any[]) => any;
71
- "onAdd:custom-value"?: (value: string) => any;
72
- onHide?: () => any;
69
+ onReset?: (() => any) | undefined;
70
+ onHide?: (() => any) | undefined;
71
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
72
+ "onAdd:custom-value"?: ((value: string) => any) | undefined;
73
73
  }>, {
74
- options: unknown[];
75
- customValidators: unknown[];
74
+ options: readonly unknown[];
75
+ customValidators: CompatCustomValidator[];
76
76
  dataKey: string;
77
77
  optionLabel: string;
78
78
  labelProps: object;
79
79
  showClear: boolean;
80
80
  filterable: boolean;
81
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
82
82
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
83
  declare const _default: typeof __VLS_export;
84
84
  export default _default;
@@ -4,6 +4,7 @@ export interface WtNavigationBarExpansionNavItem {
4
4
  export interface WtNavigationBarRouteNavItem {
5
5
  route: string;
6
6
  }
7
+ /** both fields stay optional so the template can branch on them */
7
8
  export type WtNavigationBarNavItem = {
8
9
  value: string;
9
10
  /**
@@ -11,4 +12,4 @@ export type WtNavigationBarNavItem = {
11
12
  * @default WtNavigationBarNavItem.value
12
13
  */
13
14
  name?: string;
14
- } & (WtNavigationBarRouteNavItem | WtNavigationBarExpansionNavItem);
15
+ } & Partial<WtNavigationBarRouteNavItem> & Partial<WtNavigationBarExpansionNavItem>;
@@ -1,3 +1,6 @@
1
+ import type { PropType } from 'vue';
2
+ import { WtApplication } from '../../enums';
3
+ import type { WtNavigationBarNavItem } from './types/WtNavigationBar';
1
4
  declare const _default: typeof __VLS_export;
2
5
  export default _default;
3
6
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -7,8 +10,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
7
10
  * @default 'admin'
8
11
  */
9
12
  currentApp: {
10
- type: StringConstructor;
11
- default: string;
13
+ type: PropType<WtApplication>;
14
+ default: "admin";
12
15
  };
13
16
  /**
14
17
  * Should receive array of nav objects. All objects should have following properties:
@@ -20,8 +23,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
20
23
  * @default []
21
24
  */
22
25
  nav: {
23
- type: ArrayConstructor;
24
- default: () => any[];
26
+ type: PropType<WtNavigationBarNavItem[]>;
27
+ default: () => never[];
25
28
  };
26
29
  /**
27
30
  * Dark mode flag
@@ -44,45 +47,19 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
44
47
  }>, {}, {
45
48
  isOpened: boolean;
46
49
  expandedName: string;
47
- appLogo: {
48
- supervisor: {
49
- dark: string;
50
- light: string;
51
- };
52
- admin: {
53
- dark: string;
54
- light: string;
55
- };
56
- agent: {
57
- dark: string;
58
- light: string;
59
- };
60
- audit: {
61
- dark: string;
62
- light: string;
63
- };
64
- history: {
65
- dark: string;
66
- light: string;
67
- };
68
- crm: {
69
- dark: string;
70
- light: string;
71
- };
72
- wfm: {
73
- dark: string;
74
- light: string;
75
- };
76
- };
50
+ appLogo: Partial<Record<WtApplication, {
51
+ dark: string;
52
+ light: string;
53
+ }>>;
77
54
  }, {
78
55
  currentNav(): {
79
- nav: any;
80
- expansion: any;
56
+ nav: string | undefined;
57
+ expansion: string | undefined;
81
58
  };
82
59
  }, {
83
- nestedRoute(subNavItem: any, navItem: any): any;
84
- expand(navItem: any): void;
85
- isExpanded(navItem: any): boolean;
60
+ nestedRoute(subNavItem: WtNavigationBarNavItem, navItem: WtNavigationBarNavItem): string | undefined;
61
+ expand(navItem: WtNavigationBarNavItem): void;
62
+ isExpanded(navItem: WtNavigationBarNavItem): boolean;
86
63
  close(): void;
87
64
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
88
65
  /**
@@ -91,8 +68,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
91
68
  * @default 'admin'
92
69
  */
93
70
  currentApp: {
94
- type: StringConstructor;
95
- default: string;
71
+ type: PropType<WtApplication>;
72
+ default: "admin";
96
73
  };
97
74
  /**
98
75
  * Should receive array of nav objects. All objects should have following properties:
@@ -104,8 +81,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
104
81
  * @default []
105
82
  */
106
83
  nav: {
107
- type: ArrayConstructor;
108
- default: () => any[];
84
+ type: PropType<WtNavigationBarNavItem[]>;
85
+ default: () => never[];
109
86
  };
110
87
  /**
111
88
  * Dark mode flag
@@ -126,9 +103,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
126
103
  default: string;
127
104
  };
128
105
  }>> & Readonly<{}>, {
129
- nav: unknown[];
106
+ nav: WtNavigationBarNavItem[];
130
107
  darkMode: boolean;
131
- currentApp: string;
108
+ currentApp: WtApplication;
132
109
  logoRoute: string;
133
110
  }, {}, {
134
111
  ExpandTransition: import("vue").DefineComponent<{}, {}, {}, {}, {
@@ -6,11 +6,11 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
8
8
  type __VLS_Slots = {
9
- default?: (props: {}) => any;
9
+ default?: ((props: {}) => any) | undefined;
10
10
  } & {
11
- title?: (props: {}) => any;
11
+ title?: ((props: {}) => any) | undefined;
12
12
  } & {
13
- actions?: (props: {}) => any;
13
+ actions?: ((props: {}) => any) | undefined;
14
14
  } & {
15
- 'primary-action'?: (props: {}) => any;
15
+ 'primary-action'?: ((props: {}) => any) | undefined;
16
16
  };
@@ -1,15 +1,18 @@
1
1
  import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
2
2
  import type { PasswordProps } from 'primevue';
3
- interface WtPasswordProps extends /* @vue-ignore */ PasswordProps {
3
+ import type { InputHTMLAttributes } from 'vue';
4
+ import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
5
+ /** native attrs are omitted: keeping them overflows prop inference (TS2590) */
6
+ interface WtPasswordProps extends /* @vue-ignore */ Omit<PasswordProps, keyof InputHTMLAttributes> {
4
7
  label?: string;
5
8
  labelProps?: Record<string, unknown>;
6
9
  placeholder?: string;
7
10
  disabled?: boolean;
8
11
  required?: boolean;
9
12
  toggleMask?: boolean;
10
- v?: Record<string, unknown>;
13
+ v?: VuelidateFieldLike;
11
14
  regleValidation?: SuperCompatibleRegleFieldStatus;
12
- customValidators?: unknown[];
15
+ customValidators?: CompatCustomValidator[];
13
16
  }
14
17
  type __VLS_Props = WtPasswordProps;
15
18
  type __VLS_ModelProps = {
@@ -27,18 +30,17 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
27
30
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
31
  "update:modelValue": (value: string) => any;
29
32
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
- "onUpdate:modelValue"?: (value: string) => any;
33
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
31
34
  }>, {
32
- required: boolean;
33
35
  label: string;
34
36
  disabled: boolean;
37
+ required: boolean;
35
38
  placeholder: string;
36
- customValidators: unknown[];
37
- v: Record<string, unknown>;
38
- regleValidation: SuperCompatibleRegleFieldStatus;
39
+ customValidators: CompatCustomValidator[];
40
+ v: VuelidateFieldLike;
39
41
  labelProps: Record<string, unknown>;
40
42
  toggleMask: boolean;
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
44
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
43
45
  declare const _default: typeof __VLS_export;
44
46
  export default _default;
@@ -83,20 +83,20 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
83
83
  close: () => any;
84
84
  initialized: () => any;
85
85
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
86
- onClose?: () => any;
87
- onInitialized?: () => any;
86
+ onClose?: (() => any) | undefined;
87
+ onInitialized?: (() => any) | undefined;
88
88
  }>, {
89
89
  download: string | ((url: string) => string) | boolean;
90
90
  closable: boolean;
91
- position: string;
92
- autoplay: boolean;
91
+ invertTime: boolean;
93
92
  loop: boolean;
93
+ autoplay: boolean;
94
+ position: string;
94
95
  resetOnEnd: boolean;
95
96
  hideVolumeSlider: boolean;
96
97
  hideMuteButton: boolean;
97
98
  hideSettings: boolean;
98
- invertTime: boolean;
99
99
  resetVolume: boolean;
100
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
101
101
  declare const _default: typeof __VLS_export;
102
102
  export default _default;
@@ -1,6 +1,10 @@
1
1
  import type { PopoverProps } from 'primevue';
2
- interface Props extends PopoverProps {
2
+ /** `breakpoints`/`pt`/`ptOptions` are re-declared so the `null` defaults below stay assignable */
3
+ interface Props extends Omit<PopoverProps, 'breakpoints' | 'pt' | 'ptOptions'> {
3
4
  disabled?: boolean;
5
+ breakpoints?: PopoverProps['breakpoints'] | null;
6
+ pt?: PopoverProps['pt'] | null;
7
+ ptOptions?: PopoverProps['ptOptions'] | null;
4
8
  }
5
9
  declare var __VLS_1: {
6
10
  show: (event?: Event, target?: HTMLElement | null | undefined) => void;
@@ -23,20 +27,20 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
23
27
  hide: () => any;
24
28
  show: () => any;
25
29
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
26
- onHide?: () => any;
27
- onShow?: () => any;
30
+ onHide?: (() => any) | undefined;
31
+ onShow?: (() => any) | undefined;
28
32
  }>, {
29
33
  dt: import("@primevue/core").DesignToken<any>;
30
34
  disabled: boolean;
31
- pt: any;
32
- ptOptions: import("primevue/passthrough").PassThroughOptions;
35
+ pt: object | import("primevue").PopoverPassThroughOptions | null;
36
+ ptOptions: import("primevue/passthrough").PassThroughOptions | null;
33
37
  unstyled: boolean;
34
- appendTo: import("@primevue/core").HintedString<"body" | "self"> | undefined | HTMLElement;
38
+ appendTo: HTMLElement | import("@primevue/core").HintedString<"body" | "self">;
35
39
  autoZIndex: boolean;
36
40
  baseZIndex: number;
37
- breakpoints: import("primevue").PopoverBreakpoints;
38
- closeOnEscape: boolean | undefined;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ breakpoints: import("primevue").PopoverBreakpoints | null;
42
+ closeOnEscape: boolean;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
44
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
45
  declare const _default: typeof __VLS_export;
42
46
  export default _default;
@@ -30,15 +30,19 @@ interface ActivatorSlotScope {
30
30
  }
31
31
  type __VLS_Slots = {
32
32
  activator?: ActivatorSlotScope;
33
+ header?: () => unknown;
34
+ title?: () => unknown;
35
+ main?: () => unknown;
36
+ actions?: () => unknown;
33
37
  };
34
38
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
39
  close: () => any;
36
40
  "popup:opened": () => any;
37
41
  "popup:closed": () => any;
38
42
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
39
- onClose?: () => any;
40
- "onPopup:opened"?: () => any;
41
- "onPopup:closed"?: () => any;
43
+ onClose?: (() => any) | undefined;
44
+ "onPopup:opened"?: (() => any) | undefined;
45
+ "onPopup:closed"?: (() => any) | undefined;
42
46
  }>, {
43
47
  disabled: boolean;
44
48
  size: ComponentSize;
@@ -46,7 +50,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
46
50
  shown: boolean;
47
51
  overflow: boolean;
48
52
  closeDisabled: boolean;
49
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
54
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
51
55
  declare const _default: typeof __VLS_export;
52
56
  export default _default;
@@ -53,11 +53,11 @@ type __VLS_Slots = {} & {
53
53
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
54
  "update:selected": (value: string | number | boolean | object) => any;
55
55
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
56
- "onUpdate:selected"?: (value: string | number | boolean | object) => any;
56
+ "onUpdate:selected"?: ((value: string | number | boolean | object) => any) | undefined;
57
57
  }>, {
58
- required: boolean;
59
58
  label: string;
60
59
  disabled: boolean;
60
+ required: boolean;
61
61
  outline: boolean;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
63
63
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,12 @@
1
+ import { type PropType } from 'vue';
2
+ export interface SearchMode {
3
+ value?: string;
4
+ icon?: string;
5
+ [key: string]: unknown;
6
+ }
7
+ import type { CompatCustomValidator } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
1
8
  declare var __VLS_53: {
2
- invalid: boolean;
9
+ invalid: boolean | null;
3
10
  };
4
11
  type __VLS_Slots = {} & {
5
12
  'additional-actions'?: (props: typeof __VLS_53) => any;
@@ -9,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
9
16
  type: ObjectConstructor;
10
17
  };
11
18
  customValidators: {
12
- type: ArrayConstructor;
13
- default: () => any[];
19
+ type: PropType<CompatCustomValidator[]>;
20
+ default: () => never[];
14
21
  };
15
22
  /**
16
23
  * Current search-bar value (`v-model`)
@@ -30,11 +37,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
30
37
  description: string;
31
38
  };
32
39
  searchMode: {
33
- type: (ObjectConstructor | StringConstructor)[];
40
+ type: PropType<string | SearchMode>;
34
41
  };
35
42
  searchModeOptions: {
36
- type: ArrayConstructor;
37
- default: () => any[];
43
+ type: PropType<SearchMode[]>;
44
+ default: () => never[];
38
45
  };
39
46
  /**
40
47
  * When true, width is unset (parent controls width). When false, uses --wt-search-bar-width.
@@ -54,8 +61,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
54
61
  type: ObjectConstructor;
55
62
  };
56
63
  customValidators: {
57
- type: ArrayConstructor;
58
- default: () => any[];
64
+ type: PropType<CompatCustomValidator[]>;
65
+ default: () => never[];
59
66
  };
60
67
  /**
61
68
  * Current search-bar value (`v-model`)
@@ -75,11 +82,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
75
82
  description: string;
76
83
  };
77
84
  searchMode: {
78
- type: (ObjectConstructor | StringConstructor)[];
85
+ type: PropType<string | SearchMode>;
79
86
  };
80
87
  searchModeOptions: {
81
- type: ArrayConstructor;
82
- default: () => any[];
88
+ type: PropType<SearchMode[]>;
89
+ default: () => never[];
83
90
  };
84
91
  /**
85
92
  * When true, width is unset (parent controls width). When false, uses --wt-search-bar-width.
@@ -89,15 +96,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
89
96
  default: boolean;
90
97
  };
91
98
  }>> & Readonly<{
92
- onInput?: (args_0: string) => any;
93
- onSearch?: (args_0: string) => any;
94
- onEnter?: (args_0: string) => any;
95
- "onUpdate:search-mode"?: (args_0: string | object) => any;
96
- "onChange:search-mode"?: (args_0: string | object) => any;
99
+ onInput?: ((args_0: string) => any) | undefined;
100
+ onSearch?: ((args_0: string) => any) | undefined;
101
+ onEnter?: ((args_0: string) => any) | undefined;
102
+ "onUpdate:search-mode"?: ((args_0: string | object) => any) | undefined;
103
+ "onChange:search-mode"?: ((args_0: string | object) => any) | undefined;
97
104
  }>, {
98
105
  value: string;
99
- customValidators: unknown[];
100
- searchModeOptions: unknown[];
106
+ customValidators: CompatCustomValidator[];
107
+ searchModeOptions: SearchMode[];
101
108
  fullWidth: boolean;
102
109
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
103
110
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,6 +1,8 @@
1
1
  import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
2
2
  import type { SelectProps } from 'primevue';
3
- interface Props extends SelectProps {
3
+ import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation';
4
+ import type { SelectSearchMethod } from '../_internals/composables/useSelect/types';
5
+ interface Props extends Omit<SelectProps, 'size' | 'options'> {
4
6
  label?: string;
5
7
  placeholder?: string;
6
8
  required?: boolean;
@@ -22,7 +24,8 @@ interface Props extends SelectProps {
22
24
  * true shows the clear button
23
25
  */
24
26
  showClear?: boolean;
25
- options?: unknown[];
27
+ /** readonly so consumers can pass `as const` option lists */
28
+ options?: readonly unknown[];
26
29
  optionLabel?: string;
27
30
  optionValue?: string;
28
31
  /**
@@ -32,15 +35,15 @@ interface Props extends SelectProps {
32
35
  /**
33
36
  * Function that returns filtered options for server-side search
34
37
  */
35
- searchMethod?: () => void;
38
+ searchMethod?: SelectSearchMethod;
36
39
  /**
37
40
  * true allows adding custom values through the filter input
38
41
  */
39
42
  allowCustomValues?: boolean;
40
43
  labelProps?: object;
41
- v?: Record<string, unknown>;
44
+ v?: VuelidateFieldLike;
42
45
  regleValidation?: SuperCompatibleRegleFieldStatus;
43
- customValidators?: unknown[];
46
+ customValidators?: CompatCustomValidator[];
44
47
  }
45
48
  type __VLS_Props = Props;
46
49
  type __VLS_ModelProps = {
@@ -48,14 +51,14 @@ type __VLS_ModelProps = {
48
51
  };
49
52
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
50
53
  declare var __VLS_7: {
51
- label: any;
54
+ label: string | undefined;
52
55
  }, __VLS_46: {
53
56
  value: any;
54
- getOptionLabel: any;
57
+ getOptionLabel: (option: import("../_internals/composables/useSelect/types").SelectOption) => string;
55
58
  placeholder: any;
56
59
  }, __VLS_49: {
57
60
  option: any;
58
- getOptionLabel: any;
61
+ getOptionLabel: (option: import("../_internals/composables/useSelect/types").SelectOption) => string;
59
62
  };
60
63
  type __VLS_Slots = {} & {
61
64
  label?: (props: typeof __VLS_7) => any;
@@ -66,21 +69,21 @@ type __VLS_Slots = {} & {
66
69
  };
67
70
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
71
  reset: () => any;
69
- "update:modelValue": (value: string) => any;
70
72
  hide: () => any;
73
+ "update:modelValue": (value: string) => any;
71
74
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
72
- onReset?: () => any;
73
- "onUpdate:modelValue"?: (value: string) => any;
74
- onHide?: () => any;
75
+ onReset?: (() => any) | undefined;
76
+ onHide?: (() => any) | undefined;
77
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
75
78
  }>, {
76
- options: unknown[];
77
- customValidators: unknown[];
79
+ options: readonly unknown[];
80
+ customValidators: CompatCustomValidator[];
78
81
  dataKey: string;
79
82
  optionLabel: string;
80
83
  labelProps: object;
81
84
  showClear: boolean;
82
85
  filterable: boolean;
83
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
86
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
84
87
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
85
88
  declare const _default: typeof __VLS_export;
86
89
  export default _default;
@@ -55,9 +55,9 @@ type __VLS_ModelProps = {
55
55
  };
56
56
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
57
57
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
- "update:modelValue": (value: number) => any;
58
+ "update:modelValue": (value: number | undefined) => any;
59
59
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
60
- "onUpdate:modelValue"?: (value: number) => any;
60
+ "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
61
61
  }>, {
62
62
  disabled: boolean;
63
63
  step: number;
@@ -66,6 +66,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
66
66
  height: number;
67
67
  min: number;
68
68
  max: number;
69
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
70
  declare const _default: typeof __VLS_export;
71
71
  export default _default;
@@ -13,11 +13,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
13
13
  change: (value: string) => any;
14
14
  closed: (event: Event) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onChange?: (value: string) => any;
17
- onClosed?: (event: Event) => any;
16
+ onChange?: ((value: string) => any) | undefined;
17
+ onClosed?: ((event: Event) => any) | undefined;
18
18
  }>, {
19
19
  status: string;
20
20
  statusDuration: string | number;
21
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  export default _default;
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
8
8
  type __VLS_Slots = {
9
- description?: (props: {}) => any;
9
+ description?: ((props: {}) => any) | undefined;
10
10
  } & {
11
- main?: (props: {}) => any;
11
+ main?: ((props: {}) => any) | undefined;
12
12
  };
@@ -44,23 +44,23 @@ type __VLS_ModelProps = {
44
44
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
45
45
  declare var __VLS_14: {
46
46
  label: string;
47
- value: boolean;
47
+ value: boolean | undefined;
48
48
  disabled: boolean;
49
49
  };
50
50
  type __VLS_Slots = {} & {
51
51
  label?: (props: typeof __VLS_14) => any;
52
52
  };
53
53
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- "update:modelValue": (value: boolean) => any;
54
+ "update:modelValue": (value: boolean | undefined) => any;
55
55
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
56
- "onUpdate:modelValue"?: (value: boolean) => any;
56
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
57
57
  }>, {
58
58
  label: string;
59
59
  disabled: boolean;
60
60
  labelProps: LabelProps;
61
61
  labelLeft: boolean;
62
62
  controlled: boolean;
63
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
64
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
65
65
  declare const _default: typeof __VLS_export;
66
66
  export default _default;