@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.
Files changed (165) hide show
  1. package/dist/{clients-Bj07uFky.js → clients-Ban2DI-G.js} +8 -7
  2. package/dist/{components-l3RJbNmv.js → components-Bim818Xf.js} +13 -8
  3. package/dist/{composables-vmCh4eqT.js → composables-CeAM_2lo.js} +12 -14
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +605 -605
  6. package/dist/ui-sdk.umd.cjs +38 -38
  7. package/dist/useValidation-lRiKF7xV.js +39 -0
  8. package/dist/{useVidstackSrc-epUQZhkL.js → useVidstackSrc-B4mUti_c.js} +1 -1
  9. package/dist/{vidstack-C6nBVWwn-BlZqtkYB.js → vidstack-C6nBVWwn-cKiWT0KJ.js} +2 -2
  10. package/dist/{vidstack-CI5oafcm-DAV7Lilr.js → vidstack-CI5oafcm-DfWpvayJ.js} +1 -1
  11. package/dist/{vidstack-DUnfBERX2-Cl6yTfB3.js → vidstack-DUnfBERX2-BJtKHFxc.js} +1 -1
  12. package/dist/{vidstack-audio-CH4wIf0F.js → vidstack-audio-BCPraiiR.js} +1 -1
  13. package/dist/{vidstack-dash-CmlmZIFT.js → vidstack-dash-MBx5aEEA.js} +2 -2
  14. package/dist/{vidstack-hls-D1sxUvBd.js → vidstack-hls-BbZsbfaO.js} +2 -2
  15. package/dist/vidstack-video-DwlbGwN7.js +2 -0
  16. package/dist/{wt-chat-emoji-CGf8vRlv.js → wt-chat-emoji-CX65m8Dd.js} +1 -1
  17. package/dist/{wt-datepicker-D2GjAUWU.js → wt-datepicker-BP9bBbGY.js} +1 -1
  18. package/dist/{wt-display-chip-items-C3TZt4Gn.js → wt-display-chip-items-tL17x2-U.js} +1 -1
  19. package/dist/{wt-expansion-card-DvLD-TP4.js → wt-expansion-card-DET-o0Jq.js} +1 -1
  20. package/dist/{wt-galleria-DT0SOjXk.js → wt-galleria-B6kMr_xS.js} +1 -1
  21. package/dist/{wt-icon-btn-BIU9YjS8.js → wt-icon-btn-DYjjSl-C.js} +5 -2
  22. package/dist/{wt-player-_mTlxsCu.js → wt-player-Bbirdlj9.js} +1 -1
  23. package/dist/{wt-search-bar-CUxiGcoz.js → wt-search-bar-D50lqCd8.js} +1 -1
  24. package/dist/{wt-send-message-popup-CCSOL-wH.js → wt-send-message-popup-8TZWTO40.js} +2 -2
  25. package/dist/{wt-table-DS_2J5zF.js → wt-table-C39WpJH8.js} +1 -1
  26. package/dist/{wt-timepicker-Bxdc4s3_.js → wt-timepicker-CYNrvbWf.js} +1 -1
  27. package/dist/{wt-tree-table-2K7cdct7.js → wt-tree-table-umRsVKWt.js} +1 -1
  28. package/dist/{wt-type-extension-value-input-Bl8jpyTn.js → wt-type-extension-value-input-D1wNUHkh.js} +2 -2
  29. package/dist/{wt-vidstack-player-BaH2oaMr.js → wt-vidstack-player-Z3cdtFBu.js} +10 -10
  30. package/package.json +3 -2
  31. package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +18 -4
  32. package/src/api/types/ApiModule.d.ts +28 -9
  33. package/src/components/_internals/composables/useGalleriaFullscreen/useGalleriaFullscreen.ts +25 -9
  34. package/src/components/_internals/composables/useSelect/useSelect.ts +3 -5
  35. package/src/components/_internals/composables/useSelect/useSelectCustomValues.ts +0 -3
  36. package/src/components/_internals/composables/useSelect/useSelectOptions.ts +7 -2
  37. package/src/components/_internals/composables/useWtTable/useWtTable.ts +1 -1
  38. package/src/components/wt-badge-new/types/WtBadge.d.ts +12 -0
  39. package/src/components/wt-badge-new/wt-badge.vue +2 -12
  40. package/src/components/wt-button/wt-button.vue +2 -1
  41. package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
  42. package/src/components/wt-popup/wt-popup.vue +3 -1
  43. package/src/components/wt-slider/wt-slider.vue +1 -1
  44. package/src/components/wt-table/types/WtTable.d.ts +5 -1
  45. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue +0 -2
  46. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue +0 -1
  47. package/src/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue +1 -2
  48. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +1 -9
  49. package/src/composables/index.d.ts +9 -0
  50. package/src/composables/index.ts +1 -0
  51. package/src/composables/useEventBus/useEventBus.d.ts +11 -0
  52. package/src/composables/useEventBus/useEventBus.ts +16 -0
  53. package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +4 -0
  54. package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +12 -0
  55. package/src/enums/ButtonColor/ButtonColor.d.ts +11 -0
  56. package/src/enums/ButtonVariant/ButtonVariant.d.ts +6 -0
  57. package/src/enums/ChipColor/ChipColor.d.ts +11 -0
  58. package/src/enums/ComponentSize/ComponentSize.d.ts +17 -0
  59. package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +6 -0
  60. package/src/enums/CrudAction/CrudAction.d.ts +7 -0
  61. package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +9 -0
  62. package/src/enums/EmptyCause/EmptyCause.d.ts +6 -0
  63. package/src/enums/FormatDateMode/FormatDateMode.d.ts +8 -0
  64. package/src/enums/IconColor/IconColor.d.ts +17 -0
  65. package/src/enums/LoginOptions/LoginOptions.d.ts +6 -0
  66. package/src/enums/MessageColor/MessageColor.d.ts +9 -0
  67. package/src/enums/MessageVariant/MessageVariant.d.ts +6 -0
  68. package/src/enums/MimeTypes/MimeTypes.enum.d.ts +17 -0
  69. package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +8 -0
  70. package/src/enums/QueueType/QueueType.enum.d.ts +28 -0
  71. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +7 -0
  72. package/src/enums/RingtoneType/RingtoneType.d.ts +6 -0
  73. package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +7 -0
  74. package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +3 -0
  75. package/src/enums/WebitelApplications/AdminSections.d.ts +46 -0
  76. package/src/enums/WebitelApplications/AuditorSections.d.ts +4 -0
  77. package/src/enums/WebitelApplications/CrmSections.d.ts +16 -0
  78. package/src/enums/WebitelApplications/SupervisorSections.d.ts +6 -0
  79. package/src/enums/WebitelApplications/WfmSections.d.ts +6 -0
  80. package/src/enums/WebitelApplications/WtApplication.d.ts +12 -0
  81. package/src/enums/WtObject/WtObject.d.ts +63 -0
  82. package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +13 -0
  83. package/src/enums/index.d.ts +38 -0
  84. package/src/install.ts +2 -1
  85. package/src/locale/en/en.js +1 -0
  86. package/src/locale/es/es.js +1 -0
  87. package/src/locale/kz/kz.js +1 -0
  88. package/src/locale/pl/pl.js +1 -0
  89. package/src/locale/ro/ro.js +1 -0
  90. package/src/locale/ru/ru.js +1 -0
  91. package/src/locale/uk/uk.js +1 -0
  92. package/src/locale/uz/uz.js +1 -0
  93. package/src/locale/vi/vi.js +1 -0
  94. package/src/mixins/validationMixin/regle/useRegleValidation.ts +4 -4
  95. package/src/mixins/validationMixin/useValidation.ts +8 -3
  96. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +63 -40
  97. package/src/modules/CSVExport/composables/useCSVExport.ts +1 -1
  98. package/src/modules/CallSession/modules/ScreenSharing/screen-sharing.vue +1 -2
  99. package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/domTraversal.ts +2 -2
  100. package/src/modules/CallSession/modules/VideoCall/video-call.vue +1 -1
  101. package/src/modules/CallSession/types/index.ts +3 -3
  102. package/src/modules/UploadCsvPopup/composable/useUploadCsv.ts +1 -1
  103. package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +1 -1
  104. package/src/modules/UserNotifications/maps/userNotificationConfigsMap.ts +10 -7
  105. package/src/modules/UserNotifications/stores/userNotificationsStore.ts +1 -0
  106. package/src/modules/UserNotifications/types/UserNotifications.ts +2 -1
  107. package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -0
  108. package/src/scripts/__tests__/isEmpty.spec.js +1 -1
  109. package/src/scripts/downloadFile/types/downloadFile.types.ts +7 -1
  110. package/src/scripts/index.js +1 -1
  111. package/src/scripts/{isEmpty.js → isEmpty.ts} +10 -1
  112. package/src/scripts/normalizeDatetime.ts +4 -2
  113. package/src/utils/displayText.d.ts +2 -0
  114. package/src/utils/formatDate.d.ts +4 -0
  115. package/src/utils/index.d.ts +2 -0
  116. package/src/validations/config/errors/customZodErrorsHandler.ts +8 -4
  117. package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
  118. package/types/components/_internals/composables/useSelect/useSelect.d.ts +2 -2
  119. package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +1 -4
  120. package/types/components/_internals/composables/useWtTable/useWtTable.d.ts +1 -0
  121. package/types/components/on-demand/wt-call-media-action/wt-call-media-action.vue.d.ts +2 -2
  122. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +4 -4
  123. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  124. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +17 -17
  125. package/types/components/wt-badge-new/wt-badge.vue.d.ts +3 -2
  126. package/types/components/wt-button/wt-button.vue.d.ts +2 -1
  127. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +3 -3
  128. package/types/components/wt-popup/wt-popup.vue.d.ts +2 -0
  129. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +2 -2
  130. package/types/components/wt-status-select/wt-status-select.vue.d.ts +2 -2
  131. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
  132. package/types/composables/index.d.ts +1 -0
  133. package/types/composables/useEventBus/useEventBus.d.ts +11 -0
  134. package/types/locale/en/en.d.ts +1 -0
  135. package/types/locale/es/es.d.ts +1 -0
  136. package/types/locale/i18n.d.ts +9 -0
  137. package/types/locale/index.d.ts +9 -0
  138. package/types/locale/kz/kz.d.ts +1 -0
  139. package/types/locale/pl/pl.d.ts +1 -0
  140. package/types/locale/ro/ro.d.ts +1 -0
  141. package/types/locale/ru/ru.d.ts +1 -0
  142. package/types/locale/uk/uk.d.ts +1 -0
  143. package/types/locale/uz/uz.d.ts +1 -0
  144. package/types/locale/vi/vi.d.ts +1 -0
  145. package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +2 -2
  146. package/types/mixins/validationMixin/useValidation.d.ts +9 -4
  147. package/types/mixins/validationMixin/validationMixin.d.ts +1 -1
  148. package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +14 -9
  149. package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +4 -1
  150. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +2 -2
  151. package/types/modules/CallSession/types/index.d.ts +3 -3
  152. package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +1 -1
  153. package/types/modules/UploadCsvPopup/composable/useUploadCsv.d.ts +1 -1
  154. package/types/modules/UploadCsvPopup/scripts/parseCSV.d.ts +1 -1
  155. package/types/modules/UserNotifications/maps/userNotificationConfigsMap.d.ts +2 -2
  156. package/types/modules/UserNotifications/types/UserNotifications.d.ts +2 -1
  157. package/types/scripts/caseConverters.d.ts +1 -1
  158. package/types/scripts/downloadFile/types/downloadFile.types.d.ts +6 -1
  159. package/types/scripts/index.d.ts +1 -1
  160. package/types/scripts/isEmpty.d.ts +2 -1
  161. package/types/scripts/normalizeDatetime.d.ts +1 -1
  162. package/types/validations/config/errors/customZodErrorsHandler.d.ts +1 -1
  163. package/dist/useValidation-BedhHNX5.js +0 -37
  164. package/dist/vidstack-video-iy3-Vo1A.js +0 -2
  165. package/types/install.d.ts +0 -15
@@ -1,2 +1,2 @@
1
- export const tableActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout")[];
2
- export const sectionActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout")[];
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
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?: 'secondary' | 'info' | 'success' | 'warn' | 'error' | 'online' | 'dnd' | 'busy' | 'pause' | 'onlineCc' | 'offline';
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: "secondary" | "info" | "success" | "warn" | "error" | "online" | "dnd" | "busy" | "pause" | "onlineCc" | "offline";
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?: string;
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;
@@ -32,7 +32,7 @@ type __VLS_Props = {
32
32
  };
33
33
  declare var __VLS_18: {}, __VLS_29: {
34
34
  item: any;
35
- }, __VLS_33: any, __VLS_34: {
35
+ }, __VLS_33: string, __VLS_34: {
36
36
  index: number;
37
37
  item: any;
38
38
  };
@@ -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;
@@ -168,6 +168,7 @@ declare const _default: {
168
168
  draftPlaceholder: string;
169
169
  };
170
170
  queue: {
171
+ progressiveCount: string;
171
172
  queue: string;
172
173
  queueType: string;
173
174
  type: {
@@ -178,6 +178,7 @@ declare namespace _default {
178
178
  export let draftPlaceholder: string;
179
179
  }
180
180
  export namespace queue {
181
+ export let progressiveCount: string;
181
182
  let queue_1: string;
182
183
  export { queue_1 as queue };
183
184
  export let queueType: string;
@@ -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: {
@@ -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: {
@@ -178,6 +178,7 @@ declare namespace _default {
178
178
  export let draftPlaceholder: string;
179
179
  }
180
180
  export namespace queue {
181
+ export let progressiveCount: string;
181
182
  let queue_1: string;
182
183
  export { queue_1 as queue };
183
184
  export let queueType: string;
@@ -178,6 +178,7 @@ declare namespace _default {
178
178
  export let draftPlaceholder: string;
179
179
  }
180
180
  export namespace queue {
181
+ export let progressiveCount: string;
181
182
  let queue_1: string;
182
183
  export { queue_1 as queue };
183
184
  export let queueType: string;
@@ -178,6 +178,7 @@ declare namespace _default {
178
178
  export let draftPlaceholder: string;
179
179
  }
180
180
  export namespace queue {
181
+ export let progressiveCount: string;
181
182
  let queue_1: string;
182
183
  export { queue_1 as queue };
183
184
  export let queueType: string;
@@ -176,6 +176,7 @@ declare namespace _default {
176
176
  export let draftPlaceholder: string;
177
177
  }
178
178
  export namespace queue {
179
+ export let progressiveCount: string;
179
180
  let queue_1: string;
180
181
  export { queue_1 as queue };
181
182
  export let queueType: string;
@@ -176,6 +176,7 @@ declare namespace _default {
176
176
  export let draftPlaceholder: string;
177
177
  }
178
178
  export namespace queue {
179
+ export let progressiveCount: string;
179
180
  let queue_1: string;
180
181
  export { queue_1 as queue };
181
182
  export let queueType: string;
@@ -178,6 +178,7 @@ declare namespace _default {
178
178
  export let draftPlaceholder: string;
179
179
  }
180
180
  export namespace queue {
181
+ export let progressiveCount: string;
181
182
  let queue_1: string;
182
183
  export { queue_1 as queue };
183
184
  export let queueType: string;
@@ -178,6 +178,7 @@ declare namespace _default {
178
178
  export let draftPlaceholder: string;
179
179
  }
180
180
  export namespace queue {
181
+ export let progressiveCount: string;
181
182
  let queue_1: string;
182
183
  export { queue_1 as queue };
183
184
  export let queueType: string;
@@ -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: Ref<RegleFieldStatus<string>>;
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 CompatVuelidateParams = {
4
- v: UseVuelidateFieldValidationParams['field'];
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, }: UseRegleFieldValidationParams | CompatVuelidateParams) => {
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<"secondary" | "error">;
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(): "success" | "error";
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: Ref<Validation>;
5
- customValidators?: Array<object>;
8
+ field?: Ref<Validation>;
9
+ customValidators?: CompatCustomValidator[];
6
10
  };
7
11
  export declare const useFieldValidation: ({ field: inputV, customValidators: inputCustomValidators, }: UseFieldValidationParams) => {
8
- isValidation: import("vue").ComputedRef<boolean>;
9
- invalid: import("vue").ComputedRef<boolean>;
10
- validationText: import("vue").ComputedRef<string>;
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: import("vue").ComputedRef<boolean>;
14
- invalid: import("vue").ComputedRef<boolean>;
15
- validationText: import("vue").ComputedRef<string>;
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: any;
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 = {} & {
@@ -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<"filters" | "error" | "empty">;
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<any[][]>;
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, (warningId: ApiUserWarningId) => NotificationsType>;
3
+ export declare const USER_NOTIFICATION_CONFIGS_MAP: Map<ApiUserWarningId, (warning: ApiUserWarning) => NotificationsType>;
@@ -1,5 +1,6 @@
1
1
  interface UserNotificationsConfigsParams {
2
- amount?: number;
2
+ /** generated API types serialize int64 counters as strings */
3
+ amount?: number | string;
3
4
  name?: string;
4
5
  }
5
6
  interface NotificationsType {
@@ -1 +1 @@
1
- export {};
1
+ export { camelToKebab, camelToSnake, kebabToCamel, kebabToSnake, objCamelToKebab, objCamelToSnake, objSnakeToCamel, snakeToCamel, snakeToKebab } from "@webitel/api-services/utils";