@progress/kendo-vue-dateinputs 3.1.4 → 3.2.0-dev.202204120815
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.
|
@@ -22,7 +22,7 @@ var ref = allVue.ref;
|
|
|
22
22
|
var inject = allVue.inject;
|
|
23
23
|
import { Popup } from '@progress/kendo-vue-popup';
|
|
24
24
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
25
|
-
import { guid, Keys, canUseDOM } from '@progress/kendo-vue-common';
|
|
25
|
+
import { guid, Keys, canUseDOM, kendoThemeMaps } from '@progress/kendo-vue-common';
|
|
26
26
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
27
27
|
import { validatePackage, templateRendering, getListeners, getTemplate } from '@progress/kendo-vue-common';
|
|
28
28
|
import { packageMetadata } from '../package-metadata';
|
|
@@ -212,6 +212,16 @@ var DateRangePicker = {
|
|
|
212
212
|
},
|
|
213
213
|
computedShow: function computedShow() {
|
|
214
214
|
return this.$props.show !== undefined ? this.$props.show : this.currentShow;
|
|
215
|
+
},
|
|
216
|
+
swapButtonClass: function swapButtonClass() {
|
|
217
|
+
var _a;
|
|
218
|
+
|
|
219
|
+
var _b = this.$props,
|
|
220
|
+
size = _b.size,
|
|
221
|
+
rounded = _b.rounded;
|
|
222
|
+
return _a = {
|
|
223
|
+
'k-button': true
|
|
224
|
+
}, _a["k-button-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-button-flat'] = true, _a['k-button-flat-base'] = true, _a['k-icon-button'] = true, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a;
|
|
215
225
|
}
|
|
216
226
|
},
|
|
217
227
|
// @ts-ignore
|
|
@@ -388,7 +398,8 @@ var DateRangePicker = {
|
|
|
388
398
|
defaultRendering: popupDefaultRendering,
|
|
389
399
|
defaultSlots: calendarRendering
|
|
390
400
|
});
|
|
391
|
-
var reverseButton = h("
|
|
401
|
+
var reverseButton = h("button", {
|
|
402
|
+
"class": this.swapButtonClass,
|
|
392
403
|
role: "button",
|
|
393
404
|
attrs: this.v3 ? undefined : {
|
|
394
405
|
role: "button",
|
|
@@ -396,7 +407,6 @@ var DateRangePicker = {
|
|
|
396
407
|
"aria-controls": startDateInputId + ' ' + endDateInputId,
|
|
397
408
|
"aria-label": provideLocalizationService(this).toLanguageString(swapStartEnd, messages[swapStartEnd])
|
|
398
409
|
},
|
|
399
|
-
"class": "k-button k-button-md k-button-flat k-icon-button",
|
|
400
410
|
title: provideLocalizationService(this).toLanguageString(swapStartEnd, messages[swapStartEnd]),
|
|
401
411
|
onMousedown: this.handleReverseMouseDown,
|
|
402
412
|
on: this.v3 ? undefined : {
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dateinputs',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1649750982,
|
|
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
|
};
|
|
@@ -231,6 +231,16 @@ var DateRangePicker = {
|
|
|
231
231
|
},
|
|
232
232
|
computedShow: function computedShow() {
|
|
233
233
|
return this.$props.show !== undefined ? this.$props.show : this.currentShow;
|
|
234
|
+
},
|
|
235
|
+
swapButtonClass: function swapButtonClass() {
|
|
236
|
+
var _a;
|
|
237
|
+
|
|
238
|
+
var _b = this.$props,
|
|
239
|
+
size = _b.size,
|
|
240
|
+
rounded = _b.rounded;
|
|
241
|
+
return _a = {
|
|
242
|
+
'k-button': true
|
|
243
|
+
}, _a["k-button-" + (kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-button-flat'] = true, _a['k-button-flat-base'] = true, _a['k-icon-button'] = true, _a["k-rounded-" + (kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a;
|
|
234
244
|
}
|
|
235
245
|
},
|
|
236
246
|
// @ts-ignore
|
|
@@ -407,7 +417,8 @@ var DateRangePicker = {
|
|
|
407
417
|
defaultRendering: popupDefaultRendering,
|
|
408
418
|
defaultSlots: calendarRendering
|
|
409
419
|
});
|
|
410
|
-
var reverseButton = h("
|
|
420
|
+
var reverseButton = h("button", {
|
|
421
|
+
"class": this.swapButtonClass,
|
|
411
422
|
role: "button",
|
|
412
423
|
attrs: this.v3 ? undefined : {
|
|
413
424
|
role: "button",
|
|
@@ -415,7 +426,6 @@ var DateRangePicker = {
|
|
|
415
426
|
"aria-controls": startDateInputId + ' ' + endDateInputId,
|
|
416
427
|
"aria-label": kendo_vue_intl_1.provideLocalizationService(this).toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd])
|
|
417
428
|
},
|
|
418
|
-
"class": "k-button k-button-md k-button-flat k-icon-button",
|
|
419
429
|
title: kendo_vue_intl_1.provideLocalizationService(this).toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd]),
|
|
420
430
|
onMousedown: this.handleReverseMouseDown,
|
|
421
431
|
on: this.v3 ? undefined : {
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-dateinputs',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1649750982,
|
|
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-dateinputs",
|
|
3
3
|
"description": "Kendo UI for Vue Date Inputs package",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0-dev.202204120815",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -46,16 +46,16 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@progress/kendo-date-math": "1.5.1",
|
|
49
|
-
"@progress/kendo-vue-buttons": "3.
|
|
50
|
-
"@progress/kendo-vue-common": "3.
|
|
51
|
-
"@progress/kendo-vue-labels": "3.
|
|
52
|
-
"@progress/kendo-vue-popup": "3.
|
|
49
|
+
"@progress/kendo-vue-buttons": "3.2.0-dev.202204120815",
|
|
50
|
+
"@progress/kendo-vue-common": "3.2.0-dev.202204120815",
|
|
51
|
+
"@progress/kendo-vue-labels": "3.2.0-dev.202204120815",
|
|
52
|
+
"@progress/kendo-vue-popup": "3.2.0-dev.202204120815"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@progress/kendo-data-query": "^1.5.4",
|
|
56
56
|
"@progress/kendo-licensing": "^1.1.0",
|
|
57
|
-
"@progress/kendo-vue-dropdowns": "3.
|
|
58
|
-
"@progress/kendo-vue-intl": "3.
|
|
57
|
+
"@progress/kendo-vue-dropdowns": "3.2.0-dev.202204120815",
|
|
58
|
+
"@progress/kendo-vue-intl": "3.2.0-dev.202204120815"
|
|
59
59
|
},
|
|
60
60
|
"author": "Progress",
|
|
61
61
|
"license": "SEE LICENSE IN LICENSE.md",
|