@webitel/ui-sdk 25.8.31 → 25.8.33

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 (70) hide show
  1. package/dist/ui-sdk.css +1 -1
  2. package/dist/ui-sdk.js +6982 -7018
  3. package/dist/ui-sdk.umd.cjs +559 -559
  4. package/package.json +10 -1
  5. package/src/components/index.js +3 -0
  6. package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +67 -0
  7. package/src/components/on-demand/wt-selection-popup/wt-selection-popup.vue +7 -10
  8. package/src/components/wt-app-header/wt-app-navigator.vue +7 -11
  9. package/src/components/wt-app-header/wt-header-actions.vue +8 -12
  10. package/src/components/wt-context-menu/wt-context-menu.vue +40 -36
  11. package/src/components/wt-copy-action/wt-copy-action.vue +7 -11
  12. package/src/components/wt-icon-action/wt-icon-action.vue +8 -12
  13. package/src/components/wt-label/wt-label.vue +2 -1
  14. package/src/components/wt-pagination/wt-pagination.vue +15 -22
  15. package/src/components/wt-popover/wt-popover.vue +36 -18
  16. package/src/components/wt-search-bar/wt-search-bar.vue +5 -9
  17. package/src/components/wt-select/wt-select.vue +16 -15
  18. package/src/components/wt-table-actions/wt-table-actions.vue +43 -55
  19. package/src/components/wt-table-column-select/wt-table-column-select.vue +6 -9
  20. package/src/locale/en/en.js +24 -3
  21. package/src/locale/es/es.js +23 -6
  22. package/src/locale/kz/kz.js +324 -294
  23. package/src/locale/pl/pl.js +23 -6
  24. package/src/locale/ro/ro.js +23 -6
  25. package/src/locale/ru/ru.js +28 -4
  26. package/src/locale/uk/uk.js +28 -4
  27. package/src/locale/uz/uz.js +23 -6
  28. package/src/locale/vi/vi.js +23 -6
  29. package/src/mixins/validationMixin/validationMixin.js +5 -3
  30. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +5 -5
  31. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +12 -19
  32. package/src/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue +7 -10
  33. package/src/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.ts +1 -0
  34. package/src/utils/displayText.ts +3 -0
  35. package/src/utils/index.ts +1 -0
  36. package/src/validations/config/errors/customZodErrorsHandler.ts +19 -2
  37. package/types/components/index.d.ts +3 -1
  38. package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +38 -0
  39. package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
  40. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +2 -2
  41. package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +5 -5
  42. package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +4 -1
  43. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
  44. package/types/components/wt-input/wt-input.vue.d.ts +2 -2
  45. package/types/components/wt-item-link/wt-item-link.vue.d.ts +2 -2
  46. package/types/components/wt-player/wt-player.vue.d.ts +2 -2
  47. package/types/components/wt-popover/wt-popover.vue.d.ts +32 -15
  48. package/types/components/wt-radio/wt-radio.vue.d.ts +6 -6
  49. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +6 -6
  50. package/types/components/wt-slider/wt-slider.vue.d.ts +2 -2
  51. package/types/components/wt-textarea/wt-textarea.vue.d.ts +2 -2
  52. package/types/components/wt-time-input/wt-time-input.vue.d.ts +1 -1
  53. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
  54. package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +1 -1
  55. package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +2 -2
  56. package/types/locale/en/en.d.ts +9 -3
  57. package/types/locale/es/es.d.ts +11 -5
  58. package/types/locale/i18n.d.ts +102 -36
  59. package/types/locale/index.d.ts +103 -37
  60. package/types/locale/kz/kz.d.ts +14 -0
  61. package/types/locale/pl/pl.d.ts +11 -5
  62. package/types/locale/ro/ro.d.ts +11 -5
  63. package/types/locale/ru/ru.d.ts +12 -4
  64. package/types/locale/uk/uk.d.ts +12 -4
  65. package/types/locale/uz/uz.d.ts +11 -5
  66. package/types/locale/vi/vi.d.ts +11 -5
  67. package/types/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.d.ts +1 -0
  68. package/types/scripts/sortQueryAdapters.d.ts +1 -1
  69. package/types/utils/displayText.d.ts +2 -0
  70. package/types/utils/index.d.ts +1 -0
@@ -131,309 +131,339 @@ export default {
131
131
  column: 'Баған | Бағандар',
132
132
  notification: 'Хабарландыру | Хабарландырулар',
133
133
  },
134
- appNavigator: {
135
- title: 'Webitel қосымшалары',
136
- admin: 'Әкімші',
137
- agent: 'Агент',
138
- supervisor: 'Бақылаушы',
139
- audit: 'Тексеру',
140
- history: 'Тарих',
141
- grafana: 'Графана',
142
- crm: 'CRM',
143
- },
144
- headerActions: {
145
- account: 'Аккаунт',
146
- docs: 'Құжаттар',
147
- settings: 'Параметрлер',
148
- logout: 'Шығу',
149
- buildVersion: 'Құрылым нұсқасы',
150
- },
151
- tableActions: {
152
- filterReset: 'Сүзгілерді қалпына келтіру',
153
- columnSelect: 'Бағандарды таңдау',
154
- refreshTable: 'Кестені жаңарту',
155
- expandFilters: 'Сүзгілерді кеңейту',
156
- },
157
- tableColumnSelect: {
158
- title: 'Көрінетін бағандарды таңдаңыз',
159
- },
160
- statusSelect: {
161
- online: 'Желіде',
162
- pause: 'Кідіріс',
163
- offline: 'Желіден тыс',
164
- breakOut: 'Үзіліс',
165
- },
166
- iconAction: {
167
- hints: {
168
- [IconAction.DELETE]: ({ linked }) => linked('reusable.delete'),
169
- [IconAction.EDIT]: ({ linked }) => linked('reusable.edit'),
170
- [IconAction.ADD]: ({ linked }) => linked('reusable.add'),
171
- [IconAction.HISTORY]: ({ linked }) => linked('reusable.history'),
172
- [IconAction.DOWNLOAD]: ({ linked }) => linked('reusable.download'),
173
- [IconAction.FILTERS]: ({ linked }) => linked('reusable.filter'),
174
- [IconAction.COLUMNS]: 'Бағандарды таңдау',
175
- [IconAction.VARIABLES]: 'Айнымалы бағандарды таңдау',
176
- [IconAction.REFRESH]: ({ linked }) => linked('reusable.refresh'),
177
- [IconAction.EXPAND]: ({ linked }) => linked('reusable.expand'),
178
- [IconAction.COLLAPSE]: ({ linked }) => linked('reusable.collapse'),
179
- [IconAction.CLOSE]: ({ linked }) => linked('reusable.close'),
180
- [IconAction.CLEAR]: ({ linked }) =>
181
- linked('webitelUI.tableActions.filterReset'),
182
- [IconAction.ADD_FILTER]: ({ linked }) => linked('reusable.add'),
183
- [IconAction.SAVE]: ({ linked }) => linked('reusable.save'),
184
- [IconAction.CANCEL]: ({ linked }) => linked('reusable.cancel'),
185
- [IconAction.SAVE_PRESET]: ({ linked }) => {
186
- return `${linked('reusable.save')} ${linked(
187
- 'webitelUI.filters.presets.preset',
188
- ).toLowerCase()}`;
189
- },
190
- [IconAction.APPLY_PRESET]: ({ linked }) => {
191
- return `${linked('vocabulary.apply')} ${linked(
192
- 'webitelUI.filters.presets.preset',
193
- ).toLowerCase()}`;
194
- },
195
- [IconAction.ADD_CONTACT]: ({ linked }) => {
196
- return `${linked('reusable.add')} контактілер`;
197
- },
134
+ appNavigator: {
135
+ title: 'Webitel қосымшалары',
136
+ admin: 'Әкімші',
137
+ agent: 'Агент',
138
+ supervisor: 'Бақылаушы',
139
+ audit: 'Тексеру',
140
+ history: 'Тарих',
141
+ grafana: 'Графана',
142
+ crm: 'CRM',
143
+ },
144
+ headerActions: {
145
+ account: 'Аккаунт',
146
+ docs: 'Құжаттар',
147
+ settings: 'Параметрлер',
148
+ logout: 'Шығу',
149
+ buildVersion: 'Құрылым нұсқасы',
150
+ },
151
+ tableActions: {
152
+ filterReset: 'Сүзгілерді қалпына келтіру',
153
+ columnSelect: 'Бағандарды таңдау',
154
+ refreshTable: 'Кестені жаңарту',
155
+ expandFilters: 'Сүзгілерді кеңейту',
156
+ },
157
+ tableColumnSelect: {
158
+ title: 'Көрінетін бағандарды таңдаңыз',
159
+ },
160
+ statusSelect: {
161
+ online: 'Желіде',
162
+ pause: 'Кідіріс',
163
+ offline: 'Желіден тыс',
164
+ breakOut: 'Үзіліс',
165
+ },
166
+ iconAction: {
167
+ hints: {
168
+ [IconAction.DELETE]: ({ linked }) => linked('reusable.delete'),
169
+ [IconAction.EDIT]: ({ linked }) => linked('reusable.edit'),
170
+ [IconAction.ADD]: ({ linked }) => linked('reusable.add'),
171
+ [IconAction.HISTORY]: ({ linked }) => linked('reusable.history'),
172
+ [IconAction.DOWNLOAD]: ({ linked }) => linked('reusable.download'),
173
+ [IconAction.FILTERS]: ({ linked }) => linked('reusable.filter'),
174
+ [IconAction.COLUMNS]: 'Бағандарды таңдау',
175
+ [IconAction.VARIABLES]: 'Айнымалы бағандарды таңдау',
176
+ [IconAction.REFRESH]: ({ linked }) => linked('reusable.refresh'),
177
+ [IconAction.EXPAND]: ({ linked }) => linked('reusable.expand'),
178
+ [IconAction.COLLAPSE]: ({ linked }) => linked('reusable.collapse'),
179
+ [IconAction.CLOSE]: ({ linked }) => linked('reusable.close'),
180
+ [IconAction.CLEAR]: ({ linked }) =>
181
+ linked('webitelUI.tableActions.filterReset'),
182
+ [IconAction.ADD_FILTER]: ({ linked }) => linked('reusable.add'),
183
+ [IconAction.SAVE]: ({ linked }) => linked('reusable.save'),
184
+ [IconAction.CANCEL]: ({ linked }) => linked('reusable.cancel'),
185
+ [IconAction.SAVE_PRESET]: ({ linked }) => {
186
+ return `${linked('reusable.save')} ${linked(
187
+ 'webitelUI.filters.presets.preset',
188
+ ).toLowerCase()}`;
189
+ },
190
+ [IconAction.APPLY_PRESET]: ({ linked }) => {
191
+ return `${linked('vocabulary.apply')} ${linked(
192
+ 'webitelUI.filters.presets.preset',
193
+ ).toLowerCase()}`;
194
+ },
195
+ [IconAction.ADD_CONTACT]: ({ linked }) => {
196
+ return `${linked('reusable.add')} контактілер`;
198
197
  },
199
198
  },
200
- errorPages: {
201
- goBack: 'Артқа қайту',
202
- page403: {
203
- title: 'Рұқсат жоқ',
204
- text: 'Кешіріңіз, бұл бетті көру үшін рұқсатыңыз жеткіліксіз.',
205
- },
206
- page404: {
207
- title: 'Сіз адасып қалған сияқтысыз',
208
- text: 'Кешіріңіз, сіз іздеген бетті таба алмадық.',
209
- },
199
+ },
200
+ errorPages: {
201
+ goBack: 'Артқа қайту',
202
+ page403: {
203
+ title: 'Рұқсат жоқ',
204
+ text: 'Кешіріңіз, бұл бетті көру үшін рұқсатыңыз жеткіліксіз.',
210
205
  },
211
- copyAction: {
212
- copy: 'Көшіру',
213
- copied: 'Буферге көшірілді!',
214
- },
215
- auditForm: {
216
- question: 'Критерий',
217
- option: 'Нұсқа | Нұсқалар',
218
- score: 'Ұпай | Ұпайлар',
219
- addQuestion: 'Критерий қосу',
220
- answerType: 'Жауап түрі',
221
- type: {
222
- options: 'Нұсқалар',
223
- score: 'Ұпай',
224
- },
225
- clearSelection: 'Таңдауды тазарту',
226
- },
227
- deleteConfirmationPopup: {
228
- title: 'Жоюды растау',
229
- askingAlert:
230
- '{subject} жойғыңыз келетініне сенімдісіз бе? Бұл әрекетті қайтару мүмкін емес.',
231
- tableAskingAlert:
232
- '{count} жазбаны жойғыңыз келетініне сенімдісіз бе? | {count} жазбаны жойғыңыз келетініне сенімдісіз бе?',
233
- deleteAll: 'БАРЛЫҒЫ',
234
- },
235
- dummy: {
236
- text: 'Әзірге жазбалар жоқ',
237
- },
238
- empty: {
239
- text: {
240
- empty: 'Әзірге жазбалар жоқ',
241
- filters:
242
- 'Өкінішке орай, сіздің критерийлеріңізге сәйкес жазбалар табылмады',
243
- },
206
+ page404: {
207
+ title: 'Сіз адасып қалған сияқтысыз',
208
+ text: 'Кешіріңіз, сіз іздеген бетті таба алмадық.',
244
209
  },
245
- agentStatusSelect: {
246
- pauseCausePopup: {
247
- title: 'Кідіріс себебін таңдаңыз',
248
- min: 'Мин',
249
- unlimited: 'Шексіз',
250
- },
251
- statusSelectErrorPopup: {
252
- title: 'Назар аударыңыз',
253
- message:
254
- 'Агенттердің кідіріске шығу шегі асып кетті. Қазір кідіріске шығу мүмкін емес.',
255
- },
210
+ },
211
+ copyAction: {
212
+ copy: 'Көшіру',
213
+ copied: 'Буферге көшірілді!',
214
+ },
215
+ auditForm: {
216
+ question: 'Критерий',
217
+ option: 'Нұсқа | Нұсқалар',
218
+ score: 'Ұпай | Ұпайлар',
219
+ addQuestion: 'Критерий қосу',
220
+ answerType: 'Жауап түрі',
221
+ type: {
222
+ options: 'Нұсқалар',
223
+ score: 'Ұпай',
256
224
  },
257
- saveFailedPopup: {
258
- title: 'Сақтау сәтсіз аяқталды',
259
- label: 'Бір нәрсе дұрыс болмады, қайталап көріңіз',
260
- exportToJson: 'JSON форматында экспорттау',
261
- },
262
- filters: {
263
- datetime: {
264
- [RelativeDatetimeValue.Today]: 'Бүгін',
265
- [RelativeDatetimeValue.ThisWeek]: 'Осы апта',
266
- [RelativeDatetimeValue.ThisMonth]: 'Осы ай',
267
- [RelativeDatetimeValue.Custom]: 'Таңдамалы күн аралығы',
268
- },
269
- addFilter: ({ linked }) => {
270
- return `${linked('reusable.add')} сүзгі`;
271
- },
272
- filterName: ({ linked }) => {
273
- return linked('vocabulary.column');
274
- },
275
- filterValue: ({ linked }) => {
276
- return linked('vocabulary.values');
277
- },
278
- filterValueFrom: ({ linked }) => {
279
- const from = linked('reusable.from').toLowerCase();
280
- return `${linked('vocabulary.values')} ${from}`;
281
- },
282
- filterLabel: ({ linked }) => {
283
- return linked('vocabulary.labels');
284
- },
285
- actualReactionTime: ({ linked }) => {
286
- return linked('cases.actualReactionTime');
287
- },
288
- actualResolutionTime: ({ linked }) => {
289
- return linked('cases.actualResolutionTime');
290
- },
291
- agent: ({ linked }) => {
292
- return linked('objects.agent.agent');
293
- },
294
- amdResult: ({ linked }) => {
295
- return linked('objects.amdResult');
296
- },
297
- assignee: ({ linked }) => {
298
- return linked('cases.assignee');
299
- },
300
- author: ({ linked }) => {
301
- return linked('cases.author');
302
- },
303
- cause: ({ linked }) => {
304
- return linked('objects.hangupCause');
305
- },
306
- closeReasonGroups: ({ linked }) => {
307
- return linked('cases.reason');
308
- },
309
- contact: ({ linked }) => {
310
- return linked('vocabulary.contact');
311
- },
312
- contactGroup: ({ linked }) => {
313
- return linked('cases.groupPerformers');
314
- },
315
- createdAt: ({ linked }) => {
316
- return linked('reusable.createdAt');
317
- },
318
- createdAtFrom: ({ linked }) => {
319
- return linked('reusable.from');
320
- },
321
- createdAtTo: ({ linked }) => {
322
- return linked('reusable.to');
323
- },
324
- direction: ({ linked }) => {
325
- return linked('objects.direction');
326
- },
327
- gateway: ({ linked }) => {
328
- return linked('objects.gateway');
329
- },
330
- grantee: ({ linked }) => {
331
- return linked('objects.grantee');
332
- },
333
- hasAttachment: ({ linked }) => {
334
- return linked('objects.attachment');
335
- },
336
- hasFile: ({ linked }) => {
337
- return linked('objects.hasRecording');
338
- },
339
- hasTranscription: ({ linked }) => {
340
- return linked('objects.transcription');
341
- },
342
- hasUser: ({ linked }) => {
343
- return linked('objects.user');
344
- },
345
- impacted: ({ linked }) => {
346
- return linked('cases.impacted');
347
- },
348
- contactLabel: ({ linked }) => {
349
- return linked('vocabulary.labels');
350
- },
351
- contactOwner: ({ linked }) => {
352
- return linked('objects.owner');
353
- },
354
- priority: ({ linked }) => {
355
- return linked('vocabulary.priority');
356
- },
357
- queue: ({ linked }) => {
358
- return linked('objects.queue.queue');
359
- },
360
- rated: 'Бағаланған',
361
- ratedBy: ({ linked }) => {
362
- return linked('objects.ratedBy');
363
- },
364
- rating: ({ linked }) => {
365
- return linked('cases.rating');
366
- },
367
- reactionTime: ({ linked }) => {
368
- return linked('cases.reactionTime');
369
- },
370
- reporter: ({ linked }) => {
371
- return linked('cases.reporter');
372
- },
373
- resolutionTime: ({ linked }) => {
374
- return linked('cases.resolutionTime');
375
- },
376
- score: ({ linked }) => {
377
- return linked('webitelUI.auditForm.score');
378
- },
379
- service: ({ linked }) => {
380
- return linked('cases.service');
381
- },
382
- sla: ({ linked }) => {
383
- return linked('cases.appliedSLA');
384
- },
385
- slaCondition: ({ linked }) => {
386
- return linked('cases.appliedCondition');
387
- },
388
- source: ({ linked }) => {
389
- return linked('cases.source');
390
- },
391
- status: ({ linked }) => {
392
- return linked('cases.status');
393
- },
394
- tag: ({ linked }) => {
395
- return linked('vocabulary.tag');
396
- },
397
- talkDuration: ({ linked }) => {
398
- return linked('objects.talkDuration');
399
- },
400
- team: ({ linked }) => {
401
- return linked('objects.team');
402
- },
403
- totalDuration: ({ linked }) => {
404
- return linked('objects.totalDuration');
405
- },
406
- user: ({ linked }) => {
407
- return linked('objects.user');
408
- },
409
- variable: ({ linked }) => {
410
- return linked('vocabulary.variables');
411
- },
412
- presets: {
413
- preset: 'Алдын ала орнату | Алдын ала орнатулар',
414
- overwritePresetTitle: 'Бұл атаумен алдын ала орнату бар.',
415
- overwritePresetText: 'Оны ауыстырғыңыз келе ме?',
416
- notifications: {
417
- success: {
418
- update: ({ linked }) => {
419
- return linked('systemNotifications.success.update', {
420
- entity: linked('filters.presets.preset'),
421
- });
422
- },
423
- create: ({ linked }) => {
424
- return linked('systemNotifications.success.create', {
425
- entity: linked('filters.presets.preset'),
426
- });
427
- },
428
- delete: ({ linked }) => {
429
- return linked('systemNotifications.success.delete', {
430
- entity: linked('filters.presets.preset'),
431
- });
432
- },
225
+ clearSelection: 'Таңдауды тазарту',
226
+ },
227
+ deleteConfirmationPopup: {
228
+ title: 'Жоюды растау',
229
+ askingAlert:
230
+ '{subject} жойғыңыз келетініне сенімдісіз бе? Бұл әрекетті қайтару мүмкін емес.',
231
+ tableAskingAlert:
232
+ '{count} жазбаны жойғыңыз келетініне сенімдісіз бе? | {count} жазбаны жойғыңыз келетініне сенімдісіз бе?',
233
+ deleteAll: 'БАРЛЫҒЫ',
234
+ },
235
+ dummy: {
236
+ text: 'Әзірге жазбалар жоқ',
237
+ },
238
+ empty: {
239
+ text: {
240
+ empty: 'Әзірге жазбалар жоқ',
241
+ filters:
242
+ 'Өкінішке орай, сіздің критерийлеріңізге сәйкес жазбалар табылмады',
243
+ },
244
+ },
245
+ agentStatusSelect: {
246
+ pauseCausePopup: {
247
+ title: 'Кідіріс себебін таңдаңыз',
248
+ min: 'Мин',
249
+ unlimited: 'Шексіз',
250
+ },
251
+ statusSelectErrorPopup: {
252
+ title: 'Назар аударыңыз',
253
+ message:
254
+ 'Агенттердің кідіріске шығу шегі асып кетті. Қазір кідіріске шығу мүмкін емес.',
255
+ },
256
+ },
257
+ saveFailedPopup: {
258
+ title: 'Сақтау сәтсіз аяқталды',
259
+ label: 'Бір нәрсе дұрыс болмады, қайталап көріңіз',
260
+ exportToJson: 'JSON форматында экспорттау',
261
+ },
262
+ filters: {
263
+ datetime: {
264
+ [RelativeDatetimeValue.Today]: 'Бүгін',
265
+ [RelativeDatetimeValue.ThisWeek]: 'Осы апта',
266
+ [RelativeDatetimeValue.ThisMonth]: 'Осы ай',
267
+ [RelativeDatetimeValue.Custom]: 'Таңдамалы күн аралығы',
268
+ },
269
+ addFilter: ({ linked }) => {
270
+ return `${linked('reusable.add')} сүзгі`;
271
+ },
272
+ filterName: ({ linked }) => {
273
+ return linked('vocabulary.column');
274
+ },
275
+ filterValue: ({ linked }) => {
276
+ return linked('vocabulary.values');
277
+ },
278
+ filterValueFrom: ({ linked }) => {
279
+ const from = linked('reusable.from').toLowerCase();
280
+ return `${linked('vocabulary.values')} ${from}`;
281
+ },
282
+ filterLabel: ({ linked }) => {
283
+ return linked('vocabulary.labels');
284
+ },
285
+ actualReactionTime: ({ linked }) => {
286
+ return linked('cases.actualReactionTime');
287
+ },
288
+ actualResolutionTime: ({ linked }) => {
289
+ return linked('cases.actualResolutionTime');
290
+ },
291
+ agent: ({ linked }) => {
292
+ return linked('objects.agent.agent');
293
+ },
294
+ amdResult: ({ linked }) => {
295
+ return linked('objects.amdResult');
296
+ },
297
+ assignee: ({ linked }) => {
298
+ return linked('cases.assignee');
299
+ },
300
+ author: ({ linked }) => {
301
+ return linked('cases.author');
302
+ },
303
+ cause: ({ linked }) => {
304
+ return linked('objects.hangupCause');
305
+ },
306
+ closeReasonGroups: ({ linked }) => {
307
+ return linked('cases.reason');
308
+ },
309
+ contact: ({ linked }) => {
310
+ return linked('vocabulary.contact');
311
+ },
312
+ contactGroup: ({ linked }) => {
313
+ return linked('cases.groupPerformers');
314
+ },
315
+ createdAt: ({ linked }) => {
316
+ return linked('reusable.createdAt');
317
+ },
318
+ createdAtFrom: ({ linked }) => {
319
+ return linked('reusable.from');
320
+ },
321
+ createdAtTo: ({ linked }) => {
322
+ return linked('reusable.to');
323
+ },
324
+ direction: ({ linked }) => {
325
+ return linked('objects.direction');
326
+ },
327
+ gateway: ({ linked }) => {
328
+ return linked('objects.gateway');
329
+ },
330
+ grantee: ({ linked }) => {
331
+ return linked('objects.grantee');
332
+ },
333
+ hasAttachment: ({ linked }) => {
334
+ return linked('objects.attachment');
335
+ },
336
+ hasFile: ({ linked }) => {
337
+ return linked('objects.hasRecording');
338
+ },
339
+ hasTranscription: ({ linked }) => {
340
+ return linked('objects.transcription');
341
+ },
342
+ hasUser: ({ linked }) => {
343
+ return linked('objects.user');
344
+ },
345
+ impacted: ({ linked }) => {
346
+ return linked('cases.impacted');
347
+ },
348
+ contactLabel: ({ linked }) => {
349
+ return linked('vocabulary.labels');
350
+ },
351
+ contactOwner: ({ linked }) => {
352
+ return linked('objects.owner');
353
+ },
354
+ priority: ({ linked }) => {
355
+ return linked('vocabulary.priority');
356
+ },
357
+ queue: ({ linked }) => {
358
+ return linked('objects.queue.queue');
359
+ },
360
+ rated: 'Бағаланған',
361
+ ratedBy: ({ linked }) => {
362
+ return linked('objects.ratedBy');
363
+ },
364
+ rating: ({ linked }) => {
365
+ return linked('cases.rating');
366
+ },
367
+ reactionTime: ({ linked }) => {
368
+ return linked('cases.reactionTime');
369
+ },
370
+ reporter: ({ linked }) => {
371
+ return linked('cases.reporter');
372
+ },
373
+ resolutionTime: ({ linked }) => {
374
+ return linked('cases.resolutionTime');
375
+ },
376
+ score: ({ linked }) => {
377
+ return linked('webitelUI.auditForm.score');
378
+ },
379
+ service: ({ linked }) => {
380
+ return linked('cases.service');
381
+ },
382
+ sla: ({ linked }) => {
383
+ return linked('cases.appliedSLA');
384
+ },
385
+ slaCondition: ({ linked }) => {
386
+ return linked('cases.appliedCondition');
387
+ },
388
+ source: ({ linked }) => {
389
+ return linked('cases.source');
390
+ },
391
+ status: ({ linked }) => {
392
+ return linked('cases.status');
393
+ },
394
+ tag: ({ linked }) => {
395
+ return linked('vocabulary.tag');
396
+ },
397
+ talkDuration: ({ linked }) => {
398
+ return linked('objects.talkDuration');
399
+ },
400
+ team: ({ linked }) => {
401
+ return linked('objects.team');
402
+ },
403
+ totalDuration: ({ linked }) => {
404
+ return linked('objects.totalDuration');
405
+ },
406
+ user: ({ linked }) => {
407
+ return linked('objects.user');
408
+ },
409
+ variable: ({ linked }) => {
410
+ return linked('vocabulary.variables');
411
+ },
412
+ presets: {
413
+ preset: 'Алдын ала орнату | Алдын ала орнатулар',
414
+ overwritePresetTitle: 'Бұл атаумен алдын ала орнату бар.',
415
+ overwritePresetText: 'Оны ауыстырғыңыз келе ме?',
416
+ notifications: {
417
+ success: {
418
+ update: ({ linked }) => {
419
+ return linked('systemNotifications.success.update', {
420
+ entity: linked('filters.presets.preset'),
421
+ });
422
+ },
423
+ create: ({ linked }) => {
424
+ return linked('systemNotifications.success.create', {
425
+ entity: linked('filters.presets.preset'),
426
+ });
427
+ },
428
+ delete: ({ linked }) => {
429
+ return linked('systemNotifications.success.delete', {
430
+ entity: linked('filters.presets.preset'),
431
+ });
433
432
  },
434
433
  },
435
434
  },
436
435
  },
436
+ },
437
+ validation: {
438
+ minValue: ({ named }) => {
439
+ let text = 'Мәні кем болмауы керек';
440
+ if (named('min')) {
441
+ text += ` ${named('min')}`;
442
+ }
443
+ return text;
444
+ },
445
+ maxValue: ({ named }) => {
446
+ let text = 'Мәні артық болмауы керек';
447
+ if (named('max')) {
448
+ text += ` ${named('max')}`;
449
+ }
450
+ return text;
451
+ },
452
+ minLength: ({ named }) => {
453
+ let text = 'Ұзындығы кем болмауы керек';
454
+ if (named('min')) {
455
+ text += ` ${named('min')}`;
456
+ }
457
+ return text;
458
+ },
459
+ maxLength: ({ named }) => {
460
+ let text = 'Ұзындығы артық болмауы керек';
461
+ if (named('max')) {
462
+ text += ` ${named('max')}`;
463
+ }
464
+ return text;
465
+ },
466
+ },
437
467
  systemNotifications: {
438
468
  success: {
439
469
  update: ({ named }) => `${named('entity').toLowerCase()} жаңартылды`,