@webitel/ui-sdk 26.6.96 → 26.6.97

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 (55) hide show
  1. package/dist/{components-Bim818Xf.js → components-CSWXogKF.js} +3 -3
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +1 -1
  4. package/dist/ui-sdk.umd.cjs +382 -382
  5. package/dist/{wt-chat-emoji-CX65m8Dd.js → wt-chat-emoji-Zfe96hoz.js} +1 -1
  6. package/dist/{wt-datepicker-BP9bBbGY.js → wt-datepicker-BtjegGDk.js} +174 -91
  7. package/dist/{wt-display-chip-items-tL17x2-U.js → wt-display-chip-items-YauywYzZ.js} +1 -1
  8. package/dist/{wt-send-message-popup-8TZWTO40.js → wt-send-message-popup-DV1i1Q52.js} +1 -1
  9. package/dist/{wt-type-extension-value-input-D1wNUHkh.js → wt-type-extension-value-input-CpYbzjDU.js} +1 -1
  10. package/dist/{wt-vidstack-player-Z3cdtFBu.js → wt-vidstack-player-CC6dwrnv.js} +1 -1
  11. package/package.json +1 -1
  12. package/src/components/wt-datepicker/_internals/composables/useAutoSeparator.ts +96 -0
  13. package/src/components/wt-datepicker/_internals/composables/useDatepicker.ts +78 -0
  14. package/src/components/wt-datepicker/_internals/composables/usePreventZeroPad.ts +10 -24
  15. package/src/components/wt-datepicker/_internals/composables/useStrictInput.ts +61 -0
  16. package/src/components/wt-datepicker/wt-datepicker.vue +4 -8
  17. package/src/composables/useEventBus/useEventBus.d.ts +4 -4
  18. package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +3 -2
  19. package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +7 -7
  20. package/src/enums/ButtonColor/ButtonColor.d.ts +8 -8
  21. package/src/enums/ButtonVariant/ButtonVariant.d.ts +3 -3
  22. package/src/enums/ChipColor/ChipColor.d.ts +8 -8
  23. package/src/enums/ComponentSize/ComponentSize.d.ts +14 -14
  24. package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +5 -4
  25. package/src/enums/CrudAction/CrudAction.d.ts +4 -4
  26. package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +8 -7
  27. package/src/enums/EmptyCause/EmptyCause.d.ts +3 -3
  28. package/src/enums/FormatDateMode/FormatDateMode.d.ts +7 -6
  29. package/src/enums/IconColor/IconColor.d.ts +14 -14
  30. package/src/enums/LoginOptions/LoginOptions.d.ts +3 -3
  31. package/src/enums/MessageColor/MessageColor.d.ts +6 -6
  32. package/src/enums/MessageVariant/MessageVariant.d.ts +3 -3
  33. package/src/enums/MimeTypes/MimeTypes.enum.d.ts +14 -14
  34. package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +7 -6
  35. package/src/enums/QueueType/QueueType.enum.d.ts +22 -22
  36. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +6 -5
  37. package/src/enums/RingtoneType/RingtoneType.d.ts +3 -3
  38. package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +6 -5
  39. package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +6 -2
  40. package/src/enums/WebitelApplications/AdminSections.d.ts +38 -38
  41. package/src/enums/WebitelApplications/AuditorSections.d.ts +3 -2
  42. package/src/enums/WebitelApplications/CrmSections.d.ts +13 -13
  43. package/src/enums/WebitelApplications/SupervisorSections.d.ts +5 -4
  44. package/src/enums/WebitelApplications/WfmSections.d.ts +3 -3
  45. package/src/enums/WebitelApplications/WtApplication.d.ts +9 -9
  46. package/src/enums/WtObject/WtObject.d.ts +57 -57
  47. package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +8 -7
  48. package/src/enums/index.d.ts +54 -4
  49. package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -1
  50. package/src/utils/displayText.d.ts +1 -1
  51. package/src/utils/formatDate.d.ts +9 -3
  52. package/types/components/wt-datepicker/_internals/composables/useAutoSeparator.d.ts +17 -0
  53. package/types/components/wt-datepicker/_internals/composables/useDatepicker.d.ts +19 -0
  54. package/types/components/wt-datepicker/_internals/composables/usePreventZeroPad.d.ts +9 -5
  55. package/types/components/wt-datepicker/_internals/composables/useStrictInput.d.ts +17 -0
@@ -1,5 +1,3 @@
1
- import { onMounted, onUnmounted } from 'vue';
2
-
3
1
  /**
4
2
  * @author @HlukhovYe
5
3
  *
@@ -9,12 +7,13 @@ import { onMounted, onUnmounted } from 'vue';
9
7
  * is mid-typing. Without this, typing "2" into a cleared two-digit slot immediately
10
8
  * reformats to "02", forcing the user to delete the leading zero before the second digit.
11
9
  *
12
- * Works by registering two listeners on the same input event:
13
- * - capture phase (before PrimeVue): snapshots the partial single-digit value
14
- * - bubble phase (after PrimeVue): if PrimeVue zero-padded the value, restores the
15
- * snapshot and cancels further propagation so the model is not updated yet
10
+ * Capture handler (before PrimeVue): snapshots the partial single-digit value.
11
+ * Bubble handler (after PrimeVue): if PrimeVue zero-padded the value, restores the
12
+ * snapshot and cancels further propagation so the model is not updated yet.
13
+ *
14
+ * Listener registration is handled by useDatepicker.
16
15
  */
17
- export function usePreventZeroPad(getInput: () => HTMLInputElement | null) {
16
+ export function createPreventZeroPadHandlers() {
18
17
  let pendingPartial: {
19
18
  value: string;
20
19
  cursor: number;
@@ -52,21 +51,8 @@ export function usePreventZeroPad(getInput: () => HTMLInputElement | null) {
52
51
  }
53
52
  }
54
53
 
55
- onMounted(() => {
56
- const input = getInput();
57
- if (!input) return;
58
- input.addEventListener('input', onInputCapture, {
59
- capture: true,
60
- });
61
- input.addEventListener('input', onInputBubble);
62
- });
63
-
64
- onUnmounted(() => {
65
- const input = getInput();
66
- if (!input) return;
67
- input.removeEventListener('input', onInputCapture, {
68
- capture: true,
69
- });
70
- input.removeEventListener('input', onInputBubble);
71
- });
54
+ return {
55
+ onInputCapture,
56
+ onInputBubble,
57
+ };
72
58
  }
@@ -0,0 +1,61 @@
1
+ /**
2
+ * @author @HlukhovYe
3
+ *
4
+ * Enforces strict keyboard input on the PrimeVue DatePicker text field:
5
+ *
6
+ * - Only digits, '/', ':', and ' ' are allowed through.
7
+ * - Input is capped at the maximum length for the active format:
8
+ * dd/mm/yyyy → 10 characters
9
+ * dd/mm/yyyy hh:mm → 16 characters
10
+ *
11
+ * Works via a `keydown` handler so the character is blocked before the browser
12
+ * writes it to the input. Control keys and modifier combos always pass through.
13
+ * Listener registration is handled by useDatepicker.
14
+ */
15
+ export function createStrictInputHandler(showTime: () => boolean) {
16
+ const MAX_DATE_LENGTH = 10; // dd/mm/yyyy
17
+ const MAX_TIME_LENGTH = 16; // dd/mm/yyyy hh:mm
18
+
19
+ const ALLOWED_PRINTABLE = /^[0-9]$/;
20
+
21
+ const CONTROL_KEYS = new Set([
22
+ 'Backspace',
23
+ 'Delete',
24
+ 'Tab',
25
+ 'Enter',
26
+ 'Escape',
27
+ 'ArrowLeft',
28
+ 'ArrowRight',
29
+ 'ArrowUp',
30
+ 'ArrowDown',
31
+ 'Home',
32
+ 'End',
33
+ ]);
34
+
35
+ function onKeydown(event: KeyboardEvent) {
36
+ if (CONTROL_KEYS.has(event.key)) return;
37
+ if (event.ctrlKey || event.metaKey) return;
38
+
39
+ if (!ALLOWED_PRINTABLE.test(event.key)) {
40
+ event.preventDefault();
41
+ return;
42
+ }
43
+
44
+ const input = event.target as HTMLInputElement;
45
+ const maxLength = showTime() ? MAX_TIME_LENGTH : MAX_DATE_LENGTH;
46
+
47
+ // When text is selected, the typed char replaces the selection —
48
+ // length won't grow beyond current, so no cap needed.
49
+ const selectionLength =
50
+ (input.selectionEnd ?? 0) - (input.selectionStart ?? 0);
51
+ if (selectionLength > 0) return;
52
+
53
+ if (input.value.length >= maxLength) {
54
+ event.preventDefault();
55
+ }
56
+ }
57
+
58
+ return {
59
+ onKeydown,
60
+ };
61
+ }
@@ -153,9 +153,7 @@ import {
153
153
  MessageVariant,
154
154
  } from '../../enums';
155
155
  import { useValidation } from '../../mixins/validationMixin/useValidation';
156
- import { useOverlayAnchor } from './_internals/composables/useOverlayAnchor';
157
- import { usePreventZeroPad } from './_internals/composables/usePreventZeroPad';
158
- import { useRestoreOnBlur } from './_internals/composables/useRestoreOnBlur';
156
+ import { useDatepicker } from './_internals/composables/useDatepicker';
159
157
 
160
158
  interface Props extends DatePickerProps {
161
159
  showTime?: boolean;
@@ -208,10 +206,10 @@ const datepicker = useTemplateRef<HTMLDivElement>('datepicker');
208
206
 
209
207
  const datepickerId = `datepicker-${Math.random().toString(36).slice(2, 11)}`;
210
208
 
211
- usePreventZeroPad(() => datepicker.value?.$el?.querySelector('input'));
212
-
213
- const { onBlur } = useRestoreOnBlur(
209
+ const { onBlur, lockOverlay, unlockOverlay } = useDatepicker(
210
+ () => datepicker.value?.$el?.querySelector('input'),
214
211
  () => datepicker.value,
212
+ () => !!props.showTime,
215
213
  () => !!props.clearable,
216
214
  );
217
215
 
@@ -219,8 +217,6 @@ const getPlaceholder = computed(() => {
219
217
  return props.placholder || `dd/mm/yyyy ${props.showTime ? 'hh:mm' : ''}`;
220
218
  });
221
219
 
222
- const { lock: lockOverlay, unlock: unlockOverlay } = useOverlayAnchor();
223
-
224
220
  // PrimeVue initializes its internal currentHour/currentMinute from new Date() when the
225
221
  // overlay opens, ignoring the model value. Re-assigning the same value forces a re-sync.
226
222
  const onPanelShow = () => {
@@ -3,9 +3,9 @@
3
3
  * `install(app, { eventBus })` (provided app-wide as '$eventBus').
4
4
  */
5
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;
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
9
  }
10
- export declare const EVENT_BUS_INJECTION_KEY = "$eventBus";
10
+ export declare const EVENT_BUS_INJECTION_KEY = '$eventBus';
11
11
  export declare const useEventBus: () => EventBus | undefined;
@@ -1,4 +1,5 @@
1
1
  export declare const BroadcastChannelName: {
2
- readonly UserSettings: "WtUserSettings";
2
+ readonly UserSettings: 'WtUserSettings';
3
3
  };
4
- export type BroadcastChannelName = (typeof BroadcastChannelName)[keyof typeof BroadcastChannelName];
4
+ export type BroadcastChannelName =
5
+ (typeof BroadcastChannelName)[keyof typeof BroadcastChannelName];
@@ -1,12 +1,12 @@
1
1
  export interface WebphoneBroadcastPayload {
2
- webrtc: boolean;
3
- stun: boolean;
4
- autoGainControl: boolean;
5
- echoCancellation: boolean;
6
- noiseSuppression: boolean;
2
+ webrtc: boolean;
3
+ stun: boolean;
4
+ autoGainControl: boolean;
5
+ echoCancellation: boolean;
6
+ noiseSuppression: boolean;
7
7
  }
8
8
  export interface WebphoneBroadcastMessage {
9
- type: 'webphone';
10
- payload: WebphoneBroadcastPayload;
9
+ type: 'webphone';
10
+ payload: WebphoneBroadcastPayload;
11
11
  }
12
12
  export type UserSettingsBroadcastMessage = WebphoneBroadcastMessage;
@@ -1,11 +1,11 @@
1
1
  export declare const ButtonColor: {
2
- readonly PRIMARY: "primary";
3
- readonly SECONDARY: "secondary";
4
- readonly SUCCESS: "success";
5
- readonly WARN: "warn";
6
- readonly ERROR: "error";
7
- readonly TRANSFER: "transfer";
8
- readonly JOB: "job";
9
- readonly INFO: "info";
2
+ readonly PRIMARY: 'primary';
3
+ readonly SECONDARY: 'secondary';
4
+ readonly SUCCESS: 'success';
5
+ readonly WARN: 'warn';
6
+ readonly ERROR: 'error';
7
+ readonly TRANSFER: 'transfer';
8
+ readonly JOB: 'job';
9
+ readonly INFO: 'info';
10
10
  };
11
11
  export type ButtonColor = (typeof ButtonColor)[keyof typeof ButtonColor];
@@ -1,6 +1,6 @@
1
1
  export declare const ButtonVariant: {
2
- readonly ACTIVE: "active";
3
- readonly OUTLINED: "outlined";
4
- readonly TEXT: "text";
2
+ readonly ACTIVE: 'active';
3
+ readonly OUTLINED: 'outlined';
4
+ readonly TEXT: 'text';
5
5
  };
6
6
  export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
@@ -1,11 +1,11 @@
1
1
  export declare const ChipColor: {
2
- readonly MAIN: "main";
3
- readonly PRIMARY: "primary";
4
- readonly ON_PRIMARY: "on-primary";
5
- readonly SECONDARY: "secondary";
6
- readonly SUCCESS: "success";
7
- readonly WARNING: "warning";
8
- readonly ERROR: "error";
9
- readonly TRANSFER: "transfer";
2
+ readonly MAIN: 'main';
3
+ readonly PRIMARY: 'primary';
4
+ readonly ON_PRIMARY: 'on-primary';
5
+ readonly SECONDARY: 'secondary';
6
+ readonly SUCCESS: 'success';
7
+ readonly WARNING: 'warning';
8
+ readonly ERROR: 'error';
9
+ readonly TRANSFER: 'transfer';
10
10
  };
11
11
  export type ChipColor = (typeof ChipColor)[keyof typeof ChipColor];
@@ -1,17 +1,17 @@
1
1
  export declare const ComponentSize: {
2
- readonly XXXS: "3xs";
3
- readonly XXS: "2xs";
4
- readonly XS: "xs";
5
- readonly SM: "sm";
6
- readonly MD: "md";
7
- readonly LG: "lg";
8
- readonly XL: "xl";
9
- readonly XXL: "2xl";
10
- readonly XXXL: "3xl";
11
- readonly '4XL': "4xl";
12
- readonly '5XL': "5xl";
13
- readonly '6XL': "6xl";
14
- readonly '7XL': "7xl";
15
- readonly '8XL': "8xl";
2
+ readonly XXXS: '3xs';
3
+ readonly XXS: '2xs';
4
+ readonly XS: 'xs';
5
+ readonly SM: 'sm';
6
+ readonly MD: 'md';
7
+ readonly LG: 'lg';
8
+ readonly XL: 'xl';
9
+ readonly XXL: '2xl';
10
+ readonly XXXL: '3xl';
11
+ readonly '4XL': '4xl';
12
+ readonly '5XL': '5xl';
13
+ readonly '6XL': '6xl';
14
+ readonly '7XL': '7xl';
15
+ readonly '8XL': '8xl';
16
16
  };
17
17
  export type ComponentSize = (typeof ComponentSize)[keyof typeof ComponentSize];
@@ -1,6 +1,7 @@
1
1
  export declare const ConnectionQualityLevels: {
2
- readonly High: "high";
3
- readonly Medium: "medium";
4
- readonly Low: "low";
2
+ readonly High: 'high';
3
+ readonly Medium: 'medium';
4
+ readonly Low: 'low';
5
5
  };
6
- export type ConnectionQualityLevelsType = (typeof ConnectionQualityLevels)[keyof typeof ConnectionQualityLevels];
6
+ export type ConnectionQualityLevelsType =
7
+ (typeof ConnectionQualityLevels)[keyof typeof ConnectionQualityLevels];
@@ -1,7 +1,7 @@
1
1
  export declare const CrudAction: {
2
- readonly Read: "read";
3
- readonly Create: "create";
4
- readonly Update: "update";
5
- readonly Delete: "delete";
2
+ readonly Read: 'read';
3
+ readonly Create: 'create';
4
+ readonly Update: 'update';
5
+ readonly Delete: 'delete';
6
6
  };
7
7
  export type CrudAction = (typeof CrudAction)[keyof typeof CrudAction];
@@ -1,9 +1,10 @@
1
1
  export declare const DefaultWorkspaceTabSettings: {
2
- readonly GeneralInfo: "general_info";
3
- readonly ClientInfo: "client_info";
4
- readonly KnowledgeBase: "knowledge_base";
5
- readonly TaskProcessing: "task_processing";
6
- readonly Flows: "flows";
7
- readonly Screenshots: "screenshots";
2
+ readonly GeneralInfo: 'general_info';
3
+ readonly ClientInfo: 'client_info';
4
+ readonly KnowledgeBase: 'knowledge_base';
5
+ readonly TaskProcessing: 'task_processing';
6
+ readonly Flows: 'flows';
7
+ readonly Screenshots: 'screenshots';
8
8
  };
9
- export type DefaultWorkspaceTabSettings = (typeof DefaultWorkspaceTabSettings)[keyof typeof DefaultWorkspaceTabSettings];
9
+ export type DefaultWorkspaceTabSettings =
10
+ (typeof DefaultWorkspaceTabSettings)[keyof typeof DefaultWorkspaceTabSettings];
@@ -1,6 +1,6 @@
1
1
  export declare const EmptyCause: Readonly<{
2
- ERROR: "error";
3
- FILTERS: "filters";
4
- EMPTY: "empty";
2
+ ERROR: 'error';
3
+ FILTERS: 'filters';
4
+ EMPTY: 'empty';
5
5
  }>;
6
6
  export type EmptyCause = (typeof EmptyCause)[keyof typeof EmptyCause];
@@ -1,8 +1,9 @@
1
1
  export declare const FormatDateMode: {
2
- readonly DATE: "date";
3
- readonly TIME: "time";
4
- readonly TIME_SEC: "timeSec";
5
- readonly DATETIME: "datetime";
6
- readonly DATETIME_SHORT: "datetimeShort";
2
+ readonly DATE: 'date';
3
+ readonly TIME: 'time';
4
+ readonly TIME_SEC: 'timeSec';
5
+ readonly DATETIME: 'datetime';
6
+ readonly DATETIME_SHORT: 'datetimeShort';
7
7
  };
8
- export type FormatDateMode = (typeof FormatDateMode)[keyof typeof FormatDateMode];
8
+ export type FormatDateMode =
9
+ (typeof FormatDateMode)[keyof typeof FormatDateMode];
@@ -1,17 +1,17 @@
1
1
  export declare const IconColor: {
2
- readonly DEFAULT: "default";
3
- readonly ACTIVE: "active";
4
- readonly DISABLED: "disabled";
5
- readonly PRIMARY: "primary";
6
- readonly ERROR: "error";
7
- readonly SUCCESS: "success";
8
- readonly WARNING: "warning";
9
- readonly ON_DARK: "on-dark";
10
- readonly ON_LIGHT: "on-light";
11
- readonly ON_PRIMARY: "on-primary";
12
- readonly INFO: "info";
13
- readonly CHAT: "chat";
14
- readonly TRANSFER: "transfer";
15
- readonly JOB: "job";
2
+ readonly DEFAULT: 'default';
3
+ readonly ACTIVE: 'active';
4
+ readonly DISABLED: 'disabled';
5
+ readonly PRIMARY: 'primary';
6
+ readonly ERROR: 'error';
7
+ readonly SUCCESS: 'success';
8
+ readonly WARNING: 'warning';
9
+ readonly ON_DARK: 'on-dark';
10
+ readonly ON_LIGHT: 'on-light';
11
+ readonly ON_PRIMARY: 'on-primary';
12
+ readonly INFO: 'info';
13
+ readonly CHAT: 'chat';
14
+ readonly TRANSFER: 'transfer';
15
+ readonly JOB: 'job';
16
16
  };
17
17
  export type IconColor = (typeof IconColor)[keyof typeof IconColor];
@@ -1,6 +1,6 @@
1
1
  export declare const LoginOptions: {
2
- readonly LOCAL_PASSWORD_ONLY: "local_password_only";
3
- readonly SSO_AND_LOCAL: "sso_and_local";
4
- readonly SSO_ONLY: "sso_only";
2
+ readonly LOCAL_PASSWORD_ONLY: 'local_password_only';
3
+ readonly SSO_AND_LOCAL: 'sso_and_local';
4
+ readonly SSO_ONLY: 'sso_only';
5
5
  };
6
6
  export type LoginOptions = keyof typeof LoginOptions;
@@ -1,9 +1,9 @@
1
1
  export declare const MessageColor: {
2
- readonly SECONDARY: "secondary";
3
- readonly SUCCESS: "success";
4
- readonly ERROR: "error";
5
- readonly WARN: "warn";
6
- readonly INFO: "info";
7
- readonly CONTRAST: "contrast";
2
+ readonly SECONDARY: 'secondary';
3
+ readonly SUCCESS: 'success';
4
+ readonly ERROR: 'error';
5
+ readonly WARN: 'warn';
6
+ readonly INFO: 'info';
7
+ readonly CONTRAST: 'contrast';
8
8
  };
9
9
  export type MessageColor = keyof typeof MessageColor;
@@ -1,6 +1,6 @@
1
1
  export declare const MessageVariant: {
2
- readonly FILLED: "filled";
3
- readonly OUTLINED: "outlined";
4
- readonly SIMPLE: "simple";
2
+ readonly FILLED: 'filled';
3
+ readonly OUTLINED: 'outlined';
4
+ readonly SIMPLE: 'simple';
5
5
  };
6
6
  export type MessageVariant = keyof typeof MessageVariant;
@@ -1,17 +1,17 @@
1
1
  export declare const MimeTypes: {
2
- readonly IMAGE_JPEG: "image/jpeg";
3
- readonly IMAGE_PNG: "image/png";
4
- readonly IMAGE_GIF: "image/gif";
5
- readonly IMAGE_SVG_XML: "image/svg+xml";
6
- readonly IMAGE_WEBP: "image/webp";
7
- readonly VIDEO_MP4: "video/mp4";
8
- readonly VIDEO_WEBM: "video/webm";
9
- readonly VIDEO_MPEG: "video/mpeg";
10
- readonly AUDIO_MPEG: "audio/mpeg";
11
- readonly AUDIO_WAV: "audio/wav";
12
- readonly APPLICATION_PDF: "application/pdf";
13
- readonly APPLICATION_MSWORD: "application/msword";
14
- readonly APPLICATION_DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
15
- readonly APPLICATION_XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
2
+ readonly IMAGE_JPEG: 'image/jpeg';
3
+ readonly IMAGE_PNG: 'image/png';
4
+ readonly IMAGE_GIF: 'image/gif';
5
+ readonly IMAGE_SVG_XML: 'image/svg+xml';
6
+ readonly IMAGE_WEBP: 'image/webp';
7
+ readonly VIDEO_MP4: 'video/mp4';
8
+ readonly VIDEO_WEBM: 'video/webm';
9
+ readonly VIDEO_MPEG: 'video/mpeg';
10
+ readonly AUDIO_MPEG: 'audio/mpeg';
11
+ readonly AUDIO_WAV: 'audio/wav';
12
+ readonly APPLICATION_PDF: 'application/pdf';
13
+ readonly APPLICATION_MSWORD: 'application/msword';
14
+ readonly APPLICATION_DOCX: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
15
+ readonly APPLICATION_XLSX: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
16
16
  };
17
17
  export type MimeTypes = (typeof MimeTypes)[keyof typeof MimeTypes];
@@ -1,8 +1,9 @@
1
1
  export declare const ProcessingTableColumnType: {
2
- readonly TEXT: "text";
3
- readonly NUMBER: "number";
4
- readonly BOOL: "bool";
5
- readonly DATETIME: "datetime";
6
- readonly LINK: "link";
2
+ readonly TEXT: 'text';
3
+ readonly NUMBER: 'number';
4
+ readonly BOOL: 'bool';
5
+ readonly DATETIME: 'datetime';
6
+ readonly LINK: 'link';
7
7
  };
8
- export type ProcessingTableColumnType = (typeof ProcessingTableColumnType)[keyof typeof ProcessingTableColumnType];
8
+ export type ProcessingTableColumnType =
9
+ (typeof ProcessingTableColumnType)[keyof typeof ProcessingTableColumnType];
@@ -1,28 +1,28 @@
1
1
  export declare const QueueType: {
2
- readonly OFFLINE_QUEUE: 0;
3
- readonly INBOUND_QUEUE: 1;
4
- readonly OUTBOUND_IVR_QUEUE: 2;
5
- readonly PREVIEW_DIALER: 3;
6
- readonly PROGRESSIVE_DIALER: 4;
7
- readonly PREDICTIVE_DIALER: 5;
8
- readonly CHAT_INBOUND_QUEUE: 6;
9
- readonly INBOUND_JOB_QUEUE: 7;
10
- readonly OUTBOUND_JOB_QUEUE: 8;
11
- readonly IM_CHAT_QUEUE: 9;
2
+ readonly OFFLINE_QUEUE: 0;
3
+ readonly INBOUND_QUEUE: 1;
4
+ readonly OUTBOUND_IVR_QUEUE: 2;
5
+ readonly PREVIEW_DIALER: 3;
6
+ readonly PROGRESSIVE_DIALER: 4;
7
+ readonly PREDICTIVE_DIALER: 5;
8
+ readonly CHAT_INBOUND_QUEUE: 6;
9
+ readonly INBOUND_JOB_QUEUE: 7;
10
+ readonly OUTBOUND_JOB_QUEUE: 8;
11
+ readonly IM_CHAT_QUEUE: 9;
12
12
  };
13
13
  export type QueueType = (typeof QueueType)[keyof typeof QueueType];
14
14
  export declare const QueueTypeName: {
15
- readonly OFFLINE_QUEUE: "offline";
16
- readonly INBOUND_QUEUE: "inbound";
17
- readonly OUTBOUND_IVR_QUEUE: "ivr";
18
- readonly PREVIEW_DIALER: "preview";
19
- readonly PROGRESSIVE_DIALER: "progressive";
20
- readonly PREDICTIVE_DIALER: "predictive";
21
- readonly CHAT_INBOUND_QUEUE: "inbound chat";
22
- readonly INBOUND_JOB_QUEUE: "task";
23
- readonly OUTBOUND_JOB_QUEUE: "outbound_task";
24
- readonly OUTBOUND_CALL: "outbound_call";
25
- readonly IM_CHAT_QUEUE: "im_chat";
26
- readonly NOT_IMPLEMENT: "NOT_IMPLEMENT";
15
+ readonly OFFLINE_QUEUE: 'offline';
16
+ readonly INBOUND_QUEUE: 'inbound';
17
+ readonly OUTBOUND_IVR_QUEUE: 'ivr';
18
+ readonly PREVIEW_DIALER: 'preview';
19
+ readonly PROGRESSIVE_DIALER: 'progressive';
20
+ readonly PREDICTIVE_DIALER: 'predictive';
21
+ readonly CHAT_INBOUND_QUEUE: 'inbound chat';
22
+ readonly INBOUND_JOB_QUEUE: 'task';
23
+ readonly OUTBOUND_JOB_QUEUE: 'outbound_task';
24
+ readonly OUTBOUND_CALL: 'outbound_call';
25
+ readonly IM_CHAT_QUEUE: 'im_chat';
26
+ readonly NOT_IMPLEMENT: 'NOT_IMPLEMENT';
27
27
  };
28
28
  export type QueueTypeName = (typeof QueueTypeName)[keyof typeof QueueTypeName];
@@ -1,7 +1,8 @@
1
1
  export declare const RelativeDatetimeValue: {
2
- readonly Today: "rdt_today";
3
- readonly ThisWeek: "rdt_this_week";
4
- readonly ThisMonth: "rdt_this_month";
5
- readonly Custom: "rdt_custom";
2
+ readonly Today: 'rdt_today';
3
+ readonly ThisWeek: 'rdt_this_week';
4
+ readonly ThisMonth: 'rdt_this_month';
5
+ readonly Custom: 'rdt_custom';
6
6
  };
7
- export type RelativeDatetimeValue = (typeof RelativeDatetimeValue)[keyof typeof RelativeDatetimeValue];
7
+ export type RelativeDatetimeValue =
8
+ (typeof RelativeDatetimeValue)[keyof typeof RelativeDatetimeValue];
@@ -1,6 +1,6 @@
1
1
  export declare const RingtoneType: {
2
- readonly Call: "call";
3
- readonly Chat: "chat";
4
- readonly Task: "task";
2
+ readonly Call: 'call';
3
+ readonly Chat: 'chat';
4
+ readonly Task: 'task';
5
5
  };
6
6
  export type RingtoneType = (typeof RingtoneType)[keyof typeof RingtoneType];
@@ -1,7 +1,8 @@
1
1
  export declare const SingleSignOnProvider: {
2
- readonly Microsoft: "microsoft";
3
- readonly Google: "google";
4
- readonly Facebook: "facebook";
5
- readonly Custom: "custom";
2
+ readonly Microsoft: 'microsoft';
3
+ readonly Google: 'google';
4
+ readonly Facebook: 'facebook';
5
+ readonly Custom: 'custom';
6
6
  };
7
- export type SingleSignOnProvider = (typeof SingleSignOnProvider)[keyof typeof SingleSignOnProvider];
7
+ export type SingleSignOnProvider =
8
+ (typeof SingleSignOnProvider)[keyof typeof SingleSignOnProvider];
@@ -1,3 +1,7 @@
1
1
  import { SingleSignOnProvider } from '../SingleSignOnProvider/SingleSignOnProvider';
2
- export declare const SingleSignOnProviderIconMappings: Record<SingleSignOnProvider, string>;
3
- export type SingleSignOnProviderIconMappings = (typeof SingleSignOnProviderIconMappings)[keyof typeof SingleSignOnProviderIconMappings];
2
+ export declare const SingleSignOnProviderIconMappings: Record<
3
+ SingleSignOnProvider,
4
+ string
5
+ >;
6
+ export type SingleSignOnProviderIconMappings =
7
+ (typeof SingleSignOnProviderIconMappings)[keyof typeof SingleSignOnProviderIconMappings];