@webitel/ui-sdk 26.6.94 → 26.6.96
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-Bj07uFky.js → clients-Ban2DI-G.js} +8 -7
- package/dist/{components-l3RJbNmv.js → components-Bim818Xf.js} +13 -8
- package/dist/{composables-vmCh4eqT.js → composables-CeAM_2lo.js} +12 -14
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +605 -605
- package/dist/ui-sdk.umd.cjs +38 -38
- package/dist/useValidation-lRiKF7xV.js +39 -0
- package/dist/{useVidstackSrc-epUQZhkL.js → useVidstackSrc-B4mUti_c.js} +1 -1
- package/dist/{vidstack-C6nBVWwn-BlZqtkYB.js → vidstack-C6nBVWwn-cKiWT0KJ.js} +2 -2
- package/dist/{vidstack-CI5oafcm-DAV7Lilr.js → vidstack-CI5oafcm-DfWpvayJ.js} +1 -1
- package/dist/{vidstack-DUnfBERX2-Cl6yTfB3.js → vidstack-DUnfBERX2-BJtKHFxc.js} +1 -1
- package/dist/{vidstack-audio-CH4wIf0F.js → vidstack-audio-BCPraiiR.js} +1 -1
- package/dist/{vidstack-dash-CmlmZIFT.js → vidstack-dash-MBx5aEEA.js} +2 -2
- package/dist/{vidstack-hls-D1sxUvBd.js → vidstack-hls-BbZsbfaO.js} +2 -2
- package/dist/vidstack-video-DwlbGwN7.js +2 -0
- package/dist/{wt-chat-emoji-CGf8vRlv.js → wt-chat-emoji-CX65m8Dd.js} +1 -1
- package/dist/{wt-datepicker-D2GjAUWU.js → wt-datepicker-BP9bBbGY.js} +1 -1
- package/dist/{wt-display-chip-items-C3TZt4Gn.js → wt-display-chip-items-tL17x2-U.js} +1 -1
- package/dist/{wt-expansion-card-DvLD-TP4.js → wt-expansion-card-DET-o0Jq.js} +1 -1
- package/dist/{wt-galleria-DT0SOjXk.js → wt-galleria-B6kMr_xS.js} +1 -1
- package/dist/{wt-icon-btn-BIU9YjS8.js → wt-icon-btn-DYjjSl-C.js} +5 -2
- package/dist/{wt-player-_mTlxsCu.js → wt-player-Bbirdlj9.js} +1 -1
- package/dist/{wt-search-bar-CUxiGcoz.js → wt-search-bar-D50lqCd8.js} +1 -1
- package/dist/{wt-send-message-popup-CCSOL-wH.js → wt-send-message-popup-8TZWTO40.js} +2 -2
- package/dist/{wt-table-DS_2J5zF.js → wt-table-C39WpJH8.js} +1 -1
- package/dist/{wt-timepicker-Bxdc4s3_.js → wt-timepicker-CYNrvbWf.js} +1 -1
- package/dist/{wt-tree-table-2K7cdct7.js → wt-tree-table-umRsVKWt.js} +1 -1
- package/dist/{wt-type-extension-value-input-Bl8jpyTn.js → wt-type-extension-value-input-D1wNUHkh.js} +2 -2
- package/dist/{wt-vidstack-player-BaH2oaMr.js → wt-vidstack-player-Z3cdtFBu.js} +10 -10
- package/package.json +3 -2
- package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +18 -4
- package/src/api/types/ApiModule.d.ts +28 -9
- package/src/components/_internals/composables/useGalleriaFullscreen/useGalleriaFullscreen.ts +25 -9
- package/src/components/_internals/composables/useSelect/useSelect.ts +3 -5
- package/src/components/_internals/composables/useSelect/useSelectCustomValues.ts +0 -3
- package/src/components/_internals/composables/useSelect/useSelectOptions.ts +7 -2
- package/src/components/_internals/composables/useWtTable/useWtTable.ts +1 -1
- package/src/components/wt-badge-new/types/WtBadge.d.ts +12 -0
- package/src/components/wt-badge-new/wt-badge.vue +2 -12
- package/src/components/wt-button/wt-button.vue +2 -1
- package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
- package/src/components/wt-popup/wt-popup.vue +3 -1
- package/src/components/wt-slider/wt-slider.vue +1 -1
- package/src/components/wt-table/types/WtTable.d.ts +5 -1
- package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue +0 -2
- package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue +0 -1
- package/src/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue +1 -2
- package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +1 -9
- package/src/composables/index.d.ts +9 -0
- package/src/composables/index.ts +1 -0
- package/src/composables/useEventBus/useEventBus.d.ts +11 -0
- package/src/composables/useEventBus/useEventBus.ts +16 -0
- package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +4 -0
- package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +12 -0
- package/src/enums/ButtonColor/ButtonColor.d.ts +11 -0
- package/src/enums/ButtonVariant/ButtonVariant.d.ts +6 -0
- package/src/enums/ChipColor/ChipColor.d.ts +11 -0
- package/src/enums/ComponentSize/ComponentSize.d.ts +17 -0
- package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +6 -0
- package/src/enums/CrudAction/CrudAction.d.ts +7 -0
- package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +9 -0
- package/src/enums/EmptyCause/EmptyCause.d.ts +6 -0
- package/src/enums/FormatDateMode/FormatDateMode.d.ts +8 -0
- package/src/enums/IconColor/IconColor.d.ts +17 -0
- package/src/enums/LoginOptions/LoginOptions.d.ts +6 -0
- package/src/enums/MessageColor/MessageColor.d.ts +9 -0
- package/src/enums/MessageVariant/MessageVariant.d.ts +6 -0
- package/src/enums/MimeTypes/MimeTypes.enum.d.ts +17 -0
- package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +8 -0
- package/src/enums/QueueType/QueueType.enum.d.ts +28 -0
- package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +7 -0
- package/src/enums/RingtoneType/RingtoneType.d.ts +6 -0
- package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +7 -0
- package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +3 -0
- package/src/enums/WebitelApplications/AdminSections.d.ts +46 -0
- package/src/enums/WebitelApplications/AuditorSections.d.ts +4 -0
- package/src/enums/WebitelApplications/CrmSections.d.ts +16 -0
- package/src/enums/WebitelApplications/SupervisorSections.d.ts +6 -0
- package/src/enums/WebitelApplications/WfmSections.d.ts +6 -0
- package/src/enums/WebitelApplications/WtApplication.d.ts +12 -0
- package/src/enums/WtObject/WtObject.d.ts +63 -0
- package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +13 -0
- package/src/enums/index.d.ts +38 -0
- package/src/install.ts +2 -1
- 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 +4 -4
- package/src/mixins/validationMixin/useValidation.ts +8 -3
- package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +63 -40
- package/src/modules/CSVExport/composables/useCSVExport.ts +1 -1
- package/src/modules/CallSession/modules/ScreenSharing/screen-sharing.vue +1 -2
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/domTraversal.ts +2 -2
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +1 -1
- package/src/modules/CallSession/types/index.ts +3 -3
- package/src/modules/UploadCsvPopup/composable/useUploadCsv.ts +1 -1
- package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +1 -1
- package/src/modules/UserNotifications/maps/userNotificationConfigsMap.ts +10 -7
- package/src/modules/UserNotifications/stores/userNotificationsStore.ts +1 -0
- package/src/modules/UserNotifications/types/UserNotifications.ts +2 -1
- package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -0
- package/src/scripts/__tests__/isEmpty.spec.js +1 -1
- package/src/scripts/downloadFile/types/downloadFile.types.ts +7 -1
- package/src/scripts/index.js +1 -1
- package/src/scripts/{isEmpty.js → isEmpty.ts} +10 -1
- package/src/scripts/normalizeDatetime.ts +4 -2
- package/src/utils/displayText.d.ts +2 -0
- package/src/utils/formatDate.d.ts +4 -0
- package/src/utils/index.d.ts +2 -0
- package/src/validations/config/errors/customZodErrorsHandler.ts +8 -4
- package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
- package/types/components/_internals/composables/useSelect/useSelect.d.ts +2 -2
- package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +1 -4
- package/types/components/_internals/composables/useWtTable/useWtTable.d.ts +1 -0
- package/types/components/on-demand/wt-call-media-action/wt-call-media-action.vue.d.ts +2 -2
- package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +4 -4
- package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +17 -17
- package/types/components/wt-badge-new/wt-badge.vue.d.ts +3 -2
- package/types/components/wt-button/wt-button.vue.d.ts +2 -1
- package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +3 -3
- package/types/components/wt-popup/wt-popup.vue.d.ts +2 -0
- package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +2 -2
- package/types/components/wt-status-select/wt-status-select.vue.d.ts +2 -2
- package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
- package/types/composables/index.d.ts +1 -0
- package/types/composables/useEventBus/useEventBus.d.ts +11 -0
- package/types/locale/en/en.d.ts +1 -0
- package/types/locale/es/es.d.ts +1 -0
- package/types/locale/i18n.d.ts +9 -0
- package/types/locale/index.d.ts +9 -0
- package/types/locale/kz/kz.d.ts +1 -0
- package/types/locale/pl/pl.d.ts +1 -0
- package/types/locale/ro/ro.d.ts +1 -0
- package/types/locale/ru/ru.d.ts +1 -0
- package/types/locale/uk/uk.d.ts +1 -0
- package/types/locale/uz/uz.d.ts +1 -0
- package/types/locale/vi/vi.d.ts +1 -0
- package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +2 -2
- package/types/mixins/validationMixin/useValidation.d.ts +9 -4
- package/types/mixins/validationMixin/validationMixin.d.ts +1 -1
- package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +14 -9
- package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +4 -1
- package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +2 -2
- package/types/modules/CallSession/types/index.d.ts +3 -3
- package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +1 -1
- package/types/modules/UploadCsvPopup/composable/useUploadCsv.d.ts +1 -1
- package/types/modules/UploadCsvPopup/scripts/parseCSV.d.ts +1 -1
- package/types/modules/UserNotifications/maps/userNotificationConfigsMap.d.ts +2 -2
- package/types/modules/UserNotifications/types/UserNotifications.d.ts +2 -1
- package/types/scripts/caseConverters.d.ts +1 -1
- package/types/scripts/downloadFile/types/downloadFile.types.d.ts +6 -1
- package/types/scripts/index.d.ts +1 -1
- package/types/scripts/isEmpty.d.ts +2 -1
- package/types/scripts/normalizeDatetime.d.ts +1 -1
- package/types/validations/config/errors/customZodErrorsHandler.d.ts +1 -1
- package/dist/useValidation-BedhHNX5.js +0 -37
- package/dist/vidstack-video-iy3-Vo1A.js +0 -2
- package/types/install.d.ts +0 -15
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const tableActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
2
|
-
export const sectionActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
1
|
+
export const tableActionsOrder: ("delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout")[];
|
|
2
|
+
export const sectionActionsOrder: ("delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout")[];
|
|
@@ -97,67 +97,67 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
97
97
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
98
|
type __VLS_Slots = {
|
|
99
99
|
delete?: (props: {
|
|
100
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
100
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
101
101
|
size: string;
|
|
102
102
|
onClick: () => void;
|
|
103
103
|
}) => any;
|
|
104
104
|
sort?: (props: {
|
|
105
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
105
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
106
|
+
size: string;
|
|
107
|
+
onClick: () => void;
|
|
108
|
+
}) => any;
|
|
109
|
+
copy?: (props: {
|
|
110
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
106
111
|
size: string;
|
|
107
112
|
onClick: () => void;
|
|
108
113
|
}) => any;
|
|
109
114
|
filters?: (props: {
|
|
110
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
115
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
111
116
|
size: string;
|
|
112
117
|
onClick: () => void;
|
|
113
118
|
}) => any;
|
|
114
119
|
refresh?: (props: {
|
|
115
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
120
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
116
121
|
size: string;
|
|
117
122
|
onClick: () => void;
|
|
118
123
|
}) => any;
|
|
119
124
|
add?: (props: {
|
|
120
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
125
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
121
126
|
size: string;
|
|
122
127
|
onClick: () => void;
|
|
123
128
|
}) => any;
|
|
124
129
|
upload?: (props: {
|
|
125
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
130
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
126
131
|
size: string;
|
|
127
132
|
onClick: () => void;
|
|
128
133
|
}) => any;
|
|
129
134
|
download?: (props: {
|
|
130
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
131
|
-
size: string;
|
|
132
|
-
onClick: () => void;
|
|
133
|
-
}) => any;
|
|
134
|
-
copy?: (props: {
|
|
135
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
135
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
136
136
|
size: string;
|
|
137
137
|
onClick: () => void;
|
|
138
138
|
}) => any;
|
|
139
139
|
columns?: (props: {
|
|
140
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
140
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
141
141
|
size: string;
|
|
142
142
|
onClick: () => void;
|
|
143
143
|
}) => any;
|
|
144
144
|
variables?: (props: {
|
|
145
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
145
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
146
146
|
size: string;
|
|
147
147
|
onClick: () => void;
|
|
148
148
|
}) => any;
|
|
149
149
|
"add-contact"?: (props: {
|
|
150
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
150
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
151
151
|
size: string;
|
|
152
152
|
onClick: () => void;
|
|
153
153
|
}) => any;
|
|
154
154
|
"download-pdf"?: (props: {
|
|
155
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
155
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
156
156
|
size: string;
|
|
157
157
|
onClick: () => void;
|
|
158
158
|
}) => any;
|
|
159
159
|
logout?: (props: {
|
|
160
|
-
action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "
|
|
160
|
+
action: "delete" | "sort" | "copy" | "filters" | "refresh" | "add" | "upload" | "download" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
|
|
161
161
|
size: string;
|
|
162
162
|
onClick: () => void;
|
|
163
163
|
}) => any;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ComponentSize } from '../../enums';
|
|
2
|
+
import type { BadgeSeverity } from './types/WtBadge';
|
|
2
3
|
interface Props {
|
|
3
4
|
value: string | number;
|
|
4
|
-
severity?:
|
|
5
|
+
severity?: BadgeSeverity;
|
|
5
6
|
size?: ComponentSize;
|
|
6
7
|
}
|
|
7
8
|
declare var __VLS_8: {};
|
|
@@ -11,7 +12,7 @@ type __VLS_Slots = {} & {
|
|
|
11
12
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
13
|
value: string | number;
|
|
13
14
|
size: ComponentSize;
|
|
14
|
-
severity:
|
|
15
|
+
severity: BadgeSeverity;
|
|
15
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ButtonProps } from 'primevue';
|
|
2
2
|
import { ButtonColor, ButtonVariant, ComponentSize } from '../../enums';
|
|
3
|
+
import type { BadgeSeverity } from '../wt-badge-new/types/WtBadge';
|
|
3
4
|
interface WtButtonProps extends /* @vue-ignore */ ButtonProps {
|
|
4
5
|
color?: ButtonColor;
|
|
5
6
|
disabled?: boolean;
|
|
@@ -10,7 +11,7 @@ interface WtButtonProps extends /* @vue-ignore */ ButtonProps {
|
|
|
10
11
|
icon?: string;
|
|
11
12
|
iconPrefix?: string;
|
|
12
13
|
badge?: string;
|
|
13
|
-
badgeSeverity?:
|
|
14
|
+
badgeSeverity?: BadgeSeverity;
|
|
14
15
|
badgeAbsolutePosition?: boolean;
|
|
15
16
|
variant?: ButtonVariant;
|
|
16
17
|
}
|
|
@@ -7,14 +7,14 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<WtInlineAddPanel, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
submit: (...args: any[]) => void;
|
|
11
10
|
reset: (...args: any[]) => void;
|
|
11
|
+
submit: (...args: any[]) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<WtInlineAddPanel> & Readonly<{
|
|
13
|
-
onSubmit?: (...args: any[]) => any;
|
|
14
13
|
onReset?: (...args: any[]) => any;
|
|
14
|
+
onSubmit?: (...args: any[]) => any;
|
|
15
15
|
}>, {
|
|
16
|
-
disabledAddAction: boolean;
|
|
17
16
|
direction: "row" | "column";
|
|
17
|
+
disabledAddAction: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -18,6 +18,7 @@ interface Props {
|
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
closable?: boolean;
|
|
21
|
+
closeDisabled?: boolean;
|
|
21
22
|
}
|
|
22
23
|
interface ActivatorSlotScope {
|
|
23
24
|
shown: Props['shown'];
|
|
@@ -44,6 +45,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
44
45
|
closable: boolean;
|
|
45
46
|
shown: boolean;
|
|
46
47
|
overflow: boolean;
|
|
48
|
+
closeDisabled: boolean;
|
|
47
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
50
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
51
|
declare const _default: typeof __VLS_export;
|
|
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
46
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
-
search: (args_0: string) => any;
|
|
48
47
|
input: (args_0: string) => any;
|
|
48
|
+
search: (args_0: string) => any;
|
|
49
49
|
enter: (args_0: string) => any;
|
|
50
50
|
"update:search-mode": (args_0: string | object) => any;
|
|
51
51
|
"change:search-mode": (args_0: string | object) => any;
|
|
@@ -89,8 +89,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
91
|
}>> & Readonly<{
|
|
92
|
-
onSearch?: (args_0: string) => any;
|
|
93
92
|
onInput?: (args_0: string) => any;
|
|
93
|
+
onSearch?: (args_0: string) => any;
|
|
94
94
|
onEnter?: (args_0: string) => any;
|
|
95
95
|
"onUpdate:search-mode"?: (args_0: string | object) => any;
|
|
96
96
|
"onChange:search-mode"?: (args_0: string | object) => any;
|
|
@@ -10,11 +10,11 @@ type __VLS_Props = {
|
|
|
10
10
|
options?: StatusOption[];
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
closed: (event: Event) => any;
|
|
14
13
|
change: (value: string) => any;
|
|
14
|
+
closed: (event: Event) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onClosed?: (event: Event) => any;
|
|
17
16
|
onChange?: (value: string) => any;
|
|
17
|
+
onClosed?: (event: Event) => any;
|
|
18
18
|
}>, {
|
|
19
19
|
status: string;
|
|
20
20
|
statusDuration: string | number;
|
|
@@ -4,5 +4,6 @@ export * from './useCard/useCardComponent';
|
|
|
4
4
|
export * from './useCard/useCardTabs';
|
|
5
5
|
export * from './useClose/useClose';
|
|
6
6
|
export * from './useDestroyableSortable/useDestroyableSortable';
|
|
7
|
+
export * from './useEventBus/useEventBus';
|
|
7
8
|
export * from './useRepresentableAgentPauseCause/useRepresentableAgentPauseCause';
|
|
8
9
|
export * from './useValidate/useValidate';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vue-2-style event bus contract host apps pass to the ui-sdk
|
|
3
|
+
* `install(app, { eventBus })` (provided app-wide as '$eventBus').
|
|
4
|
+
*/
|
|
5
|
+
export interface EventBus {
|
|
6
|
+
$emit: (event: string, payload?: unknown) => void;
|
|
7
|
+
$on: (event: string, handler: (payload?: unknown) => void) => void;
|
|
8
|
+
$off: (event: string, handler?: (payload?: unknown) => void) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const EVENT_BUS_INJECTION_KEY = "$eventBus";
|
|
11
|
+
export declare const useEventBus: () => EventBus | undefined;
|
package/types/locale/en/en.d.ts
CHANGED
package/types/locale/es/es.d.ts
CHANGED
package/types/locale/i18n.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
169
169
|
draftPlaceholder: string;
|
|
170
170
|
};
|
|
171
171
|
queue: {
|
|
172
|
+
progressiveCount: string;
|
|
172
173
|
queue: string;
|
|
173
174
|
queueType: string;
|
|
174
175
|
type: {
|
|
@@ -1015,6 +1016,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
1015
1016
|
draftPlaceholder: string;
|
|
1016
1017
|
};
|
|
1017
1018
|
queue: {
|
|
1019
|
+
progressiveCount: string;
|
|
1018
1020
|
queue: string;
|
|
1019
1021
|
queueType: string;
|
|
1020
1022
|
type: {
|
|
@@ -1844,6 +1846,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
1844
1846
|
draftPlaceholder: string;
|
|
1845
1847
|
};
|
|
1846
1848
|
queue: {
|
|
1849
|
+
progressiveCount: string;
|
|
1847
1850
|
queue: string;
|
|
1848
1851
|
queueType: string;
|
|
1849
1852
|
type: {
|
|
@@ -2675,6 +2678,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
2675
2678
|
draftPlaceholder: string;
|
|
2676
2679
|
};
|
|
2677
2680
|
queue: {
|
|
2681
|
+
progressiveCount: string;
|
|
2678
2682
|
queue: string;
|
|
2679
2683
|
queueType: string;
|
|
2680
2684
|
type: {
|
|
@@ -3504,6 +3508,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
3504
3508
|
draftPlaceholder: string;
|
|
3505
3509
|
};
|
|
3506
3510
|
queue: {
|
|
3511
|
+
progressiveCount: string;
|
|
3507
3512
|
queue: string;
|
|
3508
3513
|
queueType: string;
|
|
3509
3514
|
type: {
|
|
@@ -4335,6 +4340,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
4335
4340
|
draftPlaceholder: string;
|
|
4336
4341
|
};
|
|
4337
4342
|
queue: {
|
|
4343
|
+
progressiveCount: string;
|
|
4338
4344
|
queue: string;
|
|
4339
4345
|
queueType: string;
|
|
4340
4346
|
type: {
|
|
@@ -5166,6 +5172,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
5166
5172
|
draftPlaceholder: string;
|
|
5167
5173
|
};
|
|
5168
5174
|
queue: {
|
|
5175
|
+
progressiveCount: string;
|
|
5169
5176
|
queue: string;
|
|
5170
5177
|
queueType: string;
|
|
5171
5178
|
type: {
|
|
@@ -5997,6 +6004,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
5997
6004
|
draftPlaceholder: string;
|
|
5998
6005
|
};
|
|
5999
6006
|
queue: {
|
|
6007
|
+
progressiveCount: string;
|
|
6000
6008
|
queue: string;
|
|
6001
6009
|
queueType: string;
|
|
6002
6010
|
type: {
|
|
@@ -6829,6 +6837,7 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
6829
6837
|
draftPlaceholder: string;
|
|
6830
6838
|
};
|
|
6831
6839
|
queue: {
|
|
6840
|
+
progressiveCount: string;
|
|
6832
6841
|
queue: string;
|
|
6833
6842
|
queueType: string;
|
|
6834
6843
|
type: {
|
package/types/locale/index.d.ts
CHANGED
|
@@ -179,6 +179,7 @@ export declare const messages: {
|
|
|
179
179
|
draftPlaceholder: string;
|
|
180
180
|
};
|
|
181
181
|
queue: {
|
|
182
|
+
progressiveCount: string;
|
|
182
183
|
queue: string;
|
|
183
184
|
queueType: string;
|
|
184
185
|
type: {
|
|
@@ -1025,6 +1026,7 @@ export declare const messages: {
|
|
|
1025
1026
|
draftPlaceholder: string;
|
|
1026
1027
|
};
|
|
1027
1028
|
queue: {
|
|
1029
|
+
progressiveCount: string;
|
|
1028
1030
|
queue: string;
|
|
1029
1031
|
queueType: string;
|
|
1030
1032
|
type: {
|
|
@@ -1854,6 +1856,7 @@ export declare const messages: {
|
|
|
1854
1856
|
draftPlaceholder: string;
|
|
1855
1857
|
};
|
|
1856
1858
|
queue: {
|
|
1859
|
+
progressiveCount: string;
|
|
1857
1860
|
queue: string;
|
|
1858
1861
|
queueType: string;
|
|
1859
1862
|
type: {
|
|
@@ -2685,6 +2688,7 @@ export declare const messages: {
|
|
|
2685
2688
|
draftPlaceholder: string;
|
|
2686
2689
|
};
|
|
2687
2690
|
queue: {
|
|
2691
|
+
progressiveCount: string;
|
|
2688
2692
|
queue: string;
|
|
2689
2693
|
queueType: string;
|
|
2690
2694
|
type: {
|
|
@@ -3514,6 +3518,7 @@ export declare const messages: {
|
|
|
3514
3518
|
draftPlaceholder: string;
|
|
3515
3519
|
};
|
|
3516
3520
|
queue: {
|
|
3521
|
+
progressiveCount: string;
|
|
3517
3522
|
queue: string;
|
|
3518
3523
|
queueType: string;
|
|
3519
3524
|
type: {
|
|
@@ -4345,6 +4350,7 @@ export declare const messages: {
|
|
|
4345
4350
|
draftPlaceholder: string;
|
|
4346
4351
|
};
|
|
4347
4352
|
queue: {
|
|
4353
|
+
progressiveCount: string;
|
|
4348
4354
|
queue: string;
|
|
4349
4355
|
queueType: string;
|
|
4350
4356
|
type: {
|
|
@@ -5176,6 +5182,7 @@ export declare const messages: {
|
|
|
5176
5182
|
draftPlaceholder: string;
|
|
5177
5183
|
};
|
|
5178
5184
|
queue: {
|
|
5185
|
+
progressiveCount: string;
|
|
5179
5186
|
queue: string;
|
|
5180
5187
|
queueType: string;
|
|
5181
5188
|
type: {
|
|
@@ -6007,6 +6014,7 @@ export declare const messages: {
|
|
|
6007
6014
|
draftPlaceholder: string;
|
|
6008
6015
|
};
|
|
6009
6016
|
queue: {
|
|
6017
|
+
progressiveCount: string;
|
|
6010
6018
|
queue: string;
|
|
6011
6019
|
queueType: string;
|
|
6012
6020
|
type: {
|
|
@@ -6839,6 +6847,7 @@ export declare const messages: {
|
|
|
6839
6847
|
draftPlaceholder: string;
|
|
6840
6848
|
};
|
|
6841
6849
|
queue: {
|
|
6850
|
+
progressiveCount: string;
|
|
6842
6851
|
queue: string;
|
|
6843
6852
|
queueType: string;
|
|
6844
6853
|
type: {
|
package/types/locale/kz/kz.d.ts
CHANGED
package/types/locale/pl/pl.d.ts
CHANGED
package/types/locale/ro/ro.d.ts
CHANGED
package/types/locale/ru/ru.d.ts
CHANGED
package/types/locale/uk/uk.d.ts
CHANGED
package/types/locale/uz/uz.d.ts
CHANGED
package/types/locale/vi/vi.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { RegleFieldStatus } from '@regle/core';
|
|
2
2
|
import { type ComputedRef, type Ref } from 'vue';
|
|
3
3
|
export type UseFieldValidationParams = {
|
|
4
|
-
field
|
|
4
|
+
field?: Ref<RegleFieldStatus<string>>;
|
|
5
5
|
};
|
|
6
6
|
export type UseFieldValidationReturn = {
|
|
7
7
|
invalid: ComputedRef<boolean | null>;
|
|
8
|
-
validationText?: ComputedRef<string>;
|
|
8
|
+
validationText?: ComputedRef<string | undefined>;
|
|
9
9
|
};
|
|
10
10
|
export declare const useFieldValidation: ({ field: fieldRef, }: UseFieldValidationParams) => UseFieldValidationReturn;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { type UseFieldValidationParams as UseRegleFieldValidationParams } from './regle/useRegleValidation';
|
|
2
2
|
import { type UseFieldValidationParams as UseVuelidateFieldValidationParams } from './vuelidate/useVuelidateValidation';
|
|
3
|
-
type
|
|
4
|
-
|
|
3
|
+
type UseValidationParams = {
|
|
4
|
+
/** vuelidate field validation (compat) */
|
|
5
|
+
v?: UseVuelidateFieldValidationParams['field'];
|
|
6
|
+
/** vuelidate custom validations (compat) */
|
|
7
|
+
customValidators?: UseVuelidateFieldValidationParams['customValidators'];
|
|
8
|
+
/** regle field validation */
|
|
9
|
+
regleValidation?: UseRegleFieldValidationParams['field'];
|
|
5
10
|
};
|
|
6
|
-
export declare const useValidation: ({ v: vuelidateValidation, customValidators: inputCustomValidators, regleValidation, }:
|
|
11
|
+
export declare const useValidation: ({ v: vuelidateValidation, customValidators: inputCustomValidators, regleValidation, }: UseValidationParams) => {
|
|
7
12
|
isValidation: import("vue").ComputedRef<boolean>;
|
|
8
13
|
invalid: import("vue").ComputedRef<boolean>;
|
|
9
14
|
validationText: import("vue").ComputedRef<string>;
|
|
10
|
-
validationTextColor: import("vue").ComputedRef<"
|
|
15
|
+
validationTextColor: import("vue").ComputedRef<"error" | "secondary">;
|
|
11
16
|
};
|
|
12
17
|
export {};
|
|
@@ -14,7 +14,7 @@ declare namespace _default {
|
|
|
14
14
|
function isValidation(): boolean;
|
|
15
15
|
function invalid(): any;
|
|
16
16
|
function validationText(): string;
|
|
17
|
-
function validationTextColor(): "
|
|
17
|
+
function validationTextColor(): "error" | "success";
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
export default _default;
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import type { Validation } from '@vuelidate/core';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
2
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
3
|
+
type CompatCustomValidator = {
|
|
4
|
+
name: string;
|
|
5
|
+
text: string;
|
|
6
|
+
};
|
|
3
7
|
export type UseFieldValidationParams = {
|
|
4
|
-
field
|
|
5
|
-
customValidators?:
|
|
8
|
+
field?: Ref<Validation>;
|
|
9
|
+
customValidators?: CompatCustomValidator[];
|
|
6
10
|
};
|
|
7
11
|
export declare const useFieldValidation: ({ field: inputV, customValidators: inputCustomValidators, }: UseFieldValidationParams) => {
|
|
8
|
-
isValidation:
|
|
9
|
-
invalid:
|
|
10
|
-
validationText:
|
|
12
|
+
isValidation: ComputedRef<boolean>;
|
|
13
|
+
invalid: ComputedRef<boolean>;
|
|
14
|
+
validationText: ComputedRef<string>;
|
|
11
15
|
};
|
|
12
16
|
export declare const useVuelidateFieldValidation: ({ field: inputV, customValidators: inputCustomValidators, }: UseFieldValidationParams) => {
|
|
13
|
-
isValidation:
|
|
14
|
-
invalid:
|
|
15
|
-
validationText:
|
|
17
|
+
isValidation: ComputedRef<boolean>;
|
|
18
|
+
invalid: ComputedRef<boolean>;
|
|
19
|
+
validationText: ComputedRef<string>;
|
|
16
20
|
};
|
|
21
|
+
export {};
|
|
@@ -11,7 +11,10 @@ type __VLS_Props = {
|
|
|
11
11
|
declare var __VLS_1: {
|
|
12
12
|
selected: any;
|
|
13
13
|
loadDataList: any;
|
|
14
|
-
askDeleteConfirmation:
|
|
14
|
+
askDeleteConfirmation: ({ deleted, callback }: {
|
|
15
|
+
deleted: any;
|
|
16
|
+
callback: any;
|
|
17
|
+
}) => void;
|
|
15
18
|
handleDelete: (items: []) => Promise<void>;
|
|
16
19
|
};
|
|
17
20
|
type __VLS_Slots = {} & {
|
package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts
CHANGED
|
@@ -6,16 +6,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
6
6
|
default: () => any[];
|
|
7
7
|
};
|
|
8
8
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
close: (...args: any[]) => void;
|
|
10
9
|
change: (...args: any[]) => void;
|
|
10
|
+
close: (...args: any[]) => void;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
options: {
|
|
13
13
|
type: ArrayConstructor;
|
|
14
14
|
default: () => any[];
|
|
15
15
|
};
|
|
16
16
|
}>> & Readonly<{
|
|
17
|
-
onClose?: (...args: any[]) => any;
|
|
18
17
|
onChange?: (...args: any[]) => any;
|
|
18
|
+
onClose?: (...args: any[]) => any;
|
|
19
19
|
}>, {
|
|
20
20
|
options: unknown[];
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ScreenSharingSession } from './ScreenSharingSession';
|
|
2
|
-
import { ScreenshotStatus } from './ScreenshotStatus';
|
|
3
|
-
export { ScreenSharingSession, ScreenshotStatus };
|
|
1
|
+
import type { ScreenSharingSession } from './ScreenSharingSession';
|
|
2
|
+
import type { ScreenshotStatus } from './ScreenshotStatus';
|
|
3
|
+
export type { ScreenSharingSession, ScreenshotStatus };
|
|
@@ -5,7 +5,7 @@ export function useTableEmpty({ dataList, filters, error, isLoading }: {
|
|
|
5
5
|
isLoading: any;
|
|
6
6
|
}, overrides?: {}): {
|
|
7
7
|
showEmpty: import("vue").ComputedRef<boolean>;
|
|
8
|
-
emptyCause: import("vue").ComputedRef<"
|
|
8
|
+
emptyCause: import("vue").ComputedRef<"error" | "filters" | "empty">;
|
|
9
9
|
image: import("vue").ComputedRef<any>;
|
|
10
10
|
headline: import("vue").ComputedRef<any>;
|
|
11
11
|
title: import("vue").ComputedRef<any>;
|
|
@@ -15,7 +15,7 @@ declare const useUploadCsv: ({ props, emit, skipHeaders, separator }: {
|
|
|
15
15
|
isParsingCSV: import("vue").Ref<boolean, boolean>;
|
|
16
16
|
isParsingPreview: import("vue").Ref<boolean, boolean>;
|
|
17
17
|
parseErrorStackTrace: import("vue").Ref<string, string>;
|
|
18
|
-
csvPreviewTableData: import("vue").ComputedRef<
|
|
18
|
+
csvPreviewTableData: import("vue").ComputedRef<unknown[]>;
|
|
19
19
|
csvPreviewTableHeaders: import("vue").ComputedRef<{
|
|
20
20
|
text: string;
|
|
21
21
|
value: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const parseCSV: (csvStr: any, options?: {}) => Promise<unknown>;
|
|
1
|
+
declare const parseCSV: (csvStr: any, options?: {}) => Promise<unknown[]>;
|
|
2
2
|
export default parseCSV;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ApiUserWarningId } from '@webitel/api-services/gen/models';
|
|
1
|
+
import { type ApiUserWarning, ApiUserWarningId } from '@webitel/api-services/gen/models';
|
|
2
2
|
import type { NotificationsType } from '../types/UserNotifications';
|
|
3
|
-
export declare const USER_NOTIFICATION_CONFIGS_MAP: Map<ApiUserWarningId, (
|
|
3
|
+
export declare const USER_NOTIFICATION_CONFIGS_MAP: Map<ApiUserWarningId, (warning: ApiUserWarning) => NotificationsType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { camelToKebab, camelToSnake, kebabToCamel, kebabToSnake, objCamelToKebab, objCamelToSnake, objSnakeToCamel, snakeToCamel, snakeToKebab } from "@webitel/api-services/utils";
|