@webitel/ui-datalist 1.1.50 → 1.1.52

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 (21) hide show
  1. package/package.json +2 -2
  2. package/src/modules/filters/components/search-bar/types/DynamicFilterSearch.ts +5 -0
  3. package/src/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-field.vue +1 -1
  4. package/src/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-preview.vue +1 -1
  5. package/src/modules/types/tableStore.types.ts +1 -1
  6. package/src/vite-env.d.ts +1 -0
  7. package/types/.tsbuildinfo +1 -0
  8. package/types/modules/filter-presets/stores/createFilterPresetsStore.d.ts +4 -5
  9. package/types/modules/filters/components/search-bar/types/DynamicFilterSearch.d.ts +3 -0
  10. package/types/modules/filters/modules/filterConfig/components/queue/index.d.ts +2 -3
  11. package/types/modules/filters/modules/filterConfig/components/talk-duration/TalkDurationFilter.d.ts +4 -0
  12. package/types/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-field.vue.d.ts +1 -1
  13. package/types/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-preview.vue.d.ts +1 -1
  14. package/types/modules/filters/modules/filterConfig/components/team/index.d.ts +2 -3
  15. package/types/modules/filters/modules/filterConfig/components/total-duration/TotalDurationFilter.d.ts +4 -0
  16. package/types/modules/headers/createTableHeadersStore.d.ts +0 -1
  17. package/types/modules/table/createTableStore.store.d.ts +4 -5
  18. package/types/modules/types/tableStore.types.d.ts +1 -1
  19. package/src/modules/filters/components/search-bar/types/DynamicFilterSearch.d.ts +0 -5
  20. /package/src/modules/filters/modules/filterConfig/components/talk-duration/{TalkDurationFilter.d.ts → TalkDurationFilter.ts} +0 -0
  21. /package/src/modules/filters/modules/filterConfig/components/total-duration/{TotalDurationFilter.d.ts → TotalDurationFilter.ts} +0 -0
@@ -1,4 +1,3 @@
1
- import type { EnginePresetQuery } from 'webitel-sdk';
2
1
  export declare const filterPresetsStoreBody: (namespace?: string) => {
3
2
  presetId: import("vue").Ref<any, any>;
4
3
  setupPresetPersistence: () => Promise<void>;
@@ -136,8 +135,8 @@ export declare const filterPresetsStoreBody: (namespace?: string) => {
136
135
  updatePage: (newPage: number) => void;
137
136
  updateSize: (newSize: number) => void;
138
137
  updateSort: (column: any, options?: {
139
- order?: EnginePresetQuery;
140
- } | EnginePresetQuery) => void;
138
+ order?: SortSymbols;
139
+ } | SortSymbols) => void;
141
140
  columnResize: ({ columnName, columnWidth }: {
142
141
  columnName: any;
143
142
  columnWidth: any;
@@ -286,8 +285,8 @@ export declare const createFilterPresetsStore: (namespace: string) => () => {
286
285
  updatePage: (newPage: number) => void;
287
286
  updateSize: (newSize: number) => void;
288
287
  updateSort: (column: any, options?: {
289
- order?: EnginePresetQuery;
290
- } | EnginePresetQuery) => void;
288
+ order?: SortSymbols;
289
+ } | SortSymbols) => void;
291
290
  columnResize: ({ columnName, columnWidth }: {
292
291
  columnName: any;
293
292
  columnWidth: any;
@@ -0,0 +1,3 @@
1
+ import type { WtSearchBarSearchModeOption } from '@webitel/ui-sdk/components/wt-search-bar/types/WtSearchBar';
2
+ import type { FilterName } from '../../../classes/Filter';
3
+ export type DynamicFilterSearchSearchModeOption = WtSearchBarSearchModeOption<FilterName>;
@@ -1,4 +1,3 @@
1
- import { queues as QueuesAPI } from '@webitel/ui-sdk/api/clients/index';
2
1
  import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
3
2
  declare class QueueFilterConfig extends WtSysTypeFilterConfig {
4
3
  readonly name: "queue";
@@ -20,9 +19,9 @@ declare class QueueFilterConfig extends WtSysTypeFilterConfig {
20
19
  "onUpdate:invalid"?: (args_0: boolean) => any;
21
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
21
  valuePreviewComponent: import("vue").DefineComponent<{
23
- value: QueuesAPI[];
22
+ value: EngineQueue[];
24
23
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
25
- value: QueuesAPI[];
24
+ value: EngineQueue[];
26
25
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
26
  searchRecords(params: object): Promise<{
28
27
  items: unknown[];
@@ -0,0 +1,4 @@
1
+ export type TalkDurationFilterModelValue = {
2
+ from: number;
3
+ to: number;
4
+ };
@@ -1,4 +1,4 @@
1
- import type { TalkDurationFilterModelValue } from './TalkDurationFilter.d.ts';
1
+ import type { TalkDurationFilterModelValue } from './TalkDurationFilter';
2
2
  type __VLS_ModelProps = {
3
3
  modelValue?: TalkDurationFilterModelValue;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { TalkDurationFilterModelValue } from './TalkDurationFilter.d.ts';
1
+ import type { TalkDurationFilterModelValue } from './TalkDurationFilter';
2
2
  type __VLS_Props = {
3
3
  value: TalkDurationFilterModelValue;
4
4
  };
@@ -1,4 +1,3 @@
1
- import { teams as TeamsAPI } from '@webitel/ui-sdk/api/clients/index';
2
1
  import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
3
2
  declare class TeamFilterConfig extends WtSysTypeFilterConfig {
4
3
  readonly name: "team";
@@ -20,9 +19,9 @@ declare class TeamFilterConfig extends WtSysTypeFilterConfig {
20
19
  "onUpdate:invalid"?: (args_0: boolean) => any;
21
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
21
  valuePreviewComponent: import("vue").DefineComponent<{
23
- value: TeamsAPI[];
22
+ value: EngineAgentTeam[];
24
23
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
25
- value: TeamsAPI[];
24
+ value: EngineAgentTeam[];
26
25
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
26
  searchRecords(params: object): Promise<{
28
27
  items: unknown[];
@@ -0,0 +1,4 @@
1
+ export type TotalDurationFilterModelValue = {
2
+ from: number;
3
+ to: number;
4
+ };
@@ -1,4 +1,3 @@
1
- import { SortSymbols } from '@webitel/ui-sdk/scripts/sortQueryAdapters';
2
1
  import type { Identifiable } from '../types/createDatalistStore.types';
3
2
  import type { DatalistTableHeader, useTableStoreConfig } from '../types/tableStore.types';
4
3
  interface TableHeadersStoreBodyParams {
@@ -1,4 +1,3 @@
1
- import deepEqual from 'deep-equal';
2
1
  import { type Ref } from 'vue';
3
2
  import type { Identifiable } from '../types/createDatalistStore.types';
4
3
  import type { LoadDataListOptions, PatchItemPropertyParams, useTableStoreConfig } from '../types/tableStore.types';
@@ -136,8 +135,8 @@ export declare const tableStoreBody: <Entity extends Identifiable>(namespace: st
136
135
  updatePage: (newPage: number) => void;
137
136
  updateSize: (newSize: number) => void;
138
137
  updateSort: (column: any, options?: {
139
- order?: deepEqual;
140
- } | deepEqual) => void;
138
+ order?: SortSymbols;
139
+ } | SortSymbols) => void;
141
140
  columnResize: ({ columnName, columnWidth }: {
142
141
  columnName: any;
143
142
  columnWidth: any;
@@ -283,8 +282,8 @@ export declare const createTableStore: <Entity extends Identifiable>(namespace:
283
282
  updatePage: (newPage: number) => void;
284
283
  updateSize: (newSize: number) => void;
285
284
  updateSort: (column: any, options?: {
286
- order?: deepEqual;
287
- } | deepEqual) => void;
285
+ order?: SortSymbols;
286
+ } | SortSymbols) => void;
288
287
  columnResize: ({ columnName, columnWidth }: {
289
288
  columnName: any;
290
289
  columnWidth: any;
@@ -1,6 +1,6 @@
1
1
  import type { ApiModule } from '@webitel/ui-sdk/api/types/ApiModule';
2
+ import type { WtTableHeader } from '@webitel/ui-sdk/components/wt-table/types/WtTable';
2
3
  import type { Ref } from 'vue';
3
- import type { WtTableHeader } from '../../../../../src/components/wt-table/types/WtTable';
4
4
  import type { IFiltersManager } from '../filters';
5
5
  import type { DatalistStoreProviderType } from './StoreProvider';
6
6
  /**
@@ -1,5 +0,0 @@
1
- import { WtSearchBarSearchModeOption } from '../../../../../../../../src/components/wt-search-bar/types/WtSearchBar';
2
- import { FilterName } from '../../../classes/Filter';
3
-
4
- export type DynamicFilterSearchSearchModeOption =
5
- WtSearchBarSearchModeOption<FilterName>;