@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.
- package/dist/{clients-Ba7VhTMH.js → clients-Cgrz-ee-.js} +707 -22
- package/dist/{components-ABAwRPPa.js → components-BENKf-0C.js} +882 -846
- package/dist/{composables-C_OatTQJ.js → composables-BtWSAI5D.js} +14 -12
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +51 -50
- package/dist/ui-sdk.umd.cjs +695 -594
- package/dist/useEventBus-B-ZeklLu.js +5 -0
- package/dist/{useValidation-DgSm80YX.js → useValidation-B4_82RZv.js} +4 -4
- package/dist/{useVidstackSrc-B4mUti_c.js → useVidstackSrc-aQcqC_v0.js} +5 -5
- package/dist/{vidstack-C6nBVWwn-cKiWT0KJ.js → vidstack-C6nBVWwn-DNsvM1pU.js} +2 -2
- package/dist/{vidstack-CI5oafcm-DfWpvayJ.js → vidstack-CI5oafcm-EXmYmdjq.js} +1 -1
- package/dist/{vidstack-DUnfBERX2-BJtKHFxc.js → vidstack-DUnfBERX2-jgzDS0Hg.js} +1 -1
- package/dist/{vidstack-audio-BCPraiiR.js → vidstack-audio-CPO0A50Q.js} +1 -1
- package/dist/{vidstack-dash-MBx5aEEA.js → vidstack-dash-DHt7tTPh.js} +2 -2
- package/dist/{vidstack-hls-BbZsbfaO.js → vidstack-hls-WW1jeu5R.js} +2 -2
- package/dist/vidstack-video-Bwash4bY.js +2 -0
- package/dist/vue-router-Dwey8MMv.js +16 -0
- package/dist/{wt-button-G2Q1uf_y.js → wt-button-OZTROX1W.js} +3 -3
- package/dist/{wt-chat-emoji-DM6G80G_.js → wt-chat-emoji-ByGj5Mh4.js} +3 -3
- package/dist/{wt-datepicker-DTUMTWJK.js → wt-datepicker-OIgnVIpv.js} +38 -34
- package/dist/{wt-display-chip-items-3GRXkRfT.js → wt-display-chip-items-BUlu4Pqh.js} +2 -2
- package/dist/{wt-dual-panel-Dhj8Eg_y.js → wt-dual-panel-BEGLGU7F.js} +1 -1
- package/dist/{wt-expansion-card-BzhcCehz.js → wt-expansion-card-CpmnVJ03.js} +1 -1
- package/dist/{wt-galleria-qPHnXPx7.js → wt-galleria-CgY38PPx.js} +3 -6
- package/dist/{wt-icon-btn-BJl5VlM9.js → wt-icon-btn-hAWVJdNG.js} +2 -2
- package/dist/{wt-navigation-menu-CenQi_-T.js → wt-navigation-menu-BMupOW07.js} +2 -2
- package/dist/{wt-notifications-bar-C7cK0wEL.js → wt-notifications-bar-CqVk9cm7.js} +1 -1
- package/dist/{wt-player-Ca2x4geU.js → wt-player-vsOVUgi7.js} +17 -15
- package/dist/{wt-screen-recordings-action-Dzzo0eqW.js → wt-screen-recordings-action-Dj6ITuhE.js} +1 -1
- package/dist/{wt-search-bar-DtJL-csc.js → wt-search-bar-CagDl5av.js} +3 -3
- package/dist/wt-send-message-popup-zjxEP-HK.js +1208 -0
- package/dist/wt-start-page-BFQExFUj.js +73 -0
- package/dist/{wt-status-select-D1hAjCAS.js → wt-status-select-B-N9Fvz4.js} +2 -2
- package/dist/{wt-table-DJ3yOWZV.js → wt-table-C4PZJ3rP.js} +49 -47
- package/dist/{wt-table-column-select-CgEh5BAF.js → wt-table-column-select-D4c56HPB.js} +2 -2
- package/dist/{wt-time-input-u5Ay5_X5.js → wt-time-input-BEBrSugB.js} +9 -2
- package/dist/{wt-timepicker-CB8HzUZw.js → wt-timepicker-CQ2TRigf.js} +11 -4
- package/dist/{wt-toast-BbaZZWKt.js → wt-toast-Cb15-PN4.js} +1 -1
- package/dist/{wt-tree-DZ9ErOGj.js → wt-tree-CMIpbXBo.js} +40 -40
- package/dist/{wt-tree-table-C0ZIJXcv.js → wt-tree-table-CVvWMduu.js} +7 -7
- package/dist/{wt-type-extension-value-input-kzX2hJY_.js → wt-type-extension-value-input-l3TF0Xtv.js} +14 -9
- package/dist/{wt-vidstack-player-DbRHboYo.js → wt-vidstack-player-DV_fxJKW.js} +46 -42
- package/package.json +4 -1
- package/src/api/clients/_shared/types.ts +30 -0
- package/src/api/clients/caseSources/caseSources.ts +17 -8
- package/src/api/clients/quickReplies/quickReplies.ts +17 -8
- package/src/api/clients/roles/roles.ts +21 -12
- package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +16 -4
- package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +27 -9
- package/src/api/websocket/WebSocketClientController.ts +13 -5
- package/src/api/websocket/{config.js → config.ts} +5 -3
- package/src/api/websocket/websocketErrorEventHandler.ts +1 -1
- package/src/components/_internals/composables/useExpansion/useExpansion.ts +6 -1
- package/src/components/_internals/composables/useGalleriaMaskClick/useGalleriaMaskClick.ts +5 -3
- package/src/components/_internals/composables/useInputControl/useInputControl.ts +5 -3
- package/src/components/_internals/composables/useSelect/types.ts +69 -0
- package/src/components/_internals/composables/useSelect/useSelect.ts +4 -2
- package/src/components/_internals/composables/useSelect/useSelectCustomValues.ts +3 -2
- package/src/components/_internals/composables/useSelect/useSelectDropdown.ts +4 -3
- package/src/components/_internals/composables/useSelect/useSelectOptions.ts +20 -14
- package/src/components/_internals/composables/useSelect/useSelectUtils.ts +20 -7
- package/src/components/_internals/composables/useTableColumnDrag/useTableColumnDrag.ts +22 -12
- package/src/components/_internals/composables/useWtTable/useWtTable.ts +6 -2
- package/src/components/_internals/types/PrimevueInstance.ts +15 -0
- package/src/components/_shared/settings-panel/components/speed-settings/speed-settings.vue +6 -1
- package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +6 -1
- package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +0 -2
- package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue +0 -2
- package/src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue +12 -4
- package/src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue +17 -7
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +36 -15
- package/src/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue +1 -1
- package/src/components/wt-badge-new/wt-badge.vue +1 -1
- package/src/components/wt-button/wt-button.vue +5 -5
- package/src/components/wt-checkbox/wt-checkbox.vue +4 -2
- package/src/components/wt-chip/wt-chip.vue +1 -1
- package/src/components/wt-datepicker/wt-datepicker.vue +30 -20
- package/src/components/wt-dual-panel/wt-dual-panel.vue +1 -1
- package/src/components/wt-galleria/wt-galleria.vue +1 -11
- package/src/components/wt-image/wt-image.vue +3 -3
- package/src/components/wt-input-number/wt-input-number.vue +8 -13
- package/src/components/wt-input-text/wt-input-text.vue +15 -17
- package/src/components/wt-intersection-observer/wt-intersection-observer.vue +1 -1
- package/src/components/wt-message/wt-message.vue +1 -1
- package/src/components/wt-multi-select/wt-multi-select.vue +22 -12
- package/src/components/wt-navigation-bar/types/WtNavigationBar.ts +3 -1
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +34 -18
- package/src/components/wt-password/wt-password.vue +12 -13
- package/src/components/wt-player/wt-player.vue +7 -2
- package/src/components/wt-popover/wt-popover.vue +5 -1
- package/src/components/wt-popup/wt-popup.vue +5 -1
- package/src/components/wt-radio/wt-radio.vue +1 -1
- package/src/components/wt-search-bar/wt-search-bar.vue +17 -10
- package/src/components/wt-single-select/wt-single-select.vue +19 -12
- package/src/components/wt-status-select/wt-status-select.vue +2 -2
- package/src/components/wt-table/types/WtTable.ts +11 -1
- package/src/components/wt-table/wt-table.vue +43 -24
- package/src/components/wt-table-column-select/wt-table-column-select.vue +3 -5
- package/src/components/wt-textarea/wt-textarea.vue +9 -15
- package/src/components/wt-time-input/wt-time-input.vue +7 -4
- package/src/components/wt-timepicker/wt-timepicker.vue +6 -3
- package/src/components/wt-toast/wt-toast.vue +2 -2
- package/src/components/wt-tree/wt-tree.vue +6 -5
- package/src/components/wt-tree-line/types/wt-tree-node.ts +6 -0
- package/src/components/wt-tree-line/wt-tree-line.vue +29 -15
- package/src/components/wt-tree-table/wt-tree-table.vue +16 -18
- package/src/components/wt-tree-table-row/wt-tree-table-row.vue +9 -4
- package/src/components/wt-vidstack-player/components/buttons/fullscreen-button.vue +2 -3
- package/src/components/wt-vidstack-player/components/buttons/play-button.vue +1 -5
- package/src/components/wt-vidstack-player/components/controls-group/controls-group.vue +2 -4
- package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +2 -4
- package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/fullscreen-button.vue +0 -2
- package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/play-button.vue +2 -4
- package/src/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue +4 -4
- package/src/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue +3 -3
- package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +4 -4
- package/src/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue +1 -1
- package/src/components/wt-vidstack-player/composables/useVidstackPlayerSize.ts +11 -0
- package/src/components/wt-vidstack-player/composables/useVidstackSrc.ts +27 -6
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +7 -4
- package/src/enums/MessageColor/MessageColor.ts +1 -1
- package/src/enums/MessageVariant/MessageVariant.ts +2 -1
- package/src/install.ts +6 -2
- package/src/locale/en/en.js +1 -0
- package/src/locale/es/es.js +1 -0
- package/src/locale/kz/kz.js +1 -0
- package/src/locale/pl/pl.js +1 -0
- package/src/locale/ro/ro.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/uk/uk.js +1 -0
- package/src/locale/uz/uz.js +1 -0
- package/src/locale/vi/vi.js +1 -0
- package/src/mixins/validationMixin/regle/useRegleValidation.ts +2 -2
- package/src/mixins/validationMixin/useValidation.ts +1 -1
- package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +23 -8
- package/src/modules/CSVExport/CSVExport.js +1 -1
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +34 -16
- package/src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.js +1 -1
- package/src/modules/FilesExport/composables/useFilesExport.ts +1 -1
- package/src/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue +2 -2
- package/src/modules/UploadCsvPopup/composable/useUploadCsv.ts +39 -12
- package/src/modules/UploadCsvPopup/scripts/normalizeCSVData.ts +20 -17
- package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +2 -2
- package/src/modules/UploadCsvPopup/scripts/processFile.ts +2 -2
- package/src/modules/UploadCsvPopup/scripts/splitAndSaveData.ts +8 -2
- package/src/modules/UserNotifications/stores/userNotificationsStore.ts +9 -1
- package/src/modules/Userinfo/classes/ApplicationsAccess.ts +12 -6
- package/src/modules/Userinfo/mappings/mappings.ts +10 -3
- package/src/modules/Userinfo/scripts/utils.ts +8 -4
- package/src/modules/Userinfo/stores/accessStore.ts +16 -16
- package/src/modules/Userinfo/types/UserAccess.ts +1 -1
- package/src/plugins/breakpoint/breakpoint.plugin.ts +1 -1
- package/src/scripts/compareSize.ts +4 -4
- package/src/scripts/downloadFile/downloadFile.ts +1 -1
- package/src/scripts/normalizeDatetime.ts +2 -2
- package/src/utils/displayText.ts +1 -1
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/_shared/types.d.ts +23 -0
- package/types/api/clients/caseSources/caseSources.d.ts +7 -15
- package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +1 -1
- package/types/api/clients/gateways/defaults/trunkingGateway.d.ts +1 -1
- package/types/api/clients/quickReplies/quickReplies.d.ts +7 -15
- package/types/api/clients/roles/roles.d.ts +8 -16
- package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +11 -12
- package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +19 -18
- package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +1 -1
- package/types/api/defaults/getDefaultGetParams/getDefaultGetParams.d.ts +2 -2
- package/types/api/transformers/applyTransform.d.ts +2 -2
- package/types/api/websocket/WebSocketClientController.d.ts +10 -9
- package/types/api/websocket/config.d.ts +3 -2
- package/types/api/websocket/websocketErrorEventHandler.d.ts +5 -1
- package/types/assets/icons/iconsRepository.d.ts +1 -1
- package/types/components/_internals/composables/useExpansion/useExpansion.d.ts +6 -1
- package/types/components/_internals/composables/useGalleriaMaskClick/useGalleriaMaskClick.d.ts +2 -1
- package/types/components/_internals/composables/useInputControl/useInputControl.d.ts +4 -2
- package/types/components/_internals/composables/useSelect/types.d.ts +52 -0
- package/types/components/_internals/composables/useSelect/useSelect.d.ts +4 -18
- package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +2 -12
- package/types/components/_internals/composables/useSelect/useSelectDropdown.d.ts +2 -14
- package/types/components/_internals/composables/useSelect/useSelectOptions.d.ts +6 -14
- package/types/components/_internals/composables/useSelect/useSelectUtils.d.ts +5 -4
- package/types/components/_internals/composables/useTableColumnDrag/useTableColumnDrag.d.ts +3 -1
- package/types/components/_internals/composables/useWtTable/useWtTable.d.ts +3 -2
- package/types/components/_internals/types/PrimevueInstance.d.ts +14 -0
- package/types/components/_shared/settings-panel/components/speed-settings/speed-settings.vue.d.ts +2 -2
- package/types/components/_shared/settings-panel/settings-panel.vue.d.ts +1 -1
- package/types/components/on-demand/wt-call-media-action/wt-call-media-action.vue.d.ts +2 -2
- package/types/components/on-demand/wt-chat-emoji/wt-chat-emoji.vue.d.ts +1 -1
- package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +6 -2
- package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue.d.ts +6 -6
- package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue.d.ts +2 -2
- package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
- package/types/components/on-demand/wt-route-transition/wt-route-transition.vue.d.ts +1 -1
- package/types/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue.d.ts +3 -3
- package/types/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue.d.ts +10 -2
- package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +8 -8
- package/types/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue.d.ts +1 -1
- package/types/components/on-demand/wt-table-transition/wt-table-transition.vue.d.ts +1 -1
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +18 -11
- package/types/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue.d.ts +3 -3
- package/types/components/transitions/cases/wt-replace-transition.vue.d.ts +1 -1
- package/types/components/transitions/wt-transition.vue.d.ts +1 -1
- package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +64 -64
- package/types/components/wt-app-header/wt-app-header.vue.d.ts +1 -1
- package/types/components/wt-app-header/wt-header-actions.vue.d.ts +6 -9
- package/types/components/wt-badge/wt-badge.vue.d.ts +1 -1
- package/types/components/wt-badge-new/wt-badge.vue.d.ts +3 -3
- package/types/components/wt-breadcrumb/wt-breadcrumb.vue.d.ts +1 -1
- package/types/components/wt-button/wt-button.vue.d.ts +2 -2
- package/types/components/wt-button-select/wt-button-select.vue.d.ts +3 -3
- package/types/components/wt-call-media-metric/wt-call-media-metric.vue.d.ts +1 -1
- package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +3 -3
- package/types/components/wt-chip/wt-chip.vue.d.ts +2 -2
- package/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +5 -5
- package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +7 -7
- package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +20 -19
- package/types/components/wt-divider/wt-divider.vue.d.ts +1 -1
- package/types/components/wt-dual-panel/wt-dual-panel.vue.d.ts +5 -5
- package/types/components/wt-empty/wt-empty.vue.d.ts +38 -38
- package/types/components/wt-expansion-card/wt-expansion-card.vue.d.ts +3 -3
- package/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +3 -3
- package/types/components/wt-galleria/wt-galleria.vue.d.ts +2 -2
- package/types/components/wt-icon/wt-icon.vue.d.ts +1 -1
- package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +4 -4
- package/types/components/wt-icon-btn/wt-icon-btn.vue.d.ts +3 -3
- package/types/components/wt-image/wt-image.vue.d.ts +2 -2
- package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +3 -3
- package/types/components/wt-input-number/wt-input-number.vue.d.ts +9 -9
- package/types/components/wt-input-text/wt-input-text.vue.d.ts +11 -9
- package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +1 -1
- package/types/components/wt-item-link/wt-item-link.vue.d.ts +1 -1
- package/types/components/wt-label/mixins/labelUsageMixin.d.ts +1 -1
- package/types/components/wt-label/wt-label.vue.d.ts +1 -1
- package/types/components/wt-menubar/wt-menubar.vue.d.ts +1 -1
- package/types/components/wt-message/wt-message.vue.d.ts +1 -1
- package/types/components/wt-multi-select/wt-multi-select.vue.d.ts +19 -19
- package/types/components/wt-navigation-bar/types/WtNavigationBar.d.ts +2 -1
- package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +22 -45
- package/types/components/wt-page-header/wt-page-header.vue.d.ts +4 -4
- package/types/components/wt-password/wt-password.vue.d.ts +11 -9
- package/types/components/wt-player/wt-player.vue.d.ts +6 -6
- package/types/components/wt-popover/wt-popover.vue.d.ts +13 -9
- package/types/components/wt-popup/wt-popup.vue.d.ts +8 -4
- package/types/components/wt-radio/wt-radio.vue.d.ts +2 -2
- package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +25 -18
- package/types/components/wt-single-select/wt-single-select.vue.d.ts +18 -15
- package/types/components/wt-slider/wt-slider.vue.d.ts +3 -3
- package/types/components/wt-status-select/wt-status-select.vue.d.ts +3 -3
- package/types/components/wt-stepper/wt-stepper.vue.d.ts +2 -2
- package/types/components/wt-switcher/wt-switcher.vue.d.ts +4 -4
- package/types/components/wt-table/types/WtTable.d.ts +7 -1
- package/types/components/wt-table/wt-table.vue.d.ts +12 -12
- package/types/components/wt-table-actions/wt-table-actions.vue.d.ts +2 -2
- package/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +1 -1
- package/types/components/wt-tabs/wt-tabs.vue.d.ts +3 -3
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +9 -14
- package/types/components/wt-time-input/wt-time-input.vue.d.ts +9 -9
- package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +8 -8
- package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +5 -5
- package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +7 -7
- package/types/components/wt-tree/wt-tree.vue.d.ts +5 -3
- package/types/components/wt-tree-line/types/wt-tree-node.d.ts +5 -0
- package/types/components/wt-tree-line/wt-tree-line.vue.d.ts +8 -18
- package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +2 -2
- package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +3 -18
- package/types/components/wt-vidstack-player/components/buttons/fullscreen-button.vue.d.ts +1 -1
- package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +5 -5
- package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/fullscreen-button.vue.d.ts +1 -1
- package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue.d.ts +1 -1
- package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue.d.ts +1 -1
- package/types/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue.d.ts +3 -3
- package/types/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue.d.ts +14 -14
- package/types/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue.d.ts +2 -2
- package/types/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue.d.ts +2 -2
- package/types/components/wt-vidstack-player/components/toggle-button.vue.d.ts +1 -1
- package/types/components/wt-vidstack-player/composables/useVidstackPlayerSize.d.ts +2 -0
- package/types/components/wt-vidstack-player/composables/useVidstackSrc.d.ts +11 -4
- package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +8 -7
- package/types/composables/useCachedInterval/useCachedInterval.d.ts +1 -1
- package/types/composables/useCachedItemInstanceName/useCachedItemInstanceName.d.ts +1 -1
- package/types/composables/useCard/useCardTabs.d.ts +1 -1
- package/types/composables/useClose/useClose.d.ts +1 -1
- package/types/enums/MessageColor/MessageColor.d.ts +1 -1
- package/types/enums/MessageVariant/MessageVariant.d.ts +1 -1
- package/types/locale/en/en.d.ts +3 -2
- package/types/locale/es/es.d.ts +3 -2
- package/types/locale/i18n.d.ts +27 -18
- package/types/locale/index.d.ts +27 -18
- package/types/locale/kz/kz.d.ts +3 -2
- package/types/locale/pl/pl.d.ts +3 -2
- package/types/locale/ro/ro.d.ts +3 -2
- package/types/locale/ru/ru.d.ts +3 -2
- package/types/locale/uk/uk.d.ts +3 -2
- package/types/locale/uz/uz.d.ts +3 -2
- package/types/locale/vi/vi.d.ts +3 -2
- package/types/mixins/dataFilterMixins/_urlControllerMixin/_urlControllerMixin.d.ts +1 -1
- package/types/mixins/dataFilterMixins/apiFilterMixin.d.ts +3 -3
- package/types/mixins/dataFilterMixins/baseFilterMixin/baseFilterMixin.d.ts +1 -1
- package/types/mixins/dataFilterMixins/enumFilterMixin.d.ts +4 -4
- package/types/mixins/dataFilterMixins/paginationFilterMixin.d.ts +2 -2
- package/types/mixins/dataFilterMixins/sortFilterMixin.d.ts +1 -1
- package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +1 -1
- package/types/mixins/validationMixin/useValidation.d.ts +2 -2
- package/types/mixins/validationMixin/validationMixin.d.ts +1 -1
- package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +9 -5
- package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +1 -1
- package/types/modules/AgentPdfs/components/pdf-status-preview.vue.d.ts +1 -1
- package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +4 -4
- package/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +1 -1
- package/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +1 -1
- package/types/modules/Appearance/components/wt-dark-mode-switcher.vue.d.ts +1 -1
- package/types/modules/Appearance/pinia/store/AppearanceStore.d.ts +3 -3
- package/types/modules/Appearance/store/AppearanceStoreModule.d.ts +1 -1
- package/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +3 -3
- package/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +2 -2
- package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +7 -7
- package/types/modules/AuditForm/components/audit-form.vue.d.ts +6 -6
- package/types/modules/AuditForm/components/form/form-footer/audit-form-footer.vue.d.ts +3 -3
- package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue.d.ts +2 -2
- package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options.vue.d.ts +4 -4
- package/types/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue.d.ts +6 -6
- package/types/modules/AuditForm/components/form-questions/yes/audit-form-question-yes.vue.d.ts +2 -2
- package/types/modules/CSVExport/CSVExport.d.ts +3 -6
- package/types/modules/CSVExport/XLSExport.d.ts +1 -1
- package/types/modules/CSVExport/composables/useCSVExport.d.ts +6 -6
- package/types/modules/CSVExport/mixins/exportCSVMixin.d.ts +1 -1
- package/types/modules/CSVExport/mixins/exportXLSMixin.d.ts +1 -1
- package/types/modules/CallSession/modules/ScreenSharing/screen-sharing.vue.d.ts +3 -3
- package/types/modules/CallSession/modules/VideoCall/composables/useReceiverLiveStream.d.ts +6 -6
- package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +17 -17
- package/types/modules/CardStoreModule/store/CardStoreModule.d.ts +1 -1
- package/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +2 -2
- package/types/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.d.ts +1 -1
- package/types/modules/Filters/classes/BaseFilterSchema.d.ts +7 -7
- package/types/modules/Filters/components/filter-search.vue.d.ts +2 -2
- package/types/modules/Filters/components/filter-table-fields.vue.d.ts +3 -3
- package/types/modules/Filters/scripts/getters/localStorageGetter.d.ts +1 -1
- package/types/modules/Filters/store/FiltersStoreModule.d.ts +1 -1
- package/types/modules/Notifications/assets/audio/triggerSound.d.ts +1 -1
- package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +9 -9
- package/types/modules/ObjectPermissions/components/_internal/permissions-role-row.vue.d.ts +1 -1
- package/types/modules/ObjectPermissions/components/_internal/permissions-role-select.vue.d.ts +1 -1
- package/types/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue.d.ts +5 -5
- package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts +2 -2
- package/types/modules/ObjectPermissions/headers/headers.d.ts +1 -1
- package/types/modules/ObjectPermissions/store/objectPermissionsStoreModule.d.ts +2 -2
- package/types/modules/QueryFilters/classes/BaseFilterSchema.d.ts +2 -2
- package/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +1 -1
- package/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +1 -1
- package/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +1 -1
- package/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +1 -1
- package/types/modules/QueryFilters/components/filter-search.vue.d.ts +1 -1
- package/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +3 -3
- package/types/modules/QueryFilters/mixins/_urlControllerMixin/_urlControllerMixin.d.ts +1 -1
- package/types/modules/QueryFilters/mixins/apiFilterMixin.d.ts +1 -1
- package/types/modules/QueryFilters/mixins/baseFilterMixin/baseFilterMixin.d.ts +1 -1
- package/types/modules/QueryFilters/mixins/enumFilterMixin.d.ts +1 -1
- package/types/modules/QueryFilters/mixins/paginationFilterMixin.d.ts +2 -2
- package/types/modules/QueryFilters/mixins/sortFilterMixin.d.ts +1 -1
- package/types/modules/QueryFilters/store/QueryFiltersStoreModule.d.ts +4 -4
- package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +7 -7
- package/types/modules/TableStoreModule/store/TableStoreModule.d.ts +5 -5
- package/types/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue.d.ts +5 -5
- package/types/modules/UploadCsvPopup/composable/useUploadCsv.d.ts +21 -11
- package/types/modules/UploadCsvPopup/scripts/normalizeCSVData.d.ts +15 -20
- package/types/modules/UploadCsvPopup/scripts/parseCSV.d.ts +2 -1
- package/types/modules/UploadCsvPopup/scripts/processFile.d.ts +2 -2
- package/types/modules/UploadCsvPopup/scripts/splitAndSaveData.d.ts +3 -3
- package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +2 -10
- package/types/modules/Userinfo/mappings/mappings.d.ts +12 -24
- package/types/modules/Userinfo/scripts/utils.d.ts +2 -2
- package/types/modules/Userinfo/stores/settingsStore.d.ts +4 -4
- package/types/modules/Userinfo/stores/userinfoStore.d.ts +3 -3
- package/types/modules/Userinfo/types/UserAccess.d.ts +1 -1
- package/types/scripts/compareSize.d.ts +4 -4
- package/types/scripts/debounce.d.ts +1 -1
- package/types/scripts/sortQueryAdapters.d.ts +3 -3
- package/types/store/BaseStoreModules/BaseStoreModule.d.ts +6 -6
- package/types/store/new/modules/apiStoreModule/apiStoreModule.d.ts +12 -12
- package/types/store/new/modules/tableStoreModule/tableStoreModule.d.ts +4 -4
- package/types/utils/displayText.d.ts +1 -1
- package/types/validations/config/errors/customZodErrorsHandler.d.ts +1 -1
- package/dist/vidstack-video-DwlbGwN7.js +0 -2
- package/dist/wt-send-message-popup-MbV1uq6H.js +0 -77
- package/dist/wt-start-page-DMXRhA9E.js +0 -86
- package/dist/{wt-popover-ChCN6b1o.js → wt-popover-lP-AhF8l.js} +3 -3
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Id } from '../../types/ApiModule';
|
|
2
|
+
/**
|
|
3
|
+
* TODO(types): payloads pass through `applyTransform` before reaching a
|
|
4
|
+
* generated client, so the generated request types don't apply here yet.
|
|
5
|
+
*/
|
|
6
|
+
export type ApiParams = Record<string, any>;
|
|
7
|
+
export interface GetItemParams<TId = Id> {
|
|
8
|
+
itemId: TId;
|
|
9
|
+
}
|
|
10
|
+
export interface AddItemParams {
|
|
11
|
+
itemInstance: ApiParams;
|
|
12
|
+
}
|
|
13
|
+
export interface UpdateItemParams<TId = Id> {
|
|
14
|
+
itemInstance: ApiParams;
|
|
15
|
+
itemId: TId;
|
|
16
|
+
}
|
|
17
|
+
export interface PatchItemParams<TId = Id> {
|
|
18
|
+
changes: ApiParams;
|
|
19
|
+
id: TId;
|
|
20
|
+
}
|
|
21
|
+
export interface DeleteItemParams<TId = Id> {
|
|
22
|
+
id: TId;
|
|
23
|
+
}
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
+
import type { AddItemParams, ApiParams, DeleteItemParams, GetItemParams, UpdateItemParams } from '../_shared/types';
|
|
1
2
|
declare const CaseSourcesAPI: {
|
|
2
|
-
getList: (params:
|
|
3
|
+
getList: (params: ApiParams) => Promise<{
|
|
3
4
|
items: any;
|
|
4
5
|
next: any;
|
|
5
6
|
}>;
|
|
6
|
-
get: ({ itemId: id }:
|
|
7
|
-
|
|
8
|
-
}) => Promise<any>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}) => Promise<any>;
|
|
12
|
-
update: ({ itemInstance, itemId: id }: {
|
|
13
|
-
itemInstance: any;
|
|
14
|
-
itemId: any;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
delete: ({ id }: {
|
|
17
|
-
id: any;
|
|
18
|
-
}) => Promise<any>;
|
|
19
|
-
getLookup: (params: any) => Promise<{
|
|
7
|
+
get: ({ itemId: id }: GetItemParams<string>) => Promise<any>;
|
|
8
|
+
add: ({ itemInstance }: AddItemParams) => Promise<any>;
|
|
9
|
+
update: ({ itemInstance, itemId: id, }: UpdateItemParams<string>) => Promise<any>;
|
|
10
|
+
delete: ({ id }: DeleteItemParams<string>) => Promise<any>;
|
|
11
|
+
getLookup: (params: ApiParams) => Promise<{
|
|
20
12
|
items: any;
|
|
21
13
|
next: any;
|
|
22
14
|
}>;
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
+
import type { AddItemParams, ApiParams, DeleteItemParams, GetItemParams, UpdateItemParams } from '../_shared/types';
|
|
1
2
|
declare const QuickRepliesApi: {
|
|
2
|
-
getList: (params:
|
|
3
|
+
getList: (params: ApiParams) => Promise<{
|
|
3
4
|
items: any;
|
|
4
5
|
next: any;
|
|
5
6
|
}>;
|
|
6
|
-
get: ({ itemId: id }:
|
|
7
|
-
|
|
8
|
-
}) => Promise<any>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}) => Promise<any>;
|
|
12
|
-
update: ({ itemInstance, itemId: id }: {
|
|
13
|
-
itemInstance: any;
|
|
14
|
-
itemId: any;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
delete: ({ id }: {
|
|
17
|
-
id: any;
|
|
18
|
-
}) => Promise<any>;
|
|
19
|
-
getLookup: (params: any) => Promise<{
|
|
7
|
+
get: ({ itemId: id }: GetItemParams<number>) => Promise<any>;
|
|
8
|
+
add: ({ itemInstance }: AddItemParams) => Promise<any>;
|
|
9
|
+
update: ({ itemInstance, itemId: id, }: UpdateItemParams<number>) => Promise<any>;
|
|
10
|
+
delete: ({ id }: DeleteItemParams<number>) => Promise<any>;
|
|
11
|
+
getLookup: (params: ApiParams) => Promise<{
|
|
20
12
|
items: any;
|
|
21
13
|
next: any;
|
|
22
14
|
}>;
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
+
import type { AddItemParams, ApiParams, DeleteItemParams, GetItemParams, UpdateItemParams } from '../_shared/types';
|
|
1
2
|
declare const RolesAPI: {
|
|
2
|
-
getList: (params:
|
|
3
|
+
getList: (params: ApiParams) => Promise<{
|
|
3
4
|
items: any;
|
|
4
5
|
next: any;
|
|
5
6
|
}>;
|
|
6
|
-
get: ({ itemId: id }:
|
|
7
|
-
|
|
8
|
-
}) => Promise<any>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}) => Promise<any>;
|
|
12
|
-
update: ({ itemInstance, itemId: id }: {
|
|
13
|
-
itemInstance: any;
|
|
14
|
-
itemId: any;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
delete: ({ id }: {
|
|
17
|
-
id: any;
|
|
18
|
-
}) => Promise<any>;
|
|
19
|
-
getLookup: (params: any) => Promise<{
|
|
7
|
+
get: ({ itemId: id }: GetItemParams<string>) => Promise<any>;
|
|
8
|
+
add: ({ itemInstance }: AddItemParams) => Promise<any>;
|
|
9
|
+
update: ({ itemInstance, itemId: id, }: UpdateItemParams<string>) => Promise<any>;
|
|
10
|
+
delete: ({ id }: DeleteItemParams<string>) => Promise<any>;
|
|
11
|
+
getLookup: (params: ApiParams) => Promise<{
|
|
20
12
|
items: any;
|
|
21
13
|
next: any;
|
|
22
14
|
}>;
|
|
23
|
-
getPermissionsOptions: (params:
|
|
15
|
+
getPermissionsOptions: (params: ApiParams) => Promise<{
|
|
24
16
|
items: any;
|
|
25
17
|
next: any;
|
|
26
18
|
}>;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
+
import type { ApiParams } from '../../_shared/types';
|
|
1
2
|
declare const getSysTypeRecordsList: ({ path, display, primary, ...params }: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}) => Promise<{
|
|
3
|
+
path: string;
|
|
4
|
+
display: string;
|
|
5
|
+
primary: string;
|
|
6
|
+
} & ApiParams) => Promise<{
|
|
7
7
|
items: any;
|
|
8
8
|
next: any;
|
|
9
9
|
}>;
|
|
10
|
-
declare const getSysTypeRecordsLookup: (params:
|
|
10
|
+
declare const getSysTypeRecordsLookup: (params: Parameters<typeof getSysTypeRecordsList>[0]) => Promise<{
|
|
11
11
|
items: any;
|
|
12
12
|
next: any;
|
|
13
13
|
}>;
|
|
14
14
|
declare const SysTypesApi: {
|
|
15
15
|
getList: ({ path, display, primary, ...params }: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}) => Promise<{
|
|
16
|
+
path: string;
|
|
17
|
+
display: string;
|
|
18
|
+
primary: string;
|
|
19
|
+
} & ApiParams) => Promise<{
|
|
21
20
|
items: any;
|
|
22
21
|
next: any;
|
|
23
22
|
}>;
|
|
24
|
-
getLookup: (params:
|
|
23
|
+
getLookup: (params: Parameters<typeof getSysTypeRecordsList>[0]) => Promise<{
|
|
25
24
|
items: any;
|
|
26
25
|
next: any;
|
|
27
26
|
}>;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
+
import type { ApiParams } from '../../_shared/types';
|
|
1
2
|
declare const getTypeExtension: ({ itemId: typeRepo }: {
|
|
2
|
-
itemId:
|
|
3
|
+
itemId: string;
|
|
3
4
|
}) => Promise<any>;
|
|
4
|
-
declare const addTypeExtension: ({ itemInstance, itemId: typeRepo }: {
|
|
5
|
-
itemInstance:
|
|
6
|
-
itemId:
|
|
5
|
+
declare const addTypeExtension: ({ itemInstance, itemId: typeRepo, }: {
|
|
6
|
+
itemInstance: ApiParams;
|
|
7
|
+
itemId: string;
|
|
7
8
|
}) => Promise<any>;
|
|
8
|
-
declare const deleteTypeExtension: ({ itemId: typeRepo }: {
|
|
9
|
-
itemId:
|
|
9
|
+
declare const deleteTypeExtension: ({ itemId: typeRepo, }: {
|
|
10
|
+
itemId: string;
|
|
10
11
|
}) => Promise<void>;
|
|
11
|
-
declare const updateTypeExtension: ({ itemInstance, itemId: typeRepo }: {
|
|
12
|
-
itemInstance:
|
|
13
|
-
itemId:
|
|
12
|
+
declare const updateTypeExtension: ({ itemInstance, itemId: typeRepo, }: {
|
|
13
|
+
itemInstance: ApiParams;
|
|
14
|
+
itemId: string;
|
|
14
15
|
}) => Promise<any>;
|
|
15
16
|
declare const WtTypeExtensionApi: {
|
|
16
17
|
getList: ({ itemId: typeRepo }: {
|
|
17
|
-
itemId:
|
|
18
|
+
itemId: string;
|
|
18
19
|
}) => Promise<any>;
|
|
19
|
-
add: ({ itemInstance, itemId: typeRepo }: {
|
|
20
|
-
itemInstance:
|
|
21
|
-
itemId:
|
|
20
|
+
add: ({ itemInstance, itemId: typeRepo, }: {
|
|
21
|
+
itemInstance: ApiParams;
|
|
22
|
+
itemId: string;
|
|
22
23
|
}) => Promise<any>;
|
|
23
|
-
update: ({ itemInstance, itemId: typeRepo }: {
|
|
24
|
-
itemInstance:
|
|
25
|
-
itemId:
|
|
24
|
+
update: ({ itemInstance, itemId: typeRepo, }: {
|
|
25
|
+
itemInstance: ApiParams;
|
|
26
|
+
itemId: string;
|
|
26
27
|
}) => Promise<any>;
|
|
27
|
-
delete: ({ itemId: typeRepo }: {
|
|
28
|
-
itemId:
|
|
28
|
+
delete: ({ itemId: typeRepo, }: {
|
|
29
|
+
itemId: string;
|
|
29
30
|
}) => Promise<void>;
|
|
30
31
|
};
|
|
31
32
|
export { addTypeExtension, deleteTypeExtension, getTypeExtension, updateTypeExtension, };
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { type ShallowReactive } from 'vue';
|
|
1
2
|
import { Client } from 'webitel-sdk';
|
|
3
|
+
import { WebSocketClientEvent } from './enums/WebSocketClientEvent';
|
|
4
|
+
type CliInstance = ShallowReactive<Client>;
|
|
5
|
+
type WebSocketEventCallback = (...payload: any[]) => unknown;
|
|
2
6
|
declare class WebSocketClientController {
|
|
3
|
-
cli:
|
|
7
|
+
cli: Promise<CliInstance> | null;
|
|
4
8
|
Event: {
|
|
5
9
|
readonly AFTER_AUTH: "afterAuth";
|
|
6
10
|
readonly ERROR: "error";
|
|
7
11
|
};
|
|
8
|
-
_config:
|
|
9
|
-
_on:
|
|
10
|
-
|
|
11
|
-
afterAuth: any[];
|
|
12
|
-
};
|
|
13
|
-
getCliInstance(createCliInstance?: () => Promise<import("vue").ShallowReactive<Client>>): any;
|
|
12
|
+
_config: Partial<import("webitel-sdk").Config>;
|
|
13
|
+
_on: Record<WebSocketClientEvent, WebSocketEventCallback[]>;
|
|
14
|
+
getCliInstance(createCliInstance?: () => Promise<ShallowReactive<Client>>): Promise<CliInstance>;
|
|
14
15
|
destroyCliInstance(): Promise<void>;
|
|
15
|
-
addEventListener(event:
|
|
16
|
-
_createCliInstance: () => Promise<
|
|
16
|
+
addEventListener(event: WebSocketClientEvent, callback: WebSocketEventCallback | WebSocketEventCallback[]): void;
|
|
17
|
+
_createCliInstance: () => Promise<ShallowReactive<Client>>;
|
|
17
18
|
}
|
|
18
19
|
declare const webSocketClientController: WebSocketClientController;
|
|
19
20
|
export default webSocketClientController;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export const
|
|
1
|
+
import type { Config } from 'webitel-sdk';
|
|
2
|
+
export declare const getConfig: () => Partial<Config>;
|
|
3
|
+
export declare const endpoint: any;
|
|
@@ -3,7 +3,7 @@ export type IconRepositoryEntry = {
|
|
|
3
3
|
svg: string;
|
|
4
4
|
};
|
|
5
5
|
export declare const iconsRepository: Map<string, string>;
|
|
6
|
-
export declare function getIconFromRepository(iconName: string): string;
|
|
6
|
+
export declare function getIconFromRepository(iconName: string): string | undefined;
|
|
7
7
|
export declare function fillIconsRepository({ icons, }: {
|
|
8
8
|
icons: IconRepositoryEntry[];
|
|
9
9
|
}): void;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
|
|
2
|
+
interface ExpansionEmit {
|
|
3
|
+
(event: 'opened'): void;
|
|
4
|
+
(event: 'closed'): void;
|
|
5
|
+
}
|
|
6
|
+
export declare function useExpansion(collapsed: Ref<boolean>, emit?: ExpansionEmit): {
|
|
3
7
|
opened: Ref<boolean, boolean>;
|
|
4
8
|
open: () => void;
|
|
5
9
|
close: () => void;
|
|
6
10
|
toggle: () => void;
|
|
7
11
|
};
|
|
12
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { PrimevueInstance } from '../../types/PrimevueInstance';
|
|
3
|
+
export declare const useInputControl: (input: Ref<PrimevueInstance | undefined>) => {
|
|
2
4
|
focus: () => void;
|
|
3
|
-
handleKeyup: (e:
|
|
5
|
+
handleKeyup: (e: Event) => void;
|
|
4
6
|
removeAutocomplete: () => void;
|
|
5
7
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { PrimevueOverlayInstance } from '../../types/PrimevueInstance';
|
|
3
|
+
/** TODO(types): options are indexed by the runtime `dataKey`/`optionLabel`/`optionValue` keys. */
|
|
4
|
+
export type SelectOption = any;
|
|
5
|
+
export type SelectValue = SelectOption | SelectOption[] | null | undefined;
|
|
6
|
+
export interface SelectSearchResponse {
|
|
7
|
+
items: SelectOption[];
|
|
8
|
+
next?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type SelectSearchMethod = (...params: any[]) => Promise<SelectSearchResponse>;
|
|
11
|
+
export type SelectComponentRef = PrimevueOverlayInstance;
|
|
12
|
+
export interface UseSelectOptionsParams {
|
|
13
|
+
selected: Ref<SelectValue>;
|
|
14
|
+
options: Ref<SelectOption[]>;
|
|
15
|
+
optionLabel: Ref<string | undefined>;
|
|
16
|
+
optionValue?: Ref<string | undefined>;
|
|
17
|
+
dataKey: Ref<string>;
|
|
18
|
+
allowCustomValues: Ref<boolean>;
|
|
19
|
+
searchMethod: Ref<SelectSearchMethod | undefined>;
|
|
20
|
+
strictApiOptions?: Ref<boolean | undefined>;
|
|
21
|
+
}
|
|
22
|
+
export interface UseSelectDropdownParams {
|
|
23
|
+
selectId: Ref<string>;
|
|
24
|
+
selectRef: Ref<SelectComponentRef | undefined>;
|
|
25
|
+
filterInput: Ref<HTMLInputElement | undefined>;
|
|
26
|
+
searchMethod: Ref<SelectSearchMethod | undefined>;
|
|
27
|
+
filteredOptions: Ref<SelectOption[]>;
|
|
28
|
+
filterText: Ref<string>;
|
|
29
|
+
filterOptions: (value: string) => void;
|
|
30
|
+
resetAndFetch: (search?: string) => void;
|
|
31
|
+
sortOptions: (opts: SelectOption[]) => SelectOption[];
|
|
32
|
+
fetchOptions: () => void;
|
|
33
|
+
isLoading: Ref<boolean>;
|
|
34
|
+
searchHasNext: Ref<boolean>;
|
|
35
|
+
}
|
|
36
|
+
export interface UseSelectCustomValuesParams {
|
|
37
|
+
selected: Ref<SelectValue>;
|
|
38
|
+
filteredOptions: Ref<SelectOption[]>;
|
|
39
|
+
options: Ref<SelectOption[]>;
|
|
40
|
+
dataKey: Ref<string>;
|
|
41
|
+
filterText: Ref<string>;
|
|
42
|
+
filterOptions: (value: string) => void;
|
|
43
|
+
updateSelectedOptionsCache: () => void;
|
|
44
|
+
selectRef: Ref<SelectComponentRef | undefined>;
|
|
45
|
+
allowCustomValues: Ref<boolean>;
|
|
46
|
+
isSingle: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface UseSelectParams extends UseSelectOptionsParams, Pick<UseSelectDropdownParams, 'selectId' | 'selectRef' | 'filterInput'> {
|
|
49
|
+
manualCustomValues?: boolean;
|
|
50
|
+
isSingle: boolean;
|
|
51
|
+
emit?: (event: any, ...args: any[]) => void;
|
|
52
|
+
}
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
options: any;
|
|
4
|
-
optionLabel: any;
|
|
5
|
-
optionValue: any;
|
|
6
|
-
dataKey: any;
|
|
7
|
-
allowCustomValues: any;
|
|
8
|
-
manualCustomValues?: boolean;
|
|
9
|
-
filterInput: any;
|
|
10
|
-
selectRef: any;
|
|
11
|
-
searchMethod: any;
|
|
12
|
-
selectId: any;
|
|
13
|
-
isSingle: any;
|
|
14
|
-
strictApiOptions?: any;
|
|
15
|
-
emit?: (_event: string, ..._args: unknown[]) => void;
|
|
16
|
-
}) => {
|
|
1
|
+
import type { UseSelectParams } from './types';
|
|
2
|
+
export declare const useSelect: ({ selected, options, optionLabel, optionValue, dataKey, allowCustomValues, manualCustomValues: _manualCustomValues, filterInput, selectRef, searchMethod, selectId, isSingle, strictApiOptions, emit, }: UseSelectParams) => {
|
|
17
3
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
18
4
|
showFooterLoader: import("vue").Ref<boolean, boolean>;
|
|
19
5
|
isDropdownOpen: import("vue").Ref<boolean, boolean>;
|
|
20
6
|
filterText: import("vue").Ref<string, string>;
|
|
21
|
-
filteredOptions: import("vue").Ref<any, any>;
|
|
22
|
-
getOptionLabel: (option:
|
|
7
|
+
filteredOptions: import("vue").Ref<any[], any[]>;
|
|
8
|
+
getOptionLabel: (option: import("./types").SelectOption) => string;
|
|
23
9
|
fetchOptions: () => Promise<void>;
|
|
24
10
|
filterOptions: (value: string) => void;
|
|
25
11
|
onDropdownBeforeShow: () => void;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
filteredOptions: any;
|
|
4
|
-
options: any;
|
|
5
|
-
dataKey: any;
|
|
6
|
-
filterText: any;
|
|
7
|
-
filterOptions: any;
|
|
8
|
-
updateSelectedOptionsCache: any;
|
|
9
|
-
selectRef: any;
|
|
10
|
-
allowCustomValues: any;
|
|
11
|
-
isSingle: any;
|
|
12
|
-
}) => {
|
|
1
|
+
import type { UseSelectCustomValuesParams } from './types';
|
|
2
|
+
export declare const useSelectCustomValues: ({ selected, filteredOptions, options, dataKey, filterText, filterOptions, updateSelectedOptionsCache, selectRef, allowCustomValues, isSingle, }: UseSelectCustomValuesParams) => {
|
|
13
3
|
onInputKeydown: () => void;
|
|
14
4
|
};
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
selectRef: any;
|
|
4
|
-
filterInput: any;
|
|
5
|
-
searchMethod: any;
|
|
6
|
-
filteredOptions: any;
|
|
7
|
-
filterText: any;
|
|
8
|
-
filterOptions: any;
|
|
9
|
-
resetAndFetch: any;
|
|
10
|
-
sortOptions: any;
|
|
11
|
-
fetchOptions: any;
|
|
12
|
-
isLoading: any;
|
|
13
|
-
searchHasNext: any;
|
|
14
|
-
}) => {
|
|
1
|
+
import type { UseSelectDropdownParams } from './types';
|
|
2
|
+
export declare const useSelectDropdown: ({ selectId, selectRef, filterInput, searchMethod, filteredOptions, filterText, filterOptions, resetAndFetch, sortOptions, fetchOptions, isLoading, searchHasNext, }: UseSelectDropdownParams) => {
|
|
15
3
|
isDropdownOpen: import("vue").Ref<boolean, boolean>;
|
|
16
4
|
onDropdownBeforeShow: () => void;
|
|
17
5
|
onDropdownBeforeHide: () => void;
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
options: any;
|
|
4
|
-
optionLabel: any;
|
|
5
|
-
optionValue: any;
|
|
6
|
-
dataKey: any;
|
|
7
|
-
allowCustomValues: any;
|
|
8
|
-
searchMethod: any;
|
|
9
|
-
strictApiOptions: any;
|
|
10
|
-
}) => {
|
|
1
|
+
import type { SelectOption, UseSelectOptionsParams } from './types';
|
|
2
|
+
export declare const useSelectOptions: ({ selected, options, optionLabel, optionValue, dataKey, allowCustomValues, searchMethod, strictApiOptions, }: UseSelectOptionsParams) => {
|
|
11
3
|
filterText: import("vue").Ref<string, string>;
|
|
12
|
-
filteredOptions: import("vue").Ref<any, any>;
|
|
4
|
+
filteredOptions: import("vue").Ref<any[], any[]>;
|
|
13
5
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
14
6
|
searchHasNext: import("vue").Ref<boolean, boolean>;
|
|
15
|
-
sortOptions: (opts:
|
|
16
|
-
getOptionLabel: (option:
|
|
7
|
+
sortOptions: (opts: SelectOption[]) => SelectOption[];
|
|
8
|
+
getOptionLabel: (option: SelectOption) => string;
|
|
17
9
|
fetchOptions: () => Promise<void>;
|
|
18
10
|
fetchSelectedByIds: () => Promise<void>;
|
|
19
11
|
resetAndFetch: (search?: string) => void;
|
|
20
|
-
filterOptionsBase: (value:
|
|
12
|
+
filterOptionsBase: (value: string) => void;
|
|
21
13
|
updateSelectedOptionsCache: () => void;
|
|
22
14
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
import type { SelectOption, SelectValue } from './types';
|
|
2
|
+
export declare const toArray: (value: SelectValue) => SelectOption[];
|
|
3
|
+
export declare const isOptionSelected: (option: SelectOption, selectedArray: SelectOption[], dataKey: string) => boolean;
|
|
4
|
+
export declare const dedupeByKey: (items: SelectOption[], key: string) => SelectOption[];
|
|
5
|
+
export declare const filterOptionsBySearchValue: (options: SelectOption[], value: string, getOptionLabel: (option: SelectOption) => string) => any[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { PrimevueInstance } from '../../types/PrimevueInstance';
|
|
3
|
+
export declare const useTableColumnDrag: (table: Ref<PrimevueInstance | undefined>, reorderableColumns: boolean) => {
|
|
2
4
|
addTableDragListener: () => void;
|
|
3
5
|
removeTableDragListener: () => void;
|
|
4
6
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type MaybeRef } from 'vue';
|
|
1
2
|
import type { WtTableHeader } from '../../../wt-table/types/WtTable';
|
|
2
|
-
export declare const useWtTable: ({ headers }: {
|
|
3
|
-
headers:
|
|
3
|
+
export declare const useWtTable: ({ headers, }: {
|
|
4
|
+
headers: MaybeRef<WtTableHeader[] | undefined>;
|
|
4
5
|
}) => {
|
|
5
6
|
tableHeaders: import("vue").ComputedRef<WtTableHeader[]>;
|
|
6
7
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The parts of a PrimeVue component instance the wt-* wrappers reach into.
|
|
3
|
+
* PrimeVue does not publish instance types, so the wrappers describe only what
|
|
4
|
+
* they actually drive.
|
|
5
|
+
*/
|
|
6
|
+
export interface PrimevueInstance {
|
|
7
|
+
$el?: HTMLElement;
|
|
8
|
+
}
|
|
9
|
+
/** A PrimeVue component that renders an overlay panel. */
|
|
10
|
+
export interface PrimevueOverlayInstance extends PrimevueInstance {
|
|
11
|
+
overlay?: HTMLElement;
|
|
12
|
+
alignOverlay?: () => void;
|
|
13
|
+
hide?: () => void;
|
|
14
|
+
}
|
package/types/components/_shared/settings-panel/components/speed-settings/speed-settings.vue.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ interface Props {
|
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: number) => any;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: (value: number) => any;
|
|
7
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
modelValue: number;
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -7,7 +7,7 @@ interface Props {
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: MediaSettings) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: (value: MediaSettings) => any;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: MediaSettings) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
modelValue: MediaSettings;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
7
7
|
play: (file: EngineCallFile) => any;
|
|
8
8
|
stop: () => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
-
onPlay?: (file: EngineCallFile) => any;
|
|
11
|
-
onStop?: () => any;
|
|
10
|
+
onPlay?: ((file: EngineCallFile) => any) | undefined;
|
|
11
|
+
onStop?: (() => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
playingFileId: string;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -47,7 +47,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
47
47
|
default: boolean;
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{
|
|
50
|
-
"onInsert-emoji"?: (...args: any[]) => any;
|
|
50
|
+
"onInsert-emoji"?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
52
|
filled: boolean;
|
|
53
53
|
size: string;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
interface ChipItem {
|
|
2
|
+
id?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
}
|
|
1
5
|
interface Props {
|
|
2
6
|
hideFirstItem?: boolean;
|
|
3
7
|
useEmptySymbol?: boolean;
|
|
4
8
|
title?: string;
|
|
5
|
-
items:
|
|
9
|
+
items: ChipItem[];
|
|
6
10
|
}
|
|
7
11
|
declare var __VLS_1: {}, __VLS_10: {
|
|
8
12
|
toggle: (event?: Event, target?: HTMLElement | null | undefined) => void;
|
|
9
13
|
}, __VLS_19: {
|
|
10
|
-
items:
|
|
14
|
+
items: ChipItem[];
|
|
11
15
|
};
|
|
12
16
|
type __VLS_Slots = {} & {
|
|
13
17
|
'first-item'?: (props: typeof __VLS_1) => any;
|