@progress/kendo-vue-dateinputs 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.
@@ -12,7 +12,7 @@ import { messages, today, prevView, nextView } from '../../messages/main';
12
12
  import { Action } from '../models/main';
13
13
  import { getToday, isInRange, dateInRange, MAX_DATE } from '../../utils';
14
14
  import { MIN_DATE } from '../../defaults';
15
- import { classNames, Keys, getTemplate } from '@progress/kendo-vue-common';
15
+ import { classNames, Keys, getTemplate, isRtl } from '@progress/kendo-vue-common';
16
16
  import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
17
17
  /**
18
18
  * @hidden
@@ -67,6 +67,14 @@ var HeaderVue2 = {
67
67
  default: 0
68
68
  }
69
69
  },
70
+ data: function data() {
71
+ return {
72
+ currentRtl: false
73
+ };
74
+ },
75
+ mounted: function mounted() {
76
+ this.currentRtl = isRtl(this.$el);
77
+ },
70
78
  computed: {
71
79
  navigate: {
72
80
  get: function get() {
@@ -208,16 +216,16 @@ var HeaderVue2 = {
208
216
  type: "button",
209
217
  attrs: this.v3 ? undefined : {
210
218
  type: "button",
211
- icon: 'chevron-left',
212
- svgIcon: chevronLeftIcon,
219
+ icon: this.currentRtl ? 'chevron-right' : 'chevron-left',
220
+ svgIcon: this.currentRtl ? chevronRightIcon : chevronLeftIcon,
213
221
  size: this.$props.size,
214
222
  fillMode: 'flat',
215
223
  desabled: isPrevDisabled,
216
224
  "aria-label": prevViewTitle,
217
225
  title: prevViewTitle
218
226
  },
219
- icon: 'chevron-left',
220
- svgIcon: chevronLeftIcon,
227
+ icon: this.currentRtl ? 'chevron-right' : 'chevron-left',
228
+ svgIcon: this.currentRtl ? chevronRightIcon : chevronLeftIcon,
221
229
  size: this.$props.size,
222
230
  fillMode: 'flat',
223
231
  "class": "k-calendar-nav-pre",
@@ -246,16 +254,16 @@ var HeaderVue2 = {
246
254
  type: "button",
247
255
  attrs: this.v3 ? undefined : {
248
256
  type: "button",
249
- icon: 'chevron-right',
250
- svgIcon: chevronRightIcon,
257
+ icon: this.currentRtl ? 'chevron-left' : 'chevron-right',
258
+ svgIcon: this.currentRtl ? chevronLeftIcon : chevronRightIcon,
251
259
  size: this.$props.size,
252
260
  fillMode: 'flat',
253
261
  desabled: isNextDisabled,
254
262
  "aria-label": nextViewTittle,
255
263
  title: nextViewTittle
256
264
  },
257
- icon: 'chevron-right',
258
- svgIcon: chevronRightIcon,
265
+ icon: this.currentRtl ? 'chevron-left' : 'chevron-right',
266
+ svgIcon: this.currentRtl ? chevronLeftIcon : chevronRightIcon,
259
267
  size: this.$props.size,
260
268
  fillMode: 'flat',
261
269
  "class": "k-calendar-nav-next",
@@ -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: 1684762821,
8
+ publishDate: 1684827862,
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
  };
@@ -12,7 +12,7 @@ import { messages, today, prevView, nextView } from '../../messages/main.js';
12
12
  import { Action } from '../models/main.js';
13
13
  import { getToday, isInRange, dateInRange, MAX_DATE } from '../../utils.js';
14
14
  import { MIN_DATE } from '../../defaults.js';
15
- import { classNames, Keys, getTemplate } from '@progress/kendo-vue-common';
15
+ import { classNames, Keys, getTemplate, isRtl } from '@progress/kendo-vue-common';
16
16
  import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
17
17
  /**
18
18
  * @hidden
@@ -67,6 +67,14 @@ var HeaderVue2 = {
67
67
  default: 0
68
68
  }
69
69
  },
70
+ data: function data() {
71
+ return {
72
+ currentRtl: false
73
+ };
74
+ },
75
+ mounted: function mounted() {
76
+ this.currentRtl = isRtl(this.$el);
77
+ },
70
78
  computed: {
71
79
  navigate: {
72
80
  get: function get() {
@@ -208,16 +216,16 @@ var HeaderVue2 = {
208
216
  type: "button",
209
217
  attrs: this.v3 ? undefined : {
210
218
  type: "button",
211
- icon: 'chevron-left',
212
- svgIcon: chevronLeftIcon,
219
+ icon: this.currentRtl ? 'chevron-right' : 'chevron-left',
220
+ svgIcon: this.currentRtl ? chevronRightIcon : chevronLeftIcon,
213
221
  size: this.$props.size,
214
222
  fillMode: 'flat',
215
223
  desabled: isPrevDisabled,
216
224
  "aria-label": prevViewTitle,
217
225
  title: prevViewTitle
218
226
  },
219
- icon: 'chevron-left',
220
- svgIcon: chevronLeftIcon,
227
+ icon: this.currentRtl ? 'chevron-right' : 'chevron-left',
228
+ svgIcon: this.currentRtl ? chevronRightIcon : chevronLeftIcon,
221
229
  size: this.$props.size,
222
230
  fillMode: 'flat',
223
231
  "class": "k-calendar-nav-pre",
@@ -246,16 +254,16 @@ var HeaderVue2 = {
246
254
  type: "button",
247
255
  attrs: this.v3 ? undefined : {
248
256
  type: "button",
249
- icon: 'chevron-right',
250
- svgIcon: chevronRightIcon,
257
+ icon: this.currentRtl ? 'chevron-left' : 'chevron-right',
258
+ svgIcon: this.currentRtl ? chevronLeftIcon : chevronRightIcon,
251
259
  size: this.$props.size,
252
260
  fillMode: 'flat',
253
261
  desabled: isNextDisabled,
254
262
  "aria-label": nextViewTittle,
255
263
  title: nextViewTittle
256
264
  },
257
- icon: 'chevron-right',
258
- svgIcon: chevronRightIcon,
265
+ icon: this.currentRtl ? 'chevron-left' : 'chevron-right',
266
+ svgIcon: this.currentRtl ? chevronLeftIcon : chevronRightIcon,
259
267
  size: this.$props.size,
260
268
  fillMode: 'flat',
261
269
  "class": "k-calendar-nav-next",
@@ -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: 1684762821,
8
+ publishDate: 1684827862,
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
  };
@@ -73,6 +73,14 @@ var HeaderVue2 = {
73
73
  default: 0
74
74
  }
75
75
  },
76
+ data: function data() {
77
+ return {
78
+ currentRtl: false
79
+ };
80
+ },
81
+ mounted: function mounted() {
82
+ this.currentRtl = (0, kendo_vue_common_1.isRtl)(this.$el);
83
+ },
76
84
  computed: {
77
85
  navigate: {
78
86
  get: function get() {
@@ -214,16 +222,16 @@ var HeaderVue2 = {
214
222
  type: "button",
215
223
  attrs: this.v3 ? undefined : {
216
224
  type: "button",
217
- icon: 'chevron-left',
218
- svgIcon: kendo_svg_icons_1.chevronLeftIcon,
225
+ icon: this.currentRtl ? 'chevron-right' : 'chevron-left',
226
+ svgIcon: this.currentRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon,
219
227
  size: this.$props.size,
220
228
  fillMode: 'flat',
221
229
  desabled: isPrevDisabled,
222
230
  "aria-label": prevViewTitle,
223
231
  title: prevViewTitle
224
232
  },
225
- icon: 'chevron-left',
226
- svgIcon: kendo_svg_icons_1.chevronLeftIcon,
233
+ icon: this.currentRtl ? 'chevron-right' : 'chevron-left',
234
+ svgIcon: this.currentRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon,
227
235
  size: this.$props.size,
228
236
  fillMode: 'flat',
229
237
  "class": "k-calendar-nav-pre",
@@ -252,16 +260,16 @@ var HeaderVue2 = {
252
260
  type: "button",
253
261
  attrs: this.v3 ? undefined : {
254
262
  type: "button",
255
- icon: 'chevron-right',
256
- svgIcon: kendo_svg_icons_1.chevronRightIcon,
263
+ icon: this.currentRtl ? 'chevron-left' : 'chevron-right',
264
+ svgIcon: this.currentRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon,
257
265
  size: this.$props.size,
258
266
  fillMode: 'flat',
259
267
  desabled: isNextDisabled,
260
268
  "aria-label": nextViewTittle,
261
269
  title: nextViewTittle
262
270
  },
263
- icon: 'chevron-right',
264
- svgIcon: kendo_svg_icons_1.chevronRightIcon,
271
+ icon: this.currentRtl ? 'chevron-left' : 'chevron-right',
272
+ svgIcon: this.currentRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon,
265
273
  size: this.$props.size,
266
274
  fillMode: 'flat',
267
275
  "class": "k-calendar-nav-next",
@@ -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: 1684762821,
11
+ publishDate: 1684827862,
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.10.2",
4
+ "version": "3.11.0-dev.202305230751",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -54,17 +54,17 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@progress/kendo-date-math": "1.5.1",
57
- "@progress/kendo-vue-buttons": "3.10.2",
58
- "@progress/kendo-vue-common": "3.10.2",
59
- "@progress/kendo-vue-labels": "3.10.2",
60
- "@progress/kendo-vue-popup": "3.10.2"
57
+ "@progress/kendo-vue-buttons": "3.11.0-dev.202305230751",
58
+ "@progress/kendo-vue-common": "3.11.0-dev.202305230751",
59
+ "@progress/kendo-vue-labels": "3.11.0-dev.202305230751",
60
+ "@progress/kendo-vue-popup": "3.11.0-dev.202305230751"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@progress/kendo-data-query": "^1.5.4",
64
64
  "@progress/kendo-licensing": "^1.3.0",
65
65
  "@progress/kendo-svg-icons": "^1.0.0",
66
- "@progress/kendo-vue-dropdowns": "3.10.2",
67
- "@progress/kendo-vue-intl": "3.10.2"
66
+ "@progress/kendo-vue-dropdowns": "3.11.0-dev.202305230751",
67
+ "@progress/kendo-vue-intl": "3.11.0-dev.202305230751"
68
68
  },
69
69
  "author": "Progress",
70
70
  "license": "SEE LICENSE IN LICENSE.md",