@webitel/ui-sdk 26.8.99 → 26.8.101

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 (43) hide show
  1. package/dist/{clients-DenpsPyu.js → clients-ClR-VL_c.js} +24 -28
  2. package/dist/{components-CMBVRgca.js → components-CB2t5ag8.js} +2876 -1068
  3. package/dist/convertDuration-CGW5IDMW.js +89 -0
  4. package/dist/{enums-B_9ZBu01.js → enums-Bd-8yrmg.js} +30 -30
  5. package/dist/ui-sdk.js +15 -15
  6. package/dist/ui-sdk.umd.cjs +380 -380
  7. package/dist/{useValidation-Dmm2xos_.js → useValidation-CtEfmUkB.js} +1 -1
  8. package/dist/utils-B_8uwL9P.js +4 -0
  9. package/dist/{wt-action-bar-BpuER6TA.js → wt-action-bar-B4rcG26w.js} +2 -2
  10. package/dist/{wt-badge-tosjsmJU.js → wt-badge-lFnfK2an.js} +1 -1
  11. package/dist/{wt-button-CNQAK85M.js → wt-button-BzYDkfhK.js} +17 -17
  12. package/dist/{wt-chat-emoji-DGnuASX3.js → wt-chat-emoji-DwGl685x.js} +4 -4
  13. package/dist/{wt-datepicker-BS3przUJ.js → wt-datepicker-D_O49-Ab.js} +43 -43
  14. package/dist/{wt-display-chip-items-DVE5aPNw.js → wt-display-chip-items-_VHRHB6L.js} +2 -2
  15. package/dist/{wt-dual-panel-Cs_Yzfxt.js → wt-dual-panel-B0inNxRm.js} +1 -1
  16. package/dist/{wt-expansion-card-8YzHs8F1.js → wt-expansion-card-CJjtuFDk.js} +1 -1
  17. package/dist/{wt-expansion-panel-kZmHSvPU.js → wt-expansion-panel-tqCCM3go.js} +1 -1
  18. package/dist/{wt-icon-ClDNfV5I.js → wt-icon-DFtSR4bO.js} +1 -1
  19. package/dist/{wt-icon-action-B8vuj9cC.js → wt-icon-action-DUAnoMrj.js} +1 -1
  20. package/dist/{wt-icon-btn-DDElLZil.js → wt-icon-btn-CeGGT2PO.js} +1 -1
  21. package/dist/{wt-notifications-bar-DZidZ2VZ.js → wt-notifications-bar-DWME3pmb.js} +2 -2
  22. package/dist/{wt-player-CxMTs3eF.js → wt-player-DXCQLKch.js} +3 -3
  23. package/dist/{wt-screen-recordings-action-BTtZq2BR.js → wt-screen-recordings-action-Cx7-2gDE.js} +1 -1
  24. package/dist/{wt-search-bar-CE4WhuJ6.js → wt-search-bar-BkopW1qp.js} +1 -1
  25. package/dist/{wt-send-message-popup-DNRwANy-.js → wt-send-message-popup-Dl-FeGOx.js} +13 -12
  26. package/dist/{wt-status-select-CDt8sZr9.js → wt-status-select-DnaJ04Gw.js} +12 -12
  27. package/dist/{wt-table-DHpnLu_f.js → wt-table-xmGhfp4p.js} +3 -3
  28. package/dist/{wt-timepicker-D-tnO-gX.js → wt-timepicker-C0DHJSeR.js} +2 -2
  29. package/dist/{wt-toast-DKjRJFE2.js → wt-toast-Lge1Y6IO.js} +10 -10
  30. package/dist/{wt-tree-table-DDH6vMh7.js → wt-tree-table-BTHxl_MY.js} +1 -1
  31. package/dist/{wt-type-extension-value-input-CUx43R8o.js → wt-type-extension-value-input-Cd0towde.js} +17 -17
  32. package/dist/{wt-vidstack-player-_x_GEpy4.js → wt-vidstack-player-IfN1Nbyd.js} +5 -4
  33. package/package.json +1 -1
  34. package/src/enums/FormatDateMode/FormatDateMode.ts +1 -10
  35. package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +7 -2
  36. package/src/scripts/convertDuration.js +1 -13
  37. package/src/utils/formatDate.ts +1 -37
  38. package/types/.tsbuildinfo +1 -1
  39. package/types/enums/FormatDateMode/FormatDateMode.d.ts +1 -8
  40. package/types/scripts/convertDuration.d.ts +1 -1
  41. package/types/utils/formatDate.d.ts +1 -4
  42. package/dist/convertDuration-1K7fuEpO.js +0 -8
  43. package/dist/utils-DReAiJBV.js +0 -1902
@@ -1,8 +1 @@
1
- export declare const FormatDateMode: {
2
- readonly DATE: "date";
3
- readonly TIME: "time";
4
- readonly TIME_SEC: "timeSec";
5
- readonly DATETIME: "datetime";
6
- readonly DATETIME_SHORT: "datetimeShort";
7
- };
8
- export type FormatDateMode = (typeof FormatDateMode)[keyof typeof FormatDateMode];
1
+ export { FormatDateMode } from '@webitel/api-services/enums';
@@ -1,2 +1,2 @@
1
1
  export default convertDuration;
2
- declare function convertDuration(duration: any): string;
2
+ import { convertDuration } from '@webitel/api-services/scripts';
@@ -1,4 +1 @@
1
- import type { FormatDateMode } from '../enums';
2
- export declare function formatDate(date: string | number | Date, to: (typeof FormatDateMode)[keyof typeof FormatDateMode], { timezone, }?: {
3
- timezone?: string;
4
- }): string;
1
+ export { formatDate } from '@webitel/api-services/utils';
@@ -1,8 +0,0 @@
1
- //#region src/scripts/convertDuration.js
2
- var e = (e) => {
3
- if (!e) return "00:00:00";
4
- let t = `${Math.floor(e / 3600)}`, n = `${Math.floor(e % 3600 / 60)}`, r = `${Math.floor(e % 3600 % 60)}`;
5
- return t.length === 1 && (t = `0${t}`), n.length === 1 && (n = `0${n}`), r.length === 1 && (r = `0${r}`), `${t}:${n}:${r}`;
6
- };
7
- //#endregion
8
- export { e as t };