@webitel/ui-sdk 26.8.62 → 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.
Files changed (79) hide show
  1. package/dist/{caseConverters-DXegZoCt.js → caseConverters-6cy_SaV5.js} +8 -8
  2. package/dist/{clients-DhLhM1vv.js → clients-CB9U4xyd.js} +300 -216
  3. package/dist/{components-B78DPWWV.js → components-0bFcL-uW.js} +5228 -3247
  4. package/dist/{composables-BtWSAI5D.js → composables-DbGvukRz.js} +3 -3
  5. package/dist/{debounce-Bp3jy7S5.js → debounce-CCzQDuk5.js} +2 -2
  6. package/dist/{deep-copy-CTgLtgMO.js → deep-copy-CjYHLk2X.js} +1 -1
  7. package/dist/{dist-CAOIU8xq.js → dist-C_fngTiN.js} +1 -1
  8. package/dist/{dist-Crpfx4FA.js → dist-CugChoYz.js} +1 -1
  9. package/dist/{enums-DY3jIXFF.js → enums-CM8hOd_m.js} +29 -28
  10. package/dist/genClient-DVFU4u-o.js +2088 -0
  11. package/dist/{rolldown-runtime-BEcgMyyN.js → rolldown-runtime-to5KK-CW.js} +5 -2
  12. package/dist/{side-channel-8SnAuRMA.js → side-channel-M3LABDql.js} +2 -2
  13. package/dist/ui-sdk.css +1 -1
  14. package/dist/ui-sdk.js +42 -42
  15. package/dist/ui-sdk.umd.cjs +642 -641
  16. package/dist/{useValidation-Bvastl-C.js → useValidation-CDgb424A.js} +2 -2
  17. package/dist/{useWtTable-DLWucXPx.js → useWtTable-BbNT2rXz.js} +1 -1
  18. package/dist/utils-DqYQ_mrQ.js +1902 -0
  19. package/dist/{vue-i18n-Db_oYfO8.js → vue-i18n-DNulhn2J.js} +2 -2
  20. package/dist/{vue-router-Dwey8MMv.js → vue-router-B9nAVQtl.js} +1 -1
  21. package/dist/{wt-action-bar-C4JukltF.js → wt-action-bar-Dx2j2yCn.js} +3 -3
  22. package/dist/{wt-button-2_aOV7LX.js → wt-button-l_CCN7zG.js} +2 -2
  23. package/dist/{wt-chat-emoji-7HuNq3jZ.js → wt-chat-emoji-CeTjymhG.js} +4 -4
  24. package/dist/{wt-datepicker-DmGisBuB.js → wt-datepicker-Dcg6mx6P.js} +3 -3
  25. package/dist/{wt-display-chip-items-IGLJniJK.js → wt-display-chip-items-9KCOYg0J.js} +2 -2
  26. package/dist/{wt-dual-panel-C98aGU8o.js → wt-dual-panel-sCqa1h4_.js} +1 -1
  27. package/dist/{wt-expansion-card-CEMaWXCy.js → wt-expansion-card-DKEhPBa9.js} +2 -2
  28. package/dist/{wt-expansion-panel-BjeXHSay.js → wt-expansion-panel-BnQ9Ow8D.js} +1 -1
  29. package/dist/{wt-galleria-DMCgiiju.js → wt-galleria-CNwBmLcX.js} +2 -2
  30. package/dist/{wt-icon-Ct0E7k_d.js → wt-icon-CjNYdMOP.js} +2 -2
  31. package/dist/{wt-icon-action-DB6P4E4K.js → wt-icon-action-DX9R-hzG.js} +2 -2
  32. package/dist/{wt-icon-btn-DZa_qsai.js → wt-icon-btn-BbPNcD-O.js} +1 -1
  33. package/dist/{wt-notifications-bar-BEomlIrN.js → wt-notifications-bar-BTt1vqwz.js} +2 -2
  34. package/dist/{wt-pagination-G2ZGU4Pi.js → wt-pagination-DNjYIHjv.js} +1 -1
  35. package/dist/{wt-player-CzNYyH1h.js → wt-player-CoB2InY0.js} +5 -5
  36. package/dist/{wt-popover-BCYPu5NC.js → wt-popover-B0SIrVz6.js} +1 -1
  37. package/dist/{wt-screen-recordings-action-DI1qlUi1.js → wt-screen-recordings-action-DCdRUBbd.js} +1 -0
  38. package/dist/{wt-search-bar-D0qgd2ve.js → wt-search-bar-DlNX3Sr8.js} +2 -2
  39. package/dist/{wt-selection-popup-CjYw4ppb.js → wt-selection-popup-C74__W9Z.js} +1 -1
  40. package/dist/{wt-send-message-popup-OndM1N5f.js → wt-send-message-popup-COrWsZPZ.js} +22 -22
  41. package/dist/{wt-slider-BPzRTeYU.js → wt-slider-4xCDNWv-.js} +1 -1
  42. package/dist/{wt-start-page-BFQExFUj.js → wt-start-page-BUjRx6RA.js} +1 -1
  43. package/dist/{wt-status-select-BuojqV_1.js → wt-status-select-C2-LFbrZ.js} +10 -10
  44. package/dist/{wt-table-DWnt7b9t.js → wt-table-BBFNhnGG.js} +2 -2
  45. package/dist/{wt-table-column-select-D4c56HPB.js → wt-table-column-select-CuQbrCkx.js} +3 -3
  46. package/dist/{wt-time-input-BEBrSugB.js → wt-time-input-Ds40EseE.js} +4 -0
  47. package/dist/{wt-timepicker-BhTfiWhA.js → wt-timepicker-BltIOjh9.js} +19 -7
  48. package/dist/{wt-toast-eWzfeYuz.js → wt-toast-DHV4UvFz.js} +2 -2
  49. package/dist/{wt-tree-CMIpbXBo.js → wt-tree-DKSphRxr.js} +4 -4
  50. package/dist/{wt-tree-table-C-UM5kxp.js → wt-tree-table-9vnEJcX0.js} +2 -2
  51. package/dist/{wt-type-extension-value-input-BWUyeiLM.js → wt-type-extension-value-input-t0VfexsE.js} +18 -18
  52. package/dist/{wt-vidstack-player-C3MwI4DL.js → wt-vidstack-player-C3Rh5v9F.js} +5 -5
  53. package/package.json +5 -1
  54. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +2 -2
  55. package/src/components/wt-time-input/wt-time-input.vue +2 -0
  56. package/src/components/wt-timepicker/wt-timepicker.vue +6 -0
  57. package/src/modules/Appearance/index.ts +2 -0
  58. package/src/scripts/convertDurationWithDays.ts +30 -0
  59. package/src/scripts/index.js +12 -0
  60. package/src/scripts/storageFile/downloadFilesAsZip.ts +55 -0
  61. package/src/scripts/storageFile/downloadStorageFile.ts +27 -0
  62. package/src/scripts/storageFile/getFileTypeIcon.ts +6 -0
  63. package/src/scripts/storageFile/getStorageFileUrl.ts +17 -0
  64. package/src/scripts/storageFile/openStorageFileInNewTab.ts +34 -0
  65. package/src/utils/index.ts +1 -0
  66. package/src/utils/prettifyDate.ts +14 -0
  67. package/types/.tsbuildinfo +1 -1
  68. package/types/modules/Appearance/index.d.ts +2 -0
  69. package/types/scripts/convertDurationWithDays.d.ts +1 -0
  70. package/types/scripts/index.d.ts +7 -1
  71. package/types/scripts/storageFile/downloadFilesAsZip.d.ts +11 -0
  72. package/types/scripts/storageFile/downloadStorageFile.d.ts +8 -0
  73. package/types/scripts/storageFile/getFileTypeIcon.d.ts +1 -0
  74. package/types/scripts/storageFile/getStorageFileUrl.d.ts +6 -0
  75. package/types/scripts/storageFile/openStorageFileInNewTab.d.ts +5 -0
  76. package/types/utils/index.d.ts +1 -0
  77. package/types/utils/prettifyDate.d.ts +1 -0
  78. package/dist/displayText-CtaxzaBz.js +0 -3
  79. package/dist/genClient-HHiOUj56.js +0 -2891
@@ -0,0 +1,2 @@
1
+ export { default as WtDarkModeSwitcher } from './components/wt-dark-mode-switcher.vue';
2
+ export { createAppearanceStore } from './pinia/store/AppearanceStore';
@@ -0,0 +1 @@
1
+ export declare const convertDurationWithDays: (duration: number, timerFormatting?: boolean) => string;
@@ -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,8 @@
1
+ interface DownloadStorageFileParams {
2
+ id?: string;
3
+ name?: string;
4
+ type?: string;
5
+ url?: string;
6
+ }
7
+ export declare const downloadStorageFile: ({ id, name, type, url, }: DownloadStorageFileParams) => void;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const getFileTypeIcon: (mimeType: string) => string;
@@ -0,0 +1,6 @@
1
+ interface GetStorageFileUrlParams {
2
+ id: string;
3
+ type?: string;
4
+ }
5
+ export declare const getStorageFileUrl: ({ id, type, }: GetStorageFileUrlParams) => string;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ interface OpenStorageFileInNewTabParams {
2
+ id?: string;
3
+ }
4
+ export declare const openStorageFileInNewTab: (item?: OpenStorageFileInNewTabParams) => Promise<void>;
5
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './displayText';
2
2
  export * from './formatDate';
3
+ export * from './prettifyDate';
@@ -0,0 +1 @@
1
+ export declare function prettifyDate(timestamp: string | number, timezone?: string): string;
@@ -1,3 +0,0 @@
1
- var e = (e) => e || "-";
2
- //#endregion
3
- export { e as t };