@webitel/ui-sdk 26.8.64 → 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.
@@ -1,4 +1,4 @@
1
- import "./components-0bFcL-uW.js";
1
+ import "./components-CXPq3d81.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as t } from "./enums-CM8hOd_m.js";
4
4
  import { t as n } from "./wt-button-l_CCN7zG.js";
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-0bFcL-uW.js";
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-0bFcL-uW.js";
3
- import { n as i, r as a } from "./clients-CB9U4xyd.js";
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";
@@ -367,6 +367,6 @@ var A = { class: "wt-table__th__content typo-body-1-bold" }, j = { class: "wt-ta
367
367
  ]);
368
368
  };
369
369
  }
370
- }), [["__scopeId", "data-v-b068ba13"]]);
370
+ }), [["__scopeId", "data-v-1b20dd9c"]]);
371
371
  //#endregion
372
372
  export { M as default };
@@ -1,5 +1,5 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-0bFcL-uW.js";
2
- import { t as i } from "./clients-CB9U4xyd.js";
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";
@@ -1,4 +1,4 @@
1
- import { k as e } from "./components-0bFcL-uW.js";
1
+ import { k as e } from "./components-CXPq3d81.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-CM8hOd_m.js";
4
4
  import "./wt-button-l_CCN7zG.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.64",
3
+ "version": "26.8.65",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -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 || null,
85
- workStop: except.workStop || null,
84
+ workStart: except.workStart ?? (except.working ? 0 : null),
85
+ workStop: except.workStop ?? (except.working ? 0 : null),
86
86
  }));
87
87
  }
88
88
  return {
@@ -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: WebitelProtoDataField;
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
- }: WebitelProtoDataTypeLookup = {}) => {
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
  };
@@ -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';