@webitel/ui-sdk 25.8.9 → 25.8.10

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.8.9",
3
+ "version": "25.8.10",
4
4
  "private": false,
5
5
  "scripts": {
6
- "make-all": "npm version patch && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
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",
7
7
  "dev": "npm run docs:dev",
8
8
  "build": "vite build",
9
9
  "test:unit": "vitest",
@@ -1,2 +1,2 @@
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")[];
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")[];
@@ -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;
22
27
  filters?: (props: {
23
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
28
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
24
29
  size: string;
25
30
  onClick: () => void;
26
31
  }) => any;
27
32
  add?: (props: {
28
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
33
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
29
34
  size: string;
30
35
  onClick: () => void;
31
36
  }) => any;
32
- delete?: (props: {
33
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
37
+ variables?: (props: {
38
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
34
39
  size: string;
35
40
  onClick: () => void;
36
41
  }) => any;
37
42
  refresh?: (props: {
38
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
43
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
39
44
  size: string;
40
45
  onClick: () => void;
41
46
  }) => any;
42
47
  upload?: (props: {
43
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
48
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
44
49
  size: string;
45
50
  onClick: () => void;
46
51
  }) => any;
47
52
  download?: (props: {
48
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
53
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
49
54
  size: string;
50
55
  onClick: () => void;
51
56
  }) => any;
52
57
  copy?: (props: {
53
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
58
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
54
59
  size: string;
55
60
  onClick: () => void;
56
61
  }) => any;
57
62
  columns?: (props: {
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";
63
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact";
64
64
  size: string;
65
65
  onClick: () => void;
66
66
  }) => any;
67
67
  "add-contact"?: (props: {
68
- action: "filters" | "add" | "delete" | "refresh" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact";
68
+ action: "delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "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
- color: string;
9
8
  options: unknown[];
9
+ color: string;
10
10
  disabled: boolean;
11
11
  $props: {
12
- readonly color?: string;
13
12
  readonly options?: unknown[];
13
+ readonly color?: string;
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;
9
10
  deleteMessage: string;
10
11
  subject: string;
11
- callback: Function;
12
12
  $props: {
13
13
  readonly title?: string;
14
+ readonly callback?: Function;
14
15
  readonly deleteMessage?: string;
15
16
  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
- loading: boolean;
4
3
  next: Function;
4
+ loading: boolean;
5
5
  $props: {
6
- readonly loading?: boolean;
7
6
  readonly next?: Function;
7
+ readonly loading?: boolean;
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;
@@ -96,6 +96,7 @@ 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;
99
100
  download: string | boolean | Function;
100
101
  autoplay: boolean;
101
102
  loop: boolean;
@@ -105,6 +106,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
105
106
  invertTime: boolean;
106
107
  resetVolume: boolean;
107
108
  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
- data: unknown[];
125
124
  headers: unknown[];
125
+ data: 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
- dateMode: boolean;
142
141
  format: string;
142
+ dateMode: boolean;
143
143
  noLabel: boolean;
144
144
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
145
145
  export default _default;
@@ -10,6 +10,6 @@ declare function userinfo(instance: any): {
10
10
  permissions: import("../v2/types/UserAccess").GlobalAccessApiResponseItem[];
11
11
  userId: string;
12
12
  }>;
13
- logout: () => Promise<any>;
13
+ logout: () => Promise<import("axios").AxiosResponse<any, any>>;
14
14
  getUiVisibilityAccess: () => Promise<import("../v2/types/UserAccess").VisibilityAccess>;
15
15
  };
@@ -7,5 +7,5 @@ declare const getSession: () => Promise<{
7
7
  userId: string;
8
8
  }>;
9
9
  declare const getUiVisibilityAccess: () => Promise<VisibilityAccess>;
10
- declare const logout: () => Promise<any>;
10
+ declare const logout: () => Promise<import("axios").AxiosResponse<any, any>>;
11
11
  export { getSession, getUiVisibilityAccess, logout, setInstance };
@@ -1 +1 @@
1
- export { camelToKebab, camelToSnake, kebabToCamel, kebabToSnake, objCamelToKebab, objCamelToSnake, objSnakeToCamel, snakeToCamel, snakeToKebab } from "@webitel/api-services/utils";
1
+ export {};
@@ -3,6 +3,6 @@ export const SortSymbols: Readonly<{
3
3
  DESC: "desc";
4
4
  NONE: any;
5
5
  }>;
6
- export function sortToQueryAdapter(order: any): "" | "+" | "-";
6
+ export function sortToQueryAdapter(order: any): "" | "-" | "+";
7
7
  export function queryToSortAdapter(order: any): any;
8
8
  export function getNextSortOrder(sort: any): any;
@@ -1,2 +0,0 @@
1
- export { callTranscript };
2
- import callTranscript from './transcript/callTranscript.js';
@@ -1,15 +0,0 @@
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>;