@progress/kendo-vue-data-tools 3.10.2 → 3.11.0-dev.202305230751
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-data-tools.js +1 -1
- package/dist/es/columnmenu/ColumnMenuItem.js +2 -2
- package/dist/es/drag/CommonDragLogic.js +1 -1
- package/dist/es/drag/DragClue.d.ts +1 -1
- package/dist/es/drag/DragClue.js +9 -7
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/pager/Pager.js +20 -18
- package/dist/es/pager/PagerNavigationButton.js +3 -2
- package/dist/es/pager/PagerNumericButtons.js +2 -1
- package/dist/esm/columnmenu/ColumnMenuItem.js +2 -2
- package/dist/esm/drag/CommonDragLogic.js +1 -1
- package/dist/esm/drag/DragClue.d.ts +1 -1
- package/dist/esm/drag/DragClue.js +9 -7
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/pager/Pager.js +20 -18
- package/dist/esm/pager/PagerNavigationButton.js +3 -2
- package/dist/esm/pager/PagerNumericButtons.js +2 -1
- package/dist/npm/columnmenu/ColumnMenuItem.js +2 -2
- package/dist/npm/drag/CommonDragLogic.js +1 -1
- package/dist/npm/drag/DragClue.d.ts +1 -1
- package/dist/npm/drag/DragClue.js +9 -7
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/pager/Pager.js +19 -17
- package/dist/npm/pager/PagerNavigationButton.js +3 -2
- package/dist/npm/pager/PagerNumericButtons.js +2 -1
- package/package.json +10 -10
|
@@ -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
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { Icon } from '@progress/kendo-vue-common';
|
|
7
|
+
import { cancelIcon, plusIcon } 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
|
/**
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-data-tools',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1684827899,
|
|
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/es/pager/Pager.js
CHANGED
|
@@ -23,7 +23,7 @@ import { PagerInfo } from './PagerInfo';
|
|
|
23
23
|
import { PagerNavigationButton } from './PagerNavigationButton';
|
|
24
24
|
import { messages, pagerFirstPage, pagerLastPage, pagerNextPage, pagerPreviousPage } from '../messages/main';
|
|
25
25
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
26
|
-
import { getListeners, getTemplate, hasListener, kendoThemeMaps, templateRendering } from '@progress/kendo-vue-common';
|
|
26
|
+
import { getListeners, getTemplate, hasListener, isRtl, kendoThemeMaps, templateRendering } from '@progress/kendo-vue-common';
|
|
27
27
|
import { caretAltLeftIcon, caretAltRightIcon, caretAltToLeftIcon, caretAltToRightIcon } from '@progress/kendo-svg-icons';
|
|
28
28
|
/**
|
|
29
29
|
* @hidden
|
|
@@ -85,11 +85,13 @@ var PagerVue2 = {
|
|
|
85
85
|
},
|
|
86
86
|
data: function data() {
|
|
87
87
|
return {
|
|
88
|
-
currentSize: 'medium'
|
|
88
|
+
currentSize: 'medium',
|
|
89
|
+
currentRtl: false
|
|
89
90
|
};
|
|
90
91
|
},
|
|
91
92
|
mounted: function mounted() {
|
|
92
93
|
window.addEventListener('resize', this.onWindowResize);
|
|
94
|
+
this.currentRtl = isRtl(this.$el);
|
|
93
95
|
this.onWindowResize();
|
|
94
96
|
},
|
|
95
97
|
updated: function updated() {
|
|
@@ -276,14 +278,14 @@ var PagerVue2 = {
|
|
|
276
278
|
disabled: this.currentPage === 1,
|
|
277
279
|
page: 1,
|
|
278
280
|
title: localizationService.toLanguageString(firstPageMessage.messageKey, firstPageMessage.defaultMessage),
|
|
279
|
-
icon: 'caret-alt-to-left',
|
|
280
|
-
svgIcon: caretAltToLeftIcon
|
|
281
|
+
icon: this.currentRtl ? 'caret-alt-to-right' : 'caret-alt-to-left',
|
|
282
|
+
svgIcon: this.currentRtl ? caretAltToRightIcon : caretAltToLeftIcon
|
|
281
283
|
},
|
|
282
284
|
disabled: this.currentPage === 1,
|
|
283
285
|
page: 1,
|
|
284
286
|
title: localizationService.toLanguageString(firstPageMessage.messageKey, firstPageMessage.defaultMessage),
|
|
285
|
-
icon: 'caret-alt-to-left',
|
|
286
|
-
svgIcon: caretAltToLeftIcon,
|
|
287
|
+
icon: this.currentRtl ? 'caret-alt-to-right' : 'caret-alt-to-left',
|
|
288
|
+
svgIcon: this.currentRtl ? caretAltToRightIcon : caretAltToLeftIcon,
|
|
287
289
|
onPagechange: this.changePage,
|
|
288
290
|
on: this.v3 ? undefined : {
|
|
289
291
|
"pagechange": this.changePage
|
|
@@ -298,14 +300,14 @@ var PagerVue2 = {
|
|
|
298
300
|
size: this.size,
|
|
299
301
|
page: this.currentPage - 1,
|
|
300
302
|
title: localizationService.toLanguageString(previousPageMessage.messageKey, previousPageMessage.defaultMessage),
|
|
301
|
-
icon: 'caret-alt-left',
|
|
302
|
-
svgIcon: caretAltLeftIcon
|
|
303
|
+
icon: this.currentRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
304
|
+
svgIcon: this.currentRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
303
305
|
},
|
|
304
306
|
size: this.size,
|
|
305
307
|
page: this.currentPage - 1,
|
|
306
308
|
title: localizationService.toLanguageString(previousPageMessage.messageKey, previousPageMessage.defaultMessage),
|
|
307
|
-
icon: 'caret-alt-left',
|
|
308
|
-
svgIcon: caretAltLeftIcon,
|
|
309
|
+
icon: this.currentRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
310
|
+
svgIcon: this.currentRtl ? caretAltRightIcon : caretAltLeftIcon,
|
|
309
311
|
onPagechange: this.changePage,
|
|
310
312
|
on: this.v3 ? undefined : {
|
|
311
313
|
"pagechange": this.changePage
|
|
@@ -320,14 +322,14 @@ var PagerVue2 = {
|
|
|
320
322
|
size: this.size,
|
|
321
323
|
page: this.currentPage + 1,
|
|
322
324
|
title: localizationService.toLanguageString(nextPageMessage.messageKey, nextPageMessage.defaultMessage),
|
|
323
|
-
icon: 'caret-alt-right',
|
|
324
|
-
svgIcon: caretAltRightIcon
|
|
325
|
+
icon: this.currentRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
326
|
+
svgIcon: this.currentRtl ? caretAltLeftIcon : caretAltRightIcon
|
|
325
327
|
},
|
|
326
328
|
size: this.size,
|
|
327
329
|
page: this.currentPage + 1,
|
|
328
330
|
title: localizationService.toLanguageString(nextPageMessage.messageKey, nextPageMessage.defaultMessage),
|
|
329
|
-
icon: 'caret-alt-right',
|
|
330
|
-
svgIcon: caretAltRightIcon,
|
|
331
|
+
icon: this.currentRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
332
|
+
svgIcon: this.currentRtl ? caretAltLeftIcon : caretAltRightIcon,
|
|
331
333
|
onPagechange: this.changePage,
|
|
332
334
|
on: this.v3 ? undefined : {
|
|
333
335
|
"pagechange": this.changePage
|
|
@@ -343,14 +345,14 @@ var PagerVue2 = {
|
|
|
343
345
|
size: this.size,
|
|
344
346
|
page: this.totalPages,
|
|
345
347
|
title: localizationService.toLanguageString(lastPageMessage.messageKey, lastPageMessage.defaultMessage),
|
|
346
|
-
icon: 'caret-alt-to-right',
|
|
347
|
-
svgIcon: caretAltToRightIcon
|
|
348
|
+
icon: this.currentRtl ? 'caret-alt-to-left' : 'caret-alt-to-right',
|
|
349
|
+
svgIcon: this.currentRtl ? caretAltToLeftIcon : caretAltToRightIcon
|
|
348
350
|
},
|
|
349
351
|
size: this.size,
|
|
350
352
|
page: this.totalPages,
|
|
351
353
|
title: localizationService.toLanguageString(lastPageMessage.messageKey, lastPageMessage.defaultMessage),
|
|
352
|
-
icon: 'caret-alt-to-right',
|
|
353
|
-
svgIcon: caretAltToRightIcon,
|
|
354
|
+
icon: this.currentRtl ? 'caret-alt-to-left' : 'caret-alt-to-right',
|
|
355
|
+
svgIcon: this.currentRtl ? caretAltToLeftIcon : caretAltToRightIcon,
|
|
354
356
|
onPagechange: this.changePage,
|
|
355
357
|
on: this.v3 ? undefined : {
|
|
356
358
|
"pagechange": this.changePage
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
7
|
+
import { getIconName } from '@progress/kendo-vue-common';
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -49,7 +50,7 @@ var PagerNavigationButtonVue2 = {
|
|
|
49
50
|
size: this.$props.size,
|
|
50
51
|
rounded: null,
|
|
51
52
|
ariaLabel: this.title,
|
|
52
|
-
icon: this.icon,
|
|
53
|
+
icon: getIconName(this.icon),
|
|
53
54
|
svgIcon: this.svgIcon,
|
|
54
55
|
title: this.title,
|
|
55
56
|
disabled: this.disabled,
|
|
@@ -60,7 +61,7 @@ var PagerNavigationButtonVue2 = {
|
|
|
60
61
|
rounded: null,
|
|
61
62
|
"class": 'k-pager-nav',
|
|
62
63
|
ariaLabel: this.title,
|
|
63
|
-
icon: this.icon,
|
|
64
|
+
icon: getIconName(this.icon),
|
|
64
65
|
svgIcon: this.svgIcon,
|
|
65
66
|
title: this.title,
|
|
66
67
|
disabled: this.disabled,
|
|
@@ -48,7 +48,8 @@ var PagerNumericButtonsVue2 = {
|
|
|
48
48
|
'k-picker': true,
|
|
49
49
|
'k-dropdown-list': true,
|
|
50
50
|
'k-dropdown': true,
|
|
51
|
-
'k-rounded-md': true
|
|
51
|
+
'k-rounded-md': true,
|
|
52
|
+
'k-picker-solid': true
|
|
52
53
|
}, _a["k-picker-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a;
|
|
53
54
|
}
|
|
54
55
|
},
|
|
@@ -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) {
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { Icon } from '@progress/kendo-vue-common';
|
|
7
|
+
import { cancelIcon, plusIcon } 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
|
/**
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-data-tools',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1684827899,
|
|
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/pager/Pager.js
CHANGED
|
@@ -23,7 +23,7 @@ import { PagerInfo } from './PagerInfo.js';
|
|
|
23
23
|
import { PagerNavigationButton } from './PagerNavigationButton.js';
|
|
24
24
|
import { messages, pagerFirstPage, pagerLastPage, pagerNextPage, pagerPreviousPage } from '../messages/main.js';
|
|
25
25
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
26
|
-
import { getListeners, getTemplate, hasListener, kendoThemeMaps, templateRendering } from '@progress/kendo-vue-common';
|
|
26
|
+
import { getListeners, getTemplate, hasListener, isRtl, kendoThemeMaps, templateRendering } from '@progress/kendo-vue-common';
|
|
27
27
|
import { caretAltLeftIcon, caretAltRightIcon, caretAltToLeftIcon, caretAltToRightIcon } from '@progress/kendo-svg-icons';
|
|
28
28
|
/**
|
|
29
29
|
* @hidden
|
|
@@ -85,11 +85,13 @@ var PagerVue2 = {
|
|
|
85
85
|
},
|
|
86
86
|
data: function data() {
|
|
87
87
|
return {
|
|
88
|
-
currentSize: 'medium'
|
|
88
|
+
currentSize: 'medium',
|
|
89
|
+
currentRtl: false
|
|
89
90
|
};
|
|
90
91
|
},
|
|
91
92
|
mounted: function mounted() {
|
|
92
93
|
window.addEventListener('resize', this.onWindowResize);
|
|
94
|
+
this.currentRtl = isRtl(this.$el);
|
|
93
95
|
this.onWindowResize();
|
|
94
96
|
},
|
|
95
97
|
updated: function updated() {
|
|
@@ -276,14 +278,14 @@ var PagerVue2 = {
|
|
|
276
278
|
disabled: this.currentPage === 1,
|
|
277
279
|
page: 1,
|
|
278
280
|
title: localizationService.toLanguageString(firstPageMessage.messageKey, firstPageMessage.defaultMessage),
|
|
279
|
-
icon: 'caret-alt-to-left',
|
|
280
|
-
svgIcon: caretAltToLeftIcon
|
|
281
|
+
icon: this.currentRtl ? 'caret-alt-to-right' : 'caret-alt-to-left',
|
|
282
|
+
svgIcon: this.currentRtl ? caretAltToRightIcon : caretAltToLeftIcon
|
|
281
283
|
},
|
|
282
284
|
disabled: this.currentPage === 1,
|
|
283
285
|
page: 1,
|
|
284
286
|
title: localizationService.toLanguageString(firstPageMessage.messageKey, firstPageMessage.defaultMessage),
|
|
285
|
-
icon: 'caret-alt-to-left',
|
|
286
|
-
svgIcon: caretAltToLeftIcon,
|
|
287
|
+
icon: this.currentRtl ? 'caret-alt-to-right' : 'caret-alt-to-left',
|
|
288
|
+
svgIcon: this.currentRtl ? caretAltToRightIcon : caretAltToLeftIcon,
|
|
287
289
|
onPagechange: this.changePage,
|
|
288
290
|
on: this.v3 ? undefined : {
|
|
289
291
|
"pagechange": this.changePage
|
|
@@ -298,14 +300,14 @@ var PagerVue2 = {
|
|
|
298
300
|
size: this.size,
|
|
299
301
|
page: this.currentPage - 1,
|
|
300
302
|
title: localizationService.toLanguageString(previousPageMessage.messageKey, previousPageMessage.defaultMessage),
|
|
301
|
-
icon: 'caret-alt-left',
|
|
302
|
-
svgIcon: caretAltLeftIcon
|
|
303
|
+
icon: this.currentRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
304
|
+
svgIcon: this.currentRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
303
305
|
},
|
|
304
306
|
size: this.size,
|
|
305
307
|
page: this.currentPage - 1,
|
|
306
308
|
title: localizationService.toLanguageString(previousPageMessage.messageKey, previousPageMessage.defaultMessage),
|
|
307
|
-
icon: 'caret-alt-left',
|
|
308
|
-
svgIcon: caretAltLeftIcon,
|
|
309
|
+
icon: this.currentRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
310
|
+
svgIcon: this.currentRtl ? caretAltRightIcon : caretAltLeftIcon,
|
|
309
311
|
onPagechange: this.changePage,
|
|
310
312
|
on: this.v3 ? undefined : {
|
|
311
313
|
"pagechange": this.changePage
|
|
@@ -320,14 +322,14 @@ var PagerVue2 = {
|
|
|
320
322
|
size: this.size,
|
|
321
323
|
page: this.currentPage + 1,
|
|
322
324
|
title: localizationService.toLanguageString(nextPageMessage.messageKey, nextPageMessage.defaultMessage),
|
|
323
|
-
icon: 'caret-alt-right',
|
|
324
|
-
svgIcon: caretAltRightIcon
|
|
325
|
+
icon: this.currentRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
326
|
+
svgIcon: this.currentRtl ? caretAltLeftIcon : caretAltRightIcon
|
|
325
327
|
},
|
|
326
328
|
size: this.size,
|
|
327
329
|
page: this.currentPage + 1,
|
|
328
330
|
title: localizationService.toLanguageString(nextPageMessage.messageKey, nextPageMessage.defaultMessage),
|
|
329
|
-
icon: 'caret-alt-right',
|
|
330
|
-
svgIcon: caretAltRightIcon,
|
|
331
|
+
icon: this.currentRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
332
|
+
svgIcon: this.currentRtl ? caretAltLeftIcon : caretAltRightIcon,
|
|
331
333
|
onPagechange: this.changePage,
|
|
332
334
|
on: this.v3 ? undefined : {
|
|
333
335
|
"pagechange": this.changePage
|
|
@@ -343,14 +345,14 @@ var PagerVue2 = {
|
|
|
343
345
|
size: this.size,
|
|
344
346
|
page: this.totalPages,
|
|
345
347
|
title: localizationService.toLanguageString(lastPageMessage.messageKey, lastPageMessage.defaultMessage),
|
|
346
|
-
icon: 'caret-alt-to-right',
|
|
347
|
-
svgIcon: caretAltToRightIcon
|
|
348
|
+
icon: this.currentRtl ? 'caret-alt-to-left' : 'caret-alt-to-right',
|
|
349
|
+
svgIcon: this.currentRtl ? caretAltToLeftIcon : caretAltToRightIcon
|
|
348
350
|
},
|
|
349
351
|
size: this.size,
|
|
350
352
|
page: this.totalPages,
|
|
351
353
|
title: localizationService.toLanguageString(lastPageMessage.messageKey, lastPageMessage.defaultMessage),
|
|
352
|
-
icon: 'caret-alt-to-right',
|
|
353
|
-
svgIcon: caretAltToRightIcon,
|
|
354
|
+
icon: this.currentRtl ? 'caret-alt-to-left' : 'caret-alt-to-right',
|
|
355
|
+
svgIcon: this.currentRtl ? caretAltToLeftIcon : caretAltToRightIcon,
|
|
354
356
|
onPagechange: this.changePage,
|
|
355
357
|
on: this.v3 ? undefined : {
|
|
356
358
|
"pagechange": this.changePage
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
7
|
+
import { getIconName } from '@progress/kendo-vue-common';
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -49,7 +50,7 @@ var PagerNavigationButtonVue2 = {
|
|
|
49
50
|
size: this.$props.size,
|
|
50
51
|
rounded: null,
|
|
51
52
|
ariaLabel: this.title,
|
|
52
|
-
icon: this.icon,
|
|
53
|
+
icon: getIconName(this.icon),
|
|
53
54
|
svgIcon: this.svgIcon,
|
|
54
55
|
title: this.title,
|
|
55
56
|
disabled: this.disabled,
|
|
@@ -60,7 +61,7 @@ var PagerNavigationButtonVue2 = {
|
|
|
60
61
|
rounded: null,
|
|
61
62
|
"class": 'k-pager-nav',
|
|
62
63
|
ariaLabel: this.title,
|
|
63
|
-
icon: this.icon,
|
|
64
|
+
icon: getIconName(this.icon),
|
|
64
65
|
svgIcon: this.svgIcon,
|
|
65
66
|
title: this.title,
|
|
66
67
|
disabled: this.disabled,
|
|
@@ -48,7 +48,8 @@ var PagerNumericButtonsVue2 = {
|
|
|
48
48
|
'k-picker': true,
|
|
49
49
|
'k-dropdown-list': true,
|
|
50
50
|
'k-dropdown': true,
|
|
51
|
-
'k-rounded-md': true
|
|
51
|
+
'k-rounded-md': true,
|
|
52
|
+
'k-picker-solid': true
|
|
52
53
|
}, _a["k-picker-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a;
|
|
53
54
|
}
|
|
54
55
|
},
|
|
@@ -162,7 +162,7 @@ var CommonDragLogic = /** @class */ (function () {
|
|
|
162
162
|
this.dragElementClue.top = (event.pageY + 10);
|
|
163
163
|
this.dragElementClue.left = event.pageX;
|
|
164
164
|
this.dragElementClue.innerText = innerText;
|
|
165
|
-
this.dragElementClue.status = (invalidIndex || !targetElement) ? '
|
|
165
|
+
this.dragElementClue.status = (invalidIndex || !targetElement) ? 'cancel' : 'plus';
|
|
166
166
|
};
|
|
167
167
|
CommonDragLogic.prototype.updateDropElementClue = function (event, element, targetElement, invalidIndex) {
|
|
168
168
|
if (!this.dropElementClue) {
|
|
@@ -10,6 +10,7 @@ var allVue = Vue;
|
|
|
10
10
|
var gh = allVue.h;
|
|
11
11
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
12
12
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
13
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
13
14
|
/**
|
|
14
15
|
* @hidden
|
|
15
16
|
*/
|
|
@@ -20,7 +21,7 @@ var DragClueVue2 = {
|
|
|
20
21
|
top: 0,
|
|
21
22
|
left: 0,
|
|
22
23
|
innerText: '',
|
|
23
|
-
status: '
|
|
24
|
+
status: 'cancel'
|
|
24
25
|
};
|
|
25
26
|
},
|
|
26
27
|
// @ts-ignore
|
|
@@ -43,14 +44,15 @@ var DragClueVue2 = {
|
|
|
43
44
|
top: this.top + 'px',
|
|
44
45
|
left: this.left + 'px'
|
|
45
46
|
}
|
|
46
|
-
}, [h("span", {
|
|
47
|
-
"class": 'k-icon k-drag-status ' + this.status + ' k-icon-with-modifier'
|
|
48
47
|
}, [h(kendo_vue_common_1.Icon, {
|
|
49
|
-
name:
|
|
48
|
+
name: this.status,
|
|
50
49
|
attrs: this.v3 ? undefined : {
|
|
51
|
-
name:
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
name: this.status,
|
|
51
|
+
icon: this.status === 'cancel' ? kendo_svg_icons_1.cancelIcon : kendo_svg_icons_1.plusIcon
|
|
52
|
+
},
|
|
53
|
+
"class": 'k-drag-status',
|
|
54
|
+
icon: this.status === 'cancel' ? kendo_svg_icons_1.cancelIcon : kendo_svg_icons_1.plusIcon
|
|
55
|
+
}), this.innerText]);
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
exports.DragClueVue2 = DragClueVue2;
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-data-tools',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1684827899,
|
|
12
12
|
version: '',
|
|
13
13
|
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'
|
|
14
14
|
};
|
package/dist/npm/pager/Pager.js
CHANGED
|
@@ -91,11 +91,13 @@ var PagerVue2 = {
|
|
|
91
91
|
},
|
|
92
92
|
data: function data() {
|
|
93
93
|
return {
|
|
94
|
-
currentSize: 'medium'
|
|
94
|
+
currentSize: 'medium',
|
|
95
|
+
currentRtl: false
|
|
95
96
|
};
|
|
96
97
|
},
|
|
97
98
|
mounted: function mounted() {
|
|
98
99
|
window.addEventListener('resize', this.onWindowResize);
|
|
100
|
+
this.currentRtl = (0, kendo_vue_common_1.isRtl)(this.$el);
|
|
99
101
|
this.onWindowResize();
|
|
100
102
|
},
|
|
101
103
|
updated: function updated() {
|
|
@@ -282,14 +284,14 @@ var PagerVue2 = {
|
|
|
282
284
|
disabled: this.currentPage === 1,
|
|
283
285
|
page: 1,
|
|
284
286
|
title: localizationService.toLanguageString(firstPageMessage.messageKey, firstPageMessage.defaultMessage),
|
|
285
|
-
icon: 'caret-alt-to-left',
|
|
286
|
-
svgIcon: kendo_svg_icons_1.caretAltToLeftIcon
|
|
287
|
+
icon: this.currentRtl ? 'caret-alt-to-right' : 'caret-alt-to-left',
|
|
288
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltToRightIcon : kendo_svg_icons_1.caretAltToLeftIcon
|
|
287
289
|
},
|
|
288
290
|
disabled: this.currentPage === 1,
|
|
289
291
|
page: 1,
|
|
290
292
|
title: localizationService.toLanguageString(firstPageMessage.messageKey, firstPageMessage.defaultMessage),
|
|
291
|
-
icon: 'caret-alt-to-left',
|
|
292
|
-
svgIcon: kendo_svg_icons_1.caretAltToLeftIcon,
|
|
293
|
+
icon: this.currentRtl ? 'caret-alt-to-right' : 'caret-alt-to-left',
|
|
294
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltToRightIcon : kendo_svg_icons_1.caretAltToLeftIcon,
|
|
293
295
|
onPagechange: this.changePage,
|
|
294
296
|
on: this.v3 ? undefined : {
|
|
295
297
|
"pagechange": this.changePage
|
|
@@ -304,14 +306,14 @@ var PagerVue2 = {
|
|
|
304
306
|
size: this.size,
|
|
305
307
|
page: this.currentPage - 1,
|
|
306
308
|
title: localizationService.toLanguageString(previousPageMessage.messageKey, previousPageMessage.defaultMessage),
|
|
307
|
-
icon: 'caret-alt-left',
|
|
308
|
-
svgIcon: kendo_svg_icons_1.caretAltLeftIcon
|
|
309
|
+
icon: this.currentRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
310
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltRightIcon : kendo_svg_icons_1.caretAltLeftIcon
|
|
309
311
|
},
|
|
310
312
|
size: this.size,
|
|
311
313
|
page: this.currentPage - 1,
|
|
312
314
|
title: localizationService.toLanguageString(previousPageMessage.messageKey, previousPageMessage.defaultMessage),
|
|
313
|
-
icon: 'caret-alt-left',
|
|
314
|
-
svgIcon: kendo_svg_icons_1.caretAltLeftIcon,
|
|
315
|
+
icon: this.currentRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
316
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltRightIcon : kendo_svg_icons_1.caretAltLeftIcon,
|
|
315
317
|
onPagechange: this.changePage,
|
|
316
318
|
on: this.v3 ? undefined : {
|
|
317
319
|
"pagechange": this.changePage
|
|
@@ -326,14 +328,14 @@ var PagerVue2 = {
|
|
|
326
328
|
size: this.size,
|
|
327
329
|
page: this.currentPage + 1,
|
|
328
330
|
title: localizationService.toLanguageString(nextPageMessage.messageKey, nextPageMessage.defaultMessage),
|
|
329
|
-
icon: 'caret-alt-right',
|
|
330
|
-
svgIcon: kendo_svg_icons_1.caretAltRightIcon
|
|
331
|
+
icon: this.currentRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
332
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltLeftIcon : kendo_svg_icons_1.caretAltRightIcon
|
|
331
333
|
},
|
|
332
334
|
size: this.size,
|
|
333
335
|
page: this.currentPage + 1,
|
|
334
336
|
title: localizationService.toLanguageString(nextPageMessage.messageKey, nextPageMessage.defaultMessage),
|
|
335
|
-
icon: 'caret-alt-right',
|
|
336
|
-
svgIcon: kendo_svg_icons_1.caretAltRightIcon,
|
|
337
|
+
icon: this.currentRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
338
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltLeftIcon : kendo_svg_icons_1.caretAltRightIcon,
|
|
337
339
|
onPagechange: this.changePage,
|
|
338
340
|
on: this.v3 ? undefined : {
|
|
339
341
|
"pagechange": this.changePage
|
|
@@ -349,14 +351,14 @@ var PagerVue2 = {
|
|
|
349
351
|
size: this.size,
|
|
350
352
|
page: this.totalPages,
|
|
351
353
|
title: localizationService.toLanguageString(lastPageMessage.messageKey, lastPageMessage.defaultMessage),
|
|
352
|
-
icon: 'caret-alt-to-right',
|
|
353
|
-
svgIcon: kendo_svg_icons_1.caretAltToRightIcon
|
|
354
|
+
icon: this.currentRtl ? 'caret-alt-to-left' : 'caret-alt-to-right',
|
|
355
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltToLeftIcon : kendo_svg_icons_1.caretAltToRightIcon
|
|
354
356
|
},
|
|
355
357
|
size: this.size,
|
|
356
358
|
page: this.totalPages,
|
|
357
359
|
title: localizationService.toLanguageString(lastPageMessage.messageKey, lastPageMessage.defaultMessage),
|
|
358
|
-
icon: 'caret-alt-to-right',
|
|
359
|
-
svgIcon: kendo_svg_icons_1.caretAltToRightIcon,
|
|
360
|
+
icon: this.currentRtl ? 'caret-alt-to-left' : 'caret-alt-to-right',
|
|
361
|
+
svgIcon: this.currentRtl ? kendo_svg_icons_1.caretAltToLeftIcon : kendo_svg_icons_1.caretAltToRightIcon,
|
|
360
362
|
onPagechange: this.changePage,
|
|
361
363
|
on: this.v3 ? undefined : {
|
|
362
364
|
"pagechange": this.changePage
|
|
@@ -10,6 +10,7 @@ var allVue = Vue;
|
|
|
10
10
|
var gh = allVue.h;
|
|
11
11
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
12
12
|
var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
|
|
13
|
+
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
13
14
|
/**
|
|
14
15
|
* @hidden
|
|
15
16
|
*/
|
|
@@ -55,7 +56,7 @@ var PagerNavigationButtonVue2 = {
|
|
|
55
56
|
size: this.$props.size,
|
|
56
57
|
rounded: null,
|
|
57
58
|
ariaLabel: this.title,
|
|
58
|
-
icon: this.icon,
|
|
59
|
+
icon: (0, kendo_vue_common_1.getIconName)(this.icon),
|
|
59
60
|
svgIcon: this.svgIcon,
|
|
60
61
|
title: this.title,
|
|
61
62
|
disabled: this.disabled,
|
|
@@ -66,7 +67,7 @@ var PagerNavigationButtonVue2 = {
|
|
|
66
67
|
rounded: null,
|
|
67
68
|
"class": 'k-pager-nav',
|
|
68
69
|
ariaLabel: this.title,
|
|
69
|
-
icon: this.icon,
|
|
70
|
+
icon: (0, kendo_vue_common_1.getIconName)(this.icon),
|
|
70
71
|
svgIcon: this.svgIcon,
|
|
71
72
|
title: this.title,
|
|
72
73
|
disabled: this.disabled,
|
|
@@ -54,7 +54,8 @@ var PagerNumericButtonsVue2 = {
|
|
|
54
54
|
'k-picker': true,
|
|
55
55
|
'k-dropdown-list': true,
|
|
56
56
|
'k-dropdown': true,
|
|
57
|
-
'k-rounded-md': true
|
|
57
|
+
'k-rounded-md': true,
|
|
58
|
+
'k-picker-solid': true
|
|
58
59
|
}, _a["k-picker-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a;
|
|
59
60
|
}
|
|
60
61
|
},
|