@webitel/ui-sdk 26.8.98 → 26.8.100
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-D7xoQatS.js → clients-ClR-VL_c.js} +24 -28
- package/dist/{components-Bbzj_P4l.js → components-CB2t5ag8.js} +2865 -1055
- package/dist/convertDuration-CGW5IDMW.js +89 -0
- package/dist/{enums-B_9ZBu01.js → enums-Bd-8yrmg.js} +30 -30
- package/dist/ui-sdk.css +1 -1
- 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-CEagxzmF.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-DaoXxPnn.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-DlNzrav9.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-LfOZd5LP.js → wt-type-extension-value-input-Cd0towde.js} +17 -17
- package/dist/{wt-vidstack-player-DwrfsR41.js → wt-vidstack-player-IfN1Nbyd.js} +5 -4
- package/package.json +1 -1
- package/src/components/wt-input-text/__tests__/WtInputText.spec.js +29 -6
- package/src/components/wt-input-text/wt-input-text.vue +12 -2
- package/src/enums/FormatDateMode/FormatDateMode.ts +1 -10
- package/src/scripts/convertDuration.js +1 -13
- package/src/utils/formatDate.ts +1 -37
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-input-text/wt-input-text.vue.d.ts +4 -2
- 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
|
@@ -25,20 +25,22 @@ type __VLS_ModelProps = {
|
|
|
25
25
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
26
26
|
declare var __VLS_7: {
|
|
27
27
|
label: string;
|
|
28
|
-
}, __VLS_21: {},
|
|
28
|
+
}, __VLS_21: {}, __VLS_48: {};
|
|
29
29
|
type __VLS_Slots = {} & {
|
|
30
30
|
label?: (props: typeof __VLS_7) => any;
|
|
31
31
|
} & {
|
|
32
32
|
prefix?: (props: typeof __VLS_21) => any;
|
|
33
33
|
} & {
|
|
34
|
-
suffix?: (props: typeof
|
|
34
|
+
suffix?: (props: typeof __VLS_48) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
37
37
|
focus: () => void;
|
|
38
38
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
blur: (args_0: FocusEvent) => any;
|
|
39
40
|
focus: (args_0: FocusEvent) => any;
|
|
40
41
|
"update:modelValue": (value: string) => any;
|
|
41
42
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
43
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
42
44
|
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
43
45
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
44
46
|
}>, {
|
|
@@ -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 };
|