@progress/kendo-vue-grid 8.1.2-develop.1 → 8.2.0-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.
- package/Grid.d.ts +36 -3
- package/Grid.js +1 -1
- package/Grid.mjs +706 -496
- package/GridSearchBox.js +1 -1
- package/GridSearchBox.mjs +5 -5
- package/GridState.d.ts +6 -0
- package/NOTICE.txt +117 -53
- package/RootGrid.d.ts +6 -10
- package/cells/GridCell.d.ts +2 -0
- package/cells/GridCell.js +1 -1
- package/cells/GridCell.mjs +52 -43
- package/cells/GridDetailCell.d.ts +4 -1
- package/cells/GridDetailCell.js +1 -1
- package/cells/GridDetailCell.mjs +27 -18
- package/cells/GridEditCell.d.ts +2 -0
- package/cells/GridEditCell.js +1 -1
- package/cells/GridEditCell.mjs +21 -14
- package/cells/GridGroupCell.d.ts +1 -0
- package/cells/GridGroupCell.js +1 -1
- package/cells/GridGroupCell.mjs +45 -40
- package/cells/GridHierarchyCell.d.ts +1 -0
- package/cells/GridHierarchyCell.js +1 -1
- package/cells/GridHierarchyCell.mjs +25 -20
- package/cells/GridSelectionCell.d.ts +4 -1
- package/cells/GridSelectionCell.js +1 -1
- package/cells/GridSelectionCell.mjs +31 -21
- package/cells/pincell/GridPinCell.d.ts +6 -2
- package/cells/pincell/GridPinCell.js +1 -1
- package/cells/pincell/GridPinCell.mjs +67 -42
- package/cells/pincell/GridPinDropdownButton.js +1 -1
- package/cells/pincell/GridPinDropdownButton.mjs +25 -25
- package/common.d.ts +3 -0
- package/common.js +1 -1
- package/common.mjs +4 -1
- package/components/PinnedRowsTable.js +1 -1
- package/components/PinnedRowsTable.mjs +46 -34
- package/components/table/GridTable.js +1 -1
- package/components/table/GridTable.mjs +6 -6
- package/components/table/GridTableScrollable.js +1 -1
- package/components/table/GridTableScrollable.mjs +4 -4
- package/contextMenu/GridContextMenu.d.ts +155 -0
- package/contextMenu/GridContextMenu.js +8 -0
- package/contextMenu/GridContextMenu.mjs +336 -0
- package/contextMenu/enums.d.ts +40 -0
- package/contextMenu/enums.js +8 -0
- package/contextMenu/enums.mjs +12 -0
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/header/HeaderRow.d.ts +1 -0
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +92 -81
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.js +1 -1
- package/index.mjs +61 -53
- package/interfaces/GridProps.d.ts +31 -1
- package/interfaces/events.d.ts +38 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
package/GridSearchBox.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 e=require("vue"),d=require("@progress/kendo-vue-inputs"),l=require("./key.js"),g=require("@progress/kendo-vue-data-tools"),S=require("@progress/kendo-vue-common"),p=require("@progress/kendo-svg-icons"),m=e.defineComponent({name:"KendoVueGridSearchBox",inheritAttrs:!1,props:{onChange:Function,className:String,placeholder:String},setup(
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("@progress/kendo-vue-inputs"),l=require("./key.js"),g=require("@progress/kendo-vue-data-tools"),S=require("@progress/kendo-vue-common"),p=require("@progress/kendo-svg-icons"),m=e.defineComponent({name:"KendoVueGridSearchBox",inheritAttrs:!1,props:{onChange:Function,className:String,placeholder:String},setup(n,{emit:t}){const a=e.inject("kendoLocalizationService",{}),{searchChange:o}=e.inject("gridContext",{}),{search:c}=e.inject(l.KendoKey,{}),s=r=>{o&&o(r),t("change",r),n.onChange&&n.onChange.call(void 0,r)},i=e.computed(()=>g.getStringFromSearch(c.value)),u=e.computed(()=>({"k-grid-search":!0,"k-searchbox":!0})),h=e.computed(()=>{const r=a;return r!=null&&r.toLanguageString?r.toLanguageString("searchboxPlaceholder","Search..."):n.placeholder||"Search..."});return{handleChange:s,value:i,rootClassName:u,placeholder:h}},render(){return e.createVNode(d.TextBox,e.mergeProps({placeholder:this.placeholder,value:this.value,prefix:()=>e.createVNode(S.Icon,{name:"search",icon:p.searchIcon},null)},this.$attrs,{wrapperClass:"k-grid-search k-searchbox",onInput:this.handleChange}),null)}});exports.GridSearchBox=m;
|
package/GridSearchBox.mjs
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
8
|
+
import { defineComponent as u, createVNode as t, mergeProps as m, inject as o, computed as n } from "vue";
|
|
9
9
|
import { TextBox as p } from "@progress/kendo-vue-inputs";
|
|
10
10
|
import { KendoKey as f } from "./key.mjs";
|
|
11
11
|
import { getStringFromSearch as S } from "@progress/kendo-vue-data-tools";
|
|
12
12
|
import { Icon as x } from "@progress/kendo-vue-common";
|
|
13
13
|
import { searchIcon as C } from "@progress/kendo-svg-icons";
|
|
14
|
-
const K = /* @__PURE__ */
|
|
14
|
+
const K = /* @__PURE__ */ u({
|
|
15
15
|
name: "KendoVueGridSearchBox",
|
|
16
16
|
inheritAttrs: !1,
|
|
17
17
|
props: {
|
|
@@ -24,14 +24,14 @@ const K = /* @__PURE__ */ g({
|
|
|
24
24
|
}) {
|
|
25
25
|
const h = o("kendoLocalizationService", {}), {
|
|
26
26
|
searchChange: a
|
|
27
|
-
} = o("
|
|
27
|
+
} = o("gridContext", {}), {
|
|
28
28
|
search: i
|
|
29
29
|
} = o(f, {}), s = (e) => {
|
|
30
30
|
a && a(e), c("change", e), r.onChange && r.onChange.call(void 0, e);
|
|
31
31
|
}, l = n(() => S(i.value)), d = n(() => ({
|
|
32
32
|
"k-grid-search": !0,
|
|
33
33
|
"k-searchbox": !0
|
|
34
|
-
})),
|
|
34
|
+
})), g = n(() => {
|
|
35
35
|
const e = h;
|
|
36
36
|
return e != null && e.toLanguageString ? e.toLanguageString("searchboxPlaceholder", "Search...") : r.placeholder || "Search...";
|
|
37
37
|
});
|
|
@@ -39,7 +39,7 @@ const K = /* @__PURE__ */ g({
|
|
|
39
39
|
handleChange: s,
|
|
40
40
|
value: l,
|
|
41
41
|
rootClassName: d,
|
|
42
|
-
placeholder:
|
|
42
|
+
placeholder: g
|
|
43
43
|
};
|
|
44
44
|
},
|
|
45
45
|
render() {
|
package/GridState.d.ts
CHANGED
|
@@ -127,6 +127,9 @@ declare const GridStateProvider: import('vue').DefineComponent<{
|
|
|
127
127
|
lockGroups?: boolean;
|
|
128
128
|
pager?: string | boolean | Object;
|
|
129
129
|
columnVirtualization?: boolean;
|
|
130
|
+
contextMenu?: boolean | import('.').GridContextMenuOptions | ((options: import('.').GridCellBaseOptions) => boolean | import('.').GridContextMenuOptions);
|
|
131
|
+
onContextmenu?: (event: import('./interfaces/events').GridContextMenuEvent) => void;
|
|
132
|
+
onContextmenuitemclick?: (event: import('./interfaces/events').GridContextMenuItemClickEvent) => void;
|
|
130
133
|
navigatable?: boolean;
|
|
131
134
|
topCacheCount?: number;
|
|
132
135
|
totalGroupedHeight?: number;
|
|
@@ -239,6 +242,9 @@ declare const GridStateProvider: import('vue').DefineComponent<{
|
|
|
239
242
|
lockGroups?: boolean;
|
|
240
243
|
pager?: string | boolean | Object;
|
|
241
244
|
columnVirtualization?: boolean;
|
|
245
|
+
contextMenu?: boolean | import('.').GridContextMenuOptions | ((options: import('.').GridCellBaseOptions) => boolean | import('.').GridContextMenuOptions);
|
|
246
|
+
onContextmenu?: (event: import('./interfaces/events').GridContextMenuEvent) => void;
|
|
247
|
+
onContextmenuitemclick?: (event: import('./interfaces/events').GridContextMenuItemClickEvent) => void;
|
|
242
248
|
navigatable?: boolean;
|
|
243
249
|
topCacheCount?: number;
|
|
244
250
|
totalGroupedHeight?: number;
|
package/NOTICE.txt
CHANGED
|
@@ -1,67 +1,131 @@
|
|
|
1
|
-
Progress Kendo UI for Vue 6
|
|
2
1
|
|
|
3
|
-
|
|
2
|
+
Progress Kendo UI for Vue 2026* Updated April 2026
|
|
3
|
+
|
|
4
|
+
---------------------------------------------------------------------------------------------------------------------------
|
|
5
|
+
NOTICES REPORT
|
|
6
|
+
----------------------------------------------------------------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
Portions of the Products include certain open source and commercial third-party components listed below ("Third-Party
|
|
9
|
+
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include the
|
|
10
|
+
following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
|
|
11
|
+
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-Party
|
|
12
|
+
Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
|
|
13
|
+
Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Progress
|
|
14
|
+
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for these
|
|
15
|
+
technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
16
|
+
|
|
17
|
+
----------------------------------------------------------------------------------------------------------------------------
|
|
18
|
+
Report Content
|
|
19
|
+
- General License Information
|
|
20
|
+
- Components
|
|
21
|
+
- License Data and Text
|
|
22
|
+
----------------------------------------------------------------------------------------------------------------------------
|
|
23
|
+
|
|
24
|
+
General License Information:
|
|
25
|
+
|
|
26
|
+
----------------------------------------------------------------------------------------------------------------------------
|
|
27
|
+
|
|
28
|
+
GENERATIVE ARTIFICIAL INTELLIGENCE INTEGRATION
|
|
29
|
+
If the Software documentation specifies integration with some form of generative artificial intelligence (AI), then the Software
|
|
30
|
+
will include a configuration to connect to AI. You acknowledge that a separate license or subscription access to AI governed
|
|
31
|
+
by the terms and conditions of a license agreement from AI licensor will be required for use and access of AI capabilities
|
|
32
|
+
integrated with the Software. You will be responsible to comply with the terms of such license agreement for a valid use of
|
|
33
|
+
AI. You acknowledge and accept that Progress is not a party to the license agreement between You and AI licensor for AI
|
|
34
|
+
use, and as a result Progress does not have any control over AI and its availability, and Progress disclaims any and all
|
|
35
|
+
liabilities for any output, error, damages, loss, etc., or any other result of Your use of AI integrated with the Software.
|
|
36
|
+
|
|
37
|
+
----------------------------------------------------------------------------------------------------------------------------
|
|
38
|
+
|
|
39
|
+
Components:
|
|
40
|
+
|
|
41
|
+
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
42
|
+
| Component | Origin | License |
|
|
43
|
+
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
44
|
+
| axios 1.13.6 | https://github.com/axios/axios | MIT License |
|
|
45
|
+
| @progress/jszip-esm 1.0.4 | https://github.com/telerik/jszip-esm# | MIT License |
|
|
46
|
+
| | readme | |
|
|
47
|
+
| @progress/pako-esm 1.0.1 | https://github.com/telerik/pako-esm#r | MIT License |
|
|
48
|
+
| | eadme | |
|
|
49
|
+
| prosemirror-commands 1.7.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
50
|
+
| | irror-commands#readme | |
|
|
51
|
+
| prosemirror-dropcursor 1.8.2 | https://github.com/prosemirror/prosem | MIT License |
|
|
52
|
+
| | irror-dropcursor#readme | |
|
|
53
|
+
| prosemirror-gapcursor 1.4.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
54
|
+
| | irror-gapcursor#readme | |
|
|
55
|
+
| prosemirror-history 1.5.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
56
|
+
| | irror-history#readme | |
|
|
57
|
+
| prosemirror-inputrules 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
58
|
+
| | irror-inputrules#readme | |
|
|
59
|
+
| prosemirror-keymap 1.2.3 | https://github.com/prosemirror/prosem | MIT License |
|
|
60
|
+
| | irror-keymap#readme | |
|
|
61
|
+
| prosemirror-model 1.25.4 | https://github.com/prosemirror/prosem | MIT License |
|
|
62
|
+
| | irror-model#readme | |
|
|
63
|
+
| prosemirror-schema-list 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
64
|
+
| | irror-schema-list#readme | |
|
|
65
|
+
| prosemirror-state 1.4.4 | https://github.com/prosemirror/prosem | MIT License |
|
|
66
|
+
| | irror-state#readme | |
|
|
67
|
+
| prosemirror-tables 1.8.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
68
|
+
| | irror-tables#readme | |
|
|
69
|
+
| prosemirror-transform 1.10.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
70
|
+
| | irror-transform#readme | |
|
|
71
|
+
| prosemirror-view 1.41.6 | https://github.com/prosemirror/prosem | MIT License |
|
|
72
|
+
| | irror-view#readme | |
|
|
73
|
+
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
74
|
+
|
|
75
|
+
-------------------------------------------------------------------------------------------------------------------------
|
|
76
|
+
License Data and Text:
|
|
77
|
+
-------------------------------------------------------------------------------------------------------------------------
|
|
78
|
+
|
|
79
|
+
MIT License
|
|
80
|
+
(@progress/pako-esm 1.0.1)
|
|
4
81
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-------------------------------------------------------------------------
|
|
8
|
-
SUMMARY OF COMPONENTS:
|
|
82
|
+
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
9
83
|
|
|
10
|
-
|
|
84
|
+
Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
|
|
11
85
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
ProseMirror | prosemirror-dropcursor | 1.8.1 - Open Source | MIT-style License
|
|
19
|
-
ProseMirror | prosemirror-gapcursor | 1.3.2 - Open Source | MIT-style License
|
|
20
|
-
ProseMirror | prosemirror-history | 1.4.1 - Open Source | MIT-style License
|
|
21
|
-
ProseMirror | prosemirror-keymap | 1.2.2 - Open Source | MIT-style License
|
|
22
|
-
ProseMirror | prosemirror-model | 1.23.0 - Open Source | MIT-style License
|
|
23
|
-
ProseMirror | prosemirror-schema-list | 1.4.1 - Open Source | MIT-style License
|
|
24
|
-
ProseMirror | prosemirror-state | 1.4.3 - Open Source | MIT-style License
|
|
25
|
-
ProseMirror | prosemirror-tables | 1.6.1 - Open Source | MIT-style License
|
|
26
|
-
ProseMirror | prosemirror-transform | 1.10.2 - Open Source | MIT-style License
|
|
27
|
-
ProseMirror | prosemirror-view | 1.35.0 - Open Source | MIT-style License
|
|
28
|
-
-------------------------------------------------------------------------
|
|
86
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
87
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
88
|
+
in the Software without restriction, including without limitation the rights
|
|
89
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
90
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
91
|
+
furnished to do so, subject to the following conditions:
|
|
29
92
|
|
|
30
|
-
|
|
93
|
+
The above copyright notice and this permission notice shall be included in
|
|
94
|
+
all copies or substantial portions of the Software.
|
|
31
95
|
|
|
32
|
-
|
|
96
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
97
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
98
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
99
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
100
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
101
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
102
|
+
THE SOFTWARE
|
|
33
103
|
|
|
34
|
-
|
|
35
|
-
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
36
|
-
Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, Ant�nio Afonso
|
|
37
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
38
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
39
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
40
|
-
|
|
41
|
-
(b) Progress Kendo UI for Vue 6 incorporates pako-esm v1.0. Such technology is subject to the following terms and conditions:
|
|
42
|
-
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
43
|
-
Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
|
|
44
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
45
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
46
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
104
|
+
---
|
|
47
105
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
51
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
52
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
106
|
+
MIT License
|
|
107
|
+
(@progress/jszip-esm 1.0.4, axios 1.13.6, prosemirror-commands 1.7.1, prosemirror-dropcursor 1.8.2, prosemirror-gapcursor 1.4.0, prosemirror-history 1.5.0, prosemirror-inputrules 1.5.1, prosemirror-keymap 1.2.3, prosemirror-model 1.25.4, prosemirror-schema-list 1.5.1, prosemirror-state 1.4.4, prosemirror-tables 1.8.5, prosemirror-transform 1.10.5, prosemirror-view 1.41.6)
|
|
53
108
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
57
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
109
|
+
The MIT License
|
|
110
|
+
===============
|
|
58
111
|
|
|
59
|
-
|
|
112
|
+
Copyright (c) <year> <copyright holders>
|
|
60
113
|
|
|
61
|
-
|
|
114
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
115
|
+
this software and associated documentation files (the "Software"), to deal in the
|
|
116
|
+
Software without restriction, including without limitation the rights to use,
|
|
117
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
|
118
|
+
Software, and to permit persons to whom the Software is furnished to do so,
|
|
119
|
+
subject to the following conditions:
|
|
62
120
|
|
|
63
|
-
|
|
121
|
+
The above copyright notice and this permission notice shall be included in all
|
|
122
|
+
copies or substantial portions of the Software.
|
|
64
123
|
|
|
65
|
-
|
|
124
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
125
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
126
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
127
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
128
|
+
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
129
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
66
130
|
|
|
67
|
-
|
|
131
|
+
---
|
package/RootGrid.d.ts
CHANGED
|
@@ -83,17 +83,13 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
|
|
|
83
83
|
default: () => any;
|
|
84
84
|
};
|
|
85
85
|
cells: import('vue').PropType<import('.').GridCellsSettings>;
|
|
86
|
+
contextMenu: import('vue').PropType<boolean | import('.').GridContextMenuOptions | ((options: import('.').GridCellBaseOptions) => boolean | import('.').GridContextMenuOptions)>;
|
|
86
87
|
rows: import('vue').PropType<import('./interfaces/GridRowsSettings').GridRowsSettings>;
|
|
87
88
|
defaultColumnsState: {
|
|
88
89
|
type: import('vue').PropType<import('.').GridColumnState[]>;
|
|
89
90
|
default: () => any;
|
|
90
91
|
};
|
|
91
92
|
columnVirtualization: import('vue').PropType<boolean>;
|
|
92
|
-
/**
|
|
93
|
-
* Method to fit columns according to their content.
|
|
94
|
-
*
|
|
95
|
-
* @param columnIds - Array of column ids to be fitted.
|
|
96
|
-
*/
|
|
97
93
|
dataItems: import('vue').PropType<any[] | import('@progress/kendo-data-query').DataResult>;
|
|
98
94
|
sortable: import('vue').PropType<import('.').GridSortSettings>;
|
|
99
95
|
defaultSort: import('vue').PropType<import('@progress/kendo-data-query').SortDescriptor[]>;
|
|
@@ -246,6 +242,8 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
|
|
|
246
242
|
onSearchchange: import('vue').PropType<(event: import('.').GridSearchChangeEvent) => void>;
|
|
247
243
|
onGroupexpandchange: import('vue').PropType<(event: import('.').GridGroupExpandChangeEvent) => void>;
|
|
248
244
|
onDetailexpandchange: import('vue').PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
|
|
245
|
+
onContextmenu: import('vue').PropType<(event: import('.').GridContextMenuEvent) => void>;
|
|
246
|
+
onContextmenuitemclick: import('vue').PropType<(event: import('.').GridContextMenuItemClickEvent) => void>;
|
|
249
247
|
}>, void, {}, {
|
|
250
248
|
columnsWithTemplates(): any[];
|
|
251
249
|
cellsWithTemplates(): any;
|
|
@@ -309,17 +307,13 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
|
|
|
309
307
|
default: () => any;
|
|
310
308
|
};
|
|
311
309
|
cells: import('vue').PropType<import('.').GridCellsSettings>;
|
|
310
|
+
contextMenu: import('vue').PropType<boolean | import('.').GridContextMenuOptions | ((options: import('.').GridCellBaseOptions) => boolean | import('.').GridContextMenuOptions)>;
|
|
312
311
|
rows: import('vue').PropType<import('./interfaces/GridRowsSettings').GridRowsSettings>;
|
|
313
312
|
defaultColumnsState: {
|
|
314
313
|
type: import('vue').PropType<import('.').GridColumnState[]>;
|
|
315
314
|
default: () => any;
|
|
316
315
|
};
|
|
317
316
|
columnVirtualization: import('vue').PropType<boolean>;
|
|
318
|
-
/**
|
|
319
|
-
* Method to fit columns according to their content.
|
|
320
|
-
*
|
|
321
|
-
* @param columnIds - Array of column ids to be fitted.
|
|
322
|
-
*/
|
|
323
317
|
dataItems: import('vue').PropType<any[] | import('@progress/kendo-data-query').DataResult>;
|
|
324
318
|
sortable: import('vue').PropType<import('.').GridSortSettings>;
|
|
325
319
|
defaultSort: import('vue').PropType<import('@progress/kendo-data-query').SortDescriptor[]>;
|
|
@@ -472,6 +466,8 @@ export declare const RootGrid: import('vue').DefineComponent<import('vue').Extra
|
|
|
472
466
|
onSearchchange: import('vue').PropType<(event: import('.').GridSearchChangeEvent) => void>;
|
|
473
467
|
onGroupexpandchange: import('vue').PropType<(event: import('.').GridGroupExpandChangeEvent) => void>;
|
|
474
468
|
onDetailexpandchange: import('vue').PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
|
|
469
|
+
onContextmenu: import('vue').PropType<(event: import('.').GridContextMenuEvent) => void>;
|
|
470
|
+
onContextmenuitemclick: import('vue').PropType<(event: import('.').GridContextMenuItemClickEvent) => void>;
|
|
475
471
|
}>> & Readonly<{}>, {
|
|
476
472
|
size: string;
|
|
477
473
|
scrollable: string;
|
package/cells/GridCell.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ declare const GridCell: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
57
|
cells: PropType<import('../interfaces/GridCellsSettings').GridCellsSettings>;
|
|
58
58
|
}>, {
|
|
59
59
|
kendoIntlService: {};
|
|
60
|
+
gridContext: any;
|
|
60
61
|
}, {}, {
|
|
61
62
|
tdClass(): {
|
|
62
63
|
[x: number]: any;
|
|
@@ -72,6 +73,7 @@ declare const GridCell: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
72
73
|
triggerCancel(dataItem: any): void;
|
|
73
74
|
triggerSave(dataItem: any): void;
|
|
74
75
|
triggerRemove(dataItem: any): void;
|
|
76
|
+
triggerContextMenu(e: MouseEvent): void;
|
|
75
77
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
78
|
cellclick: any;
|
|
77
79
|
cellkeydown: any;
|
package/cells/GridCell.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 r=require("vue"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),c=require("../utils/main.js"),h=require("@progress/kendo-vue-intl"),g=require("@progress/kendo-vue-common"),s=require("@progress/kendo-vue-data-tools"),u=r.defineComponent({name:"GridCell",inheritAttrs:!1,emits:{cellclick:null,cellkeydown:null},props:{id:String,field:String,dataItem:Object,format:String,readFormat:String,className:String,columnType:String,colSpan:Number,columnIndex:Number,columnsCount:Number,dataIndex:Number,rowType:String,level:Number,expanded:Boolean,type:String,editor:String,rowSpan:[Number,Object],isSelected:Boolean,isHighlighted:Boolean,ariaColumnIndex:Number,render:[String,Function,Object],isRtl:Boolean,onEdit:Function,onSave:Function,onRemove:Function,onCancel:Function,onChange:Function,onSelectionchange:Function,cells:Object},inject:{kendoIntlService:{default:null},getKeyboardNavigationAttributes:{default:g.noop}},methods:{triggerClick(){this.$emit("cellclick",{dataItem:this.$props.dataItem,field:this.$props.field})},triggerKeydown(e){this.$emit("cellkeydown",{event:e,dataItem:this.$props.dataItem,field:this.$props.field})},triggerEdit(e){this.$emit("edit",e)},triggerAdd(e){this.$emit("add",e)},triggerCancel(e){this.$emit("cancel",e)},triggerSave(e){this.$emit("save",e)},triggerRemove(e){this.$emit("remove",e)},triggerContextMenu(e){var t,i;(i=(t=this.gridContext)==null?void 0:t.onContextMenu)==null||i.call(t,e,this.$props.dataItem,this.$props.field)}},created(){this._intl=h.provideIntlService(this)},computed:{tdClass(){const{className:e,isSelected:t,isHighlighted:i}=this.$props;return{"k-table-td":!0,"k-selected":t,"k-highlighted":i,[e]:e}}},setup(){const e=r.inject("kendoIntlService",{}),t=r.inject("gridContext",null);return{kendoIntlService:e,gridContext:t}},render(){var l,d,a;let e=null;const t=this.getKeyboardNavigationAttributes(this.$props.id);let i={},o=null;if(((l=this.$props.rowSpan)==null?void 0:l.count)===null)return null;if(this.$props.rowType==="groupFooter")i={class:this.tdClass,tabindex:t.tabIndex,"data-keyboardnavlevel":t[s.KEYBOARD_NAV_DATA_LEVEL],"data-keyboardnavid":t[s.KEYBOARD_NAV_DATA_ID]},e=r.createVNode("td",r.mergeProps(i,{onKeydown:this.triggerKeydown,onClick:this.triggerClick,onContextmenu:this.triggerContextMenu}),[o]);else if(this.$props.field!==void 0&&this.$props.rowType!=="groupHeader"){const n=c.getNestedValue(this.$props.field,this.$props.dataItem);let p="";n!=null&&(p=this.$props.format?this.$props.type?this._intl.format(this.$props.format,c.parsers[this.$props.type](n,this._intl,this.$props.readFormat)):this._intl.format(this.$props.format,n):n.toString()),i={style:this.$attrs.style,colspan:this.$props.colSpan,rowspan:(a=(d=this.$props.rowSpan)==null?void 0:d.count)!=null?a:void 0,class:this.tdClass,role:"gridcell","aria-colindex":this.$props.ariaColumnIndex,"aria-selected":this.$props.isSelected,"data-grid-col-index":this.$props.columnIndex,tabindex:t.tabIndex,"data-keyboardnavlevel":t[s.KEYBOARD_NAV_DATA_LEVEL],"data-keyboardnavid":t[s.KEYBOARD_NAV_DATA_ID]},o=p,e=r.createVNode("td",r.mergeProps(i,{onKeydown:this.triggerKeydown,onClick:this.triggerClick,onContextmenu:this.triggerContextMenu}),[o])}return g.getTemplate.call(this,{h:r.h,template:this.$props.render,defaultRendering:e,additionalProps:{...this.$props,tdProps:i},additionalListeners:{click:this.triggerClick,keydown:this.triggerKeydown,edit:this.triggerEdit,add:this.triggerAdd,cancel:this.triggerCancel,save:this.triggerSave,remove:this.triggerRemove,contextmenu:this.triggerContextMenu},defaultSlots:o})}});exports.GridCell=u;
|
package/cells/GridCell.mjs
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
8
|
+
import { defineComponent as m, createVNode as a, mergeProps as p, h as u, inject as g } from "vue";
|
|
9
9
|
import { getNestedValue as $, parsers as f } from "../utils/main.mjs";
|
|
10
|
-
import { provideIntlService as
|
|
11
|
-
import { noop as
|
|
12
|
-
import { KEYBOARD_NAV_DATA_ID as c, KEYBOARD_NAV_DATA_LEVEL as
|
|
13
|
-
const
|
|
10
|
+
import { provideIntlService as C } from "@progress/kendo-vue-intl";
|
|
11
|
+
import { noop as S, getTemplate as v } from "@progress/kendo-vue-common";
|
|
12
|
+
import { KEYBOARD_NAV_DATA_ID as c, KEYBOARD_NAV_DATA_LEVEL as h } from "@progress/kendo-vue-data-tools";
|
|
13
|
+
const w = /* @__PURE__ */ m({
|
|
14
14
|
name: "GridCell",
|
|
15
15
|
inheritAttrs: !1,
|
|
16
16
|
emits: {
|
|
@@ -53,7 +53,7 @@ const A = /* @__PURE__ */ h({
|
|
|
53
53
|
default: null
|
|
54
54
|
},
|
|
55
55
|
getKeyboardNavigationAttributes: {
|
|
56
|
-
default:
|
|
56
|
+
default: S
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
methods: {
|
|
@@ -63,73 +63,80 @@ const A = /* @__PURE__ */ h({
|
|
|
63
63
|
field: this.$props.field
|
|
64
64
|
});
|
|
65
65
|
},
|
|
66
|
-
triggerKeydown(
|
|
66
|
+
triggerKeydown(t) {
|
|
67
67
|
this.$emit("cellkeydown", {
|
|
68
|
-
event:
|
|
68
|
+
event: t,
|
|
69
69
|
dataItem: this.$props.dataItem,
|
|
70
70
|
field: this.$props.field
|
|
71
71
|
});
|
|
72
72
|
},
|
|
73
|
-
triggerEdit(
|
|
74
|
-
this.$emit("edit",
|
|
73
|
+
triggerEdit(t) {
|
|
74
|
+
this.$emit("edit", t);
|
|
75
75
|
},
|
|
76
|
-
triggerAdd(
|
|
77
|
-
this.$emit("add",
|
|
76
|
+
triggerAdd(t) {
|
|
77
|
+
this.$emit("add", t);
|
|
78
78
|
},
|
|
79
|
-
triggerCancel(
|
|
80
|
-
this.$emit("cancel",
|
|
79
|
+
triggerCancel(t) {
|
|
80
|
+
this.$emit("cancel", t);
|
|
81
81
|
},
|
|
82
|
-
triggerSave(
|
|
83
|
-
this.$emit("save",
|
|
82
|
+
triggerSave(t) {
|
|
83
|
+
this.$emit("save", t);
|
|
84
84
|
},
|
|
85
|
-
triggerRemove(
|
|
86
|
-
this.$emit("remove",
|
|
85
|
+
triggerRemove(t) {
|
|
86
|
+
this.$emit("remove", t);
|
|
87
|
+
},
|
|
88
|
+
triggerContextMenu(t) {
|
|
89
|
+
var e, i;
|
|
90
|
+
(i = (e = this.gridContext) == null ? void 0 : e.onContextMenu) == null || i.call(e, t, this.$props.dataItem, this.$props.field);
|
|
87
91
|
}
|
|
88
92
|
},
|
|
89
93
|
created() {
|
|
90
|
-
this._intl =
|
|
94
|
+
this._intl = C(this);
|
|
91
95
|
},
|
|
92
96
|
computed: {
|
|
93
97
|
tdClass() {
|
|
94
98
|
const {
|
|
95
|
-
className:
|
|
96
|
-
isSelected:
|
|
99
|
+
className: t,
|
|
100
|
+
isSelected: e,
|
|
97
101
|
isHighlighted: i
|
|
98
102
|
} = this.$props;
|
|
99
103
|
return {
|
|
100
104
|
"k-table-td": !0,
|
|
101
|
-
"k-selected":
|
|
105
|
+
"k-selected": e,
|
|
102
106
|
"k-highlighted": i,
|
|
103
|
-
[
|
|
107
|
+
[t]: t
|
|
104
108
|
};
|
|
105
109
|
}
|
|
106
110
|
},
|
|
107
111
|
setup() {
|
|
112
|
+
const t = g("kendoIntlService", {}), e = g("gridContext", null);
|
|
108
113
|
return {
|
|
109
|
-
kendoIntlService:
|
|
114
|
+
kendoIntlService: t,
|
|
115
|
+
gridContext: e
|
|
110
116
|
};
|
|
111
117
|
},
|
|
112
118
|
render() {
|
|
113
119
|
var o, s, l;
|
|
114
|
-
let
|
|
115
|
-
const
|
|
120
|
+
let t = null;
|
|
121
|
+
const e = this.getKeyboardNavigationAttributes(this.$props.id);
|
|
116
122
|
let i = {}, n = null;
|
|
117
123
|
if (((o = this.$props.rowSpan) == null ? void 0 : o.count) === null)
|
|
118
124
|
return null;
|
|
119
125
|
if (this.$props.rowType === "groupFooter")
|
|
120
126
|
i = {
|
|
121
127
|
class: this.tdClass,
|
|
122
|
-
tabindex:
|
|
123
|
-
"data-keyboardnavlevel":
|
|
124
|
-
"data-keyboardnavid":
|
|
125
|
-
},
|
|
128
|
+
tabindex: e.tabIndex,
|
|
129
|
+
"data-keyboardnavlevel": e[h],
|
|
130
|
+
"data-keyboardnavid": e[c]
|
|
131
|
+
}, t = a("td", p(i, {
|
|
126
132
|
onKeydown: this.triggerKeydown,
|
|
127
|
-
onClick: this.triggerClick
|
|
133
|
+
onClick: this.triggerClick,
|
|
134
|
+
onContextmenu: this.triggerContextMenu
|
|
128
135
|
}), [n]);
|
|
129
136
|
else if (this.$props.field !== void 0 && this.$props.rowType !== "groupHeader") {
|
|
130
137
|
const r = $(this.$props.field, this.$props.dataItem);
|
|
131
|
-
let
|
|
132
|
-
r != null && (
|
|
138
|
+
let d = "";
|
|
139
|
+
r != null && (d = this.$props.format ? this.$props.type ? this._intl.format(this.$props.format, f[this.$props.type](r, this._intl, this.$props.readFormat)) : this._intl.format(this.$props.format, r) : r.toString()), i = {
|
|
133
140
|
style: this.$attrs.style,
|
|
134
141
|
colspan: this.$props.colSpan,
|
|
135
142
|
rowspan: (l = (s = this.$props.rowSpan) == null ? void 0 : s.count) != null ? l : void 0,
|
|
@@ -138,18 +145,19 @@ const A = /* @__PURE__ */ h({
|
|
|
138
145
|
"aria-colindex": this.$props.ariaColumnIndex,
|
|
139
146
|
"aria-selected": this.$props.isSelected,
|
|
140
147
|
"data-grid-col-index": this.$props.columnIndex,
|
|
141
|
-
tabindex:
|
|
142
|
-
"data-keyboardnavlevel":
|
|
143
|
-
"data-keyboardnavid":
|
|
144
|
-
}, n =
|
|
148
|
+
tabindex: e.tabIndex,
|
|
149
|
+
"data-keyboardnavlevel": e[h],
|
|
150
|
+
"data-keyboardnavid": e[c]
|
|
151
|
+
}, n = d, t = a("td", p(i, {
|
|
145
152
|
onKeydown: this.triggerKeydown,
|
|
146
|
-
onClick: this.triggerClick
|
|
153
|
+
onClick: this.triggerClick,
|
|
154
|
+
onContextmenu: this.triggerContextMenu
|
|
147
155
|
}), [n]);
|
|
148
156
|
}
|
|
149
|
-
return
|
|
150
|
-
h:
|
|
157
|
+
return v.call(this, {
|
|
158
|
+
h: u,
|
|
151
159
|
template: this.$props.render,
|
|
152
|
-
defaultRendering:
|
|
160
|
+
defaultRendering: t,
|
|
153
161
|
additionalProps: {
|
|
154
162
|
...this.$props,
|
|
155
163
|
tdProps: i
|
|
@@ -161,12 +169,13 @@ const A = /* @__PURE__ */ h({
|
|
|
161
169
|
add: this.triggerAdd,
|
|
162
170
|
cancel: this.triggerCancel,
|
|
163
171
|
save: this.triggerSave,
|
|
164
|
-
remove: this.triggerRemove
|
|
172
|
+
remove: this.triggerRemove,
|
|
173
|
+
contextmenu: this.triggerContextMenu
|
|
165
174
|
},
|
|
166
175
|
defaultSlots: n
|
|
167
176
|
});
|
|
168
177
|
}
|
|
169
178
|
});
|
|
170
179
|
export {
|
|
171
|
-
|
|
180
|
+
w as GridCell
|
|
172
181
|
};
|
|
@@ -27,7 +27,10 @@ declare const GridDetailCell: import('vue').DefineComponent<import('vue').Extrac
|
|
|
27
27
|
id: PropType<string>;
|
|
28
28
|
}>, {
|
|
29
29
|
kendoIntlService: {};
|
|
30
|
-
|
|
30
|
+
gridContext: any;
|
|
31
|
+
}, {}, {}, {
|
|
32
|
+
triggerContextMenu(e: MouseEvent): void;
|
|
33
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
34
|
colSpan: PropType<number>;
|
|
32
35
|
ariaColIndex: PropType<number>;
|
|
33
36
|
dataItem: PropType<any>;
|
package/cells/GridDetailCell.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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),r=require("@progress/kendo-vue-common"),i=require("@progress/kendo-vue-data-tools"),p=n.defineComponent({props:{colSpan:Number,ariaColIndex:Number,dataItem:[Object,String,Number],dataIndex:Number,detail:[String,Function,Object],id:String},inject:{getKeyboardNavigationAttributes:{default:r.noop}},setup(){const e=n.inject("kendoIntlService",{}),t=n.inject("gridContext",null);return{kendoIntlService:e,gridContext:t}},methods:{triggerContextMenu(e){var t,a;(a=(t=this.gridContext)==null?void 0:t.onContextMenu)==null||a.call(t,e,this.$props.dataItem)}},render(){const{colSpan:e,ariaColIndex:t,dataItem:a,dataIndex:d,id:l}=this.$props,o=this.getKeyboardNavigationAttributes(l),s={class:"k-table-td k-detail-cell",colspan:e,"aria-colindex":t,role:"gridcell",tabindex:o.tabIndex,"data-keyboardnavlevel":o[i.KEYBOARD_NAV_DATA_LEVEL],"data-keyboardnavid":o[i.KEYBOARD_NAV_DATA_ID],onContextmenu:this.triggerContextMenu},c=function(u){return r.getTemplate.call(this,{h:n.h,template:this.$props.detail,additionalProps:u})}.call(this,{dataItem:a,dataIndex:d});return n.createVNode("td",s,[c])}});exports.GridDetailCell=p;
|