@progress/kendo-vue-grid 8.3.0-develop.2 → 8.3.0-develop.3

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/GridNav.d.ts CHANGED
@@ -12,6 +12,7 @@ declare const GridNav: import('vue').DefineComponent<import('vue').ExtractPropTy
12
12
  columnsRef: ArrayConstructor;
13
13
  dataRef: ArrayConstructor;
14
14
  id: StringConstructor;
15
+ dir: StringConstructor;
15
16
  }>, {
16
17
  pendingStickyNavRef: import('vue').Ref<{
17
18
  navId: string;
@@ -44,6 +45,7 @@ declare const GridNav: import('vue').DefineComponent<import('vue').ExtractPropTy
44
45
  columnsRef: ArrayConstructor;
45
46
  dataRef: ArrayConstructor;
46
47
  id: StringConstructor;
48
+ dir: StringConstructor;
47
49
  }>> & Readonly<{
48
50
  onKeydown?: (...args: any[]) => any;
49
51
  onColumnreorder?: (...args: any[]) => any;
package/GridNav.js CHANGED
@@ -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 d=require("vue"),i=require("@progress/kendo-vue-common"),s=d.defineComponent({name:"KendoGridNav",props:{columnsRef:Array,dataRef:Array,id:String},emits:["keydown","navigationaction","keyboardselectionchange","movetonextpage","movetoprevpage","columnreorder","setcurrentontop"],inject:{onNavKeyDown:{default:i.noop},onNavFocus:{default:i.noop},onNavMount:{default:i.noop},onNavBeforeUpdate:{default:i.noop},onNavUpdate:{default:i.noop},handleDispatchFocus:{default:i.noop},kbContext:{default:null},navigation:{default:null}},mounted(){this.onNavMount({scope:this.$el||void 0})},updated(){this.onNavUpdate({scope:this.$el||void 0}),this.handlePendingStickyNav()},setup(e,n){return{pendingStickyNavRef:d.ref(null)}},methods:{handleStickyKeyDown(e){var t,r;const n=e.target;if((e.keyCode===38||e.keyCode===40)&&n.closest(".k-grid-sticky-container")){const o=parseInt(((t=n.closest("tr"))==null?void 0:t.getAttribute("absolute-row-index"))||"",10),a=n.getAttribute("data-keyboardnavid");if(!isNaN(o)&&a&&!((r=this.$el)==null?void 0:r.querySelector(`.k-grid-content .k-table-tbody>tr[absolute-row-index="${o}"]`)))return this.pendingStickyNavRef={navId:a,key:e.key,code:e.code,keyCode:e.keyCode},e.preventDefault(),e.stopPropagation(),this.$emit("setcurrentontop",{rowIndex:o}),!0}return!1},handlePendingStickyNav(){var a;if(!this.pendingStickyNavRef||!this.$el)return;const{navId:e,key:n,code:t,keyCode:r}=this.pendingStickyNavRef,o=(a=this.$el)==null?void 0:a.querySelector(`.k-grid-content .k-table-tbody td[data-keyboardnavid="${e}"]`);o&&o.dispatchEvent(new KeyboardEvent("keydown",{key:n,code:t,keyCode:r,bubbles:!0,cancelable:!0})),this.pendingStickyNavRef=null},onKeyDown(e){this.handleStickyKeyDown(e)||(this.onNavKeyDown(e,{navigation:this.navigation,kbContext:this.kbContext,onNavigationAction:this.onNavigationAction}),this.onNavBeforeUpdate({scope:this.$el||void 0,kbContext:this.kbContext,navigation:this.navigation}),this.$emit("keydown",{dataItems:this.getLeafDataItems(),componentId:this._gridId,selectedField:this.$props.selectedField,event:e}))},onFocus(e){this.onNavFocus(e,{kbContext:this.kbContext})},onNavigationAction(e){const{columnsRef:n}=this.$props;if(e.action==="moveToNextPage"&&this.$emit("movetonextpage",e.event),e.action==="moveToPrevPage"&&this.$emit("movetoprevpage",e.event),e.focusElement&&(e.action==="reorderToRight"||e.action==="reorderToLeft")){const t=parseInt(e.focusElement.ariaColIndex,10)-1;if(!n[t].reorderable)return;if(e.action==="reorderToRight"&&t<this.$props.columnsRef.length-1){if(n[t+1].disableReorder)return;this.$emit("columnreorder",t,t+1,e.event)}if(e.action==="reorderToLeft"&&t>0){if(n[t-1].disableReorder)return;this.$emit("columnreorder",t,t-1,e.event)}}e.action==="select"&&this.$emit("keyboardselectionchange",e.event),this.$emit("navigationaction",{focusElement:e.focusElement,event:e.event})},getLeafDataItems(){return this.$props.dataRef.filter(e=>e.rowType==="data").map(e=>e.dataItem)}},render(){const e=i.getDefaultSlots(this);return d.createVNode("div",{onKeydown:this.onKeyDown,onFocusin:this.onFocus,id:this.$props.id,"data-keyboardnavscope":!0},[e])}});exports.GridNav=s;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("vue"),a=require("@progress/kendo-vue-common"),s=d.defineComponent({name:"KendoGridNav",props:{columnsRef:Array,dataRef:Array,id:String,dir:String},emits:["keydown","navigationaction","keyboardselectionchange","movetonextpage","movetoprevpage","columnreorder","setcurrentontop"],inject:{onNavKeyDown:{default:a.noop},onNavFocus:{default:a.noop},onNavMount:{default:a.noop},onNavBeforeUpdate:{default:a.noop},onNavUpdate:{default:a.noop},handleDispatchFocus:{default:a.noop},kbContext:{default:null},navigation:{default:null}},mounted(){this.onNavMount({scope:this.$el||void 0})},updated(){this.onNavUpdate({scope:this.$el||void 0}),this.handlePendingStickyNav()},setup(e,n){return{pendingStickyNavRef:d.ref(null)}},methods:{handleStickyKeyDown(e){var t,r;const n=e.target;if((e.keyCode===38||e.keyCode===40)&&n.closest(".k-grid-sticky-container")){const o=parseInt(((t=n.closest("tr"))==null?void 0:t.getAttribute("absolute-row-index"))||"",10),i=n.getAttribute("data-keyboardnavid");if(!isNaN(o)&&i&&!((r=this.$el)==null?void 0:r.querySelector(`.k-grid-content .k-table-tbody>tr[absolute-row-index="${o}"]`)))return this.pendingStickyNavRef={navId:i,key:e.key,code:e.code,keyCode:e.keyCode},e.preventDefault(),e.stopPropagation(),this.$emit("setcurrentontop",{rowIndex:o}),!0}return!1},handlePendingStickyNav(){var i;if(!this.pendingStickyNavRef||!this.$el)return;const{navId:e,key:n,code:t,keyCode:r}=this.pendingStickyNavRef,o=(i=this.$el)==null?void 0:i.querySelector(`.k-grid-content .k-table-tbody td[data-keyboardnavid="${e}"]`);o&&o.dispatchEvent(new KeyboardEvent("keydown",{key:n,code:t,keyCode:r,bubbles:!0,cancelable:!0})),this.pendingStickyNavRef=null},onKeyDown(e){this.handleStickyKeyDown(e)||(this.onNavKeyDown(e,{navigation:this.navigation,kbContext:this.kbContext,onNavigationAction:this.onNavigationAction}),this.onNavBeforeUpdate({scope:this.$el||void 0,kbContext:this.kbContext,navigation:this.navigation}),this.$emit("keydown",{dataItems:this.getLeafDataItems(),componentId:this._gridId,selectedField:this.$props.selectedField,event:e}))},onFocus(e){this.onNavFocus(e,{kbContext:this.kbContext})},onNavigationAction(e){const{columnsRef:n}=this.$props;if(e.action==="moveToNextPage"&&this.$emit("movetonextpage",e.event),e.action==="moveToPrevPage"&&this.$emit("movetoprevpage",e.event),e.focusElement&&(e.action==="reorderToRight"||e.action==="reorderToLeft")){const t=parseInt(e.focusElement.ariaColIndex,10)-1;if(!n[t].reorderable)return;if(e.action==="reorderToRight"&&t<this.$props.columnsRef.length-1){if(n[t+1].disableReorder)return;this.$emit("columnreorder",t,t+1,e.event)}if(e.action==="reorderToLeft"&&t>0){if(n[t-1].disableReorder)return;this.$emit("columnreorder",t,t-1,e.event)}}e.action==="select"&&this.$emit("keyboardselectionchange",e.event),this.$emit("navigationaction",{focusElement:e.focusElement,event:e.event})},getLeafDataItems(){return this.$props.dataRef.filter(e=>e.rowType==="data").map(e=>e.dataItem)}},render(){const e=a.getDefaultSlots(this);return d.createVNode("div",{onKeydown:this.onKeyDown,onFocusin:this.onFocus,id:this.$props.id,dir:this.$props.dir,"data-keyboardnavscope":!0},[e])}});exports.GridNav=s;
package/GridNav.mjs CHANGED
@@ -6,33 +6,34 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as d, createVNode as s, ref as c } from "vue";
9
- import { noop as i, getDefaultSlots as l } from "@progress/kendo-vue-common";
9
+ import { noop as a, getDefaultSlots as l } from "@progress/kendo-vue-common";
10
10
  const v = /* @__PURE__ */ d({
11
11
  name: "KendoGridNav",
12
12
  props: {
13
13
  columnsRef: Array,
14
14
  dataRef: Array,
15
- id: String
15
+ id: String,
16
+ dir: String
16
17
  },
17
18
  emits: ["keydown", "navigationaction", "keyboardselectionchange", "movetonextpage", "movetoprevpage", "columnreorder", "setcurrentontop"],
18
19
  inject: {
19
20
  onNavKeyDown: {
20
- default: i
21
+ default: a
21
22
  },
22
23
  onNavFocus: {
23
- default: i
24
+ default: a
24
25
  },
25
26
  onNavMount: {
26
- default: i
27
+ default: a
27
28
  },
28
29
  onNavBeforeUpdate: {
29
- default: i
30
+ default: a
30
31
  },
31
32
  onNavUpdate: {
32
- default: i
33
+ default: a
33
34
  },
34
35
  handleDispatchFocus: {
35
- default: i
36
+ default: a
36
37
  },
37
38
  kbContext: {
38
39
  default: null
@@ -61,10 +62,10 @@ const v = /* @__PURE__ */ d({
61
62
  var t, r;
62
63
  const n = e.target;
63
64
  if ((e.keyCode === 38 || e.keyCode === 40) && n.closest(".k-grid-sticky-container")) {
64
- const o = parseInt(((t = n.closest("tr")) == null ? void 0 : t.getAttribute("absolute-row-index")) || "", 10), a = n.getAttribute("data-keyboardnavid");
65
- if (!isNaN(o) && a && !((r = this.$el) == null ? void 0 : r.querySelector(`.k-grid-content .k-table-tbody>tr[absolute-row-index="${o}"]`)))
65
+ const o = parseInt(((t = n.closest("tr")) == null ? void 0 : t.getAttribute("absolute-row-index")) || "", 10), i = n.getAttribute("data-keyboardnavid");
66
+ if (!isNaN(o) && i && !((r = this.$el) == null ? void 0 : r.querySelector(`.k-grid-content .k-table-tbody>tr[absolute-row-index="${o}"]`)))
66
67
  return this.pendingStickyNavRef = {
67
- navId: a,
68
+ navId: i,
68
69
  key: e.key,
69
70
  code: e.code,
70
71
  keyCode: e.keyCode
@@ -75,7 +76,7 @@ const v = /* @__PURE__ */ d({
75
76
  return !1;
76
77
  },
77
78
  handlePendingStickyNav() {
78
- var a;
79
+ var i;
79
80
  if (!this.pendingStickyNavRef || !this.$el)
80
81
  return;
81
82
  const {
@@ -83,7 +84,7 @@ const v = /* @__PURE__ */ d({
83
84
  key: n,
84
85
  code: t,
85
86
  keyCode: r
86
- } = this.pendingStickyNavRef, o = (a = this.$el) == null ? void 0 : a.querySelector(`.k-grid-content .k-table-tbody td[data-keyboardnavid="${e}"]`);
87
+ } = this.pendingStickyNavRef, o = (i = this.$el) == null ? void 0 : i.querySelector(`.k-grid-content .k-table-tbody td[data-keyboardnavid="${e}"]`);
87
88
  o && o.dispatchEvent(new KeyboardEvent("keydown", {
88
89
  key: n,
89
90
  code: t,
@@ -147,6 +148,7 @@ const v = /* @__PURE__ */ d({
147
148
  onKeydown: this.onKeyDown,
148
149
  onFocusin: this.onFocus,
149
150
  id: this.$props.id,
151
+ dir: this.$props.dir,
150
152
  "data-keyboardnavscope": !0
151
153
  }, [e]);
152
154
  }
package/GridState.d.ts CHANGED
@@ -107,6 +107,7 @@ declare const GridStateProvider: import('vue').DefineComponent<{
107
107
  rowClass?: Function;
108
108
  scrollable?: string;
109
109
  size?: string;
110
+ dir?: string;
110
111
  rowHeight?: number;
111
112
  detailRowHeight?: number;
112
113
  detail?: any;
@@ -130,6 +131,8 @@ declare const GridStateProvider: import('vue').DefineComponent<{
130
131
  contextMenu?: boolean | import('.').GridContextMenuOptions | ((options: import('.').GridCellBaseOptions) => boolean | import('.').GridContextMenuOptions);
131
132
  onContextmenu?: (event: import('./interfaces/events').GridContextMenuEvent) => void;
132
133
  onContextmenuitemclick?: (event: import('./interfaces/events').GridContextMenuItemClickEvent) => void;
134
+ clipboard?: boolean | import('@progress/kendo-vue-data-tools').ClipboardSettings;
135
+ onClipboard?: (event: import('@progress/kendo-vue-data-tools').GridClipboardEvent) => void;
133
136
  navigatable?: boolean;
134
137
  topCacheCount?: number;
135
138
  totalGroupedHeight?: number;
@@ -222,6 +225,7 @@ declare const GridStateProvider: import('vue').DefineComponent<{
222
225
  rowClass?: Function;
223
226
  scrollable?: string;
224
227
  size?: string;
228
+ dir?: string;
225
229
  rowHeight?: number;
226
230
  detailRowHeight?: number;
227
231
  detail?: any;
@@ -245,6 +249,8 @@ declare const GridStateProvider: import('vue').DefineComponent<{
245
249
  contextMenu?: boolean | import('.').GridContextMenuOptions | ((options: import('.').GridCellBaseOptions) => boolean | import('.').GridContextMenuOptions);
246
250
  onContextmenu?: (event: import('./interfaces/events').GridContextMenuEvent) => void;
247
251
  onContextmenuitemclick?: (event: import('./interfaces/events').GridContextMenuItemClickEvent) => void;
252
+ clipboard?: boolean | import('@progress/kendo-vue-data-tools').ClipboardSettings;
253
+ onClipboard?: (event: import('@progress/kendo-vue-data-tools').GridClipboardEvent) => void;
248
254
  navigatable?: boolean;
249
255
  topCacheCount?: number;
250
256
  totalGroupedHeight?: number;
package/GridToolbar.d.ts CHANGED
@@ -9,7 +9,6 @@ import { PropType } from 'vue';
9
9
  /**
10
10
  * Represents the GridToolbar component.
11
11
  *
12
- * @hidden
13
12
  */
14
13
  declare const GridToolbar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
14
  size: {
package/RootGrid.d.ts CHANGED
@@ -50,9 +50,8 @@ export interface GridHandle {
50
50
  * @remarks
51
51
  * Supported children components are: {@link GridColumn}, {@link GridToolbar}, {@link GridNoRecords}, {@link StatusBar}.
52
52
  *
53
+ * @hidden
53
54
  *
54
- * export default App;
55
- * ```
56
55
  */
57
56
  export declare const RootGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
58
57
  id: import('vue').PropType<string>;
@@ -156,6 +155,7 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
156
155
  default: string;
157
156
  validator: (value: string) => any;
158
157
  };
158
+ dir: import('vue').PropType<string>;
159
159
  pager: import('vue').PropType<string | boolean | Object | Function>;
160
160
  rowHeight: import('vue').PropType<number>;
161
161
  detailRowHeight: import('vue').PropType<number>;
@@ -244,6 +244,8 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
244
244
  onDetailexpandchange: import('vue').PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
245
245
  onContextmenu: import('vue').PropType<(event: import('.').GridContextMenuEvent) => void>;
246
246
  onContextmenuitemclick: import('vue').PropType<(event: import('.').GridContextMenuItemClickEvent) => void>;
247
+ clipboard: import('vue').PropType<boolean | import('@progress/kendo-vue-data-tools').ClipboardSettings>;
248
+ onClipboard: import('vue').PropType<(event: import('@progress/kendo-vue-data-tools').GridClipboardEvent) => void>;
247
249
  }>, void, {}, {
248
250
  columnsWithTemplates(): any[];
249
251
  cellsWithTemplates(): any;
@@ -380,6 +382,7 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
380
382
  default: string;
381
383
  validator: (value: string) => any;
382
384
  };
385
+ dir: import('vue').PropType<string>;
383
386
  pager: import('vue').PropType<string | boolean | Object | Function>;
384
387
  rowHeight: import('vue').PropType<number>;
385
388
  detailRowHeight: import('vue').PropType<number>;
@@ -468,6 +471,8 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
468
471
  onDetailexpandchange: import('vue').PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
469
472
  onContextmenu: import('vue').PropType<(event: import('.').GridContextMenuEvent) => void>;
470
473
  onContextmenuitemclick: import('vue').PropType<(event: import('.').GridContextMenuItemClickEvent) => void>;
474
+ clipboard: import('vue').PropType<boolean | import('@progress/kendo-vue-data-tools').ClipboardSettings>;
475
+ onClipboard: import('vue').PropType<(event: import('@progress/kendo-vue-data-tools').GridClipboardEvent) => void>;
471
476
  }>> & Readonly<{}>, {
472
477
  size: string;
473
478
  scrollable: string;
package/ScrollMode.d.ts CHANGED
@@ -5,4 +5,9 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
+ /**
9
+ * Represents the scroll mode of the Grid.
10
+ *
11
+ * @hidden
12
+ */
8
13
  export type ScrollMode = 'none' | 'scrollable' | 'virtual';
package/StatusBar.d.ts CHANGED
@@ -11,8 +11,10 @@ import { GridColumnProps } from './interfaces/GridColumnProps';
11
11
  import { GridProps } from './interfaces/GridProps';
12
12
  /**
13
13
  * Represents the Kendo UI for Vue Grid's StatusItem object.
14
+ *
15
+ * @hidden
14
16
  */
15
- export interface StatusItem {
17
+ interface StatusItem {
16
18
  /**
17
19
  * The type of the status item.
18
20
  * Could be `sum`, `min`, `max`, `average`, `count`, `isTrue`, `isFalse`, `earliest` or `latest`.
@@ -29,8 +31,10 @@ export interface StatusItem {
29
31
  }
30
32
  /**
31
33
  * Represents the props of the Kendo UI for Vue Grid's StatusBar component.
34
+ *
35
+ * @hidden
32
36
  */
33
- export interface StatusBarProps {
37
+ interface StatusBarProps {
34
38
  /**
35
39
  * The collection of status items to display in the status bar.
36
40
  */
@@ -38,8 +42,10 @@ export interface StatusBarProps {
38
42
  }
39
43
  /**
40
44
  * Represents the Kendo UI for Vue Grid's StatusBar component.
45
+ *
46
+ * @hidden
41
47
  */
42
- export declare const StatusBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
48
+ declare const StatusBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
43
49
  data: {
44
50
  type: PropType<StatusItem[]>;
45
51
  default: () => any[];
@@ -55,11 +61,13 @@ export declare const StatusBar: import('vue').DefineComponent<import('vue').Extr
55
61
  /**
56
62
  * @hidden
57
63
  */
58
- export declare const leafColumns: (columns: GridColumnProps[]) => GridColumnProps[];
64
+ declare const leafColumns: (columns: GridColumnProps[]) => GridColumnProps[];
59
65
  /**
60
66
  * Represents the arguments of the getStatusData function.
67
+ *
68
+ * @hidden
61
69
  */
62
- export type StatusDataArgs = Pick<GridSelectionChangeEvent, 'dataItems' | 'target' | 'select'> & {
70
+ type StatusDataArgs = Pick<GridSelectionChangeEvent, 'dataItems' | 'target' | 'select'> & {
63
71
  dataItemKey: Required<GridProps>['dataItemKey'];
64
72
  };
65
73
  /**
@@ -68,4 +76,5 @@ export type StatusDataArgs = Pick<GridSelectionChangeEvent, 'dataItems' | 'targe
68
76
  * @param args StatusDataArgs
69
77
  * @returns StatusItem[]
70
78
  */
71
- export declare const getStatusData: (args: StatusDataArgs) => StatusItem[];
79
+ declare const getStatusData: (args: StatusDataArgs) => StatusItem[];
80
+ export { getStatusData, type StatusItem, StatusBar, type StatusDataArgs, type StatusBarProps, leafColumns };
@@ -10,6 +10,8 @@ import { GridColumnMenuSortBaseProps } from '../interfaces/GridColumnMenuSortBas
10
10
  import { PropType } from 'vue';
11
11
  /**
12
12
  * Can be used to check if sorting is applied to a specific field ([see example]({% slug column_menu_grid %}#toc-styling-the-column-menu-icon)). Useful for creating active sort indicators.
13
+ *
14
+ * @hidden
13
15
  */
14
16
  export declare const sortGroupByField: (field: string, sort?: SortDescriptor[]) => boolean;
15
17
  /**
package/common.d.ts CHANGED
@@ -106,6 +106,7 @@ declare const gridProps: {
106
106
  default: string;
107
107
  validator: (value: string) => any;
108
108
  };
109
+ dir: PropType<string>;
109
110
  pager: PropType<string | boolean | Object | Function>;
110
111
  rowHeight: PropType<number>;
111
112
  detailRowHeight: PropType<number>;
@@ -194,5 +195,7 @@ declare const gridProps: {
194
195
  onDetailexpandchange: PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
195
196
  onContextmenu: PropType<(event: import('.').GridContextMenuEvent) => void>;
196
197
  onContextmenuitemclick: PropType<(event: import('.').GridContextMenuItemClickEvent) => void>;
198
+ clipboard: PropType<boolean | import('@progress/kendo-vue-data-tools').ClipboardSettings>;
199
+ onClipboard: PropType<(event: import('@progress/kendo-vue-data-tools').GridClipboardEvent) => void>;
197
200
  };
198
201
  export { gridProps };
package/common.js CHANGED
@@ -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"});require("vue");const t=require("@progress/kendo-vue-common"),n={id:String,autoProcessData:[Boolean,Object],topCacheCount:{type:Number,default:0},collapsedGroups:{type:Array,default:function(){return[]}},uniqueField:String,totalGroupedHeight:Number,allGroupedItems:Object,alternatePerGroup:Boolean,columns:Array,columnsState:{type:Array,default:function(){}},cells:Object,contextMenu:[Boolean,Object,Function],rows:Object,defaultColumnsState:{type:Array,default:function(){}},columnVirtualization:Boolean,dataItems:[Array,Object],sortable:[Boolean,Object],defaultSort:Array,sort:Array,filterable:Boolean,filterOperators:Object,filterCellRender:[String,Function,Object],headerCellRender:[String,Function,Object],showLoader:{type:Boolean,default:void 0},loader:[String,Function,Object],lockGroups:Boolean,pinnable:Boolean,defaultPinnedTopRows:Array,defaultPinnedBottomRows:Array,pinnedTopRows:Array,pinnedBottomRows:Array,defaultFilter:Object,filter:Object,defaultSearch:Object,search:Object,searchFields:Array,highlight:Object,pageable:[Boolean,Object],pageSize:Number,total:Number,fixedScroll:Boolean,skip:Number,defaultSkip:Number,take:Number,defaultTake:Number,expandField:String,expandColumn:Object,selectedField:String,cellRender:[String,Function,Object],rowRender:[String,Function,Object],rowSpannable:[Boolean,Object],resizable:Boolean,reorderable:Boolean,group:Array,defaultGroup:Array,groupable:[Boolean,Object],groupExpand:Array,defaultGroupExpand:Array,detailExpand:Object,defaultDetailExpand:Object,editField:String,rowClass:Function,select:Object,defaultSelect:Object,selectable:[Boolean,Object],scrollable:{type:String,default:"scrollable"},size:{type:String,default:"medium",validator:function(e){return["small","medium"].includes(e)}},pager:[String,Function,Object],rowHeight:Number,detailRowHeight:Number,detail:[String,Function,Object],columnMenu:[Boolean,String,Function,Object],columnMenuAnimate:{type:[Boolean,Object],default:function(){return!0}},columnMenuIcon:t.SvgIcon,dataItemKey:String,navigatable:{type:Boolean,default:!1},onItemchange:Function,onExpandchange:Function,onDatastatechange:Function,onPagechange:Function,onSortchange:Function,onFilterchange:Function,onGroupchange:Function,onSearchchange:Function,onGroupexpandchange:Function,onDetailexpandchange:Function,onContextmenu:Function,onContextmenuitemclick:Function};exports.gridProps=n;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const t=require("@progress/kendo-vue-common"),n={id:String,autoProcessData:[Boolean,Object],topCacheCount:{type:Number,default:0},collapsedGroups:{type:Array,default:function(){return[]}},uniqueField:String,totalGroupedHeight:Number,allGroupedItems:Object,alternatePerGroup:Boolean,columns:Array,columnsState:{type:Array,default:function(){}},cells:Object,contextMenu:[Boolean,Object,Function],rows:Object,defaultColumnsState:{type:Array,default:function(){}},columnVirtualization:Boolean,dataItems:[Array,Object],sortable:[Boolean,Object],defaultSort:Array,sort:Array,filterable:Boolean,filterOperators:Object,filterCellRender:[String,Function,Object],headerCellRender:[String,Function,Object],showLoader:{type:Boolean,default:void 0},loader:[String,Function,Object],lockGroups:Boolean,pinnable:Boolean,defaultPinnedTopRows:Array,defaultPinnedBottomRows:Array,pinnedTopRows:Array,pinnedBottomRows:Array,defaultFilter:Object,filter:Object,defaultSearch:Object,search:Object,searchFields:Array,highlight:Object,pageable:[Boolean,Object],pageSize:Number,total:Number,fixedScroll:Boolean,skip:Number,defaultSkip:Number,take:Number,defaultTake:Number,expandField:String,expandColumn:Object,selectedField:String,cellRender:[String,Function,Object],rowRender:[String,Function,Object],rowSpannable:[Boolean,Object],resizable:Boolean,reorderable:Boolean,group:Array,defaultGroup:Array,groupable:[Boolean,Object],groupExpand:Array,defaultGroupExpand:Array,detailExpand:Object,defaultDetailExpand:Object,editField:String,rowClass:Function,select:Object,defaultSelect:Object,selectable:[Boolean,Object],scrollable:{type:String,default:"scrollable"},size:{type:String,default:"medium",validator:function(e){return["small","medium"].includes(e)}},dir:String,pager:[String,Function,Object],rowHeight:Number,detailRowHeight:Number,detail:[String,Function,Object],columnMenu:[Boolean,String,Function,Object],columnMenuAnimate:{type:[Boolean,Object],default:function(){return!0}},columnMenuIcon:t.SvgIcon,dataItemKey:String,navigatable:{type:Boolean,default:!1},onItemchange:Function,onExpandchange:Function,onDatastatechange:Function,onPagechange:Function,onSortchange:Function,onFilterchange:Function,onGroupchange:Function,onSearchchange:Function,onGroupexpandchange:Function,onDetailexpandchange:Function,onContextmenu:Function,onContextmenuitemclick:Function,clipboard:[Boolean,Object],onClipboard:Function};exports.gridProps=n;
package/common.mjs CHANGED
@@ -103,6 +103,7 @@ const a = {
103
103
  return ["small", "medium"].includes(e);
104
104
  }
105
105
  },
106
+ dir: String,
106
107
  pager: [String, Function, Object],
107
108
  rowHeight: Number,
108
109
  detailRowHeight: Number,
@@ -131,7 +132,9 @@ const a = {
131
132
  onGroupexpandchange: Function,
132
133
  onDetailexpandchange: Function,
133
134
  onContextmenu: Function,
134
- onContextmenuitemclick: Function
135
+ onContextmenuitemclick: Function,
136
+ clipboard: [Boolean, Object],
137
+ onClipboard: Function
135
138
  };
136
139
  export {
137
140
  a as gridProps