@webitel/ui-sdk 26.8.63 → 26.8.65
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/dist/{caseConverters-DXegZoCt.js → caseConverters-6cy_SaV5.js} +8 -8
- package/dist/{clients-BeKkM_Tf.js → clients-DpqA006B.js} +301 -217
- package/dist/{components-DelpnGuy.js → components-CXPq3d81.js} +5228 -3247
- package/dist/{composables-BtWSAI5D.js → composables-DbGvukRz.js} +3 -3
- package/dist/{debounce-Bp3jy7S5.js → debounce-CCzQDuk5.js} +2 -2
- package/dist/{deep-copy-CTgLtgMO.js → deep-copy-CjYHLk2X.js} +1 -1
- package/dist/{dist-CAOIU8xq.js → dist-C_fngTiN.js} +1 -1
- package/dist/{dist-Crpfx4FA.js → dist-CugChoYz.js} +1 -1
- package/dist/{enums-DY3jIXFF.js → enums-CM8hOd_m.js} +29 -28
- package/dist/genClient-DMVlC4Uy.js +2088 -0
- package/dist/{rolldown-runtime-BEcgMyyN.js → rolldown-runtime-to5KK-CW.js} +5 -2
- package/dist/{side-channel-8SnAuRMA.js → side-channel-M3LABDql.js} +2 -2
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +42 -42
- package/dist/ui-sdk.umd.cjs +642 -641
- package/dist/{useValidation-Bvastl-C.js → useValidation-CDgb424A.js} +2 -2
- package/dist/{useWtTable-DLWucXPx.js → useWtTable-BbNT2rXz.js} +1 -1
- package/dist/utils-DqYQ_mrQ.js +1902 -0
- package/dist/{vue-i18n-Db_oYfO8.js → vue-i18n-DNulhn2J.js} +2 -2
- package/dist/{vue-router-Dwey8MMv.js → vue-router-B9nAVQtl.js} +1 -1
- package/dist/{wt-action-bar-C4JukltF.js → wt-action-bar-Dx2j2yCn.js} +3 -3
- package/dist/{wt-button-2_aOV7LX.js → wt-button-l_CCN7zG.js} +2 -2
- package/dist/{wt-chat-emoji-Be1WcCN8.js → wt-chat-emoji-BwCLLExE.js} +4 -4
- package/dist/{wt-datepicker-DmGisBuB.js → wt-datepicker-Dcg6mx6P.js} +3 -3
- package/dist/{wt-display-chip-items-C2xHjen9.js → wt-display-chip-items-DgDn6xoK.js} +2 -2
- package/dist/{wt-dual-panel-C98aGU8o.js → wt-dual-panel-sCqa1h4_.js} +1 -1
- package/dist/{wt-expansion-card-CEMaWXCy.js → wt-expansion-card-DKEhPBa9.js} +2 -2
- package/dist/{wt-expansion-panel-BjeXHSay.js → wt-expansion-panel-BnQ9Ow8D.js} +1 -1
- package/dist/{wt-galleria-DMCgiiju.js → wt-galleria-CNwBmLcX.js} +2 -2
- package/dist/{wt-icon-Ct0E7k_d.js → wt-icon-CjNYdMOP.js} +2 -2
- package/dist/{wt-icon-action-DB6P4E4K.js → wt-icon-action-DX9R-hzG.js} +2 -2
- package/dist/{wt-icon-btn-DZa_qsai.js → wt-icon-btn-BbPNcD-O.js} +1 -1
- package/dist/{wt-notifications-bar-BEomlIrN.js → wt-notifications-bar-BTt1vqwz.js} +2 -2
- package/dist/{wt-pagination-G2ZGU4Pi.js → wt-pagination-DNjYIHjv.js} +1 -1
- package/dist/{wt-player-CzNYyH1h.js → wt-player-CoB2InY0.js} +5 -5
- package/dist/{wt-popover-BCYPu5NC.js → wt-popover-B0SIrVz6.js} +1 -1
- package/dist/{wt-screen-recordings-action-DI1qlUi1.js → wt-screen-recordings-action-DCdRUBbd.js} +1 -0
- package/dist/{wt-search-bar-D0qgd2ve.js → wt-search-bar-DlNX3Sr8.js} +2 -2
- package/dist/{wt-selection-popup-CjYw4ppb.js → wt-selection-popup-C74__W9Z.js} +1 -1
- package/dist/{wt-send-message-popup-vBS3Rque.js → wt-send-message-popup-TJdbzgRF.js} +22 -22
- package/dist/{wt-slider-BPzRTeYU.js → wt-slider-4xCDNWv-.js} +1 -1
- package/dist/{wt-start-page-BFQExFUj.js → wt-start-page-BUjRx6RA.js} +1 -1
- package/dist/{wt-status-select-BuojqV_1.js → wt-status-select-C2-LFbrZ.js} +10 -10
- package/dist/{wt-table-DWnt7b9t.js → wt-table-BzGCTKMW.js} +3 -3
- package/dist/{wt-table-column-select-D4c56HPB.js → wt-table-column-select-CuQbrCkx.js} +3 -3
- package/dist/{wt-timepicker-C2X8A8fq.js → wt-timepicker-BltIOjh9.js} +3 -3
- package/dist/{wt-toast-eWzfeYuz.js → wt-toast-DHV4UvFz.js} +2 -2
- package/dist/{wt-tree-CMIpbXBo.js → wt-tree-DKSphRxr.js} +4 -4
- package/dist/{wt-tree-table-C-UM5kxp.js → wt-tree-table-9vnEJcX0.js} +2 -2
- package/dist/{wt-type-extension-value-input-BVBAwEBZ.js → wt-type-extension-value-input-D5Y-ds9V.js} +18 -18
- package/dist/{wt-vidstack-player-DW1JPk_N.js → wt-vidstack-player-DKf1aSC7.js} +5 -5
- package/package.json +5 -1
- package/src/api/clients/calendars/calendars.js +2 -2
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +8 -8
- package/src/components/wt-table/wt-table.vue +1 -1
- package/src/modules/Appearance/index.ts +2 -0
- package/src/scripts/convertDurationWithDays.ts +30 -0
- package/src/scripts/index.js +15 -0
- package/src/scripts/storageFile/downloadFilesAsZip.ts +55 -0
- package/src/scripts/storageFile/downloadStorageFile.ts +27 -0
- package/src/scripts/storageFile/getFileTypeIcon.ts +6 -0
- package/src/scripts/storageFile/getStorageFileUrl.ts +17 -0
- package/src/scripts/storageFile/openStorageFileInNewTab.ts +34 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/prettifyDate.ts +14 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +2 -2
- package/types/components/wt-table/wt-table.vue.d.ts +2 -2
- package/types/modules/Appearance/index.d.ts +2 -0
- package/types/scripts/convertDurationWithDays.d.ts +1 -0
- package/types/scripts/index.d.ts +8 -1
- package/types/scripts/storageFile/downloadFilesAsZip.d.ts +11 -0
- package/types/scripts/storageFile/downloadStorageFile.d.ts +8 -0
- package/types/scripts/storageFile/getFileTypeIcon.d.ts +1 -0
- package/types/scripts/storageFile/getStorageFileUrl.d.ts +6 -0
- package/types/scripts/storageFile/openStorageFileInNewTab.d.ts +5 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/prettifyDate.d.ts +1 -0
- package/dist/displayText-CtaxzaBz.js +0 -3
- package/dist/genClient-HHiOUj56.js +0 -2891
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DataField } from '@webitel/api-services/gen/models';
|
|
2
2
|
import type { VuelidateFieldLike } from '../../../mixins/validationMixin/vuelidate/useVuelidateValidation';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
-
field:
|
|
4
|
+
field: DataField;
|
|
5
5
|
label?: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
/**
|
|
@@ -50,7 +50,7 @@ interface Props extends DataTableProps {
|
|
|
50
50
|
*/
|
|
51
51
|
isRowReorderDisabled?: (row: WtTableRow) => boolean;
|
|
52
52
|
rowExpansion?: boolean;
|
|
53
|
-
rowClass?: () => string;
|
|
53
|
+
rowClass?: (data: WtTableRow) => string;
|
|
54
54
|
rowStyle?: () => {
|
|
55
55
|
[key: string]: string;
|
|
56
56
|
};
|
|
@@ -114,7 +114,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
114
114
|
rowReorder: boolean;
|
|
115
115
|
isRowReorderDisabled: (row: WtTableRow) => boolean;
|
|
116
116
|
rowExpansion: boolean;
|
|
117
|
-
rowClass: () => string;
|
|
117
|
+
rowClass: (data: WtTableRow) => string;
|
|
118
118
|
rowStyle: () => {
|
|
119
119
|
[key: string]: string;
|
|
120
120
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertDurationWithDays: (duration: number, timerFormatting?: boolean) => string;
|
package/types/scripts/index.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
+
export { FileFormat } from "./downloadFile/types/fileFormat.types";
|
|
1
2
|
import { camelToKebab } from './caseConverters.js';
|
|
2
3
|
import { camelToSnake } from './caseConverters.js';
|
|
3
4
|
import { compareSize } from './compareSize.ts';
|
|
4
5
|
import convertDuration from './convertDuration.js';
|
|
6
|
+
import { convertDurationWithDays } from './convertDurationWithDays';
|
|
5
7
|
import debounce from './debounce.js';
|
|
6
8
|
import downloadFile from './downloadFile/downloadFile';
|
|
9
|
+
import { downloadFilesAsZip } from './storageFile/downloadFilesAsZip';
|
|
10
|
+
import { downloadStorageFile } from './storageFile/downloadStorageFile';
|
|
7
11
|
import eventBus from './eventBus.js';
|
|
8
12
|
import { getConnectionQuality } from './getConnectionQuality.ts';
|
|
9
13
|
import { getEndOfDay } from './getDefaultFilterDate.js';
|
|
14
|
+
import { getFileTypeIcon } from './storageFile/getFileTypeIcon';
|
|
10
15
|
import { getNextSortOrder } from './sortQueryAdapters.js';
|
|
11
16
|
import { getStartOfDay } from './getDefaultFilterDate.js';
|
|
17
|
+
import { getStorageFileUrl } from './storageFile/getStorageFileUrl';
|
|
12
18
|
import isEmpty from './isEmpty';
|
|
13
19
|
import { isRelativeDatetimeValue } from './normalizeDatetime';
|
|
14
20
|
import { kebabToCamel } from './caseConverters.js';
|
|
@@ -17,6 +23,7 @@ import { normalizeToTimestamp } from './normalizeDatetime';
|
|
|
17
23
|
import { objCamelToKebab } from './caseConverters.js';
|
|
18
24
|
import { objCamelToSnake } from './caseConverters.js';
|
|
19
25
|
import { objSnakeToCamel } from './caseConverters.js';
|
|
26
|
+
import { openStorageFileInNewTab } from './storageFile/openStorageFileInNewTab';
|
|
20
27
|
import prettifyFileSize from './prettifyFileSize.js';
|
|
21
28
|
import prettifyTime from './prettifyTime.js';
|
|
22
29
|
import preventHiddenPageCallsDecorator from './preventHiddenPageCallsDecorator.js';
|
|
@@ -31,4 +38,4 @@ import { snakeToKebab } from './caseConverters.js';
|
|
|
31
38
|
import { sortToQueryAdapter } from './sortQueryAdapters.js';
|
|
32
39
|
import updateObject from './updateObject.js';
|
|
33
40
|
import { wtlog } from './logger.js';
|
|
34
|
-
export { camelToKebab, camelToSnake, compareSize, convertDuration, debounce, downloadFile, eventBus, getConnectionQuality, getEndOfDay, getNextSortOrder, getStartOfDay, isEmpty, isRelativeDatetimeValue, kebabToCamel, kebabToSnake, normalizeToTimestamp, objCamelToKebab, objCamelToSnake, objSnakeToCamel, prettifyFileSize, prettifyTime, preventHiddenPageCallsDecorator, queryToSortAdapter, saveAsJSON, sizeGreaterOrEqual, sizeGreaterThen, sizeSmallerOrEqual, sizeSmallerThen, snakeToCamel, snakeToKebab, sortToQueryAdapter, updateObject, wtlog };
|
|
41
|
+
export { camelToKebab, camelToSnake, compareSize, convertDuration, convertDurationWithDays, debounce, downloadFile, downloadFilesAsZip, downloadStorageFile, eventBus, getConnectionQuality, getEndOfDay, getFileTypeIcon, getNextSortOrder, getStartOfDay, getStorageFileUrl, isEmpty, isRelativeDatetimeValue, kebabToCamel, kebabToSnake, normalizeToTimestamp, objCamelToKebab, objCamelToSnake, objSnakeToCamel, openStorageFileInNewTab, prettifyFileSize, prettifyTime, preventHiddenPageCallsDecorator, queryToSortAdapter, saveAsJSON, sizeGreaterOrEqual, sizeGreaterThen, sizeSmallerOrEqual, sizeSmallerThen, snakeToCamel, snakeToKebab, sortToQueryAdapter, updateObject, wtlog };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface FileToDownload {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
interface DownloadFilesAsZipParams {
|
|
6
|
+
filesToDownload: FileToDownload[];
|
|
7
|
+
apiUrl: string;
|
|
8
|
+
token: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const downloadFilesAsZip: ({ filesToDownload, apiUrl, token, }: DownloadFilesAsZipParams) => Promise<void>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getFileTypeIcon: (mimeType: string) => string;
|
package/types/utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function prettifyDate(timestamp: string | number, timezone?: string): string;
|