@webitel/ui-sdk 26.8.64 → 26.8.66
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-CB9U4xyd.js → clients-DpqA006B.js} +3 -3
- package/dist/{components-0bFcL-uW.js → components-CXPq3d81.js} +3 -3
- package/dist/{genClient-DVFU4u-o.js → genClient-DMVlC4Uy.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +2 -2
- package/dist/{wt-chat-emoji-CeTjymhG.js → wt-chat-emoji-BwCLLExE.js} +1 -1
- package/dist/{wt-display-chip-items-9KCOYg0J.js → wt-display-chip-items-DgDn6xoK.js} +1 -1
- package/dist/{wt-send-message-popup-COrWsZPZ.js → wt-send-message-popup-TJdbzgRF.js} +2 -2
- package/dist/{wt-table-BBFNhnGG.js → wt-table-BzGCTKMW.js} +1 -1
- package/dist/{wt-type-extension-value-input-t0VfexsE.js → wt-type-extension-value-input-D5Y-ds9V.js} +2 -2
- package/dist/{wt-vidstack-player-C3Rh5v9F.js → wt-vidstack-player-DKf1aSC7.js} +1 -1
- package/package.json +1 -1
- package/src/api/clients/calendars/calendars.js +2 -2
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +6 -6
- package/src/components/wt-table/wt-table.vue +1 -1
- package/src/scripts/index.js +3 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +2 -2
- package/types/components/wt-table/wt-table.vue.d.ts +2 -2
- package/types/scripts/index.d.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-CXPq3d81.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { o as r } from "./utils-DqYQ_mrQ.js";
|
|
4
4
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-to5KK-CW.js";
|
|
2
|
-
import { T as t, n, w as r } from "./components-
|
|
3
|
-
import { n as i, r as a } from "./clients-
|
|
2
|
+
import { T as t, n, w as r } from "./components-CXPq3d81.js";
|
|
3
|
+
import { n as i, r as a } from "./clients-DpqA006B.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-DNulhn2J.js";
|
|
5
5
|
import { n as s } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
import { createBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, onMounted as p, openBlock as m, ref as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
package/dist/{wt-type-extension-value-input-t0VfexsE.js → wt-type-extension-value-input-D5Y-ds9V.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, o as t, r as n, s as r } from "./components-
|
|
2
|
-
import { t as i } from "./clients-
|
|
1
|
+
import { a as e, o as t, r as n, s as r } from "./components-CXPq3d81.js";
|
|
2
|
+
import { t as i } from "./clients-DpqA006B.js";
|
|
3
3
|
import { t as a } from "./enums-CM8hOd_m.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-DNulhn2J.js";
|
|
5
5
|
import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
|
package/package.json
CHANGED
|
@@ -81,8 +81,8 @@ const getCalendar = async ({ itemId: id }) => {
|
|
|
81
81
|
date: except.date || 0,
|
|
82
82
|
repeat: except.repeat || false,
|
|
83
83
|
working: except.working || false,
|
|
84
|
-
workStart: except.workStart
|
|
85
|
-
workStop: except.workStop
|
|
84
|
+
workStart: except.workStart ?? (except.working ? 0 : null),
|
|
85
|
+
workStop: except.workStop ?? (except.working ? 0 : null),
|
|
86
86
|
}));
|
|
87
87
|
}
|
|
88
88
|
return {
|
package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
CHANGED
|
@@ -73,6 +73,10 @@
|
|
|
73
73
|
|
|
74
74
|
<script lang="ts" setup>
|
|
75
75
|
import { SysTypesAPI } from '@webitel/api-services/api';
|
|
76
|
+
import type {
|
|
77
|
+
DataField,
|
|
78
|
+
DataTypeLookup,
|
|
79
|
+
} from '@webitel/api-services/gen/models';
|
|
76
80
|
import {
|
|
77
81
|
WtDatepicker,
|
|
78
82
|
WtMultiSelect,
|
|
@@ -81,10 +85,6 @@ import {
|
|
|
81
85
|
} from '@webitel/ui-sdk/components';
|
|
82
86
|
import { computed } from 'vue';
|
|
83
87
|
import { useI18n } from 'vue-i18n';
|
|
84
|
-
import type {
|
|
85
|
-
WebitelProtoDataField,
|
|
86
|
-
WebitelProtoDataTypeLookup,
|
|
87
|
-
} from 'webitel-sdk';
|
|
88
88
|
|
|
89
89
|
import { WtTypeExtensionFieldKind as FieldType } from '../../../enums';
|
|
90
90
|
import type { VuelidateFieldLike } from '../../../mixins/validationMixin/vuelidate/useVuelidateValidation';
|
|
@@ -92,7 +92,7 @@ import type { VuelidateFieldLike } from '../../../mixins/validationMixin/vuelida
|
|
|
92
92
|
const model = defineModel<unknown>();
|
|
93
93
|
|
|
94
94
|
const props = defineProps<{
|
|
95
|
-
field:
|
|
95
|
+
field: DataField;
|
|
96
96
|
label?: string;
|
|
97
97
|
required?: boolean;
|
|
98
98
|
/**
|
|
@@ -159,7 +159,7 @@ const loadLookupList = ({
|
|
|
159
159
|
path = '',
|
|
160
160
|
display = '',
|
|
161
161
|
primary = '',
|
|
162
|
-
}:
|
|
162
|
+
}: DataTypeLookup = {}) => {
|
|
163
163
|
return (params: Record<string, unknown>) => {
|
|
164
164
|
return SysTypesAPI.getLookup({
|
|
165
165
|
...params,
|
|
@@ -286,7 +286,7 @@ interface Props extends DataTableProps {
|
|
|
286
286
|
*/
|
|
287
287
|
isRowReorderDisabled?: (row: WtTableRow) => boolean;
|
|
288
288
|
rowExpansion?: boolean;
|
|
289
|
-
rowClass?: () => string;
|
|
289
|
+
rowClass?: (data: WtTableRow) => string;
|
|
290
290
|
rowStyle?: () => {
|
|
291
291
|
[key: string]: string;
|
|
292
292
|
};
|
package/src/scripts/index.js
CHANGED
|
@@ -20,6 +20,9 @@ import convertDuration from './convertDuration.js';
|
|
|
20
20
|
import { convertDurationWithDays } from './convertDurationWithDays';
|
|
21
21
|
import debounce from './debounce.js';
|
|
22
22
|
import downloadFile from './downloadFile/downloadFile';
|
|
23
|
+
|
|
24
|
+
export { FileFormat } from './downloadFile/types/fileFormat.types';
|
|
25
|
+
|
|
23
26
|
import eventBus from './eventBus.js';
|
|
24
27
|
import { getConnectionQuality } from './getConnectionQuality.ts';
|
|
25
28
|
import { getEndOfDay, getStartOfDay } from './getDefaultFilterDate.js';
|