@progress/kendo-vue-data-tools 11.0.0-develop.1 → 11.0.1-develop.1

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.
@@ -10,10 +10,16 @@ import { GroupChangeEvent, GroupRemoveEvent } from './GroupFilters';
10
10
  import { FieldSettings } from './FieldSettings';
11
11
  import { PropType } from 'vue';
12
12
  /**
13
- * The FilterChangeEvent object.
13
+ * Represents the object of the `change` event of the Filter.
14
14
  */
15
15
  export interface FilterChangeEvent {
16
+ /**
17
+ * The Filter component that fires the event.
18
+ */
16
19
  target: any;
20
+ /**
21
+ * The native DOM event.
22
+ */
17
23
  event: any;
18
24
  /**
19
25
  * The changed composite filter descriptor.
@@ -21,15 +27,25 @@ export interface FilterChangeEvent {
21
27
  filter: CompositeFilterDescriptor;
22
28
  }
23
29
  /**
24
- * The props of the Filter component.
30
+ * Represents the props of the Filter component.
25
31
  */
26
32
  export interface FilterProps {
27
33
  /**
28
- * The fields settings of the Filter.
34
+ * Sets the settings of the fields that you can filter by.
35
+ *
36
+ * @example
37
+ * ```vue
38
+ * <Filter :fields="[{ name: 'ProductName', label: 'Name', filter: 'text', operators: Operators.text }]" />
39
+ * ```
29
40
  */
30
41
  fields: Array<FieldSettings>;
31
42
  /**
32
- * The composite filter descriptor value.
43
+ * Sets the composite filter descriptor value of the Filter.
44
+ *
45
+ * @example
46
+ * ```vue
47
+ * <Filter :value="{ logic: 'and', filters: [] }" />
48
+ * ```
33
49
  */
34
50
  value: CompositeFilterDescriptor;
35
51
  /**
@@ -37,20 +53,42 @@ export interface FilterProps {
37
53
  */
38
54
  modelValue?: any;
39
55
  /**
40
- * The Filter onChange event.
56
+ * Fires when you change the filter value.
41
57
  */
42
58
  onChange?: (event: FilterChangeEvent) => void;
43
59
  /**
44
- * The initial composite filter descriptor which will be used when a new group is created.
60
+ * Sets the initial composite filter descriptor that the Filter uses when you create a new group.
61
+ *
62
+ * @example
63
+ * ```vue
64
+ * <Filter :default-group-filter="{ logic: 'or', filters: [] }" />
65
+ * ```
45
66
  */
46
67
  defaultGroupFilter?: CompositeFilterDescriptor;
47
68
  /**
48
- * Defines the `aria-label` attribute of the upper-most Toolbar that is part of the Filter component .
69
+ * Sets the `aria-label` attribute of the top-level Toolbar of the Filter.
70
+ *
71
+ * @example
72
+ * ```vue
73
+ * <Filter :upper-toolbar-aria-label="'Product filters'" />
74
+ * ```
75
+ *
76
+ * @remarks
77
+ * This property is related to accessibility.
49
78
  */
50
79
  upperToolbarAriaLabel?: string;
51
80
  }
52
81
  /**
53
- * @hidden
82
+ * Represents the [KendoVue Filter component](slug:overview_filter).
83
+ * Use the Filter to build complex filter expressions with groups and conditions.
84
+ *
85
+ * @example
86
+ * ```vue
87
+ * <Filter :value="filter" :fields="fields" @change="onFilterChange" />
88
+ * ```
89
+ *
90
+ * @remarks
91
+ * Supported children components are: {@link EnumFilter}.
54
92
  */
55
93
  declare const Filter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
56
94
  fields: {
@@ -8,23 +8,38 @@
8
8
  import { TextFilterProps } from './TextFilter';
9
9
  import { PropType } from 'vue';
10
10
  /**
11
- * The props of the EnumFilter component.
11
+ * Represents the props of the EnumFilter component.
12
12
  */
13
13
  export interface EnumFilterProps extends TextFilterProps {
14
14
  /**
15
- * A collection of text-value pairs passed to the EnumFilter DropDownList.
15
+ * Sets the collection of text-value pairs that the EnumFilter DropDownList shows.
16
+ *
17
+ * @example
18
+ * ```vue
19
+ * <EnumFilter :data-items="[{ text: 'Beverages', value: 1 }, { text: 'Condiments', value: 2 }]" />
20
+ * ```
16
21
  */
17
22
  dataItems?: Array<{
18
23
  text: string;
19
24
  value: any;
20
25
  }>;
21
26
  /**
22
- * The defaultItem passed to the EnumFilter DropDownList.
27
+ * Sets the default item of the EnumFilter DropDownList.
28
+ *
29
+ * @example
30
+ * ```vue
31
+ * <EnumFilter :default-item="{ text: 'Choose Category ...', value: null }" />
32
+ * ```
23
33
  */
24
34
  defaultItem?: any;
25
35
  }
26
36
  /**
27
- * @hidden
37
+ * Represents the KendoVue EnumFilter component. Use it as a custom editor in the Filter to select a value from a DropDownList.
38
+ *
39
+ * @example
40
+ * ```vue
41
+ * <EnumFilter :filter="filter" :data-items="categories" :default-item="{ text: 'Choose Category ...', value: null }" @filterchange="onFilterChange" />
42
+ * ```
28
43
  */
29
44
  declare const EnumFilter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
30
45
  filter: {
@@ -9,21 +9,34 @@ import { FilterOperator } from '../../interfaces/FilterOperator';
9
9
  import { FilterDescriptor } from '@progress/kendo-data-query';
10
10
  import { PropType } from 'vue';
11
11
  /**
12
- * The props of the TextFilter component.
12
+ * Represents the props of the TextFilter component.
13
13
  */
14
14
  export interface TextFilterProps {
15
15
  /**
16
- * The FilterDescriptor object which will be edited.
16
+ * Sets the `FilterDescriptor` object that the component edits.
17
+ *
18
+ * @example
19
+ * ```vue
20
+ * <EnumFilter :filter="{ field: 'CategoryID', operator: 'eq', value: 1 }" />
21
+ * ```
17
22
  */
18
23
  filter: FilterDescriptor;
19
24
  /**
20
- * The FilterChange event, triggered while editing the FilterOperator.
25
+ * Fires when you change the filter value.
21
26
  */
22
27
  onFilterchange?: (event: {
23
28
  nextFilter: FilterOperator;
24
29
  }) => void;
25
30
  /**
26
- * The accessible label of the component.
31
+ * Sets the accessible label of the component.
32
+ *
33
+ * @example
34
+ * ```vue
35
+ * <EnumFilter :aria-label="'Category filter'" />
36
+ * ```
37
+ *
38
+ * @remarks
39
+ * This property is related to accessibility.
27
40
  */
28
41
  ariaLabel?: string;
29
42
  }
@@ -10,7 +10,7 @@ import { FilterOperator } from '../interfaces/FilterOperator';
10
10
  * Represents the operators for the TextFilter, NumericFilter, DateFilter and BooleanFilter components.
11
11
  *
12
12
  * The text field of each operator object will be resolved according to the
13
- * [localization messages]({% slug globalization_datatools %}#toc-messages).
13
+ * [localization messages](slug:globalization_datatools#toc-messages).
14
14
  */
15
15
  export declare class Operators {
16
16
  /**
@@ -9,7 +9,7 @@ import { FilterOperator } from './FilterOperator';
9
9
  import { FilterOperators } from './FilterOperators';
10
10
  /**
11
11
  * The props of the FilterCell component
12
- * ([more information and examples]({% slug filtering_grid %})).
12
+ * ([more information and examples](slug:filtering_grid)).
13
13
  */
14
14
  /**
15
15
  * @hidden
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-data-tools",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1794299478,version:"11.0.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-data-tools",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1794913601,version:"11.0.1-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1794299478,
14
- version: "11.0.0-develop.1",
13
+ publishDate: 1794913601,
14
+ version: "11.0.1-develop.1",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-data-tools",
3
- "version": "11.0.0-develop.1",
3
+ "version": "11.0.1-develop.1",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -25,15 +25,15 @@
25
25
  "sideEffects": false,
26
26
  "peerDependencies": {
27
27
  "@progress/kendo-data-query": "^1.7.0",
28
- "@progress/kendo-licensing": "^1.13.0",
29
- "@progress/kendo-vue-animation": "11.0.0-develop.1",
30
- "@progress/kendo-vue-buttons": "11.0.0-develop.1",
31
- "@progress/kendo-vue-common": "11.0.0-develop.1",
32
- "@progress/kendo-vue-dateinputs": "11.0.0-develop.1",
33
- "@progress/kendo-vue-dropdowns": "11.0.0-develop.1",
34
- "@progress/kendo-vue-inputs": "11.0.0-develop.1",
35
- "@progress/kendo-vue-intl": "11.0.0-develop.1",
36
- "@progress/kendo-vue-popup": "11.0.0-develop.1",
28
+ "@progress/kendo-licensing": "^1.13.1",
29
+ "@progress/kendo-vue-animation": "11.0.1-develop.1",
30
+ "@progress/kendo-vue-buttons": "11.0.1-develop.1",
31
+ "@progress/kendo-vue-common": "11.0.1-develop.1",
32
+ "@progress/kendo-vue-dateinputs": "11.0.1-develop.1",
33
+ "@progress/kendo-vue-dropdowns": "11.0.1-develop.1",
34
+ "@progress/kendo-vue-inputs": "11.0.1-develop.1",
35
+ "@progress/kendo-vue-intl": "11.0.1-develop.1",
36
+ "@progress/kendo-vue-popup": "11.0.1-develop.1",
37
37
  "@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
38
38
  "vue": "^3.0.2"
39
39
  },
@@ -83,7 +83,7 @@
83
83
  "package": {
84
84
  "productName": "Kendo UI for Vue",
85
85
  "productCode": "KENDOUIVUE",
86
- "publishDate": 1794299478,
86
+ "publishDate": 1794913601,
87
87
  "licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
88
88
  }
89
89
  },
@@ -6,15 +6,14 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  /**
9
- * The type of the Grid pager.
9
+ * Represents the type of the Grid pager.
10
10
  *
11
11
  * The available values are:
12
- * * `numeric`&mdash;Buttons with numbers.
13
- * * `input`&mdash;An input field for typing the page number.
12
+ * * `numeric`&mdash;Shows buttons with page numbers.
13
+ * * `input`&mdash;Shows an input field where you type the page number.
14
14
  *
15
15
  * @example
16
- * ```tsx-no-run
17
- *
16
+ * ```vue
18
17
  * <Grid
19
18
  * :data-items="products"
20
19
  * :columns="columns"
@@ -24,42 +23,84 @@
24
23
  */
25
24
  export type GridPagerType = 'numeric' | 'input';
26
25
  /**
27
- * The pager settings of the Grid ([see example]({% slug paging_grid %})).
26
+ * Represents the pager settings of the Grid ([see example](slug:paging_grid)).
28
27
  *
29
28
  * @example
30
- * ```tsx-no-run
31
- *
29
+ * ```vue
32
30
  * <Grid :pageable="{buttonCount: 2,info: false}">
33
31
  * </Grid>
34
32
  * ```
35
33
  */
36
34
  export interface GridPagerSettings {
37
35
  /**
38
- * Sets the selected value of the page size Dropdownlist. It is useful when the selected value could also be a string not only a number.
36
+ * Sets the selected value of the page size DropDownList. Use it when the selected value can be a `string` and not only a `number`.
37
+ *
38
+ * @example
39
+ * ```vue
40
+ * <Pager :page-size-value="'All'" />
41
+ * ```
39
42
  */
40
43
  pageSizeValue?: string | number;
41
44
  /**
42
- * Sets the maximum numeric buttons count before the buttons are collapsed.
45
+ * Sets the maximum number of numeric buttons that the pager shows before it collapses them.
46
+ *
47
+ * @example
48
+ * ```vue
49
+ * <Pager :button-count="5" />
50
+ * ```
51
+ *
52
+ * @default 10
43
53
  */
44
54
  buttonCount?: number;
45
55
  /**
46
- * Toggles the information about the current page and the total number of records.
56
+ * Shows or hides the information about the current page and the total number of records.
57
+ *
58
+ * @example
59
+ * ```vue
60
+ * <Pager :info="false" />
61
+ * ```
62
+ *
63
+ * @default true
47
64
  */
48
65
  info?: boolean;
49
66
  /**
50
- * Defines the type of the Grid pager.
67
+ * Sets the type of the pager. The available values are `numeric` and `input`.
68
+ *
69
+ * @example
70
+ * ```vue
71
+ * <Pager :type="'input'" />
72
+ * ```
73
+ *
74
+ * @default 'numeric'
51
75
  */
52
76
  type?: string;
53
77
  /**
54
- * Shows a menu for selecting the page size.
78
+ * Shows a menu where you select the page size. Set it to `true` or to an array of page sizes.
79
+ *
80
+ * @example
81
+ * ```vue
82
+ * <Pager :page-sizes="[5, 10, 20]" />
83
+ * ```
55
84
  */
56
85
  pageSizes?: boolean | Array<number>;
57
86
  /**
58
- * Toggles the **Previous** and **Next** buttons.
87
+ * Shows or hides the **Previous** and **Next** buttons.
88
+ *
89
+ * @example
90
+ * ```vue
91
+ * <Pager :previous-next="true" />
92
+ * ```
59
93
  */
60
94
  previousNext?: boolean;
61
95
  /**
62
- * Defines if the pager will be responsive. Defaults to `true`.
96
+ * Sets whether the pager adapts its content to the available width.
97
+ *
98
+ * @example
99
+ * ```vue
100
+ * <Pager :responsive="false" />
101
+ * ```
102
+ *
103
+ * @default true
63
104
  */
64
105
  responsive?: boolean;
65
106
  }
package/pager/Pager.d.ts CHANGED
@@ -8,7 +8,14 @@
8
8
  import { GridPagerSettings } from './GridPagerSettings';
9
9
  import { PropType } from 'vue';
10
10
  /**
11
- * @hidden
11
+ * Represents the [KendoVue Pager component](slug:overview_pager).
12
+ * Use the Pager to split a large set of records into pages and to move between them.
13
+ *
14
+ * @example
15
+ * ```vue
16
+ * <Pager :skip="skip" :take="take" :total="total" :page-sizes="[5, 10, 20]" @pagechange="onPageChange" />
17
+ * ```
18
+ *
12
19
  */
13
20
  declare const Pager: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
21
  pageSizeValue: PropType<string | number>;
@@ -28,7 +28,20 @@ export interface PagerInfoProps {
28
28
  });
29
29
  }
30
30
  /**
31
- * @hidden
31
+ * Represents the KendoVue PagerInfo component. Include it in a template passed to the Pager's `pagerRender` prop to show the current page and total number of records.
32
+ *
33
+ * @example
34
+ * ```vue
35
+ * <Pager :skip="skip" :take="take" :total="total" :pager-render="'pagerTemplate'">
36
+ * <template #pagerTemplate="{ props }">
37
+ * <PagerInfo
38
+ * :total-pages="props.total"
39
+ * :skip="props.skip"
40
+ * :current-page="props.take"
41
+ * />
42
+ * </template>
43
+ * </Pager>
44
+ * ```
32
45
  */
33
46
  declare const PagerInfo: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
34
47
  totalPages: PropType<number>;
@@ -7,48 +7,117 @@
7
7
  */
8
8
  import { GridPagerSettings } from '../GridPagerSettings';
9
9
  /**
10
- * A Pager target event.
10
+ * Represents a Pager target event.
11
11
  */
12
12
  export interface PagerTargetEvent {
13
13
  [key: string]: any;
14
14
  /**
15
- * An event target.
15
+ * The target of the event.
16
16
  */
17
17
  target?: any;
18
18
  /**
19
- * An event value.
19
+ * The value of the event.
20
20
  */
21
21
  value?: any;
22
22
  }
23
23
  /**
24
- * Represents the object of the `onPageChange` event.
24
+ * Represents the object of the `pagechange` event.
25
25
  */
26
26
  export interface PageChangeEvent {
27
27
  /**
28
- * An event target.
28
+ * The target of the event.
29
29
  */
30
30
  target: any;
31
31
  /**
32
- * A native DOM event.
32
+ * The native DOM event.
33
33
  */
34
34
  event: any;
35
35
  /**
36
- * The number of records that will be skipped.
36
+ * The number of records that the Pager skips.
37
37
  */
38
38
  skip: number;
39
39
  /**
40
- * The number of records that will be taken.
40
+ * The number of records that the Pager takes.
41
41
  */
42
42
  take: number;
43
43
  }
44
+ /**
45
+ * Represents the props of the Pager component.
46
+ */
44
47
  export interface PagerProps extends GridPagerSettings {
48
+ /**
49
+ * Sets the total number of records.
50
+ *
51
+ * @example
52
+ * ```vue
53
+ * <Pager :total="100" />
54
+ * ```
55
+ */
45
56
  total: number;
57
+ /**
58
+ * Sets the number of records to skip.
59
+ *
60
+ * @example
61
+ * ```vue
62
+ * <Pager :skip="20" />
63
+ * ```
64
+ */
46
65
  skip: number;
66
+ /**
67
+ * Sets the number of records to take. If you set it, the Pager uses it instead of `pageSize`.
68
+ *
69
+ * @example
70
+ * ```vue
71
+ * <Pager :take="10" />
72
+ * ```
73
+ */
47
74
  take: number;
75
+ /**
76
+ * Sets the number of records on each page.
77
+ *
78
+ * @example
79
+ * ```vue
80
+ * <Pager :page-size="10" />
81
+ * ```
82
+ */
48
83
  pageSize: number;
84
+ /**
85
+ * Sets the pager settings as one object. The values in this object override the separate pager props.
86
+ *
87
+ * @example
88
+ * ```vue
89
+ * <Pager :settings="{ buttonCount: 5, info: false }" />
90
+ * ```
91
+ */
49
92
  settings?: GridPagerSettings | boolean;
93
+ /**
94
+ * Sets whether the Pager hides some of its elements when there is not enough width.
95
+ *
96
+ * @example
97
+ * ```vue
98
+ * <Pager :responsive="false" />
99
+ * ```
100
+ *
101
+ * @default true
102
+ */
50
103
  responsive?: boolean;
104
+ /**
105
+ * Sets a custom template for the Pager content. The template receives the Pager props and the `current` page number.
106
+ *
107
+ * @example
108
+ * ```vue
109
+ * <Pager :pager-render="'pagerTemplate'" />
110
+ * ```
111
+ */
51
112
  pagerRender?: any;
113
+ /**
114
+ * Sets the width of the Pager. A `number` value is in pixels.
115
+ *
116
+ * @example
117
+ * ```vue
118
+ * <Pager :width="'100%'" />
119
+ * ```
120
+ */
52
121
  width?: number | string;
53
122
  /**
54
123
  * Configures the `size` of the Pager.
@@ -59,26 +128,39 @@ export interface PagerProps extends GridPagerSettings {
59
128
  * - large
60
129
  * - null&mdash;Does not set a size `class`.
61
130
  *
131
+ * @example
132
+ * ```vue
133
+ * <Pager :size="'small'" />
134
+ * ```
135
+ *
62
136
  * @default `medium`
63
137
  */
64
138
  size?: null | 'small' | 'medium' | 'large';
65
139
  /**
66
- * A map with the messages.
140
+ * Sets a function that returns the localization message for a message key.
67
141
  */
68
142
  messagesMap?: (messageKey: string) => ({
69
143
  messageKey: string;
70
144
  defaultMessage: string;
71
145
  });
72
146
  /**
73
- * The event that is emited when the page size is changed.
147
+ * Fires when you change the page size.
74
148
  */
75
149
  onPagesizechange?: (event: any) => any;
76
150
  /**
77
- * The event that is emited when the page is changed.
151
+ * Fires when you change the page.
78
152
  */
79
153
  onPagechange?: (event: any) => any;
80
154
  /**
81
- * Defines the `id` of the element that is being controlled by the pager - for example a Grid.
155
+ * Sets the `id` of the element that the Pager controls, for example a Grid.
156
+ *
157
+ * @example
158
+ * ```vue
159
+ * <Pager :aria-controls="'products-grid'" />
160
+ * ```
161
+ *
162
+ * @remarks
163
+ * This property is related to accessibility.
82
164
  */
83
165
  ariaControls?: string;
84
166
  }
@@ -52,8 +52,8 @@ export declare const getSelectedStateFromKeyDown: (options: {
52
52
  /**
53
53
  * Get selected state from the component selection event.
54
54
  *
55
- * @param {{event: TableSelectionChangeEvent, selectedState: {[id: string]: boolean | number[]}, dataItemKey: string}} options
56
- * @returns {{[id: string]: boolean | number[]}} - The new selected state.
55
+ * @param {{event: TableSelectionChangeEvent, selectedState: {[id: string]: boolean | number[]}, dataItemKey: string}} options
56
+ * @returns {{[id: string]: boolean | number[]}} The new selected state.
57
57
  */
58
58
  export declare const getSelectedState: (options: {
59
59
  event: TableSelectionChangeEvent;
@@ -9,19 +9,19 @@ import { SortDescriptor, FilterDescriptor, CompositeFilterDescriptor } from '@pr
9
9
  /**
10
10
  * Orders the specified tree according to the provided sort descriptors.
11
11
  *
12
- * @param {T[]} data - The data that will be sorted.
13
- * @param {SortDescriptor[]} descriptors - The descriptors by which the data will be sorted.
14
- * @param {string} subItemsField - The field which points to the subitems collection of each data item.
15
- * @returns {T[]} - The sorted data.
12
+ * @param {T[]} data The data that will be sorted.
13
+ * @param {SortDescriptor[]} descriptors The descriptors by which the data will be sorted.
14
+ * @param {string} subItemsField The field which points to the subitems collection of each data item.
15
+ * @returns {T[]} The sorted data.
16
16
  */
17
17
  export declare function orderBy(data: any[], descriptors: SortDescriptor[], subItemsField: string): any[];
18
18
  /**
19
19
  * Filters the provided data tree according to the specified `Array<FilterDescriptor|CompositeFilterDescriptor>`.
20
20
  *
21
- * @param {T[]} data - The data that will be filtered.
22
- * @param {FilterDescriptor[]|CompositeFilterDescriptor[]} descriptors - The filter criteria that will be applied.
23
- * @param {string} subItemsField - The field which points to the subitems collection of each data item.
24
- * @returns {T[]} - The filtered data.
21
+ * @param {T[]} data The data that will be filtered.
22
+ * @param {FilterDescriptor[]|CompositeFilterDescriptor[]} descriptors The filter criteria that will be applied.
23
+ * @param {string} subItemsField The field which points to the subitems collection of each data item.
24
+ * @returns {T[]} The filtered data.
25
25
  */
26
26
  export declare function filterBy(data: any[], descriptors: FilterDescriptor[] | CompositeFilterDescriptor[], subItemsField: string): any[];
27
27
  /** @hidden */