@webitel/ui-sdk 25.8.30 → 25.8.31

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 (26) hide show
  1. package/package.json +5 -1
  2. package/src/locale/i18n.js +1 -21
  3. package/src/locale/index.ts +33 -0
  4. package/types/api/history/index.d.ts +2 -0
  5. package/types/api/history/transcript/callTranscript.d.ts +15 -0
  6. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  7. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +15 -15
  8. package/types/components/wt-button-select/wt-button-select.vue.d.ts +2 -2
  9. package/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +2 -2
  10. package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +2 -2
  11. package/types/components/wt-loader/_internals/wt-loader--md.vue.d.ts +2 -0
  12. package/types/components/wt-loader/_internals/wt-loader--sm.vue.d.ts +16 -0
  13. package/types/components/wt-player/wt-player.vue.d.ts +1 -1
  14. package/types/components/wt-table/wt-table.vue.d.ts +1 -1
  15. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
  16. package/types/locale/index.d.ts +7142 -0
  17. package/types/locale/ua/ua.d.ts +911 -0
  18. package/types/modules/Userinfo/api/userinfo.d.ts +1 -1
  19. package/types/modules/Userinfo/v2/api/UserinfoAPI.d.ts +1 -1
  20. package/types/plugins/primevue/theme/semantic/color-scheme/color-schema.d.ts +1189 -0
  21. package/types/plugins/primevue/theme/semantic/color-scheme/dark-color.d.ts +162 -0
  22. package/types/plugins/primevue/theme/semantic/color-scheme/light-color.d.ts +162 -0
  23. package/types/plugins/primevue/theme/semantic/color-scheme/palette.d.ts +435 -0
  24. package/types/plugins/primevue/theme/semantic/semantic.d.ts +5 -0
  25. package/types/scripts/caseConverters.d.ts +1 -1
  26. package/types/scripts/sortQueryAdapters.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.8.30",
3
+ "version": "25.8.31",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -208,6 +208,10 @@
208
208
  "types": "./types/locale*",
209
209
  "import": "./src/locale*"
210
210
  },
211
+ "./locale": {
212
+ "types": "./types/locale/index.d.ts",
213
+ "import": "./src/locale/index.ts"
214
+ },
211
215
  "./src/locale*": {
212
216
  "types": "./types/locale*",
213
217
  "import": "./src/locale*"
@@ -1,26 +1,6 @@
1
1
  import { createI18n } from 'vue-i18n';
2
2
 
3
- import en from './en/en.js';
4
- import es from './es/es.js';
5
- import kz from './kz/kz.js';
6
- import pl from './pl/pl';
7
- import ro from './ro/ro.js';
8
- import ru from './ru/ru.js';
9
- import uk from './uk/uk.js';
10
- import uz from './uz/uz';
11
- import vi from './vi/vi';
12
-
13
- const messages = {
14
- en,
15
- es,
16
- ru,
17
- ro,
18
- uk,
19
- kz,
20
- pl,
21
- uz,
22
- vi,
23
- };
3
+ import { messages } from './index';
24
4
 
25
5
  export default createI18n({
26
6
  // legacy: false,
@@ -0,0 +1,33 @@
1
+ import en from './en/en';
2
+ import es from './es/es';
3
+ import kz from './kz/kz';
4
+ import pl from './pl/pl';
5
+ import ro from './ro/ro';
6
+ import ru from './ru/ru';
7
+ import uk from './uk/uk';
8
+ import uz from './uz/uz';
9
+ import vi from './vi/vi';
10
+
11
+ export const messages = {
12
+ en,
13
+ es,
14
+ ru,
15
+ ro,
16
+ uk,
17
+ kz,
18
+ pl,
19
+ uz,
20
+ vi,
21
+ };
22
+
23
+ export {
24
+ en,
25
+ es,
26
+ kz,
27
+ pl,
28
+ ro,
29
+ ru,
30
+ uk,
31
+ uz,
32
+ vi,
33
+ };
@@ -0,0 +1,2 @@
1
+ export { callTranscript };
2
+ import callTranscript from './transcript/callTranscript.js';
@@ -0,0 +1,15 @@
1
+ export default CallTranscriptAPI;
2
+ declare namespace CallTranscriptAPI {
3
+ export { createTranscript as create };
4
+ export { getTranscript as get };
5
+ export { deleteTranscript as delete };
6
+ }
7
+ declare function createTranscript({ callId }: {
8
+ callId: any;
9
+ }): Promise<any>;
10
+ declare function getTranscript({ id, page, size }: {
11
+ id: any;
12
+ page?: number;
13
+ size?: number;
14
+ }): Promise<any>;
15
+ declare function deleteTranscript(item: any): Promise<any>;
@@ -1,2 +1,2 @@
1
- export const tableActionsOrder: ("delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact")[];
2
- export const sectionActionsOrder: ("delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact")[];
1
+ export const tableActionsOrder: ("filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact")[];
2
+ export const sectionActionsOrder: ("filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact")[];
@@ -19,53 +19,53 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
19
19
  };
20
20
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
21
  type __VLS_Slots = {
22
- delete?: (props: {
23
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
24
- size: string;
25
- onClick: () => void;
26
- }) => any;
27
22
  filters?: (props: {
28
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
23
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
29
24
  size: string;
30
25
  onClick: () => void;
31
26
  }) => any;
32
27
  add?: (props: {
33
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
28
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
34
29
  size: string;
35
30
  onClick: () => void;
36
31
  }) => any;
37
- variables?: (props: {
38
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
32
+ delete?: (props: {
33
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
39
34
  size: string;
40
35
  onClick: () => void;
41
36
  }) => any;
42
37
  refresh?: (props: {
43
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
38
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
44
39
  size: string;
45
40
  onClick: () => void;
46
41
  }) => any;
47
42
  upload?: (props: {
48
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
43
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
49
44
  size: string;
50
45
  onClick: () => void;
51
46
  }) => any;
52
47
  download?: (props: {
53
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
48
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
54
49
  size: string;
55
50
  onClick: () => void;
56
51
  }) => any;
57
52
  copy?: (props: {
58
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
53
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
59
54
  size: string;
60
55
  onClick: () => void;
61
56
  }) => any;
62
57
  columns?: (props: {
63
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
58
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
59
+ size: string;
60
+ onClick: () => void;
61
+ }) => any;
62
+ variables?: (props: {
63
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
64
64
  size: string;
65
65
  onClick: () => void;
66
66
  }) => any;
67
67
  "add-contact"?: (props: {
68
- action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
68
+ action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
69
69
  size: string;
70
70
  onClick: () => void;
71
71
  }) => any;
@@ -5,12 +5,12 @@ type __VLS_WithSlots<T, S> = T & (new () => {
5
5
  });
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  $emit: (event: "click" | "click:option", ...args: any[]) => void;
8
- options: unknown[];
9
8
  color: string;
9
+ options: unknown[];
10
10
  disabled: boolean;
11
11
  $props: {
12
- readonly options?: unknown[];
13
12
  readonly color?: string;
13
+ readonly options?: unknown[];
14
14
  readonly disabled?: boolean;
15
15
  };
16
16
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -6,14 +6,14 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  $emit: (event: "close" | "confirm", ...args: any[]) => void;
8
8
  title: string;
9
- callback: Function;
10
9
  deleteMessage: string;
11
10
  subject: string;
11
+ callback: Function;
12
12
  $props: {
13
13
  readonly title?: string;
14
- readonly callback?: Function;
15
14
  readonly deleteMessage?: string;
16
15
  readonly subject?: string;
16
+ readonly callback?: Function;
17
17
  };
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
19
  type __VLS_Slots = {
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  $emit: (event: "next", ...args: any[]) => void;
3
- next: Function;
4
3
  loading: boolean;
4
+ next: Function;
5
5
  $props: {
6
- readonly next?: Function;
7
6
  readonly loading?: boolean;
7
+ readonly next?: Function;
8
8
  };
9
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
10
  export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ color: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ color: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ description: string;
12
+ };
13
+ }>> & Readonly<{}>, {
14
+ color: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
@@ -96,7 +96,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
96
96
  onClose?: (...args: any[]) => any;
97
97
  onInitialized?: (...args: any[]) => any;
98
98
  }>, {
99
- position: string;
100
99
  download: string | boolean | Function;
101
100
  autoplay: boolean;
102
101
  loop: boolean;
@@ -106,5 +105,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
106
105
  invertTime: boolean;
107
106
  resetVolume: boolean;
108
107
  closable: boolean;
108
+ position: string;
109
109
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
110
110
  export default _default;
@@ -121,8 +121,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
121
121
  onSort?: (...args: any[]) => any;
122
122
  "onUpdate:selected"?: (...args: any[]) => any;
123
123
  }>, {
124
- headers: unknown[];
125
124
  data: unknown[];
125
+ headers: unknown[];
126
126
  sortable: boolean;
127
127
  selectable: boolean;
128
128
  gridActions: boolean;
@@ -138,8 +138,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
138
138
  value: string | number;
139
139
  label: string;
140
140
  disabled: boolean;
141
- format: string;
142
141
  dateMode: boolean;
142
+ format: string;
143
143
  noLabel: boolean;
144
144
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
145
145
  export default _default;