@webitel/ui-sdk 26.6.95 → 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 (145) 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/mixins/validationMixin/regle/useRegleValidation.ts +4 -4
  86. package/src/mixins/validationMixin/useValidation.ts +8 -3
  87. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +63 -40
  88. package/src/modules/CSVExport/composables/useCSVExport.ts +1 -1
  89. package/src/modules/CallSession/modules/ScreenSharing/screen-sharing.vue +1 -2
  90. package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/domTraversal.ts +2 -2
  91. package/src/modules/CallSession/modules/VideoCall/video-call.vue +1 -1
  92. package/src/modules/CallSession/types/index.ts +3 -3
  93. package/src/modules/UploadCsvPopup/composable/useUploadCsv.ts +1 -1
  94. package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +1 -1
  95. package/src/modules/UserNotifications/maps/userNotificationConfigsMap.ts +10 -7
  96. package/src/modules/UserNotifications/stores/userNotificationsStore.ts +1 -0
  97. package/src/modules/UserNotifications/types/UserNotifications.ts +2 -1
  98. package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -0
  99. package/src/scripts/__tests__/isEmpty.spec.js +1 -1
  100. package/src/scripts/downloadFile/types/downloadFile.types.ts +7 -1
  101. package/src/scripts/index.js +1 -1
  102. package/src/scripts/{isEmpty.js → isEmpty.ts} +10 -1
  103. package/src/scripts/normalizeDatetime.ts +4 -2
  104. package/src/utils/displayText.d.ts +2 -0
  105. package/src/utils/formatDate.d.ts +4 -0
  106. package/src/utils/index.d.ts +2 -0
  107. package/src/validations/config/errors/customZodErrorsHandler.ts +8 -4
  108. package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
  109. package/types/components/_internals/composables/useSelect/useSelect.d.ts +2 -2
  110. package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +1 -4
  111. package/types/components/_internals/composables/useWtTable/useWtTable.d.ts +1 -0
  112. package/types/components/on-demand/wt-call-media-action/wt-call-media-action.vue.d.ts +2 -2
  113. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +4 -4
  114. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  115. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +17 -17
  116. package/types/components/wt-badge-new/wt-badge.vue.d.ts +3 -2
  117. package/types/components/wt-button/wt-button.vue.d.ts +2 -1
  118. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +3 -3
  119. package/types/components/wt-popup/wt-popup.vue.d.ts +2 -0
  120. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +2 -2
  121. package/types/components/wt-status-select/wt-status-select.vue.d.ts +2 -2
  122. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
  123. package/types/composables/index.d.ts +1 -0
  124. package/types/composables/useEventBus/useEventBus.d.ts +11 -0
  125. package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +2 -2
  126. package/types/mixins/validationMixin/useValidation.d.ts +9 -4
  127. package/types/mixins/validationMixin/validationMixin.d.ts +1 -1
  128. package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +14 -9
  129. package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +4 -1
  130. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +2 -2
  131. package/types/modules/CallSession/types/index.d.ts +3 -3
  132. package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +1 -1
  133. package/types/modules/UploadCsvPopup/composable/useUploadCsv.d.ts +1 -1
  134. package/types/modules/UploadCsvPopup/scripts/parseCSV.d.ts +1 -1
  135. package/types/modules/UserNotifications/maps/userNotificationConfigsMap.d.ts +2 -2
  136. package/types/modules/UserNotifications/types/UserNotifications.d.ts +2 -1
  137. package/types/scripts/caseConverters.d.ts +1 -1
  138. package/types/scripts/downloadFile/types/downloadFile.types.d.ts +6 -1
  139. package/types/scripts/index.d.ts +1 -1
  140. package/types/scripts/isEmpty.d.ts +2 -1
  141. package/types/scripts/normalizeDatetime.d.ts +1 -1
  142. package/types/validations/config/errors/customZodErrorsHandler.d.ts +1 -1
  143. package/dist/useValidation-BedhHNX5.js +0 -37
  144. package/dist/vidstack-video-iy3-Vo1A.js +0 -2
  145. package/types/install.d.ts +0 -15
@@ -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;
@@ -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";
@@ -1,6 +1,11 @@
1
1
  import type { FileFormat } from './fileFormat.types';
2
+ /** Minimal shape of the (axios-style) HTTP response consumed by `downloadFile`. */
3
+ export interface DownloadFileResponse {
4
+ data: BlobPart;
5
+ headers?: Record<string, string | undefined>;
6
+ }
2
7
  export interface DownloadFileOptions {
3
- response: never;
8
+ response: DownloadFileResponse;
4
9
  fileFormat: FileFormat;
5
10
  filename?: string;
6
11
  mimetype?: string;
@@ -9,7 +9,7 @@ import { getConnectionQuality } from './getConnectionQuality.ts';
9
9
  import { getEndOfDay } from './getDefaultFilterDate.js';
10
10
  import { getNextSortOrder } from './sortQueryAdapters.js';
11
11
  import { getStartOfDay } from './getDefaultFilterDate.js';
12
- import isEmpty from './isEmpty.js';
12
+ import isEmpty from './isEmpty';
13
13
  import { isRelativeDatetimeValue } from './normalizeDatetime';
14
14
  import { kebabToCamel } from './caseConverters.js';
15
15
  import { kebabToSnake } from './caseConverters.js';
@@ -1,2 +1,3 @@
1
+ type EmptyValue = undefined | null | '' | 0 | false | never[] | Record<PropertyKey, never>;
2
+ declare const isEmpty: <T>(value: T) => value is Extract<T, EmptyValue>;
1
3
  export default isEmpty;
2
- declare function isEmpty(value: any): boolean;
@@ -4,5 +4,5 @@ export type NormalizeDatetimeValueParam = RelativeDatetimeValue | number | strin
4
4
  export type NormalizeDatetimeOptions = {
5
5
  round?: RelativeDatetimeRoundOption;
6
6
  };
7
- export declare const isRelativeDatetimeValue: (value: string) => boolean;
7
+ export declare const isRelativeDatetimeValue: (value: string) => value is RelativeDatetimeValue;
8
8
  export declare const normalizeToTimestamp: (value?: NormalizeDatetimeValueParam, options?: NormalizeDatetimeOptions) => number;
@@ -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.$ZodIssue) => string;
3
+ export declare const customZodErrorsHandler: (t: I18nComposerTranslation) => (issue: z.core.$ZodRawIssue) => string;
@@ -1,37 +0,0 @@
1
- import { i as e } from "./enums-De8CDKZ1.js";
2
- import { t } from "./vue-i18n-Db_oYfO8.js";
3
- import { computed as n, isReactive as r } from "vue";
4
- //#region src/mixins/validationMixin/regle/useRegleValidation.ts
5
- var i = ({ field: e }) => ({
6
- invalid: n(() => e.value.$error),
7
- validationText: n(() => e.value?.$errors?.at(0))
8
- }), a = ({ field: e, customValidators: i }) => {
9
- let { t: a } = t(), o = e, s = i;
10
- r(o) && (o = n(() => e), s = n(() => i));
11
- let c = n(() => !!o && !!o.value && !!Object.keys(o.value).length), l = n(() => c.value && o.value.$error);
12
- return {
13
- isValidation: c,
14
- invalid: l,
15
- validationText: n(() => {
16
- let e = "";
17
- if (c.value && l.value && (o.value.required?.$invalid ? e = a("validation.required") : o.value.numeric?.$invalid ? e = a("validation.numeric") : o.value.email?.$invalid ? e = a("validation.email") : o.value.gatewayHostValidator?.$invalid ? e = a("validation.gatewayHostValidator") : o.value.ipValidator?.$invalid ? e = a("validation.ipValidator") : o.value.macValidator?.$invalid ? e = a("validation.macValidator") : o.value.minValue?.$invalid ? e = a("validation.minValue", { min: o.value.minValue.$params.min }) : o.value.maxValue?.$invalid ? e = a("validation.maxValue", { max: o.value.maxValue.$params.max }) : o.value.maxLength?.$invalid ? e = a("validation.maxLength", { max: o.value.maxLength.$params.max }) : o.value.sipAccountValidator?.$invalid ? e = a("validation.sipAccountValidator") : o.value.minLength?.$invalid ? e = a("validation.minLength", { min: o.value.minLength.$params.min }) : o.value.url?.$invalid ? e = `${a("validation.url")}` : o.value.regExpValidator?.$invalid ? e = `${a("validation.regExpValidator")}` : o.value.sameAs?.$invalid ? e = `${a("validation.sameAs")}` : o.value.domainValidator?.$invalid ? e = `${a("validation.domainValidator")}` : o.value.decimalValidator?.$invalid ? e = `${a("validation.decimalValidator")} ${o.value.decimalValidator.$params.count}` : o.value.websocketValidator?.$invalid ? e = `${a("validation.websocketValidator")}` : o.value.integer?.$invalid ? e = `${a("validation.integer")}` : o.value.regex?.$invalid ? e = o.value.regex?.$message || `${a("validation.isRegExpMatched")} ${o.value.regex?.$params?.regex}` : o.value.nameAlreadyInUse?.$invalid ? e = a("validation.nameAlreadyInUse") : o.value.phoneNumberSymbolsValidator?.$invalid && (e = a("validation.phoneNumberSymbolsValidator"))), s?.value) {
18
- for (let { name: t, text: n } of s.value) o.value[t]?.$invalid && (e = n);
19
- return e;
20
- }
21
- return e;
22
- })
23
- };
24
- }, o = ({ v: t, customValidators: r, regleValidation: o }) => {
25
- let { isValidation: s, invalid: c, validationText: l } = a({
26
- field: t,
27
- customValidators: r
28
- }), { invalid: u, validationText: d } = i({ field: o }), f = n(() => !!o?.value), p = n(() => f.value || s.value), m = n(() => f.value ? u.value : c.value);
29
- return {
30
- isValidation: p,
31
- invalid: m,
32
- validationText: n(() => f.value ? d.value : l.value),
33
- validationTextColor: n(() => m.value ? e.ERROR : e.SECONDARY)
34
- };
35
- };
36
- //#endregion
37
- export { o as t };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./vidstack-C6nBVWwn-BlZqtkYB.js";
2
- export { e as VideoProvider };
@@ -1,15 +0,0 @@
1
- import 'vidstack/bundle';
2
- import 'vue-multiselect/dist/vue-multiselect.css';
3
- import '@webitel/styleguide/fonts';
4
- import './css/main.css';
5
- import './css/tailwind.css';
6
- import { fillIconsRepository } from './assets/icons';
7
- export { fillIconsRepository };
8
- declare const _default: {
9
- install(app: any, { eventBus, globals }: {
10
- eventBus: any;
11
- globals?: {};
12
- }): void;
13
- generateInstance: ({ interceptors, baseURL, ...rest }?: {}) => import("axios").AxiosInstance;
14
- };
15
- export default _default;