@webitel/ui-sdk 26.8.49 → 26.8.51

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 (63) hide show
  1. package/dist/clients-rgtvDufW.js +39250 -0
  2. package/dist/{components-gG_-DJ10.js → components-9JJurJkY.js} +639 -631
  3. package/dist/{enums-De8CDKZ1.js → enums-DY3jIXFF.js} +50 -29
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +3 -3
  6. package/dist/ui-sdk.umd.cjs +394 -394
  7. package/dist/{useValidation-D6P-wRwq.js → useValidation-BD4S-sEW.js} +1 -1
  8. package/dist/{wt-action-bar-HBm22ay5.js → wt-action-bar-C4JukltF.js} +2 -2
  9. package/dist/{wt-button-B7B7qITq.js → wt-button-2_aOV7LX.js} +4 -4
  10. package/dist/{wt-chat-emoji-mH3xAWyP.js → wt-chat-emoji-D2VNcMWj.js} +4 -4
  11. package/dist/{wt-datepicker-D5Af57PB.js → wt-datepicker-H4E0JyRE.js} +78 -51
  12. package/dist/{wt-display-chip-items-DnL_Twmy.js → wt-display-chip-items-Dk-8hhAU.js} +1 -1
  13. package/dist/{wt-dual-panel-BEGLGU7F.js → wt-dual-panel-C98aGU8o.js} +1 -1
  14. package/dist/{wt-expansion-card-CpmnVJ03.js → wt-expansion-card-CEMaWXCy.js} +1 -1
  15. package/dist/{wt-expansion-panel-Br7JPc5X.js → wt-expansion-panel-BjeXHSay.js} +1 -1
  16. package/dist/{wt-icon-09f_Vpk_.js → wt-icon-Ct0E7k_d.js} +1 -1
  17. package/dist/{wt-icon-action-BBmutGsL.js → wt-icon-action-DB6P4E4K.js} +1 -1
  18. package/dist/{wt-icon-btn-DvrrxhWx.js → wt-icon-btn-DZa_qsai.js} +1 -1
  19. package/dist/{wt-notifications-bar-0o0yhR7P.js → wt-notifications-bar-BEomlIrN.js} +2 -2
  20. package/dist/{wt-player-D_kVPIdJ.js → wt-player-1-8X7Uo8.js} +3 -3
  21. package/dist/{wt-search-bar-Dnjkgro3.js → wt-search-bar-DzzSQyB3.js} +1 -1
  22. package/dist/{wt-send-message-popup-C-fqzFxG.js → wt-send-message-popup-BYV75cZf.js} +2 -2
  23. package/dist/{wt-status-select-DL1bOn9G.js → wt-status-select-BuojqV_1.js} +9 -9
  24. package/dist/{wt-timepicker-CAkO0jFY.js → wt-timepicker-RhM7Sln_.js} +2 -2
  25. package/dist/{wt-toast-DrfbAfTj.js → wt-toast-eWzfeYuz.js} +2 -2
  26. package/dist/{wt-tree-table-DJGISZ65.js → wt-tree-table-DvG6KLLB.js} +1 -1
  27. package/dist/{wt-type-extension-value-input-jb7TbSvV.js → wt-type-extension-value-input-BYoxNwD4.js} +3 -3
  28. package/dist/{wt-vidstack-player-BrDmQ4dp.js → wt-vidstack-player-B-vb7PqO.js} +4 -4
  29. package/package.json +3 -1
  30. package/src/components/wt-datepicker/_internals/composables/useCloseOnAnchorHidden.ts +51 -0
  31. package/src/components/wt-datepicker/_internals/composables/useDatepicker.ts +17 -1
  32. package/src/components/wt-datepicker/wt-datepicker.vue +1 -0
  33. package/src/enums/QueueType/QueueType.enum.ts +12 -31
  34. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.ts +1 -11
  35. package/src/locale/en/en.js +64 -0
  36. package/src/locale/es/es.js +64 -0
  37. package/src/locale/kz/kz.js +64 -0
  38. package/src/locale/pl/pl.js +64 -0
  39. package/src/locale/ro/ro.js +64 -0
  40. package/src/locale/ru/ru.js +64 -0
  41. package/src/locale/uk/uk.js +64 -0
  42. package/src/locale/uz/uz.js +64 -0
  43. package/src/locale/vi/vi.js +64 -0
  44. package/src/scripts/normalizeDatetime.ts +7 -88
  45. package/types/.tsbuildinfo +1 -1
  46. package/types/components/wt-datepicker/_internals/composables/useCloseOnAnchorHidden.d.ts +21 -0
  47. package/types/components/wt-datepicker/_internals/composables/useDatepicker.d.ts +1 -0
  48. package/types/enums/QueueType/QueueType.enum.d.ts +9 -28
  49. package/types/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +1 -7
  50. package/types/locale/en/en.d.ts +64 -0
  51. package/types/locale/es/es.d.ts +87 -3
  52. package/types/locale/i18n.d.ts +576 -0
  53. package/types/locale/index.d.ts +576 -0
  54. package/types/locale/kz/kz.d.ts +87 -3
  55. package/types/locale/pl/pl.d.ts +87 -3
  56. package/types/locale/ro/ro.d.ts +87 -3
  57. package/types/locale/ru/ru.d.ts +87 -3
  58. package/types/locale/uk/uk.d.ts +87 -3
  59. package/types/locale/uz/uz.d.ts +87 -3
  60. package/types/locale/vi/vi.d.ts +87 -3
  61. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +1 -1
  62. package/types/scripts/normalizeDatetime.d.ts +1 -8
  63. package/dist/clients-DBqdsc05.js +0 -38757
@@ -1,5 +1,6 @@
1
1
  import { onMounted, onUnmounted } from 'vue';
2
2
  import { createAutoSeparatorHandler } from './useAutoSeparator';
3
+ import { useCloseOnAnchorHidden } from './useCloseOnAnchorHidden';
3
4
  import { useOverlayAnchor } from './useOverlayAnchor';
4
5
  import { createPreventZeroPadHandlers } from './usePreventZeroPad';
5
6
  import { useRestoreOnBlur } from './useRestoreOnBlur';
@@ -21,6 +22,7 @@ export function useDatepicker(
21
22
  getDatepicker: () => {
22
23
  rawValue: Date | null;
23
24
  updateModel: (v: Date) => void;
25
+ overlayVisible?: boolean;
24
26
  } | null,
25
27
  showTime: () => boolean,
26
28
  isClearable: () => boolean,
@@ -33,10 +35,24 @@ export function useDatepicker(
33
35
 
34
36
  const { onKeydown } = createStrictInputHandler(showTime);
35
37
 
36
- const { lock: lockOverlay, unlock: unlockOverlay } = useOverlayAnchor();
38
+ const { lock: lockOverlayAnchor, unlock: unlockOverlayAnchor } =
39
+ useOverlayAnchor();
40
+
41
+ const { watch: watchAnchorVisibility, unwatch: unwatchAnchorVisibility } =
42
+ useCloseOnAnchorHidden(getInput, getDatepicker);
37
43
 
38
44
  const { onBlur } = useRestoreOnBlur(getDatepicker, isClearable);
39
45
 
46
+ function lockOverlay(panel: HTMLElement) {
47
+ lockOverlayAnchor(panel);
48
+ watchAnchorVisibility();
49
+ }
50
+
51
+ function unlockOverlay() {
52
+ unlockOverlayAnchor();
53
+ unwatchAnchorVisibility();
54
+ }
55
+
40
56
  function onInputCaptureHandler(event: Event) {
41
57
  zeroPadCapture(event);
42
58
  }
@@ -206,6 +206,7 @@ const modelValue = computed({
206
206
  interface DatePickerRef extends PrimevueOverlayInstance {
207
207
  rawValue: Date | null;
208
208
  updateModel: (v: Date) => void;
209
+ overlayVisible?: boolean;
209
210
  }
210
211
 
211
212
  const datepicker = useTemplateRef<DatePickerRef>('datepicker');
@@ -1,31 +1,12 @@
1
- export const QueueType = {
2
- OFFLINE_QUEUE: 0,
3
- INBOUND_QUEUE: 1,
4
- OUTBOUND_IVR_QUEUE: 2,
5
- PREVIEW_DIALER: 3,
6
- PROGRESSIVE_DIALER: 4,
7
- PREDICTIVE_DIALER: 5,
8
- CHAT_INBOUND_QUEUE: 6,
9
- INBOUND_JOB_QUEUE: 7,
10
- OUTBOUND_JOB_QUEUE: 8,
11
- IM_CHAT_QUEUE: 9,
12
- } as const;
13
-
14
- export type QueueType = (typeof QueueType)[keyof typeof QueueType];
15
-
16
- export const QueueTypeName = {
17
- OFFLINE_QUEUE: 'offline',
18
- INBOUND_QUEUE: 'inbound',
19
- OUTBOUND_IVR_QUEUE: 'ivr',
20
- PREVIEW_DIALER: 'preview',
21
- PROGRESSIVE_DIALER: 'progressive',
22
- PREDICTIVE_DIALER: 'predictive',
23
- CHAT_INBOUND_QUEUE: 'inbound chat',
24
- INBOUND_JOB_QUEUE: 'task',
25
- OUTBOUND_JOB_QUEUE: 'outbound_task',
26
- OUTBOUND_CALL: 'outbound_call',
27
- IM_CHAT_QUEUE: 'im_chat',
28
- NOT_IMPLEMENT: 'NOT_IMPLEMENT',
29
- } as const;
30
-
31
- export type QueueTypeName = (typeof QueueTypeName)[keyof typeof QueueTypeName];
1
+ /**
2
+ * @description
3
+ * Single source of truth moved to `@webitel/api-services/enums`, because the
4
+ * queue Zod schema and the queue type defaults live there and api-services
5
+ * cannot import from ui-sdk (the dependency runs the other way).
6
+ *
7
+ * Re-exported here so the ~40 `@webitel/ui-sdk/enums` consumers stay untouched.
8
+ */
9
+ export {
10
+ QueueType,
11
+ QueueTypeName,
12
+ } from '@webitel/api-services/enums';
@@ -1,11 +1 @@
1
- const valuePrefix = 'rdt'; /* stands for relative datetime */
2
-
3
- export const RelativeDatetimeValue = {
4
- Today: `${valuePrefix}_today`,
5
- ThisWeek: `${valuePrefix}_this_week`,
6
- ThisMonth: `${valuePrefix}_this_month`,
7
- Custom: `${valuePrefix}_custom`,
8
- } as const;
9
-
10
- export type RelativeDatetimeValue =
11
- (typeof RelativeDatetimeValue)[keyof typeof RelativeDatetimeValue];
1
+ export { RelativeDatetimeValue } from '@webitel/api-services/enums';
@@ -233,6 +233,34 @@ export default deepmerge(
233
233
  [snakeToCamel(AgentStatus.BreakOut)]: 'Break out',
234
234
  },
235
235
  },
236
+ bucket: 'Bucket | Buckets',
237
+ joinedAt: 'Joined at',
238
+ leavingAt: 'Leaving at',
239
+ offeringAt: 'Offering at',
240
+ stopCause: {
241
+ stopCause: 'End cause',
242
+ abandoned: 'Abandoned',
243
+ timeout: 'Timeout',
244
+ cancel: 'Cancel',
245
+ success: 'Success',
246
+ failed: 'Failed',
247
+ missed: 'Missed',
248
+ expired: 'Expired',
249
+ canceledByTimeout: 'Canceled by timeout',
250
+ },
251
+ memberPriority: 'Priority',
252
+ attempts: 'Attempts',
253
+ callReportingResult: {
254
+ result: 'Result',
255
+ abandoned: 'Abandoned',
256
+ cancel: 'Cancel',
257
+ success: 'Success',
258
+ failed: 'Failed',
259
+ missed: 'Missed',
260
+ timeout: 'Timeout',
261
+ endless: 'Endless',
262
+ transferred: 'Transferred',
263
+ },
236
264
  flow: {
237
265
  name: 'Flow schema | Flow schemas',
238
266
  type: {
@@ -712,6 +740,9 @@ export default deepmerge(
712
740
  author: ({ linked }) => {
713
741
  return linked('cases.author');
714
742
  },
743
+ bucket: ({ linked }) => {
744
+ return linked('objects.bucket');
745
+ },
715
746
  cause: ({ linked }) => {
716
747
  return linked('objects.hangupCause');
717
748
  },
@@ -754,6 +785,39 @@ export default deepmerge(
754
785
  hasUser: ({ linked }) => {
755
786
  return linked('objects.user');
756
787
  },
788
+ joinedAt: ({ linked }) => {
789
+ return linked('objects.joinedAt');
790
+ },
791
+ leavingAt: ({ linked }) => {
792
+ return linked('objects.leavingAt');
793
+ },
794
+ offeringAt: ({ linked }) => {
795
+ return linked('objects.offeringAt');
796
+ },
797
+ stopCause: ({ linked }) => {
798
+ return linked('objects.stopCause.stopCause');
799
+ },
800
+ memberPriority: ({ linked }) => {
801
+ return linked('objects.memberPriority');
802
+ },
803
+ attempts: ({ linked }) => {
804
+ return linked('objects.attempts');
805
+ },
806
+ name: ({ linked }) => {
807
+ return linked('reusable.name');
808
+ },
809
+ destination: ({ linked }) => {
810
+ return linked('vocabulary.destination');
811
+ },
812
+ duration: ({ linked }) => {
813
+ return linked('vocabulary.duration');
814
+ },
815
+ result: ({ linked }) => {
816
+ return linked('objects.callReportingResult.result');
817
+ },
818
+ tags: ({ linked }) => {
819
+ return linked('vocabulary.tag');
820
+ },
757
821
  impacted: ({ linked }) => {
758
822
  return linked('cases.impacted');
759
823
  },
@@ -224,6 +224,34 @@ export default {
224
224
  [snakeToCamel(AgentStatus.BreakOut)]: 'Descanso',
225
225
  },
226
226
  },
227
+ bucket: 'Caja | Cajas',
228
+ joinedAt: 'Unido el',
229
+ leavingAt: 'Abandonado el',
230
+ offeringAt: 'Ofertado el',
231
+ stopCause: {
232
+ stopCause: 'Causa de finalización',
233
+ abandoned: 'Abandonado',
234
+ timeout: 'Tiempo de espera',
235
+ cancel: 'Cancelar',
236
+ success: 'Éxito',
237
+ failed: 'Fallido',
238
+ missed: 'Perdido',
239
+ expired: 'Expirado',
240
+ canceledByTimeout: 'Cancelado por tiempo de espera',
241
+ },
242
+ memberPriority: 'Prioridad',
243
+ attempts: 'Intentos',
244
+ callReportingResult: {
245
+ result: 'Resultado',
246
+ abandoned: 'Abandonado',
247
+ cancel: 'Cancelar',
248
+ success: 'Éxito',
249
+ failed: 'Fallido',
250
+ missed: 'Perdido',
251
+ timeout: 'Tiempo de espera',
252
+ endless: 'Sin fin',
253
+ transferred: 'Transferido',
254
+ },
227
255
  flow: {
228
256
  name: 'Esquema de flujo | Esquemas de flujo',
229
257
  type: {
@@ -701,6 +729,9 @@ export default {
701
729
  author: ({ linked }) => {
702
730
  return linked('cases.author');
703
731
  },
732
+ bucket: ({ linked }) => {
733
+ return linked('objects.bucket');
734
+ },
704
735
  cause: ({ linked }) => {
705
736
  return linked('objects.hangupCause');
706
737
  },
@@ -743,6 +774,39 @@ export default {
743
774
  hasUser: ({ linked }) => {
744
775
  return linked('objects.user');
745
776
  },
777
+ joinedAt: ({ linked }) => {
778
+ return linked('objects.joinedAt');
779
+ },
780
+ leavingAt: ({ linked }) => {
781
+ return linked('objects.leavingAt');
782
+ },
783
+ offeringAt: ({ linked }) => {
784
+ return linked('objects.offeringAt');
785
+ },
786
+ stopCause: ({ linked }) => {
787
+ return linked('objects.stopCause.stopCause');
788
+ },
789
+ memberPriority: ({ linked }) => {
790
+ return linked('objects.memberPriority');
791
+ },
792
+ attempts: ({ linked }) => {
793
+ return linked('objects.attempts');
794
+ },
795
+ name: ({ linked }) => {
796
+ return linked('reusable.name');
797
+ },
798
+ destination: ({ linked }) => {
799
+ return linked('vocabulary.destination');
800
+ },
801
+ duration: ({ linked }) => {
802
+ return linked('vocabulary.duration');
803
+ },
804
+ result: ({ linked }) => {
805
+ return linked('objects.callReportingResult.result');
806
+ },
807
+ tags: ({ linked }) => {
808
+ return linked('vocabulary.tag');
809
+ },
746
810
  impacted: ({ linked }) => {
747
811
  return linked('cases.impacted');
748
812
  },
@@ -229,6 +229,34 @@ export default {
229
229
  [snakeToCamel(AgentStatus.BreakOut)]: 'Принудительный перерыв',
230
230
  },
231
231
  },
232
+ bucket: 'Бакет | Бакеттер',
233
+ joinedAt: 'Қосылған күні',
234
+ leavingAt: 'Шыққан күні',
235
+ offeringAt: 'Ұсынылған күні',
236
+ stopCause: {
237
+ stopCause: 'Аяқталу себебі',
238
+ abandoned: 'Абандондалды',
239
+ timeout: 'Таймақ',
240
+ cancel: 'Болдырмау',
241
+ success: 'Сәтті',
242
+ failed: 'Ақау',
243
+ missed: 'Жоқ',
244
+ expired: 'Төмендеді',
245
+ canceledByTimeout: 'Күту уақыты бойынша болдырылмады',
246
+ },
247
+ memberPriority: 'Приоритет',
248
+ attempts: 'Сынамалар',
249
+ callReportingResult: {
250
+ result: 'Нәтиже',
251
+ abandoned: 'Абандондалды',
252
+ cancel: 'Болдырмау',
253
+ success: 'Сәтті',
254
+ failed: 'Ақау',
255
+ missed: 'Жоқ',
256
+ timeout: 'Таймақ',
257
+ endless: 'Аяқсыз',
258
+ transferred: 'Ауыстырылды',
259
+ },
232
260
  flow: {
233
261
  name: 'Ағын схемасы | Ағын схемалары',
234
262
  type: {
@@ -703,6 +731,9 @@ export default {
703
731
  author: ({ linked }) => {
704
732
  return linked('cases.author');
705
733
  },
734
+ bucket: ({ linked }) => {
735
+ return linked('objects.bucket');
736
+ },
706
737
  cause: ({ linked }) => {
707
738
  return linked('objects.hangupCause');
708
739
  },
@@ -745,6 +776,39 @@ export default {
745
776
  hasUser: ({ linked }) => {
746
777
  return linked('objects.user');
747
778
  },
779
+ joinedAt: ({ linked }) => {
780
+ return linked('objects.joinedAt');
781
+ },
782
+ leavingAt: ({ linked }) => {
783
+ return linked('objects.leavingAt');
784
+ },
785
+ offeringAt: ({ linked }) => {
786
+ return linked('objects.offeringAt');
787
+ },
788
+ stopCause: ({ linked }) => {
789
+ return linked('objects.stopCause.stopCause');
790
+ },
791
+ memberPriority: ({ linked }) => {
792
+ return linked('objects.memberPriority');
793
+ },
794
+ attempts: ({ linked }) => {
795
+ return linked('objects.attempts');
796
+ },
797
+ name: ({ linked }) => {
798
+ return linked('reusable.name');
799
+ },
800
+ destination: ({ linked }) => {
801
+ return linked('vocabulary.destination');
802
+ },
803
+ duration: ({ linked }) => {
804
+ return linked('vocabulary.duration');
805
+ },
806
+ result: ({ linked }) => {
807
+ return linked('objects.callReportingResult.result');
808
+ },
809
+ tags: ({ linked }) => {
810
+ return linked('vocabulary.tag');
811
+ },
748
812
  impacted: ({ linked }) => {
749
813
  return linked('cases.impacted');
750
814
  },
@@ -229,6 +229,34 @@ export default {
229
229
  [snakeToCamel(AgentStatus.BreakOut)]: 'Przerwa',
230
230
  },
231
231
  },
232
+ bucket: 'Kubeł | Kubeły',
233
+ joinedAt: 'Dołączono',
234
+ leavingAt: 'Opuszczono',
235
+ offeringAt: 'Zaoferowano',
236
+ stopCause: {
237
+ stopCause: 'Przyczyna zakończenia',
238
+ abandoned: 'Porzucone',
239
+ timeout: 'Przekroczono czas',
240
+ cancel: 'Anulowane',
241
+ success: 'Sukces',
242
+ failed: 'Niepowodzenie',
243
+ missed: 'Przegapione',
244
+ expired: 'Wygasło',
245
+ canceledByTimeout: 'Anulowano z powodu przekroczenia czasu',
246
+ },
247
+ memberPriority: 'Priorytet',
248
+ attempts: 'Próby',
249
+ callReportingResult: {
250
+ result: 'Wynik',
251
+ abandoned: 'Porzucone',
252
+ cancel: 'Anulowane',
253
+ success: 'Sukces',
254
+ failed: 'Niepowodzenie',
255
+ missed: 'Przegapione',
256
+ timeout: 'Przekroczono czas',
257
+ endless: 'Nieskończony',
258
+ transferred: 'Przekazane',
259
+ },
232
260
  flow: {
233
261
  name: 'Schemat przepływu | Schematy przepływu',
234
262
  type: {
@@ -701,6 +729,9 @@ export default {
701
729
  author: ({ linked }) => {
702
730
  return linked('cases.author');
703
731
  },
732
+ bucket: ({ linked }) => {
733
+ return linked('objects.bucket');
734
+ },
704
735
  cause: ({ linked }) => {
705
736
  return linked('objects.hangupCause');
706
737
  },
@@ -743,6 +774,39 @@ export default {
743
774
  hasUser: ({ linked }) => {
744
775
  return linked('objects.user');
745
776
  },
777
+ joinedAt: ({ linked }) => {
778
+ return linked('objects.joinedAt');
779
+ },
780
+ leavingAt: ({ linked }) => {
781
+ return linked('objects.leavingAt');
782
+ },
783
+ offeringAt: ({ linked }) => {
784
+ return linked('objects.offeringAt');
785
+ },
786
+ stopCause: ({ linked }) => {
787
+ return linked('objects.stopCause.stopCause');
788
+ },
789
+ memberPriority: ({ linked }) => {
790
+ return linked('objects.memberPriority');
791
+ },
792
+ attempts: ({ linked }) => {
793
+ return linked('objects.attempts');
794
+ },
795
+ name: ({ linked }) => {
796
+ return linked('reusable.name');
797
+ },
798
+ destination: ({ linked }) => {
799
+ return linked('vocabulary.destination');
800
+ },
801
+ duration: ({ linked }) => {
802
+ return linked('vocabulary.duration');
803
+ },
804
+ result: ({ linked }) => {
805
+ return linked('objects.callReportingResult.result');
806
+ },
807
+ tags: ({ linked }) => {
808
+ return linked('vocabulary.tag');
809
+ },
746
810
  impacted: ({ linked }) => {
747
811
  return linked('cases.impacted');
748
812
  },
@@ -229,6 +229,34 @@ export default {
229
229
  [snakeToCamel(AgentStatus.BreakOut)]: 'Pauză mare',
230
230
  },
231
231
  },
232
+ bucket: 'Balon | Baloane',
233
+ joinedAt: 'Alăturat la',
234
+ leavingAt: 'Părăsit la',
235
+ offeringAt: 'Ofertat la',
236
+ stopCause: {
237
+ stopCause: 'Motiv sfârșit',
238
+ abandoned: 'Abandonat',
239
+ timeout: 'Timp de așteptare',
240
+ cancel: 'Anulat',
241
+ success: 'Succes',
242
+ failed: 'Eșuat',
243
+ missed: 'Pierdut',
244
+ expired: 'Expirat',
245
+ canceledByTimeout: 'Anulat din cauza timpului expirat',
246
+ },
247
+ memberPriority: 'Prioritate',
248
+ attempts: 'Încercări',
249
+ callReportingResult: {
250
+ result: 'Rezultat',
251
+ abandoned: 'Abandonat',
252
+ cancel: 'Anulat',
253
+ success: 'Succes',
254
+ failed: 'Eșuat',
255
+ missed: 'Pierdut',
256
+ timeout: 'Timp de așteptare',
257
+ endless: 'Nelimitat',
258
+ transferred: 'Transferat',
259
+ },
232
260
  flow: {
233
261
  name: 'Schemă flux | Scheme flux',
234
262
  type: {
@@ -707,6 +735,9 @@ export default {
707
735
  author: ({ linked }) => {
708
736
  return linked('cases.author');
709
737
  },
738
+ bucket: ({ linked }) => {
739
+ return linked('objects.bucket');
740
+ },
710
741
  cause: ({ linked }) => {
711
742
  return linked('objects.hangupCause');
712
743
  },
@@ -749,6 +780,39 @@ export default {
749
780
  hasUser: ({ linked }) => {
750
781
  return linked('objects.user');
751
782
  },
783
+ joinedAt: ({ linked }) => {
784
+ return linked('objects.joinedAt');
785
+ },
786
+ leavingAt: ({ linked }) => {
787
+ return linked('objects.leavingAt');
788
+ },
789
+ offeringAt: ({ linked }) => {
790
+ return linked('objects.offeringAt');
791
+ },
792
+ stopCause: ({ linked }) => {
793
+ return linked('objects.stopCause.stopCause');
794
+ },
795
+ memberPriority: ({ linked }) => {
796
+ return linked('objects.memberPriority');
797
+ },
798
+ attempts: ({ linked }) => {
799
+ return linked('objects.attempts');
800
+ },
801
+ name: ({ linked }) => {
802
+ return linked('reusable.name');
803
+ },
804
+ destination: ({ linked }) => {
805
+ return linked('vocabulary.destination');
806
+ },
807
+ duration: ({ linked }) => {
808
+ return linked('vocabulary.duration');
809
+ },
810
+ result: ({ linked }) => {
811
+ return linked('objects.callReportingResult.result');
812
+ },
813
+ tags: ({ linked }) => {
814
+ return linked('vocabulary.tag');
815
+ },
752
816
  impacted: ({ linked }) => {
753
817
  return linked('cases.impacted');
754
818
  },
@@ -225,6 +225,34 @@ export default {
225
225
  [snakeToCamel(AgentStatus.BreakOut)]: 'Принудительный перерыв',
226
226
  },
227
227
  },
228
+ bucket: 'Корзина | Корзины',
229
+ joinedAt: 'Присоединено',
230
+ leavingAt: 'Покинуто',
231
+ offeringAt: 'Предложено',
232
+ stopCause: {
233
+ stopCause: 'Причина прекращения',
234
+ abandoned: 'Потерянный',
235
+ timeout: 'Тайм-аут',
236
+ cancel: 'Отменённый',
237
+ success: 'Успешный',
238
+ failed: 'Неудачный',
239
+ missed: 'Пропущенный',
240
+ expired: 'Истекший',
241
+ canceledByTimeout: 'Отменен по тайм-ауту',
242
+ },
243
+ memberPriority: 'Приоритет',
244
+ attempts: 'Попыток',
245
+ callReportingResult: {
246
+ result: 'Результат',
247
+ abandoned: 'Потерянный',
248
+ cancel: 'Отменённый',
249
+ success: 'Успешный',
250
+ failed: 'Неудачный',
251
+ missed: 'Пропущенный',
252
+ timeout: 'Тайм-аут',
253
+ endless: 'Бесконечный',
254
+ transferred: 'Переведен',
255
+ },
228
256
  flow: {
229
257
  name: 'Схема | Схемы',
230
258
  type: {
@@ -697,6 +725,9 @@ export default {
697
725
  author: ({ linked }) => {
698
726
  return linked('cases.author');
699
727
  },
728
+ bucket: ({ linked }) => {
729
+ return linked('objects.bucket');
730
+ },
700
731
  cause: ({ linked }) => {
701
732
  return linked('objects.hangupCause');
702
733
  },
@@ -739,6 +770,39 @@ export default {
739
770
  hasUser: ({ linked }) => {
740
771
  return linked('objects.user');
741
772
  },
773
+ joinedAt: ({ linked }) => {
774
+ return linked('objects.joinedAt');
775
+ },
776
+ leavingAt: ({ linked }) => {
777
+ return linked('objects.leavingAt');
778
+ },
779
+ offeringAt: ({ linked }) => {
780
+ return linked('objects.offeringAt');
781
+ },
782
+ stopCause: ({ linked }) => {
783
+ return linked('objects.stopCause.stopCause');
784
+ },
785
+ memberPriority: ({ linked }) => {
786
+ return linked('objects.memberPriority');
787
+ },
788
+ attempts: ({ linked }) => {
789
+ return linked('objects.attempts');
790
+ },
791
+ name: ({ linked }) => {
792
+ return linked('reusable.name');
793
+ },
794
+ destination: ({ linked }) => {
795
+ return linked('vocabulary.destination');
796
+ },
797
+ duration: ({ linked }) => {
798
+ return linked('vocabulary.duration');
799
+ },
800
+ result: ({ linked }) => {
801
+ return linked('objects.callReportingResult.result');
802
+ },
803
+ tags: ({ linked }) => {
804
+ return linked('vocabulary.tag');
805
+ },
742
806
  impacted: ({ linked }) => {
743
807
  return linked('cases.impacted');
744
808
  },
@@ -224,6 +224,34 @@ export default {
224
224
  [snakeToCamel(AgentStatus.BreakOut)]: 'Примусова перерва',
225
225
  },
226
226
  },
227
+ bucket: 'Кошик | Кошики',
228
+ joinedAt: 'Приєднано',
229
+ leavingAt: 'Покинуто',
230
+ offeringAt: 'Запропоновано',
231
+ stopCause: {
232
+ stopCause: 'Причина припинення',
233
+ abandoned: 'Втрачений',
234
+ timeout: 'Тайм-аут',
235
+ cancel: 'Скасований',
236
+ success: 'Успішний',
237
+ failed: 'Неуспішний',
238
+ missed: 'Пропущений',
239
+ expired: 'Час вийшов',
240
+ canceledByTimeout: 'Скасовано по тайм-ауту',
241
+ },
242
+ memberPriority: 'Пріоритет',
243
+ attempts: 'Спроб',
244
+ callReportingResult: {
245
+ result: 'Результат',
246
+ abandoned: 'Втрачений',
247
+ cancel: 'Скасований',
248
+ success: 'Успішний',
249
+ failed: 'Неуспішний',
250
+ missed: 'Пропущений',
251
+ timeout: 'Тайм-аут',
252
+ endless: 'Нескінченний',
253
+ transferred: 'Переведений',
254
+ },
227
255
  flow: {
228
256
  name: 'Схема | Схеми',
229
257
  type: {
@@ -695,6 +723,9 @@ export default {
695
723
  author: ({ linked }) => {
696
724
  return linked('cases.author');
697
725
  },
726
+ bucket: ({ linked }) => {
727
+ return linked('objects.bucket');
728
+ },
698
729
  cause: ({ linked }) => {
699
730
  return linked('objects.hangupCause');
700
731
  },
@@ -737,6 +768,39 @@ export default {
737
768
  hasUser: ({ linked }) => {
738
769
  return linked('objects.user');
739
770
  },
771
+ joinedAt: ({ linked }) => {
772
+ return linked('objects.joinedAt');
773
+ },
774
+ leavingAt: ({ linked }) => {
775
+ return linked('objects.leavingAt');
776
+ },
777
+ offeringAt: ({ linked }) => {
778
+ return linked('objects.offeringAt');
779
+ },
780
+ stopCause: ({ linked }) => {
781
+ return linked('objects.stopCause.stopCause');
782
+ },
783
+ memberPriority: ({ linked }) => {
784
+ return linked('objects.memberPriority');
785
+ },
786
+ attempts: ({ linked }) => {
787
+ return linked('objects.attempts');
788
+ },
789
+ name: ({ linked }) => {
790
+ return linked('reusable.name');
791
+ },
792
+ destination: ({ linked }) => {
793
+ return linked('vocabulary.destination');
794
+ },
795
+ duration: ({ linked }) => {
796
+ return linked('vocabulary.duration');
797
+ },
798
+ result: ({ linked }) => {
799
+ return linked('objects.callReportingResult.result');
800
+ },
801
+ tags: ({ linked }) => {
802
+ return linked('vocabulary.tag');
803
+ },
740
804
  impacted: ({ linked }) => {
741
805
  return linked('cases.impacted');
742
806
  },