@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.
- package/dist/{clients-DenpsPyu.js → clients-ClR-VL_c.js} +24 -28
- package/dist/{components-CMBVRgca.js → components-CB2t5ag8.js} +2876 -1068
- package/dist/convertDuration-CGW5IDMW.js +89 -0
- package/dist/{enums-B_9ZBu01.js → enums-Bd-8yrmg.js} +30 -30
- package/dist/ui-sdk.js +15 -15
- package/dist/ui-sdk.umd.cjs +380 -380
- package/dist/{useValidation-Dmm2xos_.js → useValidation-CtEfmUkB.js} +1 -1
- package/dist/utils-B_8uwL9P.js +4 -0
- package/dist/{wt-action-bar-BpuER6TA.js → wt-action-bar-B4rcG26w.js} +2 -2
- package/dist/{wt-badge-tosjsmJU.js → wt-badge-lFnfK2an.js} +1 -1
- package/dist/{wt-button-CNQAK85M.js → wt-button-BzYDkfhK.js} +17 -17
- package/dist/{wt-chat-emoji-DGnuASX3.js → wt-chat-emoji-DwGl685x.js} +4 -4
- package/dist/{wt-datepicker-BS3przUJ.js → wt-datepicker-D_O49-Ab.js} +43 -43
- package/dist/{wt-display-chip-items-DVE5aPNw.js → wt-display-chip-items-_VHRHB6L.js} +2 -2
- package/dist/{wt-dual-panel-Cs_Yzfxt.js → wt-dual-panel-B0inNxRm.js} +1 -1
- package/dist/{wt-expansion-card-8YzHs8F1.js → wt-expansion-card-CJjtuFDk.js} +1 -1
- package/dist/{wt-expansion-panel-kZmHSvPU.js → wt-expansion-panel-tqCCM3go.js} +1 -1
- package/dist/{wt-icon-ClDNfV5I.js → wt-icon-DFtSR4bO.js} +1 -1
- package/dist/{wt-icon-action-B8vuj9cC.js → wt-icon-action-DUAnoMrj.js} +1 -1
- package/dist/{wt-icon-btn-DDElLZil.js → wt-icon-btn-CeGGT2PO.js} +1 -1
- package/dist/{wt-notifications-bar-DZidZ2VZ.js → wt-notifications-bar-DWME3pmb.js} +2 -2
- package/dist/{wt-player-CxMTs3eF.js → wt-player-DXCQLKch.js} +3 -3
- package/dist/{wt-screen-recordings-action-BTtZq2BR.js → wt-screen-recordings-action-Cx7-2gDE.js} +1 -1
- package/dist/{wt-search-bar-CE4WhuJ6.js → wt-search-bar-BkopW1qp.js} +1 -1
- package/dist/{wt-send-message-popup-DNRwANy-.js → wt-send-message-popup-Dl-FeGOx.js} +13 -12
- package/dist/{wt-status-select-CDt8sZr9.js → wt-status-select-DnaJ04Gw.js} +12 -12
- package/dist/{wt-table-DHpnLu_f.js → wt-table-xmGhfp4p.js} +3 -3
- package/dist/{wt-timepicker-D-tnO-gX.js → wt-timepicker-C0DHJSeR.js} +2 -2
- package/dist/{wt-toast-DKjRJFE2.js → wt-toast-Lge1Y6IO.js} +10 -10
- package/dist/{wt-tree-table-DDH6vMh7.js → wt-tree-table-BTHxl_MY.js} +1 -1
- package/dist/{wt-type-extension-value-input-CUx43R8o.js → wt-type-extension-value-input-Cd0towde.js} +17 -17
- package/dist/{wt-vidstack-player-_x_GEpy4.js → wt-vidstack-player-IfN1Nbyd.js} +5 -4
- package/package.json +1 -1
- package/src/enums/FormatDateMode/FormatDateMode.ts +1 -10
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +7 -2
- package/src/scripts/convertDuration.js +1 -13
- package/src/utils/formatDate.ts +1 -37
- package/types/.tsbuildinfo +1 -1
- package/types/enums/FormatDateMode/FormatDateMode.d.ts +1 -8
- package/types/scripts/convertDuration.d.ts +1 -1
- package/types/utils/formatDate.d.ts +1 -4
- package/dist/convertDuration-1K7fuEpO.js +0 -8
- package/dist/utils-DReAiJBV.js +0 -1902
|
@@ -1,8 +1 @@
|
|
|
1
|
-
export
|
|
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
|
-
|
|
2
|
+
import { convertDuration } from '@webitel/api-services/scripts';
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
|
|
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 };
|