@progress/kendo-vue-grid 2.7.2 → 2.8.0-dev.202201121019
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/cdn/js/kendo-vue-grid.js +1 -1
- package/dist/es/Grid.d.ts +5 -6
- package/dist/es/Grid.js +3 -3
- package/dist/es/GridNav.d.ts +5 -6
- package/dist/es/GridNav.js +4 -3
- package/dist/es/GridNoRecords.d.ts +4 -5
- package/dist/es/GridNoRecords.js +3 -3
- package/dist/es/GridToolbar.d.ts +4 -45
- package/dist/es/GridToolbar.js +3 -43
- package/dist/es/additionalTypes.ts +7 -1
- package/dist/es/cells/GridCell.d.ts +5 -6
- package/dist/es/cells/GridCell.js +3 -3
- package/dist/es/cells/GridDetailCell.d.ts +5 -6
- package/dist/es/cells/GridDetailCell.js +3 -3
- package/dist/es/cells/GridDetailHierarchyCell.d.ts +5 -6
- package/dist/es/cells/GridDetailHierarchyCell.js +3 -3
- package/dist/es/cells/GridEditCell.d.ts +5 -6
- package/dist/es/cells/GridEditCell.js +8 -6
- package/dist/es/cells/GridFilterCell.d.ts +5 -6
- package/dist/es/cells/GridFilterCell.js +20 -19
- package/dist/es/cells/GridGroupCell.d.ts +5 -6
- package/dist/es/cells/GridGroupCell.js +3 -3
- package/dist/es/cells/GridHierarchyCell.d.ts +5 -6
- package/dist/es/cells/GridHierarchyCell.js +3 -3
- package/dist/es/cells/GridSelectionCell.d.ts +5 -6
- package/dist/es/cells/GridSelectionCell.js +4 -4
- package/dist/es/columnMenu/ColumnMenu.d.ts +5 -6
- package/dist/es/columnMenu/ColumnMenu.js +7 -5
- package/dist/es/columnMenu/ColumnMenuContent.d.ts +5 -6
- package/dist/es/columnMenu/ColumnMenuContent.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +54 -25
- package/dist/es/columnMenu/GridColumnMenuFilter.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuFilter.js +50 -31
- package/dist/es/columnMenu/GridColumnMenuFilterCell.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuFilterCell.js +8 -6
- package/dist/es/columnMenu/GridColumnMenuFilterUI.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuFilterUI.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuItem.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuItem.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuItemContent.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuItemContent.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuItemGroup.d.ts +4 -5
- package/dist/es/columnMenu/GridColumnMenuItemGroup.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuSort.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuSort.js +3 -3
- package/dist/es/drag/ColumnDraggable.d.ts +5 -6
- package/dist/es/drag/ColumnDraggable.js +3 -3
- package/dist/es/drag/ColumnResizer.d.ts +5 -6
- package/dist/es/drag/ColumnResizer.js +3 -3
- package/dist/es/drag/DragClue.d.ts +5 -6
- package/dist/es/drag/DragClue.js +3 -3
- package/dist/es/drag/DropClue.d.ts +5 -6
- package/dist/es/drag/DropClue.js +3 -3
- package/dist/es/drag/GroupingIndicator.d.ts +5 -6
- package/dist/es/drag/GroupingIndicator.js +29 -25
- package/dist/es/footer/Footer.d.ts +5 -6
- package/dist/es/footer/Footer.js +3 -3
- package/dist/es/footer/FooterRow.d.ts +5 -6
- package/dist/es/footer/FooterRow.js +3 -3
- package/dist/es/header/FilterRow.d.ts +5 -6
- package/dist/es/header/FilterRow.js +3 -3
- package/dist/es/header/GridHeaderCell.d.ts +5 -6
- package/dist/es/header/GridHeaderCell.js +3 -3
- package/dist/es/header/GridHeaderSelectionCell.d.ts +5 -6
- package/dist/es/header/GridHeaderSelectionCell.js +4 -4
- package/dist/es/header/GroupPanel.d.ts +5 -6
- package/dist/es/header/GroupPanel.js +3 -3
- package/dist/es/header/Header.d.ts +6 -8
- package/dist/es/header/Header.js +3 -3
- package/dist/es/header/HeaderRow.d.ts +6 -8
- package/dist/es/header/HeaderRow.js +3 -3
- package/dist/es/interfaces/GridColumnProps.d.ts +4 -5
- package/dist/es/interfaces/GridNoRecordsProps.d.ts +1 -2
- package/dist/es/interfaces/GridProps.d.ts +4 -5
- package/dist/es/interfaces/GridToolbarProps.d.ts +1 -2
- package/dist/es/main.d.ts +22 -22
- package/dist/es/main.js +22 -22
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/rows/GridDetailRow.d.ts +8 -9
- package/dist/es/rows/GridDetailRow.js +3 -3
- package/dist/es/rows/GridRow.d.ts +5 -6
- package/dist/es/rows/GridRow.js +3 -3
- package/dist/npm/Grid.d.ts +5 -6
- package/dist/npm/Grid.js +5 -5
- package/dist/npm/GridNav.d.ts +5 -6
- package/dist/npm/GridNav.js +6 -5
- package/dist/npm/GridNoRecords.d.ts +4 -5
- package/dist/npm/GridNoRecords.js +5 -5
- package/dist/npm/GridToolbar.d.ts +4 -45
- package/dist/npm/GridToolbar.js +5 -45
- package/dist/npm/additionalTypes.ts +7 -1
- package/dist/npm/cells/GridCell.d.ts +5 -6
- package/dist/npm/cells/GridCell.js +5 -5
- package/dist/npm/cells/GridDetailCell.d.ts +5 -6
- package/dist/npm/cells/GridDetailCell.js +5 -5
- package/dist/npm/cells/GridDetailHierarchyCell.d.ts +5 -6
- package/dist/npm/cells/GridDetailHierarchyCell.js +5 -5
- package/dist/npm/cells/GridEditCell.d.ts +5 -6
- package/dist/npm/cells/GridEditCell.js +10 -8
- package/dist/npm/cells/GridFilterCell.d.ts +5 -6
- package/dist/npm/cells/GridFilterCell.js +23 -21
- package/dist/npm/cells/GridGroupCell.d.ts +5 -6
- package/dist/npm/cells/GridGroupCell.js +5 -5
- package/dist/npm/cells/GridHierarchyCell.d.ts +5 -6
- package/dist/npm/cells/GridHierarchyCell.js +5 -5
- package/dist/npm/cells/GridSelectionCell.d.ts +5 -6
- package/dist/npm/cells/GridSelectionCell.js +6 -6
- package/dist/npm/columnMenu/ColumnMenu.d.ts +5 -6
- package/dist/npm/columnMenu/ColumnMenu.js +9 -7
- package/dist/npm/columnMenu/ColumnMenuContent.d.ts +5 -6
- package/dist/npm/columnMenu/ColumnMenuContent.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +57 -27
- package/dist/npm/columnMenu/GridColumnMenuFilter.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuFilter.js +53 -33
- package/dist/npm/columnMenu/GridColumnMenuFilterCell.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuFilterCell.js +10 -8
- package/dist/npm/columnMenu/GridColumnMenuFilterUI.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuFilterUI.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuItem.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuItemContent.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuItemContent.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuItemGroup.d.ts +4 -5
- package/dist/npm/columnMenu/GridColumnMenuItemGroup.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuSort.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuSort.js +5 -5
- package/dist/npm/drag/ColumnDraggable.d.ts +5 -6
- package/dist/npm/drag/ColumnDraggable.js +5 -5
- package/dist/npm/drag/ColumnResizer.d.ts +5 -6
- package/dist/npm/drag/ColumnResizer.js +5 -5
- package/dist/npm/drag/DragClue.d.ts +5 -6
- package/dist/npm/drag/DragClue.js +5 -5
- package/dist/npm/drag/DropClue.d.ts +5 -6
- package/dist/npm/drag/DropClue.js +5 -5
- package/dist/npm/drag/GroupingIndicator.d.ts +5 -6
- package/dist/npm/drag/GroupingIndicator.js +31 -27
- package/dist/npm/footer/Footer.d.ts +5 -6
- package/dist/npm/footer/Footer.js +5 -5
- package/dist/npm/footer/FooterRow.d.ts +5 -6
- package/dist/npm/footer/FooterRow.js +5 -5
- package/dist/npm/header/FilterRow.d.ts +5 -6
- package/dist/npm/header/FilterRow.js +5 -5
- package/dist/npm/header/GridHeaderCell.d.ts +5 -6
- package/dist/npm/header/GridHeaderCell.js +5 -5
- package/dist/npm/header/GridHeaderSelectionCell.d.ts +5 -6
- package/dist/npm/header/GridHeaderSelectionCell.js +6 -6
- package/dist/npm/header/GroupPanel.d.ts +5 -6
- package/dist/npm/header/GroupPanel.js +5 -5
- package/dist/npm/header/Header.d.ts +6 -8
- package/dist/npm/header/Header.js +5 -5
- package/dist/npm/header/HeaderRow.d.ts +6 -8
- package/dist/npm/header/HeaderRow.js +5 -5
- package/dist/npm/interfaces/GridColumnProps.d.ts +4 -5
- package/dist/npm/interfaces/GridNoRecordsProps.d.ts +1 -2
- package/dist/npm/interfaces/GridProps.d.ts +4 -5
- package/dist/npm/interfaces/GridToolbarProps.d.ts +1 -2
- package/dist/npm/main.d.ts +22 -22
- package/dist/npm/main.js +22 -22
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/rows/GridDetailRow.d.ts +8 -9
- package/dist/npm/rows/GridDetailRow.js +5 -5
- package/dist/npm/rows/GridRow.d.ts +5 -6
- package/dist/npm/rows/GridRow.js +5 -5
- package/package.json +13 -13
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
2
|
import { GridCellProps } from '../interfaces/GridCellProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -8,7 +7,7 @@ declare type DefaultMethods<V> = {
|
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
11
|
-
export interface GridHierarchyCellMethods extends
|
|
10
|
+
export interface GridHierarchyCellMethods extends Vue2type {
|
|
12
11
|
triggerKeydown: (e: any, expanded: boolean | undefined) => void;
|
|
13
12
|
clickHandler: (e: any, dataItem: any, expanded: boolean | undefined) => void;
|
|
14
13
|
getKeyboardNavigationAttributes: (id: string) => any;
|
|
@@ -16,6 +15,6 @@ export interface GridHierarchyCellMethods extends Vue {
|
|
|
16
15
|
/**
|
|
17
16
|
* Represents the default `GridHierarchyCell` component.
|
|
18
17
|
*/
|
|
19
|
-
declare let
|
|
20
|
-
declare const
|
|
21
|
-
export { GridHierarchyCell,
|
|
18
|
+
declare let GridHierarchyCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridHierarchyCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
|
|
19
|
+
declare const GridHierarchyCell: DefineComponent<GridCellProps, any, {}, {}, GridHierarchyCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
|
|
20
|
+
export { GridHierarchyCell, GridHierarchyCellVue2 };
|
|
@@ -9,7 +9,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
9
9
|
* Represents the default `GridHierarchyCell` component.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var GridHierarchyCellVue2 = {
|
|
13
13
|
props: {
|
|
14
14
|
id: String,
|
|
15
15
|
field: String,
|
|
@@ -153,5 +153,5 @@ var GridHierarchyCell = {
|
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
|
-
var
|
|
157
|
-
export { GridHierarchyCell,
|
|
156
|
+
var GridHierarchyCell = GridHierarchyCellVue2;
|
|
157
|
+
export { GridHierarchyCell, GridHierarchyCellVue2 };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
2
|
import { GridCellProps } from '../interfaces/GridCellProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -8,7 +7,7 @@ declare type DefaultMethods<V> = {
|
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
11
|
-
export interface GridSelectionCellMethods extends
|
|
10
|
+
export interface GridSelectionCellMethods extends Vue2type {
|
|
12
11
|
triggerKeydown: (e: any) => void;
|
|
13
12
|
handleOnChange: (event: any) => void;
|
|
14
13
|
getKeyboardNavigationAttributes: (id: string) => any;
|
|
@@ -27,6 +26,6 @@ export interface GridSelectionCellAll extends GridSelectionCellMethods, GridSele
|
|
|
27
26
|
/**
|
|
28
27
|
* Represents the default `GridSelectionCell` component.
|
|
29
28
|
*/
|
|
30
|
-
declare let
|
|
31
|
-
declare const
|
|
32
|
-
export { GridSelectionCell,
|
|
29
|
+
declare let GridSelectionCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridSelectionCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
|
|
30
|
+
declare const GridSelectionCell: DefineComponent<GridCellProps, any, GridSelectionCellData, {}, GridSelectionCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
|
|
31
|
+
export { GridSelectionCell, GridSelectionCellVue2 };
|
|
@@ -9,7 +9,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
9
9
|
* Represents the default `GridSelectionCell` component.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var GridSelectionCellVue2 = {
|
|
13
13
|
props: {
|
|
14
14
|
id: String,
|
|
15
15
|
field: String,
|
|
@@ -105,7 +105,7 @@ var GridSelectionCell = {
|
|
|
105
105
|
type: "checkbox"
|
|
106
106
|
},
|
|
107
107
|
type: "checkbox",
|
|
108
|
-
"class": "k-checkbox",
|
|
108
|
+
"class": "k-checkbox k-checkbox-md k-rounded-md",
|
|
109
109
|
onChange: this.handleOnChange,
|
|
110
110
|
on: this.v3 ? undefined : {
|
|
111
111
|
"change": this.handleOnChange
|
|
@@ -129,5 +129,5 @@ var GridSelectionCell = {
|
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
var
|
|
133
|
-
export { GridSelectionCell,
|
|
132
|
+
var GridSelectionCell = GridSelectionCellVue2;
|
|
133
|
+
export { GridSelectionCell, GridSelectionCellVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => ColumnMenuData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -9,7 +8,7 @@ import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
|
9
8
|
/**
|
|
10
9
|
* @hidden
|
|
11
10
|
*/
|
|
12
|
-
export interface ColumnMenuMethods extends
|
|
11
|
+
export interface ColumnMenuMethods extends Vue2type {
|
|
13
12
|
blur: () => void;
|
|
14
13
|
focus: () => void;
|
|
15
14
|
handleFocus: (_: any) => void;
|
|
@@ -49,6 +48,6 @@ export interface ColumnMenuAll extends ColumnMenuMethods, ColumnMenuData, Column
|
|
|
49
48
|
/**
|
|
50
49
|
* Represents the default `ColumnMenu` component.
|
|
51
50
|
*/
|
|
52
|
-
declare let
|
|
53
|
-
declare const
|
|
54
|
-
export { ColumnMenu,
|
|
51
|
+
declare let ColumnMenuVue2: ComponentOptions<Vue2type, DefaultData<ColumnMenuData>, DefaultMethods<ColumnMenuAll>, {}, RecordPropsDefinition<GridColumnMenuProps>>;
|
|
52
|
+
declare const ColumnMenu: DefineComponent<GridColumnMenuProps, any, ColumnMenuData, ColumnMenuComputed, ColumnMenuMethods, {}, {}, {}, string, GridColumnMenuProps, GridColumnMenuProps, {}>;
|
|
53
|
+
export { ColumnMenu, ColumnMenuVue2 };
|
|
@@ -13,7 +13,7 @@ import { messages, columnMenu } from '../messages';
|
|
|
13
13
|
* Represents the default `ColumnMenu` component.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var ColumnMenuVue2 = {
|
|
17
17
|
name: 'KendoColumnMenu',
|
|
18
18
|
props: {
|
|
19
19
|
animate: {
|
|
@@ -168,7 +168,8 @@ var ColumnMenu = {
|
|
|
168
168
|
},
|
|
169
169
|
onFocusin: _this2.focus,
|
|
170
170
|
style: {
|
|
171
|
-
outline: 'none'
|
|
171
|
+
outline: 'none',
|
|
172
|
+
width: '230px'
|
|
172
173
|
}
|
|
173
174
|
}, [// @ts-ignore
|
|
174
175
|
h(ColumnMenuContent, {
|
|
@@ -213,7 +214,8 @@ var ColumnMenu = {
|
|
|
213
214
|
},
|
|
214
215
|
onFocusin: _this2.focus,
|
|
215
216
|
style: {
|
|
216
|
-
outline: 'none'
|
|
217
|
+
outline: 'none',
|
|
218
|
+
width: '230px'
|
|
217
219
|
}
|
|
218
220
|
}, [h(ColumnMenuContent, {
|
|
219
221
|
column: _this2.$props.column,
|
|
@@ -245,5 +247,5 @@ var ColumnMenu = {
|
|
|
245
247
|
})])])]);
|
|
246
248
|
}
|
|
247
249
|
};
|
|
248
|
-
var
|
|
249
|
-
export { ColumnMenu,
|
|
250
|
+
var ColumnMenu = ColumnMenuVue2;
|
|
251
|
+
export { ColumnMenu, ColumnMenuVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -15,7 +14,7 @@ export interface ColumnMenuContentProps extends GridColumnMenuProps {
|
|
|
15
14
|
/**
|
|
16
15
|
* @hidden
|
|
17
16
|
*/
|
|
18
|
-
export interface ColumnMenuContentMethods extends
|
|
17
|
+
export interface ColumnMenuContentMethods extends Vue2type {
|
|
19
18
|
handleFocus: (e: any) => void;
|
|
20
19
|
closeMenu: () => void;
|
|
21
20
|
contentKeyDown: (e: any) => void;
|
|
@@ -26,6 +25,6 @@ export interface ColumnMenuContentMethods extends Vue {
|
|
|
26
25
|
/**
|
|
27
26
|
* Represents the default `ColumnMenuContent` component.
|
|
28
27
|
*/
|
|
29
|
-
declare let
|
|
30
|
-
declare const
|
|
31
|
-
export { ColumnMenuContent,
|
|
28
|
+
declare let ColumnMenuContentVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<ColumnMenuContentMethods>, {}, RecordPropsDefinition<ColumnMenuContentProps>>;
|
|
29
|
+
declare const ColumnMenuContent: DefineComponent<ColumnMenuContentProps, any, {}, {}, ColumnMenuContentMethods, {}, {}, {}, string, ColumnMenuContentProps, ColumnMenuContentProps, {}>;
|
|
30
|
+
export { ColumnMenuContent, ColumnMenuContentVue2 };
|
|
@@ -9,7 +9,7 @@ import { getTemplate, Keys } from '@progress/kendo-vue-common';
|
|
|
9
9
|
* Represents the default `ColumnMenuContent` component.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var ColumnMenuContentVue2 = {
|
|
13
13
|
name: 'KendoColumnMenuContent',
|
|
14
14
|
props: {
|
|
15
15
|
column: Object,
|
|
@@ -113,5 +113,5 @@ var ColumnMenuContent = {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
var
|
|
117
|
-
export { ColumnMenuContent,
|
|
116
|
+
var ColumnMenuContent = ColumnMenuContentVue2;
|
|
117
|
+
export { ColumnMenuContent, ColumnMenuContentVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -44,7 +43,7 @@ export interface GridColumnMenuFilterStateProps {
|
|
|
44
43
|
/**
|
|
45
44
|
* @hidden
|
|
46
45
|
*/
|
|
47
|
-
export interface GridColumnMenuCheckboxFilterMethods extends
|
|
46
|
+
export interface GridColumnMenuCheckboxFilterMethods extends Vue2type {
|
|
48
47
|
defaultFilter: () => CompositeFilterDescriptor;
|
|
49
48
|
parseData: (originalData: any, isUnique: any) => any;
|
|
50
49
|
getFilterIndex: () => number;
|
|
@@ -79,6 +78,6 @@ export interface GridColumnMenuCheckboxFilterAll extends GridColumnMenuCheckboxF
|
|
|
79
78
|
/**
|
|
80
79
|
* Represents the default `GridColumnMenuCheckboxFilter` component.
|
|
81
80
|
*/
|
|
82
|
-
declare let
|
|
83
|
-
declare const
|
|
84
|
-
export { GridColumnMenuCheckboxFilter,
|
|
81
|
+
declare let GridColumnMenuCheckboxFilterVue2: ComponentOptions<Vue2type, DefaultData<GridColumnMenuCheckboxFilterData>, DefaultMethods<GridColumnMenuCheckboxFilterAll>, {}, RecordPropsDefinition<GridColumnMenuCheckboxFilterProps>>;
|
|
82
|
+
declare const GridColumnMenuCheckboxFilter: DefineComponent<GridColumnMenuCheckboxFilterProps, any, GridColumnMenuCheckboxFilterData, {}, GridColumnMenuCheckboxFilterMethods, {}, {}, {}, string, GridColumnMenuCheckboxFilterProps, GridColumnMenuCheckboxFilterProps, {}>;
|
|
83
|
+
export { GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterVue2 };
|
|
@@ -33,6 +33,7 @@ import * as Vue from 'vue';
|
|
|
33
33
|
var allVue = Vue;
|
|
34
34
|
var gh = allVue.h;
|
|
35
35
|
var inject = allVue.inject;
|
|
36
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
36
37
|
import { GridColumnMenuItem } from './GridColumnMenuItem';
|
|
37
38
|
import { GridColumnMenuItemGroup } from './GridColumnMenuItemGroup';
|
|
38
39
|
import { GridColumnMenuItemContent } from './GridColumnMenuItemContent';
|
|
@@ -60,7 +61,7 @@ var isArrayEqual = function isArrayEqual(firstArray, secondArray) {
|
|
|
60
61
|
*/
|
|
61
62
|
|
|
62
63
|
|
|
63
|
-
var
|
|
64
|
+
var GridColumnMenuCheckboxFilterVue2 = {
|
|
64
65
|
name: 'KendoGridColumnMenuCheckboxFilter',
|
|
65
66
|
props: {
|
|
66
67
|
column: Object,
|
|
@@ -162,13 +163,15 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
162
163
|
var searchBox = function searchBox() {
|
|
163
164
|
return this.$props.searchBox && h("span", {
|
|
164
165
|
"class": "k-list-filter"
|
|
166
|
+
}, [h("span", {
|
|
167
|
+
"class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
165
168
|
}, [h("input", {
|
|
166
169
|
ref: 'searchBox',
|
|
167
170
|
placeholder: localizationService.toLanguageString(searchPlaceholder, messages[searchPlaceholder]),
|
|
168
171
|
attrs: this.v3 ? undefined : {
|
|
169
172
|
placeholder: localizationService.toLanguageString(searchPlaceholder, messages[searchPlaceholder])
|
|
170
173
|
},
|
|
171
|
-
"class": "k-
|
|
174
|
+
"class": "k-input-inner",
|
|
172
175
|
value: this.v3 ? this.currentValue : null,
|
|
173
176
|
domProps: this.v3 ? undefined : {
|
|
174
177
|
"value": this.currentValue
|
|
@@ -177,7 +180,7 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
177
180
|
on: this.v3 ? undefined : {
|
|
178
181
|
"input": this.handleSearchChange
|
|
179
182
|
}
|
|
180
|
-
}), h("span", {
|
|
183
|
+
})]), h("span", {
|
|
181
184
|
"class": "k-icon k-i-search"
|
|
182
185
|
})]);
|
|
183
186
|
};
|
|
@@ -263,15 +266,23 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
263
266
|
})]);
|
|
264
267
|
}, _this2)]), h("div", {
|
|
265
268
|
"class": 'k-columnmenu-actions'
|
|
266
|
-
}, [
|
|
267
|
-
|
|
269
|
+
}, [// @ts-ignore function children
|
|
270
|
+
h(Button, {
|
|
268
271
|
type: 'reset',
|
|
269
272
|
attrs: _this2.v3 ? undefined : {
|
|
270
273
|
type: 'reset'
|
|
271
274
|
}
|
|
272
|
-
},
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
+
}, _this2.v3 ? function () {
|
|
276
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
277
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), // @ts-ignore function children
|
|
278
|
+
h(Button, {
|
|
279
|
+
themeColor: 'primary',
|
|
280
|
+
attrs: _this2.v3 ? undefined : {
|
|
281
|
+
themeColor: 'primary'
|
|
282
|
+
}
|
|
283
|
+
}, _this2.v3 ? function () {
|
|
284
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
285
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])];
|
|
275
286
|
} : [h("div", {
|
|
276
287
|
"class": 'kendo-grid-filter-menu-container'
|
|
277
288
|
}, [h("form", {
|
|
@@ -327,15 +338,21 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
327
338
|
})]);
|
|
328
339
|
}, _this2)]), h("div", {
|
|
329
340
|
"class": 'k-columnmenu-actions'
|
|
330
|
-
}, [h(
|
|
331
|
-
"class": 'k-button',
|
|
341
|
+
}, [h(Button, {
|
|
332
342
|
type: 'reset',
|
|
333
343
|
attrs: _this2.v3 ? undefined : {
|
|
334
344
|
type: 'reset'
|
|
335
345
|
}
|
|
336
|
-
},
|
|
337
|
-
|
|
338
|
-
}
|
|
346
|
+
}, _this2.v3 ? function () {
|
|
347
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
348
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
349
|
+
themeColor: 'primary',
|
|
350
|
+
attrs: _this2.v3 ? undefined : {
|
|
351
|
+
themeColor: 'primary'
|
|
352
|
+
}
|
|
353
|
+
}, _this2.v3 ? function () {
|
|
354
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
355
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])])];
|
|
339
356
|
} : [h(GridColumnMenuItem, {
|
|
340
357
|
title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
|
|
341
358
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -408,15 +425,21 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
408
425
|
})]);
|
|
409
426
|
}, _this2)]), h("div", {
|
|
410
427
|
"class": 'k-columnmenu-actions'
|
|
411
|
-
}, [h(
|
|
412
|
-
"class": 'k-button',
|
|
428
|
+
}, [h(Button, {
|
|
413
429
|
type: 'reset',
|
|
414
430
|
attrs: _this2.v3 ? undefined : {
|
|
415
431
|
type: 'reset'
|
|
416
432
|
}
|
|
417
|
-
},
|
|
418
|
-
|
|
419
|
-
}
|
|
433
|
+
}, _this2.v3 ? function () {
|
|
434
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
435
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
436
|
+
themeColor: 'primary',
|
|
437
|
+
attrs: _this2.v3 ? undefined : {
|
|
438
|
+
themeColor: 'primary'
|
|
439
|
+
}
|
|
440
|
+
}, _this2.v3 ? function () {
|
|
441
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
442
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])];
|
|
420
443
|
} : [h("div", {
|
|
421
444
|
"class": 'kendo-grid-filter-menu-container'
|
|
422
445
|
}, [h("form", {
|
|
@@ -472,15 +495,21 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
472
495
|
})]);
|
|
473
496
|
}, _this2)]), h("div", {
|
|
474
497
|
"class": 'k-columnmenu-actions'
|
|
475
|
-
}, [h(
|
|
476
|
-
"class": 'k-button',
|
|
498
|
+
}, [h(Button, {
|
|
477
499
|
type: 'reset',
|
|
478
500
|
attrs: _this2.v3 ? undefined : {
|
|
479
501
|
type: 'reset'
|
|
480
502
|
}
|
|
481
|
-
},
|
|
482
|
-
|
|
483
|
-
}
|
|
503
|
+
}, _this2.v3 ? function () {
|
|
504
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
505
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
506
|
+
themeColor: 'primary',
|
|
507
|
+
attrs: _this2.v3 ? undefined : {
|
|
508
|
+
themeColor: 'primary'
|
|
509
|
+
}
|
|
510
|
+
}, _this2.v3 ? function () {
|
|
511
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
512
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])])])
|
|
484
513
|
);
|
|
485
514
|
},
|
|
486
515
|
methods: {
|
|
@@ -644,5 +673,5 @@ var GridColumnMenuCheckboxFilter = {
|
|
|
644
673
|
}
|
|
645
674
|
}
|
|
646
675
|
};
|
|
647
|
-
var
|
|
648
|
-
export { GridColumnMenuCheckboxFilter,
|
|
676
|
+
var GridColumnMenuCheckboxFilter = GridColumnMenuCheckboxFilterVue2;
|
|
677
|
+
export { GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => GridColumnMenuFilterData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -166,7 +165,7 @@ export interface GridColumnMenuFilterStateProps {
|
|
|
166
165
|
/**
|
|
167
166
|
* @hidden
|
|
168
167
|
*/
|
|
169
|
-
export interface GridColumnMenuFilterMethods extends
|
|
168
|
+
export interface GridColumnMenuFilterMethods extends Vue2type {
|
|
170
169
|
removeGroup: (group: CompositeFilterDescriptor, rootFilter: CompositeFilterDescriptor) => CompositeFilterDescriptor;
|
|
171
170
|
insertGroup: (group: CompositeFilterDescriptor, rootFilter: CompositeFilterDescriptor) => CompositeFilterDescriptor;
|
|
172
171
|
isControlled: () => boolean;
|
|
@@ -199,6 +198,6 @@ export interface GridColumnMenuFilterAll extends GridColumnMenuFilterMethods, Gr
|
|
|
199
198
|
/**
|
|
200
199
|
* Represents the default `GridColumnMenuFilter` component.
|
|
201
200
|
*/
|
|
202
|
-
declare let
|
|
203
|
-
declare const
|
|
204
|
-
export { GridColumnMenuFilter,
|
|
201
|
+
declare let GridColumnMenuFilterVue2: ComponentOptions<Vue2type, DefaultData<GridColumnMenuFilterData>, DefaultMethods<GridColumnMenuFilterAll>, {}, RecordPropsDefinition<GridColumnMenuFilterProps>>;
|
|
202
|
+
declare const GridColumnMenuFilter: DefineComponent<GridColumnMenuFilterProps, any, GridColumnMenuFilterData, {}, GridColumnMenuFilterMethods, {}, {}, {}, string, GridColumnMenuFilterProps, GridColumnMenuFilterProps, {}>;
|
|
203
|
+
export { GridColumnMenuFilter, GridColumnMenuFilterVue2 };
|
|
@@ -38,6 +38,7 @@ import { isCompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
|
38
38
|
import { GridColumnMenuItem } from './GridColumnMenuItem';
|
|
39
39
|
import { GridColumnMenuItemGroup } from './GridColumnMenuItemGroup';
|
|
40
40
|
import { GridColumnMenuItemContent } from './GridColumnMenuItemContent';
|
|
41
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
41
42
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
42
43
|
import { operatorMap, getDefaultOperator, filterLogicList, defaultHideSecondFilter, booleanFilterValues, getFilterType, operators } from '../filterCommon';
|
|
43
44
|
import { messages, filterClearButton, filterSubmitButton, filterTitle } from '../messages';
|
|
@@ -75,7 +76,7 @@ export var filterGroupByField = function filterGroupByField(field, filter) {
|
|
|
75
76
|
* Represents the default `GridColumnMenuFilter` component.
|
|
76
77
|
*/
|
|
77
78
|
|
|
78
|
-
var
|
|
79
|
+
var GridColumnMenuFilterVue2 = {
|
|
79
80
|
name: 'KendoGridColumnMenuFilter',
|
|
80
81
|
props: {
|
|
81
82
|
column: Object,
|
|
@@ -413,19 +414,25 @@ var GridColumnMenuFilter = {
|
|
|
413
414
|
render: filterUI && templateRendering.call(_this2, filterUI, getListeners.call(_this2))
|
|
414
415
|
}), h("div", {
|
|
415
416
|
"class": 'k-columnmenu-actions'
|
|
416
|
-
}, [
|
|
417
|
-
|
|
417
|
+
}, [// @ts-ignore function children
|
|
418
|
+
h(Button, {
|
|
418
419
|
type: 'reset',
|
|
419
420
|
attrs: _this2.v3 ? undefined : {
|
|
420
421
|
type: 'reset'
|
|
421
422
|
}
|
|
422
|
-
},
|
|
423
|
-
|
|
424
|
-
|
|
423
|
+
}, _this2.v3 ? function () {
|
|
424
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
425
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), // @ts-ignore function children
|
|
426
|
+
h(Button, {
|
|
427
|
+
themeColor: 'primary',
|
|
425
428
|
attrs: _this2.v3 ? undefined : {
|
|
429
|
+
themeColor: 'primary',
|
|
426
430
|
disabled: !isFilterValid
|
|
427
|
-
}
|
|
428
|
-
|
|
431
|
+
},
|
|
432
|
+
disabled: !isFilterValid
|
|
433
|
+
}, _this2.v3 ? function () {
|
|
434
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
435
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])];
|
|
429
436
|
} : [h("div", {
|
|
430
437
|
"class": 'kendo-grid-filter-menu-container'
|
|
431
438
|
}, [h("form", {
|
|
@@ -465,19 +472,23 @@ var GridColumnMenuFilter = {
|
|
|
465
472
|
render: filterUI && templateRendering.call(_this2, filterUI, getListeners.call(_this2))
|
|
466
473
|
}), h("div", {
|
|
467
474
|
"class": 'k-columnmenu-actions'
|
|
468
|
-
}, [h(
|
|
469
|
-
"class": 'k-button',
|
|
475
|
+
}, [h(Button, {
|
|
470
476
|
type: 'reset',
|
|
471
477
|
attrs: _this2.v3 ? undefined : {
|
|
472
478
|
type: 'reset'
|
|
473
479
|
}
|
|
474
|
-
},
|
|
475
|
-
|
|
476
|
-
|
|
480
|
+
}, _this2.v3 ? function () {
|
|
481
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
482
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
483
|
+
themeColor: 'primary',
|
|
477
484
|
attrs: _this2.v3 ? undefined : {
|
|
485
|
+
themeColor: 'primary',
|
|
478
486
|
disabled: !isFilterValid
|
|
479
|
-
}
|
|
480
|
-
|
|
487
|
+
},
|
|
488
|
+
disabled: !isFilterValid
|
|
489
|
+
}, _this2.v3 ? function () {
|
|
490
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
491
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])])];
|
|
481
492
|
} : [h(GridColumnMenuItem, {
|
|
482
493
|
title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
|
|
483
494
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -534,19 +545,23 @@ var GridColumnMenuFilter = {
|
|
|
534
545
|
render: filterUI && templateRendering.call(_this2, filterUI, getListeners.call(_this2))
|
|
535
546
|
}), h("div", {
|
|
536
547
|
"class": 'k-columnmenu-actions'
|
|
537
|
-
}, [h(
|
|
538
|
-
"class": 'k-button',
|
|
548
|
+
}, [h(Button, {
|
|
539
549
|
type: 'reset',
|
|
540
550
|
attrs: _this2.v3 ? undefined : {
|
|
541
551
|
type: 'reset'
|
|
542
552
|
}
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
|
|
553
|
+
}, _this2.v3 ? function () {
|
|
554
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
555
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
556
|
+
themeColor: 'primary',
|
|
546
557
|
attrs: _this2.v3 ? undefined : {
|
|
558
|
+
themeColor: 'primary',
|
|
547
559
|
disabled: !isFilterValid
|
|
548
|
-
}
|
|
549
|
-
|
|
560
|
+
},
|
|
561
|
+
disabled: !isFilterValid
|
|
562
|
+
}, _this2.v3 ? function () {
|
|
563
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
564
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])];
|
|
550
565
|
} : [h("div", {
|
|
551
566
|
"class": 'kendo-grid-filter-menu-container'
|
|
552
567
|
}, [h("form", {
|
|
@@ -586,21 +601,25 @@ var GridColumnMenuFilter = {
|
|
|
586
601
|
render: filterUI && templateRendering.call(_this2, filterUI, getListeners.call(_this2))
|
|
587
602
|
}), h("div", {
|
|
588
603
|
"class": 'k-columnmenu-actions'
|
|
589
|
-
}, [h(
|
|
590
|
-
"class": 'k-button',
|
|
604
|
+
}, [h(Button, {
|
|
591
605
|
type: 'reset',
|
|
592
606
|
attrs: _this2.v3 ? undefined : {
|
|
593
607
|
type: 'reset'
|
|
594
608
|
}
|
|
595
|
-
},
|
|
596
|
-
|
|
597
|
-
|
|
609
|
+
}, _this2.v3 ? function () {
|
|
610
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
611
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
612
|
+
themeColor: 'primary',
|
|
598
613
|
attrs: _this2.v3 ? undefined : {
|
|
614
|
+
themeColor: 'primary',
|
|
599
615
|
disabled: !isFilterValid
|
|
600
|
-
}
|
|
601
|
-
|
|
616
|
+
},
|
|
617
|
+
disabled: !isFilterValid
|
|
618
|
+
}, _this2.v3 ? function () {
|
|
619
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
620
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])])])])])])])
|
|
602
621
|
);
|
|
603
622
|
}
|
|
604
623
|
};
|
|
605
|
-
var
|
|
606
|
-
export { GridColumnMenuFilter,
|
|
624
|
+
var GridColumnMenuFilter = GridColumnMenuFilterVue2;
|
|
625
|
+
export { GridColumnMenuFilter, GridColumnMenuFilterVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -28,7 +27,7 @@ export interface ColumnMenuFilterCellProps {
|
|
|
28
27
|
/**
|
|
29
28
|
* @hidden
|
|
30
29
|
*/
|
|
31
|
-
export interface GridColumnMenuFilterCellMethods extends
|
|
30
|
+
export interface GridColumnMenuFilterCellMethods extends Vue2type {
|
|
32
31
|
handleFocus: (e: any) => void;
|
|
33
32
|
triggerChange: (filter: any) => void;
|
|
34
33
|
inputChange: (value: any, e: any) => void;
|
|
@@ -38,6 +37,6 @@ export interface GridColumnMenuFilterCellMethods extends Vue {
|
|
|
38
37
|
/**
|
|
39
38
|
* Represents the default `GridColumnMenuFilterCell` component.
|
|
40
39
|
*/
|
|
41
|
-
declare let
|
|
42
|
-
declare const
|
|
43
|
-
export { GridColumnMenuFilterCell,
|
|
40
|
+
declare let GridColumnMenuFilterCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridColumnMenuFilterCellMethods>, {}, RecordPropsDefinition<ColumnMenuFilterCellProps>>;
|
|
41
|
+
declare const GridColumnMenuFilterCell: DefineComponent<ColumnMenuFilterCellProps, any, {}, {}, GridColumnMenuFilterCellMethods, {}, {}, {}, string, ColumnMenuFilterCellProps, ColumnMenuFilterCellProps, {}>;
|
|
42
|
+
export { GridColumnMenuFilterCell, GridColumnMenuFilterCellVue2 };
|
|
@@ -10,7 +10,7 @@ import { cellBoolDropdownChange, cellInputChange, cellOperatorChange } from '../
|
|
|
10
10
|
* Represents the default `GridColumnMenuFilterCell` component.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var GridColumnMenuFilterCellVue2 = {
|
|
14
14
|
props: {
|
|
15
15
|
field: String,
|
|
16
16
|
filterType: String,
|
|
@@ -128,8 +128,10 @@ var GridColumnMenuFilterCell = {
|
|
|
128
128
|
);
|
|
129
129
|
|
|
130
130
|
default:
|
|
131
|
-
return h("
|
|
132
|
-
"class": "k-textbox"
|
|
131
|
+
return h("span", {
|
|
132
|
+
"class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
133
|
+
}, [h("input", {
|
|
134
|
+
"class": "k-input-inner",
|
|
133
135
|
value: this.v3 ? value || '' : null,
|
|
134
136
|
domProps: this.v3 ? undefined : {
|
|
135
137
|
"value": value || ''
|
|
@@ -142,7 +144,7 @@ var GridColumnMenuFilterCell = {
|
|
|
142
144
|
_this.inputChange(e.target.value, e);
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
|
-
});
|
|
147
|
+
})]);
|
|
146
148
|
}
|
|
147
149
|
};
|
|
148
150
|
|
|
@@ -163,5 +165,5 @@ var GridColumnMenuFilterCell = {
|
|
|
163
165
|
}), filterComponent.call(this, this.$props.filterType, this.$props.value, this.$props.booleanValues)]);
|
|
164
166
|
}
|
|
165
167
|
};
|
|
166
|
-
var
|
|
167
|
-
export { GridColumnMenuFilterCell,
|
|
168
|
+
var GridColumnMenuFilterCell = GridColumnMenuFilterCellVue2;
|
|
169
|
+
export { GridColumnMenuFilterCell, GridColumnMenuFilterCellVue2 };
|