@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.
Files changed (80) hide show
  1. package/dist/{caseConverters-DXegZoCt.js → caseConverters-6cy_SaV5.js} +8 -8
  2. package/dist/{clients-BeKkM_Tf.js → clients-DpqA006B.js} +301 -217
  3. package/dist/{components-DelpnGuy.js → components-CXPq3d81.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-DMVlC4Uy.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-Be1WcCN8.js → wt-chat-emoji-BwCLLExE.js} +4 -4
  24. package/dist/{wt-datepicker-DmGisBuB.js → wt-datepicker-Dcg6mx6P.js} +3 -3
  25. package/dist/{wt-display-chip-items-C2xHjen9.js → wt-display-chip-items-DgDn6xoK.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-vBS3Rque.js → wt-send-message-popup-TJdbzgRF.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-BzGCTKMW.js} +3 -3
  45. package/dist/{wt-table-column-select-D4c56HPB.js → wt-table-column-select-CuQbrCkx.js} +3 -3
  46. package/dist/{wt-timepicker-C2X8A8fq.js → wt-timepicker-BltIOjh9.js} +3 -3
  47. package/dist/{wt-toast-eWzfeYuz.js → wt-toast-DHV4UvFz.js} +2 -2
  48. package/dist/{wt-tree-CMIpbXBo.js → wt-tree-DKSphRxr.js} +4 -4
  49. package/dist/{wt-tree-table-C-UM5kxp.js → wt-tree-table-9vnEJcX0.js} +2 -2
  50. package/dist/{wt-type-extension-value-input-BVBAwEBZ.js → wt-type-extension-value-input-D5Y-ds9V.js} +18 -18
  51. package/dist/{wt-vidstack-player-DW1JPk_N.js → wt-vidstack-player-DKf1aSC7.js} +5 -5
  52. package/package.json +5 -1
  53. package/src/api/clients/calendars/calendars.js +2 -2
  54. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +8 -8
  55. package/src/components/wt-table/wt-table.vue +1 -1
  56. package/src/modules/Appearance/index.ts +2 -0
  57. package/src/scripts/convertDurationWithDays.ts +30 -0
  58. package/src/scripts/index.js +15 -0
  59. package/src/scripts/storageFile/downloadFilesAsZip.ts +55 -0
  60. package/src/scripts/storageFile/downloadStorageFile.ts +27 -0
  61. package/src/scripts/storageFile/getFileTypeIcon.ts +6 -0
  62. package/src/scripts/storageFile/getStorageFileUrl.ts +17 -0
  63. package/src/scripts/storageFile/openStorageFileInNewTab.ts +34 -0
  64. package/src/utils/index.ts +1 -0
  65. package/src/utils/prettifyDate.ts +14 -0
  66. package/types/.tsbuildinfo +1 -1
  67. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +2 -2
  68. package/types/components/wt-table/wt-table.vue.d.ts +2 -2
  69. package/types/modules/Appearance/index.d.ts +2 -0
  70. package/types/scripts/convertDurationWithDays.d.ts +1 -0
  71. package/types/scripts/index.d.ts +8 -1
  72. package/types/scripts/storageFile/downloadFilesAsZip.d.ts +11 -0
  73. package/types/scripts/storageFile/downloadStorageFile.d.ts +8 -0
  74. package/types/scripts/storageFile/getFileTypeIcon.d.ts +1 -0
  75. package/types/scripts/storageFile/getStorageFileUrl.d.ts +6 -0
  76. package/types/scripts/storageFile/openStorageFileInNewTab.d.ts +5 -0
  77. package/types/utils/index.d.ts +1 -0
  78. package/types/utils/prettifyDate.d.ts +1 -0
  79. package/dist/displayText-CtaxzaBz.js +0 -3
  80. package/dist/genClient-HHiOUj56.js +0 -2891
@@ -1,7 +1,7 @@
1
- import type { WebitelProtoDataField } from 'webitel-sdk';
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: WebitelProtoDataField;
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,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;
@@ -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,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 };