@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.
- package/dist/{components-Bim818Xf.js → components-CSWXogKF.js} +3 -3
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +382 -382
- package/dist/{wt-chat-emoji-CX65m8Dd.js → wt-chat-emoji-Zfe96hoz.js} +1 -1
- package/dist/{wt-datepicker-BP9bBbGY.js → wt-datepicker-BtjegGDk.js} +174 -91
- package/dist/{wt-display-chip-items-tL17x2-U.js → wt-display-chip-items-YauywYzZ.js} +1 -1
- package/dist/{wt-send-message-popup-8TZWTO40.js → wt-send-message-popup-DV1i1Q52.js} +1 -1
- package/dist/{wt-type-extension-value-input-D1wNUHkh.js → wt-type-extension-value-input-CpYbzjDU.js} +1 -1
- package/dist/{wt-vidstack-player-Z3cdtFBu.js → wt-vidstack-player-CC6dwrnv.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-datepicker/_internals/composables/useAutoSeparator.ts +96 -0
- package/src/components/wt-datepicker/_internals/composables/useDatepicker.ts +78 -0
- package/src/components/wt-datepicker/_internals/composables/usePreventZeroPad.ts +10 -24
- package/src/components/wt-datepicker/_internals/composables/useStrictInput.ts +61 -0
- package/src/components/wt-datepicker/wt-datepicker.vue +4 -8
- package/src/composables/useEventBus/useEventBus.d.ts +4 -4
- package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +3 -2
- package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +7 -7
- package/src/enums/ButtonColor/ButtonColor.d.ts +8 -8
- package/src/enums/ButtonVariant/ButtonVariant.d.ts +3 -3
- package/src/enums/ChipColor/ChipColor.d.ts +8 -8
- package/src/enums/ComponentSize/ComponentSize.d.ts +14 -14
- package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +5 -4
- package/src/enums/CrudAction/CrudAction.d.ts +4 -4
- package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +8 -7
- package/src/enums/EmptyCause/EmptyCause.d.ts +3 -3
- package/src/enums/FormatDateMode/FormatDateMode.d.ts +7 -6
- package/src/enums/IconColor/IconColor.d.ts +14 -14
- package/src/enums/LoginOptions/LoginOptions.d.ts +3 -3
- package/src/enums/MessageColor/MessageColor.d.ts +6 -6
- package/src/enums/MessageVariant/MessageVariant.d.ts +3 -3
- package/src/enums/MimeTypes/MimeTypes.enum.d.ts +14 -14
- package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +7 -6
- package/src/enums/QueueType/QueueType.enum.d.ts +22 -22
- package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +6 -5
- package/src/enums/RingtoneType/RingtoneType.d.ts +3 -3
- package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +6 -5
- package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +6 -2
- package/src/enums/WebitelApplications/AdminSections.d.ts +38 -38
- package/src/enums/WebitelApplications/AuditorSections.d.ts +3 -2
- package/src/enums/WebitelApplications/CrmSections.d.ts +13 -13
- package/src/enums/WebitelApplications/SupervisorSections.d.ts +5 -4
- package/src/enums/WebitelApplications/WfmSections.d.ts +3 -3
- package/src/enums/WebitelApplications/WtApplication.d.ts +9 -9
- package/src/enums/WtObject/WtObject.d.ts +57 -57
- package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +8 -7
- package/src/enums/index.d.ts +54 -4
- package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -1
- package/src/utils/displayText.d.ts +1 -1
- package/src/utils/formatDate.d.ts +9 -3
- package/types/components/wt-datepicker/_internals/composables/useAutoSeparator.d.ts +17 -0
- package/types/components/wt-datepicker/_internals/composables/useDatepicker.d.ts +19 -0
- package/types/components/wt-datepicker/_internals/composables/usePreventZeroPad.d.ts +9 -5
- 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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
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
|
|
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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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 {
|
|
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
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 =
|
|
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
|
-
|
|
2
|
+
readonly UserSettings: 'WtUserSettings';
|
|
3
3
|
};
|
|
4
|
-
export type BroadcastChannelName =
|
|
4
|
+
export type BroadcastChannelName =
|
|
5
|
+
(typeof BroadcastChannelName)[keyof typeof BroadcastChannelName];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export interface WebphoneBroadcastPayload {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
webrtc: boolean;
|
|
3
|
+
stun: boolean;
|
|
4
|
+
autoGainControl: boolean;
|
|
5
|
+
echoCancellation: boolean;
|
|
6
|
+
noiseSuppression: boolean;
|
|
7
7
|
}
|
|
8
8
|
export interface WebphoneBroadcastMessage {
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
readonly High: 'high';
|
|
3
|
+
readonly Medium: 'medium';
|
|
4
|
+
readonly Low: 'low';
|
|
5
5
|
};
|
|
6
|
-
export type ConnectionQualityLevelsType =
|
|
6
|
+
export type ConnectionQualityLevelsType =
|
|
7
|
+
(typeof ConnectionQualityLevels)[keyof typeof ConnectionQualityLevels];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const CrudAction: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 =
|
|
9
|
+
export type DefaultWorkspaceTabSettings =
|
|
10
|
+
(typeof DefaultWorkspaceTabSettings)[keyof typeof DefaultWorkspaceTabSettings];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export declare const FormatDateMode: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 =
|
|
8
|
+
export type FormatDateMode =
|
|
9
|
+
(typeof FormatDateMode)[keyof typeof FormatDateMode];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare const IconColor: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 =
|
|
8
|
+
export type ProcessingTableColumnType =
|
|
9
|
+
(typeof ProcessingTableColumnType)[keyof typeof ProcessingTableColumnType];
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export declare const QueueType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 =
|
|
7
|
+
export type RelativeDatetimeValue =
|
|
8
|
+
(typeof RelativeDatetimeValue)[keyof typeof RelativeDatetimeValue];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const RingtoneType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
readonly Microsoft: 'microsoft';
|
|
3
|
+
readonly Google: 'google';
|
|
4
|
+
readonly Facebook: 'facebook';
|
|
5
|
+
readonly Custom: 'custom';
|
|
6
6
|
};
|
|
7
|
-
export type 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<
|
|
3
|
-
|
|
2
|
+
export declare const SingleSignOnProviderIconMappings: Record<
|
|
3
|
+
SingleSignOnProvider,
|
|
4
|
+
string
|
|
5
|
+
>;
|
|
6
|
+
export type SingleSignOnProviderIconMappings =
|
|
7
|
+
(typeof SingleSignOnProviderIconMappings)[keyof typeof SingleSignOnProviderIconMappings];
|