@progress/kendo-vue-grid 3.10.2-dev.202305221316 → 3.11.0-dev.202305230623
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.js +4 -2
- package/dist/es/cells/GridCell.js +2 -1
- package/dist/es/cells/GridEditCell.js +2 -1
- package/dist/es/cells/GridGroupCell.js +6 -5
- package/dist/es/cells/GridHierarchyCell.js +2 -1
- package/dist/es/cells/GridSelectionCell.js +2 -1
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +32 -32
- package/dist/es/columnMenu/GridColumnMenuFilter.js +34 -34
- package/dist/es/columnMenu/GridColumnMenuItem.js +2 -2
- package/dist/es/drag/CommonDragLogic.js +2 -2
- package/dist/es/drag/DragClue.d.ts +1 -1
- package/dist/es/drag/DragClue.js +10 -8
- package/dist/es/footer/Footer.js +15 -3
- package/dist/es/interfaces/GridCellProps.d.ts +4 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/Grid.js +4 -2
- package/dist/esm/cells/GridCell.js +2 -1
- package/dist/esm/cells/GridEditCell.js +2 -1
- package/dist/esm/cells/GridGroupCell.js +6 -5
- package/dist/esm/cells/GridHierarchyCell.js +2 -1
- package/dist/esm/cells/GridSelectionCell.js +2 -1
- package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +32 -32
- package/dist/esm/columnMenu/GridColumnMenuFilter.js +34 -34
- package/dist/esm/columnMenu/GridColumnMenuItem.js +2 -2
- package/dist/esm/drag/CommonDragLogic.js +2 -2
- package/dist/esm/drag/DragClue.d.ts +1 -1
- package/dist/esm/drag/DragClue.js +10 -8
- package/dist/esm/footer/Footer.js +15 -3
- package/dist/esm/interfaces/GridCellProps.d.ts +4 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/Grid.js +4 -2
- package/dist/npm/cells/GridCell.js +2 -1
- package/dist/npm/cells/GridEditCell.js +2 -1
- package/dist/npm/cells/GridGroupCell.js +5 -4
- package/dist/npm/cells/GridHierarchyCell.js +2 -1
- package/dist/npm/cells/GridSelectionCell.js +2 -1
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +32 -32
- package/dist/npm/columnMenu/GridColumnMenuFilter.js +34 -34
- package/dist/npm/columnMenu/GridColumnMenuItem.js +2 -2
- package/dist/npm/drag/CommonDragLogic.js +2 -2
- package/dist/npm/drag/DragClue.d.ts +1 -1
- package/dist/npm/drag/DragClue.js +10 -8
- package/dist/npm/footer/Footer.js +15 -3
- package/dist/npm/interfaces/GridCellProps.d.ts +4 -0
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +14 -14
package/dist/es/Grid.js
CHANGED
|
@@ -1335,7 +1335,8 @@ var GridVue2 = {
|
|
|
1335
1335
|
level: item.level,
|
|
1336
1336
|
expanded: isExpanded,
|
|
1337
1337
|
dataIndex: item.dataIndex,
|
|
1338
|
-
ariaColumnIndex: column.ariaColumnIndex
|
|
1338
|
+
ariaColumnIndex: column.ariaColumnIndex,
|
|
1339
|
+
isRtl: this.isRtl
|
|
1339
1340
|
},
|
|
1340
1341
|
colSpan: colSpans[index],
|
|
1341
1342
|
dataItem: item.dataItem,
|
|
@@ -1375,7 +1376,8 @@ var GridVue2 = {
|
|
|
1375
1376
|
expanded: isExpanded,
|
|
1376
1377
|
dataIndex: item.dataIndex,
|
|
1377
1378
|
style: style,
|
|
1378
|
-
ariaColumnIndex: column.ariaColumnIndex
|
|
1379
|
+
ariaColumnIndex: column.ariaColumnIndex,
|
|
1380
|
+
isRtl: this.isRtl
|
|
1379
1381
|
});
|
|
1380
1382
|
}
|
|
1381
1383
|
// @ts-ignore
|
|
@@ -7,7 +7,7 @@ import { getTemplate, Icon, Keys, noop } from '@progress/kendo-vue-common';
|
|
|
7
7
|
import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-vue-data-tools';
|
|
8
8
|
import { messages, groupCaretAriaLabelExpand, groupCaretAriaLabelCollapse } from '../messages/main';
|
|
9
9
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
10
|
-
import { caretAltDownIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
@@ -30,6 +30,7 @@ var GridGroupCellVue2 = {
|
|
|
30
30
|
editor: String,
|
|
31
31
|
dataIndex: Number,
|
|
32
32
|
isSelected: Boolean,
|
|
33
|
+
isRtl: Boolean,
|
|
33
34
|
ariaColumnIndex: Number,
|
|
34
35
|
render: [String, Function, Object]
|
|
35
36
|
},
|
|
@@ -179,12 +180,12 @@ var GridGroupCellVue2 = {
|
|
|
179
180
|
title: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue,
|
|
180
181
|
ariaLable: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue
|
|
181
182
|
}, [h(Icon, {
|
|
182
|
-
name: expanded ? 'caret-alt-down' : 'caret-alt-right',
|
|
183
|
+
name: expanded ? 'caret-alt-down' : !this.isRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
183
184
|
attrs: this.v3 ? undefined : {
|
|
184
|
-
name: expanded ? 'caret-alt-down' : 'caret-alt-right',
|
|
185
|
-
icon: expanded ? caretAltDownIcon : caretAltRightIcon
|
|
185
|
+
name: expanded ? 'caret-alt-down' : !this.isRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
186
|
+
icon: expanded ? caretAltDownIcon : !this.isRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
186
187
|
},
|
|
187
|
-
icon: expanded ? caretAltDownIcon : caretAltRightIcon
|
|
188
|
+
icon: expanded ? caretAltDownIcon : !this.isRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
188
189
|
})]), dataItem[field].toString()])]);
|
|
189
190
|
}
|
|
190
191
|
return getTemplate.call(this, {
|
|
@@ -293,22 +293,22 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
293
293
|
}, [
|
|
294
294
|
// @ts-ignore function children
|
|
295
295
|
h(Button, {
|
|
296
|
-
|
|
296
|
+
themeColor: 'primary',
|
|
297
297
|
attrs: _this2.v3 ? undefined : {
|
|
298
|
-
|
|
298
|
+
themeColor: 'primary'
|
|
299
299
|
}
|
|
300
300
|
}, _this2.v3 ? function () {
|
|
301
|
-
return [localizationService.toLanguageString(
|
|
302
|
-
} : [localizationService.toLanguageString(
|
|
301
|
+
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
302
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]),
|
|
303
303
|
// @ts-ignore function children
|
|
304
304
|
h(Button, {
|
|
305
|
-
|
|
305
|
+
type: 'reset',
|
|
306
306
|
attrs: _this2.v3 ? undefined : {
|
|
307
|
-
|
|
307
|
+
type: 'reset'
|
|
308
308
|
}
|
|
309
309
|
}, _this2.v3 ? function () {
|
|
310
|
-
return [localizationService.toLanguageString(
|
|
311
|
-
} : [localizationService.toLanguageString(
|
|
310
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
311
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])];
|
|
312
312
|
} : [h("div", {
|
|
313
313
|
"class": 'kendo-grid-filter-menu-container'
|
|
314
314
|
}, [h("form", {
|
|
@@ -363,20 +363,20 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
363
363
|
}, _this2)]), h("div", {
|
|
364
364
|
"class": 'k-columnmenu-actions'
|
|
365
365
|
}, [h(Button, {
|
|
366
|
-
type: 'reset',
|
|
367
|
-
attrs: _this2.v3 ? undefined : {
|
|
368
|
-
type: 'reset'
|
|
369
|
-
}
|
|
370
|
-
}, _this2.v3 ? function () {
|
|
371
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
372
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
373
366
|
themeColor: 'primary',
|
|
374
367
|
attrs: _this2.v3 ? undefined : {
|
|
375
368
|
themeColor: 'primary'
|
|
376
369
|
}
|
|
377
370
|
}, _this2.v3 ? function () {
|
|
378
371
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
379
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
372
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]), h(Button, {
|
|
373
|
+
type: 'reset',
|
|
374
|
+
attrs: _this2.v3 ? undefined : {
|
|
375
|
+
type: 'reset'
|
|
376
|
+
}
|
|
377
|
+
}, _this2.v3 ? function () {
|
|
378
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
379
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])])];
|
|
380
380
|
} : [h(GridColumnMenuItem, {
|
|
381
381
|
title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
|
|
382
382
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -450,20 +450,20 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
450
450
|
}, _this2)]), h("div", {
|
|
451
451
|
"class": 'k-columnmenu-actions'
|
|
452
452
|
}, [h(Button, {
|
|
453
|
-
type: 'reset',
|
|
454
|
-
attrs: _this2.v3 ? undefined : {
|
|
455
|
-
type: 'reset'
|
|
456
|
-
}
|
|
457
|
-
}, _this2.v3 ? function () {
|
|
458
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
459
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
460
453
|
themeColor: 'primary',
|
|
461
454
|
attrs: _this2.v3 ? undefined : {
|
|
462
455
|
themeColor: 'primary'
|
|
463
456
|
}
|
|
464
457
|
}, _this2.v3 ? function () {
|
|
465
458
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
466
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
459
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]), h(Button, {
|
|
460
|
+
type: 'reset',
|
|
461
|
+
attrs: _this2.v3 ? undefined : {
|
|
462
|
+
type: 'reset'
|
|
463
|
+
}
|
|
464
|
+
}, _this2.v3 ? function () {
|
|
465
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
466
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])];
|
|
467
467
|
} : [h("div", {
|
|
468
468
|
"class": 'kendo-grid-filter-menu-container'
|
|
469
469
|
}, [h("form", {
|
|
@@ -518,20 +518,20 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
518
518
|
}, _this2)]), h("div", {
|
|
519
519
|
"class": 'k-columnmenu-actions'
|
|
520
520
|
}, [h(Button, {
|
|
521
|
-
type: 'reset',
|
|
522
|
-
attrs: _this2.v3 ? undefined : {
|
|
523
|
-
type: 'reset'
|
|
524
|
-
}
|
|
525
|
-
}, _this2.v3 ? function () {
|
|
526
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
527
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
528
521
|
themeColor: 'primary',
|
|
529
522
|
attrs: _this2.v3 ? undefined : {
|
|
530
523
|
themeColor: 'primary'
|
|
531
524
|
}
|
|
532
525
|
}, _this2.v3 ? function () {
|
|
533
526
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
534
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
527
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]), h(Button, {
|
|
528
|
+
type: 'reset',
|
|
529
|
+
attrs: _this2.v3 ? undefined : {
|
|
530
|
+
type: 'reset'
|
|
531
|
+
}
|
|
532
|
+
}, _this2.v3 ? function () {
|
|
533
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
534
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])])])
|
|
535
535
|
);
|
|
536
536
|
},
|
|
537
537
|
methods: {
|
|
@@ -492,15 +492,6 @@ var GridColumnMenuFilterVue2 = {
|
|
|
492
492
|
"class": 'k-columnmenu-actions'
|
|
493
493
|
}, [
|
|
494
494
|
// @ts-ignore function children
|
|
495
|
-
h(Button, {
|
|
496
|
-
type: 'reset',
|
|
497
|
-
attrs: _this2.v3 ? undefined : {
|
|
498
|
-
type: 'reset'
|
|
499
|
-
}
|
|
500
|
-
}, _this2.v3 ? function () {
|
|
501
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
502
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]),
|
|
503
|
-
// @ts-ignore function children
|
|
504
495
|
h(Button, {
|
|
505
496
|
themeColor: 'primary',
|
|
506
497
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -510,7 +501,16 @@ var GridColumnMenuFilterVue2 = {
|
|
|
510
501
|
disabled: !isFilterValid
|
|
511
502
|
}, _this2.v3 ? function () {
|
|
512
503
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
513
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
504
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]),
|
|
505
|
+
// @ts-ignore function children
|
|
506
|
+
h(Button, {
|
|
507
|
+
type: 'reset',
|
|
508
|
+
attrs: _this2.v3 ? undefined : {
|
|
509
|
+
type: 'reset'
|
|
510
|
+
}
|
|
511
|
+
}, _this2.v3 ? function () {
|
|
512
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
513
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])];
|
|
514
514
|
} : [h("div", {
|
|
515
515
|
"class": 'kendo-grid-filter-menu-container'
|
|
516
516
|
}, [h("form", {
|
|
@@ -624,13 +624,6 @@ var GridColumnMenuFilterVue2 = {
|
|
|
624
624
|
})], filterUI && render, h("div", {
|
|
625
625
|
"class": 'k-columnmenu-actions'
|
|
626
626
|
}, [h(Button, {
|
|
627
|
-
type: 'reset',
|
|
628
|
-
attrs: _this2.v3 ? undefined : {
|
|
629
|
-
type: 'reset'
|
|
630
|
-
}
|
|
631
|
-
}, _this2.v3 ? function () {
|
|
632
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
633
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
634
627
|
themeColor: 'primary',
|
|
635
628
|
attrs: _this2.v3 ? undefined : {
|
|
636
629
|
themeColor: 'primary',
|
|
@@ -639,7 +632,14 @@ var GridColumnMenuFilterVue2 = {
|
|
|
639
632
|
disabled: !isFilterValid
|
|
640
633
|
}, _this2.v3 ? function () {
|
|
641
634
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
642
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
635
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]), h(Button, {
|
|
636
|
+
type: 'reset',
|
|
637
|
+
attrs: _this2.v3 ? undefined : {
|
|
638
|
+
type: 'reset'
|
|
639
|
+
}
|
|
640
|
+
}, _this2.v3 ? function () {
|
|
641
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
642
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])])];
|
|
643
643
|
} : [h(GridColumnMenuItem, {
|
|
644
644
|
title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
|
|
645
645
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -772,13 +772,6 @@ var GridColumnMenuFilterVue2 = {
|
|
|
772
772
|
})], filterUI && render, h("div", {
|
|
773
773
|
"class": 'k-columnmenu-actions'
|
|
774
774
|
}, [h(Button, {
|
|
775
|
-
type: 'reset',
|
|
776
|
-
attrs: _this2.v3 ? undefined : {
|
|
777
|
-
type: 'reset'
|
|
778
|
-
}
|
|
779
|
-
}, _this2.v3 ? function () {
|
|
780
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
781
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
782
775
|
themeColor: 'primary',
|
|
783
776
|
attrs: _this2.v3 ? undefined : {
|
|
784
777
|
themeColor: 'primary',
|
|
@@ -787,7 +780,14 @@ var GridColumnMenuFilterVue2 = {
|
|
|
787
780
|
disabled: !isFilterValid
|
|
788
781
|
}, _this2.v3 ? function () {
|
|
789
782
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
790
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
783
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]), h(Button, {
|
|
784
|
+
type: 'reset',
|
|
785
|
+
attrs: _this2.v3 ? undefined : {
|
|
786
|
+
type: 'reset'
|
|
787
|
+
}
|
|
788
|
+
}, _this2.v3 ? function () {
|
|
789
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
790
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])];
|
|
791
791
|
} : [h("div", {
|
|
792
792
|
"class": 'kendo-grid-filter-menu-container'
|
|
793
793
|
}, [h("form", {
|
|
@@ -901,13 +901,6 @@ var GridColumnMenuFilterVue2 = {
|
|
|
901
901
|
})], filterUI && render, h("div", {
|
|
902
902
|
"class": 'k-columnmenu-actions'
|
|
903
903
|
}, [h(Button, {
|
|
904
|
-
type: 'reset',
|
|
905
|
-
attrs: _this2.v3 ? undefined : {
|
|
906
|
-
type: 'reset'
|
|
907
|
-
}
|
|
908
|
-
}, _this2.v3 ? function () {
|
|
909
|
-
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
910
|
-
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])]), h(Button, {
|
|
911
904
|
themeColor: 'primary',
|
|
912
905
|
attrs: _this2.v3 ? undefined : {
|
|
913
906
|
themeColor: 'primary',
|
|
@@ -916,7 +909,14 @@ var GridColumnMenuFilterVue2 = {
|
|
|
916
909
|
disabled: !isFilterValid
|
|
917
910
|
}, _this2.v3 ? function () {
|
|
918
911
|
return [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])];
|
|
919
|
-
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])])
|
|
912
|
+
} : [localizationService.toLanguageString(filterSubmitButton, messages[filterSubmitButton])]), h(Button, {
|
|
913
|
+
type: 'reset',
|
|
914
|
+
attrs: _this2.v3 ? undefined : {
|
|
915
|
+
type: 'reset'
|
|
916
|
+
}
|
|
917
|
+
}, _this2.v3 ? function () {
|
|
918
|
+
return [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])];
|
|
919
|
+
} : [localizationService.toLanguageString(filterClearButton, messages[filterClearButton])])])])])])])])
|
|
920
920
|
);
|
|
921
921
|
}
|
|
922
922
|
};
|
|
@@ -124,7 +124,7 @@ var CommonDragLogic = /** @class */ (function () {
|
|
|
124
124
|
};
|
|
125
125
|
CommonDragLogic.prototype.isTargetGroupingContainer = function (event) {
|
|
126
126
|
var target = event.originalEvent.target;
|
|
127
|
-
return target.className.indexOf('k-grouping-drop-container') !== -1;
|
|
127
|
+
return target.className.indexOf && target.className.indexOf('k-grouping-drop-container') !== -1;
|
|
128
128
|
};
|
|
129
129
|
CommonDragLogic.prototype.getGroupIndex = function (event) {
|
|
130
130
|
return getIndex(event, this.groupPanelDivElement);
|
|
@@ -159,7 +159,7 @@ var CommonDragLogic = /** @class */ (function () {
|
|
|
159
159
|
this.dragElementClue.top = (event.pageY + 10);
|
|
160
160
|
this.dragElementClue.left = event.pageX;
|
|
161
161
|
this.dragElementClue.innerText = innerText;
|
|
162
|
-
this.dragElementClue.status = (invalidIndex || !targetElement) ? '
|
|
162
|
+
this.dragElementClue.status = (invalidIndex || !targetElement) ? 'cancel' : 'plus';
|
|
163
163
|
};
|
|
164
164
|
CommonDragLogic.prototype.updateDropElementClue = function (event, element, targetElement, invalidIndex) {
|
|
165
165
|
if (!this.dropElementClue) {
|
package/dist/es/drag/DragClue.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import { Icon } from '@progress/kendo-vue-common';
|
|
3
2
|
import * as Vue from 'vue';
|
|
4
3
|
var allVue = Vue;
|
|
5
4
|
var gh = allVue.h;
|
|
6
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
7
|
+
import { plusIcon, cancelIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -14,7 +15,7 @@ var DragClueVue2 = {
|
|
|
14
15
|
top: 0,
|
|
15
16
|
left: 0,
|
|
16
17
|
innerText: '',
|
|
17
|
-
status: '
|
|
18
|
+
status: 'cancel'
|
|
18
19
|
};
|
|
19
20
|
},
|
|
20
21
|
// @ts-ignore
|
|
@@ -37,14 +38,15 @@ var DragClueVue2 = {
|
|
|
37
38
|
top: this.top + 'px',
|
|
38
39
|
left: this.left + 'px'
|
|
39
40
|
}
|
|
40
|
-
}, [h("span", {
|
|
41
|
-
"class": 'k-icon k-drag-status ' + this.status + ' k-icon-with-modifier'
|
|
42
41
|
}, [h(Icon, {
|
|
43
|
-
name:
|
|
42
|
+
name: this.status,
|
|
44
43
|
attrs: this.v3 ? undefined : {
|
|
45
|
-
name:
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
name: this.status,
|
|
45
|
+
icon: this.status === 'cancel' ? cancelIcon : plusIcon
|
|
46
|
+
},
|
|
47
|
+
"class": 'k-drag-status',
|
|
48
|
+
icon: this.status === 'cancel' ? cancelIcon : plusIcon
|
|
49
|
+
}), this.innerText]);
|
|
48
50
|
}
|
|
49
51
|
};
|
|
50
52
|
/**
|
package/dist/es/footer/Footer.js
CHANGED
|
@@ -94,13 +94,25 @@ var FooterVue2 = {
|
|
|
94
94
|
}
|
|
95
95
|
return h("div", {
|
|
96
96
|
"class": "k-grid-footer",
|
|
97
|
-
style: this.divStyle
|
|
97
|
+
style: this.divStyle,
|
|
98
|
+
role: "presentation",
|
|
99
|
+
attrs: this.v3 ? undefined : {
|
|
100
|
+
role: "presentation"
|
|
101
|
+
}
|
|
98
102
|
}, [h("div", {
|
|
99
103
|
"class": "k-grid-footer-wrap",
|
|
100
|
-
ref: setRef(this, 'footerWrap')
|
|
104
|
+
ref: setRef(this, 'footerWrap'),
|
|
105
|
+
role: "presentation",
|
|
106
|
+
attrs: this.v3 ? undefined : {
|
|
107
|
+
role: "presentation"
|
|
108
|
+
}
|
|
101
109
|
}, [h("table", {
|
|
102
110
|
"class": this.tableClass,
|
|
103
|
-
style: this.tableStyle
|
|
111
|
+
style: this.tableStyle,
|
|
112
|
+
role: "presentation",
|
|
113
|
+
attrs: this.v3 ? undefined : {
|
|
114
|
+
role: "presentation"
|
|
115
|
+
}
|
|
104
116
|
}, [h("colgroup", {
|
|
105
117
|
ref: setRef(this, 'colGroupHeader')
|
|
106
118
|
}, [this.$props.cols]), h("tfoot", {
|
|
@@ -85,6 +85,10 @@ export interface GridCellProps {
|
|
|
85
85
|
* Indicates if the cell is selected.
|
|
86
86
|
*/
|
|
87
87
|
isSelected: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Indicates if the cell is in rtl direction.
|
|
90
|
+
*/
|
|
91
|
+
isRtl: boolean;
|
|
88
92
|
/**
|
|
89
93
|
* The event that is fired when the cell value is changed.
|
|
90
94
|
*/
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-grid',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1684822687,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/esm/Grid.js
CHANGED
|
@@ -1335,7 +1335,8 @@ var GridVue2 = {
|
|
|
1335
1335
|
level: item.level,
|
|
1336
1336
|
expanded: isExpanded,
|
|
1337
1337
|
dataIndex: item.dataIndex,
|
|
1338
|
-
ariaColumnIndex: column.ariaColumnIndex
|
|
1338
|
+
ariaColumnIndex: column.ariaColumnIndex,
|
|
1339
|
+
isRtl: this.isRtl
|
|
1339
1340
|
},
|
|
1340
1341
|
colSpan: colSpans[index],
|
|
1341
1342
|
dataItem: item.dataItem,
|
|
@@ -1375,7 +1376,8 @@ var GridVue2 = {
|
|
|
1375
1376
|
expanded: isExpanded,
|
|
1376
1377
|
dataIndex: item.dataIndex,
|
|
1377
1378
|
style: style,
|
|
1378
|
-
ariaColumnIndex: column.ariaColumnIndex
|
|
1379
|
+
ariaColumnIndex: column.ariaColumnIndex,
|
|
1380
|
+
isRtl: this.isRtl
|
|
1379
1381
|
});
|
|
1380
1382
|
}
|
|
1381
1383
|
// @ts-ignore
|
|
@@ -7,7 +7,7 @@ import { getTemplate, Icon, Keys, noop } from '@progress/kendo-vue-common';
|
|
|
7
7
|
import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-vue-data-tools';
|
|
8
8
|
import { messages, groupCaretAriaLabelExpand, groupCaretAriaLabelCollapse } from '../messages/main.js';
|
|
9
9
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
10
|
-
import { caretAltDownIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
@@ -30,6 +30,7 @@ var GridGroupCellVue2 = {
|
|
|
30
30
|
editor: String,
|
|
31
31
|
dataIndex: Number,
|
|
32
32
|
isSelected: Boolean,
|
|
33
|
+
isRtl: Boolean,
|
|
33
34
|
ariaColumnIndex: Number,
|
|
34
35
|
render: [String, Function, Object]
|
|
35
36
|
},
|
|
@@ -179,12 +180,12 @@ var GridGroupCellVue2 = {
|
|
|
179
180
|
title: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue,
|
|
180
181
|
ariaLable: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue
|
|
181
182
|
}, [h(Icon, {
|
|
182
|
-
name: expanded ? 'caret-alt-down' : 'caret-alt-right',
|
|
183
|
+
name: expanded ? 'caret-alt-down' : !this.isRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
183
184
|
attrs: this.v3 ? undefined : {
|
|
184
|
-
name: expanded ? 'caret-alt-down' : 'caret-alt-right',
|
|
185
|
-
icon: expanded ? caretAltDownIcon : caretAltRightIcon
|
|
185
|
+
name: expanded ? 'caret-alt-down' : !this.isRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
186
|
+
icon: expanded ? caretAltDownIcon : !this.isRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
186
187
|
},
|
|
187
|
-
icon: expanded ? caretAltDownIcon : caretAltRightIcon
|
|
188
|
+
icon: expanded ? caretAltDownIcon : !this.isRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
188
189
|
})]), dataItem[field].toString()])]);
|
|
189
190
|
}
|
|
190
191
|
return getTemplate.call(this, {
|