@webitel/ui-sdk 26.8.63 → 26.8.64
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-CB9U4xyd.js} +300 -216
- package/dist/{components-DelpnGuy.js → components-0bFcL-uW.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-DVFU4u-o.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.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-CeTjymhG.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-9KCOYg0J.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-COrWsZPZ.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-BBFNhnGG.js} +2 -2
- 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-t0VfexsE.js} +18 -18
- package/dist/{wt-vidstack-player-DW1JPk_N.js → wt-vidstack-player-C3Rh5v9F.js} +5 -5
- package/package.json +5 -1
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +2 -2
- package/src/modules/Appearance/index.ts +2 -0
- package/src/scripts/convertDurationWithDays.ts +30 -0
- package/src/scripts/index.js +12 -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/modules/Appearance/index.d.ts +2 -0
- package/types/scripts/convertDurationWithDays.d.ts +1 -0
- package/types/scripts/index.d.ts +7 -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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertDurationWithDays: (duration: number, timerFormatting?: boolean) => string;
|
package/types/scripts/index.d.ts
CHANGED
|
@@ -2,13 +2,18 @@ import { camelToKebab } from './caseConverters.js';
|
|
|
2
2
|
import { camelToSnake } from './caseConverters.js';
|
|
3
3
|
import { compareSize } from './compareSize.ts';
|
|
4
4
|
import convertDuration from './convertDuration.js';
|
|
5
|
+
import { convertDurationWithDays } from './convertDurationWithDays';
|
|
5
6
|
import debounce from './debounce.js';
|
|
6
7
|
import downloadFile from './downloadFile/downloadFile';
|
|
8
|
+
import { downloadFilesAsZip } from './storageFile/downloadFilesAsZip';
|
|
9
|
+
import { downloadStorageFile } from './storageFile/downloadStorageFile';
|
|
7
10
|
import eventBus from './eventBus.js';
|
|
8
11
|
import { getConnectionQuality } from './getConnectionQuality.ts';
|
|
9
12
|
import { getEndOfDay } from './getDefaultFilterDate.js';
|
|
13
|
+
import { getFileTypeIcon } from './storageFile/getFileTypeIcon';
|
|
10
14
|
import { getNextSortOrder } from './sortQueryAdapters.js';
|
|
11
15
|
import { getStartOfDay } from './getDefaultFilterDate.js';
|
|
16
|
+
import { getStorageFileUrl } from './storageFile/getStorageFileUrl';
|
|
12
17
|
import isEmpty from './isEmpty';
|
|
13
18
|
import { isRelativeDatetimeValue } from './normalizeDatetime';
|
|
14
19
|
import { kebabToCamel } from './caseConverters.js';
|
|
@@ -17,6 +22,7 @@ import { normalizeToTimestamp } from './normalizeDatetime';
|
|
|
17
22
|
import { objCamelToKebab } from './caseConverters.js';
|
|
18
23
|
import { objCamelToSnake } from './caseConverters.js';
|
|
19
24
|
import { objSnakeToCamel } from './caseConverters.js';
|
|
25
|
+
import { openStorageFileInNewTab } from './storageFile/openStorageFileInNewTab';
|
|
20
26
|
import prettifyFileSize from './prettifyFileSize.js';
|
|
21
27
|
import prettifyTime from './prettifyTime.js';
|
|
22
28
|
import preventHiddenPageCallsDecorator from './preventHiddenPageCallsDecorator.js';
|
|
@@ -31,4 +37,4 @@ import { snakeToKebab } from './caseConverters.js';
|
|
|
31
37
|
import { sortToQueryAdapter } from './sortQueryAdapters.js';
|
|
32
38
|
import updateObject from './updateObject.js';
|
|
33
39
|
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 };
|
|
40
|
+
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;
|