@webitel/ui-sdk 26.8.50 → 26.8.52

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 (64) hide show
  1. package/dist/clients-jhkEj9YI.js +39275 -0
  2. package/dist/{components-2ISVk3oW.js → components-C4rE9PlV.js} +639 -631
  3. package/dist/{enums-De8CDKZ1.js → enums-DY3jIXFF.js} +50 -29
  4. package/dist/ui-sdk.js +3 -3
  5. package/dist/ui-sdk.umd.cjs +396 -396
  6. package/dist/{useValidation-D6P-wRwq.js → useValidation-BD4S-sEW.js} +1 -1
  7. package/dist/{wt-action-bar-HBm22ay5.js → wt-action-bar-C4JukltF.js} +2 -2
  8. package/dist/{wt-button-B7B7qITq.js → wt-button-2_aOV7LX.js} +4 -4
  9. package/dist/{wt-chat-emoji-ytWQWd8E.js → wt-chat-emoji-DVIlMP3o.js} +4 -4
  10. package/dist/{wt-datepicker-B8PRf5QY.js → wt-datepicker-H4E0JyRE.js} +6 -6
  11. package/dist/{wt-display-chip-items-BzQFwYws.js → wt-display-chip-items-DwMS-DJc.js} +1 -1
  12. package/dist/{wt-dual-panel-BEGLGU7F.js → wt-dual-panel-C98aGU8o.js} +1 -1
  13. package/dist/{wt-expansion-card-CpmnVJ03.js → wt-expansion-card-CEMaWXCy.js} +1 -1
  14. package/dist/{wt-expansion-panel-Br7JPc5X.js → wt-expansion-panel-BjeXHSay.js} +1 -1
  15. package/dist/{wt-icon-09f_Vpk_.js → wt-icon-Ct0E7k_d.js} +1 -1
  16. package/dist/{wt-icon-action-BBmutGsL.js → wt-icon-action-DB6P4E4K.js} +1 -1
  17. package/dist/{wt-icon-btn-DvrrxhWx.js → wt-icon-btn-DZa_qsai.js} +1 -1
  18. package/dist/{wt-notifications-bar-0o0yhR7P.js → wt-notifications-bar-BEomlIrN.js} +2 -2
  19. package/dist/{wt-player-D_kVPIdJ.js → wt-player-1-8X7Uo8.js} +3 -3
  20. package/dist/{wt-search-bar-Dnjkgro3.js → wt-search-bar-DzzSQyB3.js} +1 -1
  21. package/dist/{wt-send-message-popup-BuTlCwnq.js → wt-send-message-popup-DPjllTAk.js} +2 -2
  22. package/dist/{wt-status-select-DL1bOn9G.js → wt-status-select-BuojqV_1.js} +9 -9
  23. package/dist/{wt-timepicker-CAkO0jFY.js → wt-timepicker-RhM7Sln_.js} +2 -2
  24. package/dist/{wt-toast-DrfbAfTj.js → wt-toast-eWzfeYuz.js} +2 -2
  25. package/dist/{wt-tree-table-DJGISZ65.js → wt-tree-table-DvG6KLLB.js} +1 -1
  26. package/dist/{wt-type-extension-value-input-DVpMso5z.js → wt-type-extension-value-input-BO44atDh.js} +3 -3
  27. package/dist/{wt-vidstack-player-DhaLynZB.js → wt-vidstack-player-BD28KRTU.js} +4 -4
  28. package/package.json +3 -1
  29. package/src/composables/index.ts +0 -1
  30. package/src/enums/QueueType/QueueType.enum.ts +12 -31
  31. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.ts +1 -11
  32. package/src/locale/en/en.js +64 -0
  33. package/src/locale/es/es.js +64 -0
  34. package/src/locale/kz/kz.js +64 -0
  35. package/src/locale/pl/pl.js +64 -0
  36. package/src/locale/ro/ro.js +64 -0
  37. package/src/locale/ru/ru.js +64 -0
  38. package/src/locale/uk/uk.js +64 -0
  39. package/src/locale/uz/uz.js +64 -0
  40. package/src/locale/vi/vi.js +64 -0
  41. package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +1 -1
  42. package/src/modules/TableComponentModule/composables/{useTableEmpty.js → useTableEmpty.ts} +40 -12
  43. package/src/scripts/normalizeDatetime.ts +7 -88
  44. package/types/.tsbuildinfo +1 -1
  45. package/types/composables/index.d.ts +0 -1
  46. package/types/enums/QueueType/QueueType.enum.d.ts +9 -28
  47. package/types/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +1 -7
  48. package/types/locale/en/en.d.ts +64 -0
  49. package/types/locale/es/es.d.ts +87 -3
  50. package/types/locale/i18n.d.ts +576 -0
  51. package/types/locale/index.d.ts +576 -0
  52. package/types/locale/kz/kz.d.ts +87 -3
  53. package/types/locale/pl/pl.d.ts +87 -3
  54. package/types/locale/ro/ro.d.ts +87 -3
  55. package/types/locale/ru/ru.d.ts +87 -3
  56. package/types/locale/uk/uk.d.ts +87 -3
  57. package/types/locale/uz/uz.d.ts +87 -3
  58. package/types/locale/vi/vi.d.ts +87 -3
  59. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +1 -1
  60. package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +38 -13
  61. package/types/scripts/normalizeDatetime.d.ts +1 -8
  62. package/dist/clients-DBqdsc05.js +0 -38757
  63. package/src/composables/useCard/useCardTabs.js +0 -29
  64. package/types/composables/useCard/useCardTabs.d.ts +0 -4
@@ -207,6 +207,42 @@ declare namespace _default {
207
207
  };
208
208
  export { status_1 as status };
209
209
  }
210
+ export let bucket: string;
211
+ export let joinedAt: string;
212
+ export let leavingAt: string;
213
+ export let offeringAt: string;
214
+ export namespace stopCause {
215
+ let stopCause_1: string;
216
+ export { stopCause_1 as stopCause };
217
+ export let abandoned: string;
218
+ export let timeout: string;
219
+ let cancel_1: string;
220
+ export { cancel_1 as cancel };
221
+ export let success: string;
222
+ export let failed: string;
223
+ export let missed: string;
224
+ export let expired: string;
225
+ export let canceledByTimeout: string;
226
+ }
227
+ export let memberPriority: string;
228
+ export let attempts: string;
229
+ export namespace callReportingResult {
230
+ export let result: string;
231
+ let abandoned_1: string;
232
+ export { abandoned_1 as abandoned };
233
+ let cancel_2: string;
234
+ export { cancel_2 as cancel };
235
+ let success_1: string;
236
+ export { success_1 as success };
237
+ let failed_1: string;
238
+ export { failed_1 as failed };
239
+ let missed_1: string;
240
+ export { missed_1 as missed };
241
+ let timeout_1: string;
242
+ export { timeout_1 as timeout };
243
+ export let endless: string;
244
+ export let transferred: string;
245
+ }
210
246
  export namespace flow {
211
247
  let name_1: string;
212
248
  export { name_1 as name };
@@ -745,6 +781,10 @@ declare namespace _default {
745
781
  linked: any;
746
782
  }): any;
747
783
  export { author_1 as author };
784
+ export function bucket_1({ linked }: {
785
+ linked: any;
786
+ }): any;
787
+ export { bucket_1 as bucket };
748
788
  export function cause({ linked }: {
749
789
  linked: any;
750
790
  }): any;
@@ -792,6 +832,49 @@ declare namespace _default {
792
832
  export function hasUser({ linked }: {
793
833
  linked: any;
794
834
  }): any;
835
+ export function joinedAt_1({ linked }: {
836
+ linked: any;
837
+ }): any;
838
+ export { joinedAt_1 as joinedAt };
839
+ export function leavingAt_1({ linked }: {
840
+ linked: any;
841
+ }): any;
842
+ export { leavingAt_1 as leavingAt };
843
+ export function offeringAt_1({ linked }: {
844
+ linked: any;
845
+ }): any;
846
+ export { offeringAt_1 as offeringAt };
847
+ export function stopCause_2({ linked }: {
848
+ linked: any;
849
+ }): any;
850
+ export { stopCause_2 as stopCause };
851
+ export function memberPriority_1({ linked }: {
852
+ linked: any;
853
+ }): any;
854
+ export { memberPriority_1 as memberPriority };
855
+ export function attempts_1({ linked }: {
856
+ linked: any;
857
+ }): any;
858
+ export { attempts_1 as attempts };
859
+ export function name_10({ linked }: {
860
+ linked: any;
861
+ }): any;
862
+ export { name_10 as name };
863
+ export function destination_1({ linked }: {
864
+ linked: any;
865
+ }): any;
866
+ export { destination_1 as destination };
867
+ export function duration_1({ linked }: {
868
+ linked: any;
869
+ }): any;
870
+ export { duration_1 as duration };
871
+ export function result_1({ linked }: {
872
+ linked: any;
873
+ }): any;
874
+ export { result_1 as result };
875
+ export function tags({ linked }: {
876
+ linked: any;
877
+ }): any;
795
878
  export function impacted_1({ linked }: {
796
879
  linked: any;
797
880
  }): any;
@@ -912,7 +995,7 @@ declare namespace _default {
912
995
  let overwritePresetTitle: string;
913
996
  let overwritePresetText: string;
914
997
  namespace notifications {
915
- namespace success {
998
+ export namespace success_2 {
916
999
  export function update_1({ linked }: {
917
1000
  linked: any;
918
1001
  }): any;
@@ -926,6 +1009,7 @@ declare namespace _default {
926
1009
  }): any;
927
1010
  export { _delete_1 as delete };
928
1011
  }
1012
+ export { success_2 as success };
929
1013
  }
930
1014
  }
931
1015
  }
@@ -935,7 +1019,7 @@ declare namespace _default {
935
1019
  }
936
1020
  }
937
1021
  export namespace systemNotifications {
938
- export namespace success_1 {
1022
+ export namespace success_3 {
939
1023
  export function update_2({ named }: {
940
1024
  named: any;
941
1025
  }): string;
@@ -949,7 +1033,7 @@ declare namespace _default {
949
1033
  }): string;
950
1034
  export { _delete_2 as delete };
951
1035
  }
952
- export { success_1 as success };
1036
+ export { success_3 as success };
953
1037
  export namespace warnings {
954
1038
  let passwordExpirationMessageDays: string;
955
1039
  let passwordExpirationMessageHours: string;
@@ -207,6 +207,42 @@ declare namespace _default {
207
207
  };
208
208
  export { status_1 as status };
209
209
  }
210
+ export let bucket: string;
211
+ export let joinedAt: string;
212
+ export let leavingAt: string;
213
+ export let offeringAt: string;
214
+ export namespace stopCause {
215
+ let stopCause_1: string;
216
+ export { stopCause_1 as stopCause };
217
+ export let abandoned: string;
218
+ export let timeout: string;
219
+ let cancel_1: string;
220
+ export { cancel_1 as cancel };
221
+ export let success: string;
222
+ export let failed: string;
223
+ export let missed: string;
224
+ export let expired: string;
225
+ export let canceledByTimeout: string;
226
+ }
227
+ export let memberPriority: string;
228
+ export let attempts: string;
229
+ export namespace callReportingResult {
230
+ export let result: string;
231
+ let abandoned_1: string;
232
+ export { abandoned_1 as abandoned };
233
+ let cancel_2: string;
234
+ export { cancel_2 as cancel };
235
+ let success_1: string;
236
+ export { success_1 as success };
237
+ let failed_1: string;
238
+ export { failed_1 as failed };
239
+ let missed_1: string;
240
+ export { missed_1 as missed };
241
+ let timeout_1: string;
242
+ export { timeout_1 as timeout };
243
+ export let endless: string;
244
+ export let transferred: string;
245
+ }
210
246
  export namespace flow {
211
247
  let name_1: string;
212
248
  export { name_1 as name };
@@ -744,6 +780,10 @@ declare namespace _default {
744
780
  linked: any;
745
781
  }): any;
746
782
  export { author_1 as author };
783
+ export function bucket_1({ linked }: {
784
+ linked: any;
785
+ }): any;
786
+ export { bucket_1 as bucket };
747
787
  export function cause({ linked }: {
748
788
  linked: any;
749
789
  }): any;
@@ -791,6 +831,49 @@ declare namespace _default {
791
831
  export function hasUser({ linked }: {
792
832
  linked: any;
793
833
  }): any;
834
+ export function joinedAt_1({ linked }: {
835
+ linked: any;
836
+ }): any;
837
+ export { joinedAt_1 as joinedAt };
838
+ export function leavingAt_1({ linked }: {
839
+ linked: any;
840
+ }): any;
841
+ export { leavingAt_1 as leavingAt };
842
+ export function offeringAt_1({ linked }: {
843
+ linked: any;
844
+ }): any;
845
+ export { offeringAt_1 as offeringAt };
846
+ export function stopCause_2({ linked }: {
847
+ linked: any;
848
+ }): any;
849
+ export { stopCause_2 as stopCause };
850
+ export function memberPriority_1({ linked }: {
851
+ linked: any;
852
+ }): any;
853
+ export { memberPriority_1 as memberPriority };
854
+ export function attempts_1({ linked }: {
855
+ linked: any;
856
+ }): any;
857
+ export { attempts_1 as attempts };
858
+ export function name_10({ linked }: {
859
+ linked: any;
860
+ }): any;
861
+ export { name_10 as name };
862
+ export function destination_1({ linked }: {
863
+ linked: any;
864
+ }): any;
865
+ export { destination_1 as destination };
866
+ export function duration_1({ linked }: {
867
+ linked: any;
868
+ }): any;
869
+ export { duration_1 as duration };
870
+ export function result_1({ linked }: {
871
+ linked: any;
872
+ }): any;
873
+ export { result_1 as result };
874
+ export function tags({ linked }: {
875
+ linked: any;
876
+ }): any;
794
877
  export function impacted_1({ linked }: {
795
878
  linked: any;
796
879
  }): any;
@@ -911,7 +994,7 @@ declare namespace _default {
911
994
  let overwritePresetTitle: string;
912
995
  let overwritePresetText: string;
913
996
  namespace notifications {
914
- namespace success {
997
+ export namespace success_2 {
915
998
  export function update_1({ linked }: {
916
999
  linked: any;
917
1000
  }): any;
@@ -925,6 +1008,7 @@ declare namespace _default {
925
1008
  }): any;
926
1009
  export { _delete_1 as delete };
927
1010
  }
1011
+ export { success_2 as success };
928
1012
  }
929
1013
  }
930
1014
  }
@@ -934,7 +1018,7 @@ declare namespace _default {
934
1018
  }
935
1019
  }
936
1020
  export namespace systemNotifications {
937
- export namespace success_1 {
1021
+ export namespace success_3 {
938
1022
  export function update_2({ named }: {
939
1023
  named: any;
940
1024
  }): string;
@@ -948,7 +1032,7 @@ declare namespace _default {
948
1032
  }): string;
949
1033
  export { _delete_2 as delete };
950
1034
  }
951
- export { success_1 as success };
1035
+ export { success_3 as success };
952
1036
  export namespace warnings {
953
1037
  let passwordExpirationMessageDays: string;
954
1038
  let passwordExpirationMessageHours: string;
@@ -3,6 +3,6 @@ export declare const FlowTypeApplications: {
3
3
  readonly chat: readonly [...("string" | "function" | "set" | "switch" | "export" | "calendar" | "list" | "execute" | "log" | "math" | "notification" | "sendMessage" | "schema" | "userInfo" | "goto" | "if" | "js" | "plataByMono" | "softSleep" | "httpRequest" | "customCode" | "unSet" | "listAdd" | "while" | "openLink" | "memberInfo" | "getQueueAgents" | "callbackQueue" | "patchMembers" | "sendEmail" | "broadcastChatMessage" | "getEmail" | "customModule")[], "trigger", "menu", "recvMessage", "sendText", "sendTts", "sendFile", "stt", "generateLink", "classifier", "joinQueue", "chatHistory", "chatAi"];
4
4
  readonly processing: readonly [...("string" | "function" | "set" | "switch" | "export" | "calendar" | "list" | "execute" | "log" | "math" | "notification" | "sendMessage" | "schema" | "userInfo" | "goto" | "if" | "js" | "plataByMono" | "softSleep" | "httpRequest" | "customCode" | "unSet" | "listAdd" | "while" | "openLink" | "memberInfo" | "getQueueAgents" | "callbackQueue" | "patchMembers" | "sendEmail" | "broadcastChatMessage" | "getEmail" | "customModule")[], "makeCall", "formTextfield", "formSelect", "formSelectService", "formText", "formDatetimePicker", "formRichTextEditor", "formSelectFromObject", "formSelectCaseStatus", "formTable", "formFile", "generateForm", "attemptResult", "iFrame"];
5
5
  readonly service: readonly [...("string" | "function" | "set" | "switch" | "export" | "calendar" | "list" | "execute" | "log" | "math" | "notification" | "sendMessage" | "schema" | "userInfo" | "goto" | "if" | "js" | "plataByMono" | "softSleep" | "httpRequest" | "customCode" | "unSet" | "listAdd" | "while" | "openLink" | "memberInfo" | "getQueueAgents" | "callbackQueue" | "patchMembers" | "sendEmail" | "broadcastChatMessage" | "getEmail" | "customModule")[], "attemptResult", "stt"];
6
- readonly default: ("string" | "function" | "menu" | "set" | "stop" | "switch" | "export" | "calendar" | "trigger" | "recordFile" | "list" | "execute" | "log" | "start" | "math" | "notification" | "hangup" | "sendMessage" | "tts" | "schema" | "userInfo" | "answer" | "goto" | "if" | "js" | "plataByMono" | "iFrame" | "markIVR" | "softSleep" | "setGrantee" | "httpRequest" | "customCode" | "unSet" | "listAdd" | "while" | "openLink" | "playback" | "ringReady" | "preAnswer" | "sipRedirect" | "ringback" | "bridge" | "conference" | "generateLink" | "inBandDTMF" | "flushDTMF" | "updateCid" | "park" | "joinQueue" | "recordSession" | "memberInfo" | "getQueueAgents" | "joinAgent" | "callbackQueue" | "patchMembers" | "recvMessage" | "sendText" | "sendFile" | "sendEmail" | "sendTts" | "stt" | "classifier" | "broadcastChatMessage" | "chatHistory" | "chatAi" | "makeCall" | "formTextfield" | "formSelect" | "formSelectService" | "formTable" | "formText" | "formDatetimePicker" | "formRichTextEditor" | "formSelectFromObject" | "formSelectCaseStatus" | "generateForm" | "attemptResult" | "getEmail" | "formFile" | "customModule")[];
6
+ readonly default: ("string" | "function" | "menu" | "set" | "stop" | "switch" | "export" | "calendar" | "trigger" | "recordFile" | "list" | "execute" | "log" | "math" | "start" | "notification" | "hangup" | "sendMessage" | "tts" | "schema" | "userInfo" | "answer" | "goto" | "if" | "js" | "plataByMono" | "iFrame" | "markIVR" | "softSleep" | "setGrantee" | "httpRequest" | "customCode" | "unSet" | "listAdd" | "while" | "openLink" | "playback" | "ringReady" | "preAnswer" | "sipRedirect" | "ringback" | "bridge" | "conference" | "generateLink" | "inBandDTMF" | "flushDTMF" | "updateCid" | "park" | "joinQueue" | "recordSession" | "memberInfo" | "getQueueAgents" | "joinAgent" | "callbackQueue" | "patchMembers" | "recvMessage" | "sendText" | "sendFile" | "sendEmail" | "sendTts" | "stt" | "classifier" | "broadcastChatMessage" | "chatHistory" | "chatAi" | "makeCall" | "formTextfield" | "formSelect" | "formSelectService" | "formTable" | "formText" | "formDatetimePicker" | "formRichTextEditor" | "formSelectFromObject" | "formSelectCaseStatus" | "generateForm" | "attemptResult" | "getEmail" | "formFile" | "customModule")[];
7
7
  };
8
8
  export type FlowTypeApplications = (typeof FlowTypeApplications)[keyof typeof FlowTypeApplications];
@@ -1,15 +1,40 @@
1
- export function useTableEmpty({ dataList, filters, error, isLoading }?: {
2
- dataList?: unknown;
3
- filters?: unknown;
4
- error?: unknown;
5
- isLoading?: unknown;
6
- }, overrides?: object): {
1
+ import { type MaybeRefOrGetter } from 'vue';
2
+ import { EmptyCause } from '../../../enums/index';
3
+ interface EmptyImageSet {
4
+ dark: string;
5
+ light: string;
6
+ }
7
+ interface EmptyStateVariants<T> {
8
+ filters: T;
9
+ error: T;
10
+ empty: T;
11
+ }
12
+ interface EmptyStateConfig {
13
+ image: EmptyStateVariants<EmptyImageSet>;
14
+ headline: EmptyStateVariants<string>;
15
+ title: EmptyStateVariants<string>;
16
+ text: EmptyStateVariants<string>;
17
+ primaryActionText: EmptyStateVariants<string>;
18
+ secondaryActionText: EmptyStateVariants<string>;
19
+ }
20
+ /** duck-typed readable ref — accepts `Ref`/`ComputedRef`/Pinia `ToRef` alike, only `.value` is ever read */
21
+ type Readable<T> = {
22
+ value: T;
23
+ };
24
+ export interface UseTableEmptySource {
25
+ dataList?: Readable<unknown[] | undefined>;
26
+ filters?: Readable<Record<string, unknown> | undefined>;
27
+ error?: Readable<unknown>;
28
+ isLoading?: Readable<boolean | undefined>;
29
+ }
30
+ export declare const useTableEmpty: ({ dataList, filters, error, isLoading }?: UseTableEmptySource, overrides?: MaybeRefOrGetter<Partial<EmptyStateConfig>>) => {
7
31
  showEmpty: import("vue").ComputedRef<boolean>;
8
- emptyCause: import("vue").ComputedRef<"error" | "filters" | "empty" | null>;
9
- image: import("vue").ComputedRef<any>;
10
- headline: import("vue").ComputedRef<any>;
11
- title: import("vue").ComputedRef<any>;
12
- text: import("vue").ComputedRef<any>;
13
- primaryActionText: import("vue").ComputedRef<any>;
14
- secondaryActionText: import("vue").ComputedRef<any>;
32
+ emptyCause: import("vue").ComputedRef<EmptyCause | null>;
33
+ image: import("vue").ComputedRef<string | null>;
34
+ headline: import("vue").ComputedRef<string | null>;
35
+ title: import("vue").ComputedRef<string | null>;
36
+ text: import("vue").ComputedRef<string | null>;
37
+ primaryActionText: import("vue").ComputedRef<string | null>;
38
+ secondaryActionText: import("vue").ComputedRef<string | null>;
15
39
  };
40
+ export {};
@@ -1,8 +1 @@
1
- import { RelativeDatetimeValue } from '../enums';
2
- export type RelativeDatetimeRoundOption = 'start' | 'end';
3
- export type NormalizeDatetimeValueParam = RelativeDatetimeValue | number | string | null | undefined;
4
- export type NormalizeDatetimeOptions = {
5
- round?: RelativeDatetimeRoundOption;
6
- };
7
- export declare const isRelativeDatetimeValue: (value: unknown) => value is RelativeDatetimeValue;
8
- export declare const normalizeToTimestamp: (value?: NormalizeDatetimeValueParam, options?: NormalizeDatetimeOptions) => number;
1
+ export { isRelativeDatetimeValue, type NormalizeDatetimeOptions, type NormalizeDatetimeValueParam, normalizeToTimestamp, type RelativeDatetimeRoundOption, } from '@webitel/api-services/scripts';