@webitel/ui-sdk 26.8.21 → 26.8.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{clients-Ba7VhTMH.js → clients-Cgrz-ee-.js} +707 -22
- package/dist/{components-ABAwRPPa.js → components-Q-Lkl5tb.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-C_F39G5j.js} +5 -5
- 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-CiL3CTCQ.js} +3 -3
- package/dist/{wt-datepicker-DTUMTWJK.js → wt-datepicker-BwjMwR9-.js} +38 -34
- package/dist/{wt-display-chip-items-3GRXkRfT.js → wt-display-chip-items-DXfs6aQp.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-DaBSWvlP.js} +3 -3
- package/dist/wt-send-message-popup-BvnTPEeX.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-CS5S9HHJ.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-bsEXPInV.js} +14 -9
- package/dist/{wt-vidstack-player-DbRHboYo.js → wt-vidstack-player-BymuGcAX.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 +3 -0
- package/src/locale/es/es.js +3 -0
- package/src/locale/kz/kz.js +3 -0
- package/src/locale/pl/pl.js +3 -0
- package/src/locale/ro/ro.js +3 -0
- package/src/locale/ru/ru.js +3 -0
- package/src/locale/uk/uk.js +3 -0
- package/src/locale/uz/uz.js +3 -0
- package/src/locale/vi/vi.js +3 -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 +25 -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 +4 -2
- package/types/locale/es/es.d.ts +4 -2
- package/types/locale/i18n.d.ts +36 -18
- package/types/locale/index.d.ts +36 -18
- package/types/locale/kz/kz.d.ts +4 -2
- package/types/locale/pl/pl.d.ts +4 -2
- package/types/locale/ro/ro.d.ts +4 -2
- package/types/locale/ru/ru.d.ts +4 -2
- package/types/locale/uk/uk.d.ts +4 -2
- package/types/locale/uz/uz.d.ts +4 -2
- package/types/locale/vi/vi.d.ts +4 -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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default class NotificationsStoreModule extends BaseStoreModule {
|
|
2
2
|
state: {
|
|
3
|
-
thisTabId:
|
|
4
|
-
currentTabId:
|
|
5
|
-
broadcastChannel:
|
|
3
|
+
thisTabId: null;
|
|
4
|
+
currentTabId: null;
|
|
5
|
+
broadcastChannel: null;
|
|
6
6
|
unreadCount: number;
|
|
7
7
|
currentlyPlaying: boolean;
|
|
8
8
|
isHangupSoundAllowed: boolean;
|
|
9
9
|
};
|
|
10
10
|
getters: {
|
|
11
11
|
IS_MAIN_TAB: (state: any) => boolean;
|
|
12
|
-
IS_SOUND_ALLOWED: (state: any, getters: any) =>
|
|
12
|
+
IS_SOUND_ALLOWED: (state: any, getters: any) => any;
|
|
13
13
|
};
|
|
14
14
|
actions: {
|
|
15
15
|
_SUBSCRIBE_TAB_CLOSING: (context: any) => void;
|
|
@@ -23,15 +23,15 @@ export default class NotificationsStoreModule extends BaseStoreModule {
|
|
|
23
23
|
DESTROY: (context: any) => Promise<[PromiseSettledResult<any>, PromiseSettledResult<any>]>;
|
|
24
24
|
PLAY_SOUND: (context: any, { action, sound, volume }: {
|
|
25
25
|
action: any;
|
|
26
|
-
sound?: boolean | HTMLAudioElement;
|
|
27
|
-
volume?: number;
|
|
26
|
+
sound?: boolean | HTMLAudioElement | undefined;
|
|
27
|
+
volume?: number | undefined;
|
|
28
28
|
}) => Promise<void>;
|
|
29
29
|
STOP_SOUND: (context: any) => void;
|
|
30
30
|
SEND_NOTIFICATION: (_: any, { locale, text, icon, interval, }: {
|
|
31
31
|
locale: any;
|
|
32
|
-
text?: string;
|
|
33
|
-
icon?: string;
|
|
34
|
-
interval?: number;
|
|
32
|
+
text?: string | undefined;
|
|
33
|
+
icon?: string | undefined;
|
|
34
|
+
interval?: number | undefined;
|
|
35
35
|
}) => void;
|
|
36
36
|
INCREMENT_UNREAD_COUNT: (context: any) => void;
|
|
37
37
|
};
|
|
@@ -16,5 +16,5 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
16
16
|
};
|
|
17
17
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
type __VLS_Slots = {
|
|
19
|
-
default?: (props: {}) => any;
|
|
19
|
+
default?: ((props: {}) => any) | undefined;
|
|
20
20
|
};
|
package/types/modules/ObjectPermissions/components/_internal/permissions-role-select.vue.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export default _default;
|
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
4
|
"update:modelValue": (value: any) => any;
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
6
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
|
6
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
type __VLS_ModelProps = {
|
|
9
9
|
modelValue: any;
|
package/types/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
19
19
|
};
|
|
20
20
|
error: {
|
|
21
21
|
type: ObjectConstructor;
|
|
22
|
-
default:
|
|
22
|
+
default: null;
|
|
23
23
|
};
|
|
24
24
|
refresh: {
|
|
25
25
|
type: FunctionConstructor;
|
|
@@ -35,7 +35,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
35
35
|
};
|
|
36
36
|
existingGranteeIds: {
|
|
37
37
|
type: ArrayConstructor;
|
|
38
|
-
default: () =>
|
|
38
|
+
default: () => never[];
|
|
39
39
|
};
|
|
40
40
|
addRolePermissions: {
|
|
41
41
|
type: FunctionConstructor;
|
|
@@ -60,7 +60,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
60
60
|
};
|
|
61
61
|
error: {
|
|
62
62
|
type: ObjectConstructor;
|
|
63
|
-
default:
|
|
63
|
+
default: null;
|
|
64
64
|
};
|
|
65
65
|
refresh: {
|
|
66
66
|
type: FunctionConstructor;
|
|
@@ -76,7 +76,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
76
76
|
};
|
|
77
77
|
existingGranteeIds: {
|
|
78
78
|
type: ArrayConstructor;
|
|
79
|
-
default: () =>
|
|
79
|
+
default: () => never[];
|
|
80
80
|
};
|
|
81
81
|
addRolePermissions: {
|
|
82
82
|
type: FunctionConstructor;
|
|
@@ -93,5 +93,5 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
93
93
|
existingGranteeIds: unknown[];
|
|
94
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
type __VLS_Slots = {
|
|
96
|
-
pagination?: (props: {}) => any;
|
|
96
|
+
pagination?: ((props: {}) => any) | undefined;
|
|
97
97
|
};
|
package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export default _default;
|
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
existingGranteeIds: {
|
|
5
5
|
type: ArrayConstructor;
|
|
6
|
-
default: () =>
|
|
6
|
+
default: () => never[];
|
|
7
7
|
};
|
|
8
8
|
addRolePermissions: {
|
|
9
9
|
type: FunctionConstructor;
|
|
@@ -12,7 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
12
12
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
existingGranteeIds: {
|
|
14
14
|
type: ArrayConstructor;
|
|
15
|
-
default: () =>
|
|
15
|
+
default: () => never[];
|
|
16
16
|
};
|
|
17
17
|
addRolePermissions: {
|
|
18
18
|
type: FunctionConstructor;
|
|
@@ -5,11 +5,11 @@ declare function _default(): {
|
|
|
5
5
|
locale: string;
|
|
6
6
|
field: string;
|
|
7
7
|
show: boolean;
|
|
8
|
-
sort:
|
|
8
|
+
sort: null;
|
|
9
9
|
}[];
|
|
10
10
|
};
|
|
11
11
|
getters: {
|
|
12
|
-
REQUIRED_FIELDS: () =>
|
|
12
|
+
REQUIRED_FIELDS: () => never[];
|
|
13
13
|
};
|
|
14
14
|
actions: {
|
|
15
15
|
CHANGE_ACCESS_MODE: (context: any, { mode, ruleName, item }: {
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
19
19
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
20
20
|
filterQuery: any;
|
|
21
21
|
value: any;
|
|
22
|
-
storedProp?: string;
|
|
22
|
+
storedProp?: string | undefined;
|
|
23
23
|
}): Promise<void>;
|
|
24
24
|
getValueFromQuery({ filterQuery }: {
|
|
25
25
|
filterQuery: any;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
16
16
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
17
17
|
filterQuery: any;
|
|
18
18
|
value: any;
|
|
19
|
-
storedProp?: string;
|
|
19
|
+
storedProp?: string | undefined;
|
|
20
20
|
}): Promise<void>;
|
|
21
21
|
getValueFromQuery({ filterQuery }: {
|
|
22
22
|
filterQuery: any;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
22
22
|
filterQuery: any;
|
|
23
23
|
value: any;
|
|
24
|
-
storedProp?: string;
|
|
24
|
+
storedProp?: string | undefined;
|
|
25
25
|
}): Promise<void>;
|
|
26
26
|
getValueFromQuery({ filterQuery }: {
|
|
27
27
|
filterQuery: any;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
27
27
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
28
28
|
filterQuery: any;
|
|
29
29
|
value: any;
|
|
30
|
-
storedProp?: string;
|
|
30
|
+
storedProp?: string | undefined;
|
|
31
31
|
}): Promise<void>;
|
|
32
32
|
getValueFromQuery({ filterQuery }: {
|
|
33
33
|
filterQuery: any;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
17
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
18
18
|
filterQuery: any;
|
|
19
19
|
value: any;
|
|
20
|
-
storedProp?: string;
|
|
20
|
+
storedProp?: string | undefined;
|
|
21
21
|
}): Promise<void>;
|
|
22
22
|
getValueFromQuery({ filterQuery }: {
|
|
23
23
|
filterQuery: any;
|
|
@@ -24,11 +24,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
24
24
|
setValue(headers: any): void;
|
|
25
25
|
getFromLocalStorage({ filterQuery }: {
|
|
26
26
|
filterQuery: any;
|
|
27
|
-
}): string[];
|
|
27
|
+
}): string[] | null;
|
|
28
28
|
setToLocalStorage({ filterQuery, value, storedProp }: {
|
|
29
29
|
filterQuery: any;
|
|
30
30
|
value: any;
|
|
31
|
-
storedProp?: string;
|
|
31
|
+
storedProp?: string | undefined;
|
|
32
32
|
}): void;
|
|
33
33
|
}, {
|
|
34
34
|
mixins: {
|
|
@@ -40,7 +40,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
40
40
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
41
41
|
filterQuery: any;
|
|
42
42
|
value: any;
|
|
43
|
-
storedProp?: string;
|
|
43
|
+
storedProp?: string | undefined;
|
|
44
44
|
}): Promise<void>;
|
|
45
45
|
getValueFromQuery({ filterQuery }: {
|
|
46
46
|
filterQuery: any;
|
|
@@ -7,7 +7,7 @@ declare namespace _default {
|
|
|
7
7
|
function setValueToQuery({ filterQuery, value, storedProp }: {
|
|
8
8
|
filterQuery: any;
|
|
9
9
|
value: any;
|
|
10
|
-
storedProp?: string;
|
|
10
|
+
storedProp?: string | undefined;
|
|
11
11
|
}): Promise<void>;
|
|
12
12
|
function getValueFromQuery({ filterQuery }: {
|
|
13
13
|
filterQuery: any;
|
|
@@ -9,7 +9,7 @@ declare namespace _default {
|
|
|
9
9
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
10
10
|
filterQuery: any;
|
|
11
11
|
value: any;
|
|
12
|
-
storedProp?: string;
|
|
12
|
+
storedProp?: string | undefined;
|
|
13
13
|
}): Promise<void>;
|
|
14
14
|
getValueFromQuery({ filterQuery }: {
|
|
15
15
|
filterQuery: any;
|
|
@@ -9,7 +9,7 @@ declare namespace _default {
|
|
|
9
9
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
10
10
|
filterQuery: any;
|
|
11
11
|
value: any;
|
|
12
|
-
storedProp?: string;
|
|
12
|
+
storedProp?: string | undefined;
|
|
13
13
|
}): Promise<void>;
|
|
14
14
|
getValueFromQuery({ filterQuery }: {
|
|
15
15
|
filterQuery: any;
|
|
@@ -9,7 +9,7 @@ declare namespace _default {
|
|
|
9
9
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
10
10
|
filterQuery: any;
|
|
11
11
|
value: any;
|
|
12
|
-
storedProp?: string;
|
|
12
|
+
storedProp?: string | undefined;
|
|
13
13
|
}): Promise<void>;
|
|
14
14
|
getValueFromQuery({ filterQuery }: {
|
|
15
15
|
filterQuery: any;
|
|
@@ -42,7 +42,7 @@ declare namespace _default {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
namespace computed {
|
|
45
|
-
function isPrev():
|
|
45
|
+
function isPrev(): any;
|
|
46
46
|
}
|
|
47
47
|
namespace methods {
|
|
48
48
|
function restore(): void;
|
|
@@ -9,7 +9,7 @@ declare namespace _default {
|
|
|
9
9
|
setValueToQuery({ filterQuery, value, storedProp }: {
|
|
10
10
|
filterQuery: any;
|
|
11
11
|
value: any;
|
|
12
|
-
storedProp?: string;
|
|
12
|
+
storedProp?: string | undefined;
|
|
13
13
|
}): Promise<void>;
|
|
14
14
|
getValueFromQuery({ filterQuery }: {
|
|
15
15
|
filterQuery: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default class QueryFiltersStoreModule extends BaseStoreModule {
|
|
2
2
|
constructor({ state, getters, actions, mutations }?: {
|
|
3
|
-
state?: {};
|
|
4
|
-
getters?: {};
|
|
5
|
-
actions?: {};
|
|
6
|
-
mutations?: {};
|
|
3
|
+
state?: {} | undefined;
|
|
4
|
+
getters?: {} | undefined;
|
|
5
|
+
actions?: {} | undefined;
|
|
6
|
+
mutations?: {} | undefined;
|
|
7
7
|
});
|
|
8
8
|
getters: {
|
|
9
9
|
GET_FILTERS: (state: any, getters: any) => {};
|
|
@@ -5,11 +5,11 @@ export function useTableEmpty({ dataList, filters, error, isLoading }?: {
|
|
|
5
5
|
isLoading?: unknown;
|
|
6
6
|
}, overrides?: object): {
|
|
7
7
|
showEmpty: import("vue").ComputedRef<boolean>;
|
|
8
|
-
emptyCause: import("vue").ComputedRef<"error" | "filters" | "empty">;
|
|
9
|
-
image: import("vue").ComputedRef<
|
|
10
|
-
headline: import("vue").ComputedRef<
|
|
11
|
-
title: import("vue").ComputedRef<
|
|
12
|
-
text: import("vue").ComputedRef<
|
|
13
|
-
primaryActionText: import("vue").ComputedRef<
|
|
14
|
-
secondaryActionText: import("vue").ComputedRef<
|
|
8
|
+
emptyCause: import("vue").ComputedRef<"error" | "filters" | "empty" | null>;
|
|
9
|
+
image: import("vue").ComputedRef<any>;
|
|
10
|
+
headline: import("vue").ComputedRef<any>;
|
|
11
|
+
title: import("vue").ComputedRef<any>;
|
|
12
|
+
text: import("vue").ComputedRef<any>;
|
|
13
|
+
primaryActionText: import("vue").ComputedRef<any>;
|
|
14
|
+
secondaryActionText: import("vue").ComputedRef<any>;
|
|
15
15
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export default class TableStoreModule extends BaseStoreModule {
|
|
2
2
|
constructor({ headers }: {
|
|
3
|
-
headers?:
|
|
3
|
+
headers?: never[] | undefined;
|
|
4
4
|
});
|
|
5
5
|
state: {
|
|
6
|
-
headers:
|
|
7
|
-
dataList:
|
|
8
|
-
selected:
|
|
6
|
+
headers: never[];
|
|
7
|
+
dataList: never[];
|
|
8
|
+
selected: never[];
|
|
9
9
|
error: {};
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
isNextPage: boolean;
|
|
12
12
|
};
|
|
13
13
|
getters: {
|
|
14
|
-
PARENT_ID: () =>
|
|
14
|
+
PARENT_ID: () => null;
|
|
15
15
|
FILTERS: (_: any, getters: any) => any;
|
|
16
16
|
FIELDS: (state: any) => any[];
|
|
17
17
|
GET_LIST_PARAMS: (_state: any, getters: any) => (overrides: any) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
file: File | null;
|
|
3
|
-
mappingFields:
|
|
3
|
+
mappingFields: CsvMappingField[];
|
|
4
4
|
addBulkItems?: (items: unknown[]) => unknown | Promise<unknown>;
|
|
5
5
|
handlingMode?: string;
|
|
6
6
|
fileUploadHandler?: () => unknown | Promise<unknown>;
|
|
@@ -10,12 +10,12 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
10
10
|
save: () => any;
|
|
11
11
|
changeMappingFields: (value: unknown[]) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
-
onClose?: () => any;
|
|
14
|
-
onSave?: () => any;
|
|
15
|
-
onChangeMappingFields?: (value: unknown[]) => any;
|
|
13
|
+
onClose?: (() => any) | undefined;
|
|
14
|
+
onSave?: (() => any) | undefined;
|
|
15
|
+
onChangeMappingFields?: ((value: unknown[]) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
file: File | null;
|
|
18
|
-
mappingFields:
|
|
18
|
+
mappingFields: CsvMappingField[];
|
|
19
19
|
handlingMode: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type CsvMappingField } from '../scripts/normalizeCSVData';
|
|
1
3
|
/**
|
|
2
4
|
* @param {Object} params
|
|
3
5
|
* @param {Object} params.props - component props (file, mappingFields, handlingMode, addBulkItems, fileUploadHandler)
|
|
@@ -5,16 +7,24 @@
|
|
|
5
7
|
* @param {import('vue').Ref<boolean>} params.skipHeaders
|
|
6
8
|
* @param {import('vue').Ref<string>} params.separator
|
|
7
9
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
export interface UseUploadCsvProps {
|
|
11
|
+
file?: File | null;
|
|
12
|
+
mappingFields?: CsvMappingField[];
|
|
13
|
+
addBulkItems?: (items: unknown[]) => unknown | Promise<unknown>;
|
|
14
|
+
handlingMode?: string;
|
|
15
|
+
fileUploadHandler?: () => unknown | Promise<unknown>;
|
|
16
|
+
}
|
|
17
|
+
interface UseUploadCsvParams {
|
|
18
|
+
props: UseUploadCsvProps;
|
|
19
|
+
emit: (event: any, ...args: any[]) => void;
|
|
20
|
+
skipHeaders: Ref<boolean>;
|
|
21
|
+
separator: Ref<string>;
|
|
22
|
+
}
|
|
23
|
+
declare const useUploadCsv: ({ props, emit, skipHeaders, separator, }: UseUploadCsvParams) => {
|
|
24
|
+
isReadingFile: Ref<boolean, boolean>;
|
|
25
|
+
isParsingCSV: Ref<boolean, boolean>;
|
|
26
|
+
isParsingPreview: Ref<boolean, boolean>;
|
|
27
|
+
parseErrorStackTrace: Ref<unknown, unknown>;
|
|
18
28
|
csvPreviewTableData: import("vue").ComputedRef<unknown[]>;
|
|
19
29
|
csvPreviewTableHeaders: import("vue").ComputedRef<{
|
|
20
30
|
text: string;
|
|
@@ -25,7 +35,7 @@ declare const useUploadCsv: ({ props, emit, skipHeaders, separator }: {
|
|
|
25
35
|
value: string;
|
|
26
36
|
}[]>;
|
|
27
37
|
csvColumns: import("vue").ComputedRef<string[]>;
|
|
28
|
-
allowSaveAction: import("vue").ComputedRef<
|
|
38
|
+
allowSaveAction: import("vue").ComputedRef<boolean>;
|
|
29
39
|
processCSV: () => Promise<void>;
|
|
30
40
|
handleSave: () => Promise<void>;
|
|
31
41
|
close: () => void;
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
declare const normalizeCSVData: ({ data, mappings }: {
|
|
18
|
-
data: any;
|
|
19
|
-
mappings: any;
|
|
20
|
-
}) => any;
|
|
1
|
+
/** maps a webitel field to the csv column(s) it is built from */
|
|
2
|
+
export interface CsvMappingField {
|
|
3
|
+
name: string;
|
|
4
|
+
csv: string | string[];
|
|
5
|
+
required?: boolean;
|
|
6
|
+
/** ui locale key */
|
|
7
|
+
locale?: string;
|
|
8
|
+
/** the field maps to several csv columns */
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type CsvDataRow = Record<string, unknown>;
|
|
12
|
+
declare const normalizeCSVData: ({ data, mappings, }: {
|
|
13
|
+
data: CsvDataRow[];
|
|
14
|
+
mappings: CsvMappingField[];
|
|
15
|
+
}) => Record<string, unknown>[];
|
|
21
16
|
export default normalizeCSVData;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const splitAndSaveData: ({ data, saveCallback }: {
|
|
2
|
-
data:
|
|
3
|
-
saveCallback:
|
|
1
|
+
declare const splitAndSaveData: ({ data, saveCallback, }: {
|
|
2
|
+
data: unknown[];
|
|
3
|
+
saveCallback?: (chunk: unknown[]) => unknown | Promise<unknown>;
|
|
4
4
|
}) => Promise<void>;
|
|
5
5
|
export default splitAndSaveData;
|
|
@@ -27,16 +27,8 @@ export default class ApplicationsAccess {
|
|
|
27
27
|
access?: PartialDeep<ApplicationsAccessSchema>;
|
|
28
28
|
value?: boolean;
|
|
29
29
|
});
|
|
30
|
-
static minify(access:
|
|
31
|
-
static restore(access:
|
|
32
|
-
agent: BaseAccessSchema;
|
|
33
|
-
history: BaseAccessSchema;
|
|
34
|
-
grafana: BaseAccessSchema;
|
|
35
|
-
supervisor: BaseAccessSchema & Partial<Record<SupervisorSections, BaseAccessSchema>>;
|
|
36
|
-
admin: BaseAccessSchema & Partial<Record<AdminSections, BaseAccessSchema>>;
|
|
37
|
-
audit: BaseAccessSchema & Partial<Record<AuditorSections, BaseAccessSchema>>;
|
|
38
|
-
crm: BaseAccessSchema & Partial<Record<CrmSections, BaseAccessSchema>>;
|
|
39
|
-
};
|
|
30
|
+
static minify(access: Record<string, unknown>): Record<string, unknown>;
|
|
31
|
+
static restore(access: PartialDeep<ApplicationsAccessSchema>): ApplicationsAccessSchema;
|
|
40
32
|
getAccess(): ApplicationsAccessSchema;
|
|
41
33
|
}
|
|
42
34
|
export {};
|
|
@@ -1,30 +1,18 @@
|
|
|
1
|
-
import { AdminSections, AuditorSections, CrmSections, SupervisorSections, WtApplication, WtObject } from '../../../enums';
|
|
1
|
+
import { AdminSections, AuditorSections, CrmSections, CrudAction, SupervisorSections, WtApplication, WtObject } from '../../../enums';
|
|
2
2
|
import { ScopeClass, SpecialGlobalAction } from '../enums';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
write: "update";
|
|
7
|
-
delete: "delete";
|
|
8
|
-
};
|
|
9
|
-
export declare const mapCrudActionToGlobalAction: any;
|
|
3
|
+
import type { GlobalAction } from '../types/UserAccess';
|
|
4
|
+
export declare const mapGlobalActionToCrudAction: Partial<Record<GlobalAction, CrudAction>>;
|
|
5
|
+
export declare const mapCrudActionToGlobalAction: import("lodash").Dictionary<string>;
|
|
10
6
|
export declare const mapScopeClassToWtObjects: Partial<Record<ScopeClass, WtObject[]>>;
|
|
11
|
-
export declare const wtObjectsWithGlobalCrudActionAccessAsChecksSource:
|
|
12
|
-
license: boolean;
|
|
13
|
-
object: boolean;
|
|
14
|
-
};
|
|
7
|
+
export declare const wtObjectsWithGlobalCrudActionAccessAsChecksSource: Partial<Record<WtObject, boolean>>;
|
|
15
8
|
export declare const wtObjectsWithGlobalSpecialActionAccessAsChecksSource: Partial<Record<WtObject, SpecialGlobalAction>>;
|
|
16
|
-
export declare const mapScopeClassAccessTokenToCrudAction:
|
|
17
|
-
|
|
18
|
-
w: "update";
|
|
19
|
-
d: "delete";
|
|
20
|
-
x: "create";
|
|
21
|
-
};
|
|
22
|
-
export declare const mapCrudActionToScopeClassAccessToken: any;
|
|
9
|
+
export declare const mapScopeClassAccessTokenToCrudAction: Partial<Record<string, CrudAction>>;
|
|
10
|
+
export declare const mapCrudActionToScopeClassAccessToken: import("lodash").Dictionary<string>;
|
|
23
11
|
type UiSection = AdminSections | AuditorSections | CrmSections | SupervisorSections;
|
|
24
12
|
export declare const mapWtObjectToUiSection: Partial<Record<WtApplication, Partial<Record<WtObject, UiSection>>>>;
|
|
25
|
-
export declare const mapUiSectionToWtObject:
|
|
26
|
-
export declare const AdminSectionsValues:
|
|
27
|
-
export declare const AuditorSectionsValues:
|
|
28
|
-
export declare const CrmSectionsValues:
|
|
29
|
-
export declare const SupervisorSectionsValues:
|
|
13
|
+
export declare const mapUiSectionToWtObject: import("lodash").Dictionary<string>;
|
|
14
|
+
export declare const AdminSectionsValues: import("lodash").Dictionary<string>;
|
|
15
|
+
export declare const AuditorSectionsValues: import("lodash").Dictionary<string>;
|
|
16
|
+
export declare const CrmSectionsValues: import("lodash").Dictionary<string>;
|
|
17
|
+
export declare const SupervisorSectionsValues: import("lodash").Dictionary<string>;
|
|
30
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WtObject } from '../../../enums';
|
|
1
|
+
import type { WtApplication, WtObject } from '../../../enums';
|
|
2
2
|
import type { AppVisibilityMap, GlobalAccessApiResponseItem, GlobalActionAccessMap, LicenseAccessMap, ScopeAccessApiResponseItem, ScopeAccessMap, SectionVisibilityMap, UiSection, VisibilityAccess, WebitelLicenseInfo } from '../types/UserAccess';
|
|
3
3
|
export declare const makeGlobalAccessMap: (rawGlobalAccess: GlobalAccessApiResponseItem[]) => GlobalActionAccessMap;
|
|
4
4
|
export declare const makeScopeAccessMap: (rawScope: ScopeAccessApiResponseItem[]) => ScopeAccessMap;
|
|
@@ -6,6 +6,6 @@ export declare const makeAppVisibilityMap: (rawVisibility: VisibilityAccess) =>
|
|
|
6
6
|
export declare const makeSectionVisibilityMap: (rawVisibility: VisibilityAccess) => SectionVisibilityMap;
|
|
7
7
|
export declare const makeLicenseAccessMap: (rawLicense: WebitelLicenseInfo[]) => LicenseAccessMap;
|
|
8
8
|
export declare const castUiSectionToWtObject: (section: UiSection) => WtObject;
|
|
9
|
-
export declare const castWtObjectToUiSection: (object: WtObject) => UiSection;
|
|
9
|
+
export declare const castWtObjectToUiSection: (app: WtApplication, object: WtObject) => UiSection | undefined;
|
|
10
10
|
export declare const shouldUseGlobalSpecialActionAccessAsChecksSource: (object: WtObject) => boolean;
|
|
11
11
|
export declare const shouldUseGlobalCrudActionAccessAsChecksSource: (object: WtObject) => boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const createSettingsStore: ({ namespace }?: {
|
|
2
|
-
namespace?: string;
|
|
2
|
+
namespace?: string | undefined;
|
|
3
3
|
}) => import("pinia").StoreDefinition<`${string}/settings`, Pick<{
|
|
4
|
-
timezone: import("vue").Ref<string, string>;
|
|
4
|
+
timezone: import("vue").Ref<string | null, string | null>;
|
|
5
5
|
initialize: () => Promise<void>;
|
|
6
6
|
}, "timezone">, Pick<{
|
|
7
|
-
timezone: import("vue").Ref<string, string>;
|
|
7
|
+
timezone: import("vue").Ref<string | null, string | null>;
|
|
8
8
|
initialize: () => Promise<void>;
|
|
9
9
|
}, never>, Pick<{
|
|
10
|
-
timezone: import("vue").Ref<string, string>;
|
|
10
|
+
timezone: import("vue").Ref<string | null, string | null>;
|
|
11
11
|
initialize: () => Promise<void>;
|
|
12
12
|
}, "initialize">>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const createUserinfoStore: () => import("pinia").StoreDefinition<"userinfo", Pick<{
|
|
2
2
|
userId: import("vue").Ref<any, any>;
|
|
3
3
|
userInfo: import("vue").Ref<any, any>;
|
|
4
|
-
timezone: import("vue").Ref<string, string>;
|
|
4
|
+
timezone: import("vue").Ref<string | null, string | null>;
|
|
5
5
|
initialize: () => Promise<void>;
|
|
6
6
|
hasReadAccess: (object?: import("../../../enums").WtObject) => boolean;
|
|
7
7
|
hasCreateAccess: (object?: import("../../../enums").WtObject) => boolean;
|
|
@@ -23,7 +23,7 @@ export declare const createUserinfoStore: () => import("pinia").StoreDefinition<
|
|
|
23
23
|
}, "timezone" | "userId" | "userInfo">, Pick<{
|
|
24
24
|
userId: import("vue").Ref<any, any>;
|
|
25
25
|
userInfo: import("vue").Ref<any, any>;
|
|
26
|
-
timezone: import("vue").Ref<string, string>;
|
|
26
|
+
timezone: import("vue").Ref<string | null, string | null>;
|
|
27
27
|
initialize: () => Promise<void>;
|
|
28
28
|
hasReadAccess: (object?: import("../../../enums").WtObject) => boolean;
|
|
29
29
|
hasCreateAccess: (object?: import("../../../enums").WtObject) => boolean;
|
|
@@ -45,7 +45,7 @@ export declare const createUserinfoStore: () => import("pinia").StoreDefinition<
|
|
|
45
45
|
}, never>, Pick<{
|
|
46
46
|
userId: import("vue").Ref<any, any>;
|
|
47
47
|
userInfo: import("vue").Ref<any, any>;
|
|
48
|
-
timezone: import("vue").Ref<string, string>;
|
|
48
|
+
timezone: import("vue").Ref<string | null, string | null>;
|
|
49
49
|
initialize: () => Promise<void>;
|
|
50
50
|
hasReadAccess: (object?: import("../../../enums").WtObject) => boolean;
|
|
51
51
|
hasCreateAccess: (object?: import("../../../enums").WtObject) => boolean;
|
|
@@ -75,7 +75,7 @@ export type AppVisibilityMap = Map<WtApplication, boolean>;
|
|
|
75
75
|
* */
|
|
76
76
|
export type SectionVisibilityMap = Map<FullUiSectionName, boolean>;
|
|
77
77
|
export interface UserAccessStore {
|
|
78
|
-
initialize: (
|
|
78
|
+
initialize: (rawAccess: CreateUserAccessStoreRawAccess) => void;
|
|
79
79
|
hasReadAccess: (object?: WtObject) => boolean;
|
|
80
80
|
hasCreateAccess: (object?: WtObject) => boolean;
|
|
81
81
|
hasUpdateAccess: (object?: WtObject) => boolean;
|