@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
|
@@ -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;
|
|
@@ -10,28 +10,28 @@ import { ComponentSize } from '../enums/ComponentSize/ComponentSize';
|
|
|
10
10
|
* compareSize(ComponentSize.XS, ComponentSize.MD); // true
|
|
11
11
|
* compareSize(ComponentSize.LG, ComponentSize.SM); // false
|
|
12
12
|
*/
|
|
13
|
-
export declare const compareSize: (s1:
|
|
13
|
+
export declare const compareSize: (s1: ComponentSize, s2: ComponentSize) => number;
|
|
14
14
|
/**
|
|
15
15
|
* Check if s1 is smaller than s2
|
|
16
16
|
* @param s1
|
|
17
17
|
* @param s2
|
|
18
18
|
* @returns {boolean}
|
|
19
19
|
*/
|
|
20
|
-
export declare const smallerThen: (s1:
|
|
20
|
+
export declare const smallerThen: (s1: ComponentSize, s2: ComponentSize) => boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Check if s1 is smaller or equal to s2
|
|
23
23
|
* @param s1
|
|
24
24
|
* @param s2
|
|
25
25
|
* @returns {boolean}
|
|
26
26
|
*/
|
|
27
|
-
export declare const smallerOrEqual: (s1:
|
|
27
|
+
export declare const smallerOrEqual: (s1: ComponentSize, s2: ComponentSize) => boolean;
|
|
28
28
|
/**
|
|
29
29
|
* Check if s1 is greater than s2
|
|
30
30
|
* @param s1
|
|
31
31
|
* @param s2
|
|
32
32
|
* @returns {boolean}
|
|
33
33
|
*/
|
|
34
|
-
export declare const greaterThen: (s1:
|
|
34
|
+
export declare const greaterThen: (s1: ComponentSize, s2: ComponentSize) => boolean;
|
|
35
35
|
/**
|
|
36
36
|
* Check if s1 is greater or equal to s2
|
|
37
37
|
* @param s1
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default debounce;
|
|
2
|
-
declare function debounce(fn: any, options: any, wait?: number): any
|
|
2
|
+
declare function debounce(fn: any, options: any, wait?: number): import("lodash").DebouncedFuncLeading<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const SortSymbols: Readonly<{
|
|
2
2
|
ASC: "asc";
|
|
3
3
|
DESC: "desc";
|
|
4
|
-
NONE:
|
|
4
|
+
NONE: null;
|
|
5
5
|
}>;
|
|
6
6
|
export function sortToQueryAdapter(order: any): "" | "-" | "+";
|
|
7
|
-
export function queryToSortAdapter(order: any):
|
|
8
|
-
export function getNextSortOrder(sort: any):
|
|
7
|
+
export function queryToSortAdapter(order: any): "desc" | "asc" | null;
|
|
8
|
+
export function getNextSortOrder(sort: any): "desc" | "asc" | null;
|
|
@@ -9,12 +9,12 @@ export default class BaseStoreModule {
|
|
|
9
9
|
generateAPIActions(): this;
|
|
10
10
|
setChildModules(modules: any): this;
|
|
11
11
|
getModule({ state, getters, actions, mutations, modules, namespaced, }?: {
|
|
12
|
-
state?: {};
|
|
13
|
-
getters?: {};
|
|
14
|
-
actions?: {};
|
|
15
|
-
mutations?: {};
|
|
16
|
-
modules?: {};
|
|
17
|
-
namespaced?: boolean;
|
|
12
|
+
state?: {} | undefined;
|
|
13
|
+
getters?: {} | undefined;
|
|
14
|
+
actions?: {} | undefined;
|
|
15
|
+
mutations?: {} | undefined;
|
|
16
|
+
modules?: {} | undefined;
|
|
17
|
+
namespaced?: boolean | undefined;
|
|
18
18
|
}): {
|
|
19
19
|
namespaced: boolean;
|
|
20
20
|
state: {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
declare function _default(): {
|
|
2
2
|
state: {
|
|
3
|
-
api:
|
|
3
|
+
api: null;
|
|
4
4
|
};
|
|
5
5
|
getters: {};
|
|
6
6
|
actions: {
|
|
7
7
|
GET_LIST: (apiContext: any, { context: callerContext, params }: {
|
|
8
|
-
context?: {};
|
|
9
|
-
params?: {};
|
|
8
|
+
context?: {} | undefined;
|
|
9
|
+
params?: {} | undefined;
|
|
10
10
|
}) => any;
|
|
11
11
|
GET_ITEM: (apiContext: any, { context: callerContext, params }?: {
|
|
12
|
-
context?: {};
|
|
13
|
-
params?: {};
|
|
12
|
+
context?: {} | undefined;
|
|
13
|
+
params?: {} | undefined;
|
|
14
14
|
}) => any;
|
|
15
15
|
POST_ITEM: (apiContext: any, { context: callerContext, ...rest }?: {
|
|
16
|
-
context?: {};
|
|
16
|
+
context?: {} | undefined;
|
|
17
17
|
}) => any;
|
|
18
18
|
UPD_ITEM: (apiContext: any, { context: callerContext, ...rest }?: {
|
|
19
|
-
context?: {};
|
|
19
|
+
context?: {} | undefined;
|
|
20
20
|
}) => any;
|
|
21
21
|
PATCH_ITEM: (apiContext: any, { context: callerContext, id, changes, ...rest }: {
|
|
22
22
|
[x: string]: any;
|
|
23
|
-
context?: {};
|
|
23
|
+
context?: {} | undefined;
|
|
24
24
|
id: any;
|
|
25
25
|
changes: any;
|
|
26
26
|
}) => any;
|
|
27
27
|
DELETE_ITEM: (apiContext: any, { context: callerContext, id, ...rest }: {
|
|
28
28
|
[x: string]: any;
|
|
29
|
-
context?: {};
|
|
29
|
+
context?: {} | undefined;
|
|
30
30
|
id: any;
|
|
31
31
|
}) => any;
|
|
32
32
|
GET_OBJECT_PERMISSIONS_LIST: (apiContext: any, { context: callerContext, params }: {
|
|
33
|
-
context?: {};
|
|
34
|
-
params?: {};
|
|
33
|
+
context?: {} | undefined;
|
|
34
|
+
params?: {} | undefined;
|
|
35
35
|
}) => any;
|
|
36
36
|
PATCH_OBJECT_PERMISSIONS_ITEM: (apiContext: any, { context: callerContext, id, changes, ...rest }: {
|
|
37
37
|
[x: string]: any;
|
|
38
|
-
context?: {};
|
|
38
|
+
context?: {} | undefined;
|
|
39
39
|
id: any;
|
|
40
40
|
changes: any;
|
|
41
41
|
}) => any;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
declare function _default(): {
|
|
2
2
|
state: {
|
|
3
|
-
headers:
|
|
4
|
-
dataList:
|
|
5
|
-
selected:
|
|
3
|
+
headers: never[];
|
|
4
|
+
dataList: never[];
|
|
5
|
+
selected: never[];
|
|
6
6
|
error: {};
|
|
7
7
|
isLoading: boolean;
|
|
8
8
|
isNextPage: boolean;
|
|
9
9
|
_resettable: {};
|
|
10
10
|
};
|
|
11
11
|
getters: {
|
|
12
|
-
PARENT_ID: () =>
|
|
12
|
+
PARENT_ID: () => null;
|
|
13
13
|
FILTERS: (_: any, getters: any) => () => any;
|
|
14
14
|
REQUIRED_FIELDS: () => string[];
|
|
15
15
|
FIELDS: (state: any, getters: any) => any[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const EMPTY_SYMBOL = "-";
|
|
2
|
-
export declare const displayText: (text
|
|
2
|
+
export declare const displayText: (text?: string | null) => string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ComposerTranslation as I18nComposerTranslation } from 'vue-i18n';
|
|
2
2
|
import type { z } from 'zod/v4';
|
|
3
|
-
export declare const customZodErrorsHandler: (t: I18nComposerTranslation) => (issue: z.core.$ZodRawIssue) => string;
|
|
3
|
+
export declare const customZodErrorsHandler: (t: I18nComposerTranslation) => (issue: z.core.$ZodRawIssue) => string | undefined;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { n as e, r as t } from "./clients-Ba7VhTMH.js";
|
|
2
|
-
import { n } from "./components-ABAwRPPa.js";
|
|
3
|
-
import { t as r } from "./vue-i18n-Db_oYfO8.js";
|
|
4
|
-
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue
|
|
7
|
-
var _ = /* @__PURE__ */ s({
|
|
8
|
-
__name: "wt-send-message-popup",
|
|
9
|
-
props: {
|
|
10
|
-
chatItem: {},
|
|
11
|
-
userId: {}
|
|
12
|
-
},
|
|
13
|
-
emits: ["close"],
|
|
14
|
-
setup(s, { emit: _ }) {
|
|
15
|
-
let v = s, y = _, b = c("$eventBus"), { t: x } = r(), S = f({
|
|
16
|
-
gateway: v.chatItem?.app || {},
|
|
17
|
-
provider: v.chatItem?.protocol || "",
|
|
18
|
-
message: "",
|
|
19
|
-
agentId: null
|
|
20
|
-
});
|
|
21
|
-
async function C(e) {
|
|
22
|
-
let { items: n } = await t.getList({
|
|
23
|
-
...e,
|
|
24
|
-
userId: v.userId
|
|
25
|
-
});
|
|
26
|
-
S.value.agentId = n[0]?.id;
|
|
27
|
-
}
|
|
28
|
-
let w = async () => {
|
|
29
|
-
let t = await e.patch({
|
|
30
|
-
peers: [{
|
|
31
|
-
via: S.value.gateway.id,
|
|
32
|
-
id: v.chatItem?.externalId,
|
|
33
|
-
type: S.value.provider
|
|
34
|
-
}],
|
|
35
|
-
variables: { agentId: S.value.agentId },
|
|
36
|
-
message: { text: S.value.message }
|
|
37
|
-
});
|
|
38
|
-
t.failure && b.$emit("notification", {
|
|
39
|
-
type: "error",
|
|
40
|
-
text: t.failure[0].error.message
|
|
41
|
-
}), y("close");
|
|
42
|
-
}, T = (e) => {
|
|
43
|
-
S.value.message += e, document.querySelector("textarea").focus();
|
|
44
|
-
};
|
|
45
|
-
return u(async () => await C()), (e, t) => {
|
|
46
|
-
let r = p("wt-textarea"), s = p("wt-button"), c = p("wt-popup");
|
|
47
|
-
return d(), i(c, l(e.$attrs, {
|
|
48
|
-
class: "wt-send-message-popup",
|
|
49
|
-
overflow: "",
|
|
50
|
-
onClose: t[1] ||= (e) => y("close")
|
|
51
|
-
}), {
|
|
52
|
-
header: g(() => [a(m(h(x)("reusable.sendMessage")), 1)]),
|
|
53
|
-
main: g(() => [o(r, {
|
|
54
|
-
"model-value": S.value.message,
|
|
55
|
-
"onUpdate:modelValue": t[0] ||= (e) => S.value.message = e,
|
|
56
|
-
placeholder: h(x)("objects.chat.draftPlaceholder"),
|
|
57
|
-
onEnter: w
|
|
58
|
-
}, null, 8, ["model-value", "placeholder"])]),
|
|
59
|
-
actions: g(() => [o(h(n), {
|
|
60
|
-
filled: "",
|
|
61
|
-
rounded: !1,
|
|
62
|
-
class: "wt-send-message-popup__emoji",
|
|
63
|
-
onInsertEmoji: T
|
|
64
|
-
}), o(s, {
|
|
65
|
-
icon: "chat-send",
|
|
66
|
-
color: "secondary",
|
|
67
|
-
disabled: !S.value.message,
|
|
68
|
-
wide: "",
|
|
69
|
-
onClick: w
|
|
70
|
-
}, null, 8, ["disabled"])]),
|
|
71
|
-
_: 1
|
|
72
|
-
}, 16);
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
//#endregion
|
|
77
|
-
export { _ as default };
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { n as e, t } from "./dist-Crpfx4FA.js";
|
|
2
|
-
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, inject as f, openBlock as p, provide as m, renderList as h, resolveComponent as g, toDisplayString as _, withCtx as v } from "vue";
|
|
4
|
-
t(), Array.isArray;
|
|
5
|
-
var y = /* @__PURE__ */ function(e) {
|
|
6
|
-
return e[e.MATCHER_NOT_FOUND = 1] = "MATCHER_NOT_FOUND", e[e.NAVIGATION_GUARD_REDIRECT = 2] = "NAVIGATION_GUARD_REDIRECT", e[e.NAVIGATION_ABORTED = 4] = "NAVIGATION_ABORTED", e[e.NAVIGATION_CANCELLED = 8] = "NAVIGATION_CANCELLED", e[e.NAVIGATION_DUPLICATED = 16] = "NAVIGATION_DUPLICATED", e;
|
|
7
|
-
}({});
|
|
8
|
-
Symbol(e.env.NODE_ENV === "production" ? "" : "navigation failure"), y.MATCHER_NOT_FOUND, y.NAVIGATION_GUARD_REDIRECT, y.NAVIGATION_ABORTED, y.NAVIGATION_CANCELLED, y.NAVIGATION_DUPLICATED, Symbol(e.env.NODE_ENV === "production" ? "" : "router view location matched"), Symbol(e.env.NODE_ENV === "production" ? "" : "router view depth");
|
|
9
|
-
var b = Symbol(e.env.NODE_ENV === "production" ? "" : "router");
|
|
10
|
-
Symbol(e.env.NODE_ENV === "production" ? "" : "route location"), Symbol(e.env.NODE_ENV === "production" ? "" : "router view location"), t(), (/* @__PURE__ */ function(e) {
|
|
11
|
-
return e[e.Static = 0] = "Static", e[e.Param = 1] = "Param", e[e.Group = 2] = "Group", e;
|
|
12
|
-
}({})).Static;
|
|
13
|
-
function x() {
|
|
14
|
-
return f(b);
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/components/on-demand/wt-start-page/components/start-page-card.vue
|
|
18
|
-
var S = { class: "start-page-card" }, C = { class: "typo-heading-4 start-page-card__header" }, w = { class: "start-page-card__main-section" }, T = ["alt", "src"], E = { class: "typo-body-1 start-page-card__description" }, D = /*#__PURE__*/ n({
|
|
19
|
-
__name: "start-page-card",
|
|
20
|
-
props: { card: {
|
|
21
|
-
type: Object,
|
|
22
|
-
required: !0
|
|
23
|
-
} },
|
|
24
|
-
setup(e) {
|
|
25
|
-
let t = x(), n = e, r = () => t.push(n.card.route);
|
|
26
|
-
return (t, n) => {
|
|
27
|
-
let i = g("wt-icon"), d = g("wt-button");
|
|
28
|
-
return p(), s("article", S, [
|
|
29
|
-
c("header", C, [e.card.disabled ? (p(), a(i, {
|
|
30
|
-
key: 0,
|
|
31
|
-
icon: "lock"
|
|
32
|
-
})) : o("", !0), l(" " + _(e.card.name), 1)]),
|
|
33
|
-
c("section", w, [c("img", {
|
|
34
|
-
alt: e.card.name,
|
|
35
|
-
src: e.card.image
|
|
36
|
-
}, null, 8, T), c("p", E, _(e.card.text), 1)]),
|
|
37
|
-
c("footer", null, [u(d, {
|
|
38
|
-
disabled: e.card.disabled,
|
|
39
|
-
class: "start-page-card__button",
|
|
40
|
-
color: "secondary",
|
|
41
|
-
wide: "",
|
|
42
|
-
onClick: r
|
|
43
|
-
}, {
|
|
44
|
-
default: v(() => [l(_(t.$t("reusable.open")), 1)], void 0, !0),
|
|
45
|
-
_: 1
|
|
46
|
-
}, 8, ["disabled"])])
|
|
47
|
-
]);
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
}, [["__scopeId", "data-v-e4560b27"]]), O = { class: "start-page-logo" }, k = ["src"], A = /*#__PURE__*/ n({
|
|
51
|
-
__name: "start-page-logo",
|
|
52
|
-
props: { logo: {
|
|
53
|
-
type: String,
|
|
54
|
-
required: !0
|
|
55
|
-
} },
|
|
56
|
-
setup(e) {
|
|
57
|
-
return (t, n) => (p(), s("div", O, [c("img", { src: e.logo }, null, 8, k)]));
|
|
58
|
-
}
|
|
59
|
-
}, [["__scopeId", "data-v-187dc1b4"]]), j = { class: "wt-start-page" }, M = { class: "wt-start-page__wrapper" }, N = /*#__PURE__*/ n(/* @__PURE__ */ d({
|
|
60
|
-
__name: "wt-start-page",
|
|
61
|
-
props: {
|
|
62
|
-
nav: {},
|
|
63
|
-
appLogo: {},
|
|
64
|
-
darkMode: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: !1
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
setup(e) {
|
|
70
|
-
let t = e;
|
|
71
|
-
m("darkMode", t.darkMode);
|
|
72
|
-
let n = i(() => t.darkMode ? t.appLogo.dark : t.appLogo.light), l = i(() => t.nav.map((e) => ({
|
|
73
|
-
...e,
|
|
74
|
-
image: t.darkMode ? e.images.dark : e.images.light
|
|
75
|
-
})));
|
|
76
|
-
return (t, i) => (p(), s("div", j, [e.appLogo ? (p(), a(A, {
|
|
77
|
-
key: 0,
|
|
78
|
-
logo: n.value
|
|
79
|
-
}, null, 8, ["logo"])) : o("", !0), c("div", M, [(p(!0), s(r, null, h(l.value, (e) => (p(), a(D, {
|
|
80
|
-
key: e.value,
|
|
81
|
-
card: e
|
|
82
|
-
}, null, 8, ["card"]))), 128))])]));
|
|
83
|
-
}
|
|
84
|
-
}), [["__scopeId", "data-v-85dd1b85"]]);
|
|
85
|
-
//#endregion
|
|
86
|
-
export { N as default };
|
|
@@ -28,6 +28,9 @@ var _ = (e, t) => {
|
|
|
28
28
|
type: Boolean,
|
|
29
29
|
default: !1
|
|
30
30
|
},
|
|
31
|
+
breakpoints: { default: null },
|
|
32
|
+
pt: { default: null },
|
|
33
|
+
ptOptions: { default: null },
|
|
31
34
|
dismissable: { type: Boolean },
|
|
32
35
|
appendTo: { default: "body" },
|
|
33
36
|
baseZIndex: { default: 0 },
|
|
@@ -35,10 +38,7 @@ var _ = (e, t) => {
|
|
|
35
38
|
type: Boolean,
|
|
36
39
|
default: !0
|
|
37
40
|
},
|
|
38
|
-
breakpoints: { default: null },
|
|
39
41
|
dt: { default: null },
|
|
40
|
-
pt: { default: null },
|
|
41
|
-
ptOptions: { default: null },
|
|
42
42
|
unstyled: {
|
|
43
43
|
type: Boolean,
|
|
44
44
|
default: !1
|