@progress/kendo-vue-layout 3.5.2-dev.202208171348 → 3.5.2-dev.202209020851

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.
@@ -105,10 +105,12 @@ var MenuItemInternalVue2 = {
105
105
  return focusedItemId === currentItemId;
106
106
  },
107
107
  popupClassName: function popupClassName() {
108
- return classNames({
108
+ var _a;
109
+
110
+ return classNames((_a = {
109
111
  'k-menu-popup': true,
110
112
  'k-rtl': this.$props.isDirectionRightToLeft
111
- });
113
+ }, _a[this.item.popupClass] = this.item.popupClass, _a));
112
114
  },
113
115
  menuItemClassName: function menuItemClassName() {
114
116
  var _a;
@@ -22,6 +22,10 @@ export interface BaseMenuItem {
22
22
  * The additional CSS classes that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
23
23
  */
24
24
  cssClass?: string;
25
+ /**
26
+ * The additional CSS classes that will be rendered on the item's popup.
27
+ */
28
+ popupClass?: string;
25
29
  /**
26
30
  * The CSS styles that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
27
31
  */
@@ -16,7 +16,7 @@ export function prepareInputItemsForInternalWork(models) {
16
16
  }
17
17
  function copyInputItemWithoutChildren(inputModel) {
18
18
  var result = {};
19
- var text = inputModel.text, url = inputModel.url, icon = inputModel.icon, disabled = inputModel.disabled, cssClass = inputModel.cssClass, cssStyle = inputModel.cssStyle, render = inputModel.render, linkRender = inputModel.linkRender, contentRender = inputModel.contentRender, data = inputModel.data;
19
+ var text = inputModel.text, url = inputModel.url, icon = inputModel.icon, disabled = inputModel.disabled, cssClass = inputModel.cssClass, popupClass = inputModel.popupClass, cssStyle = inputModel.cssStyle, render = inputModel.render, linkRender = inputModel.linkRender, contentRender = inputModel.contentRender, data = inputModel.data;
20
20
  if (text !== undefined) {
21
21
  result.text = text;
22
22
  }
@@ -32,6 +32,9 @@ function copyInputItemWithoutChildren(inputModel) {
32
32
  if (cssClass !== undefined) {
33
33
  result.cssClass = cssClass;
34
34
  }
35
+ if (popupClass !== undefined) {
36
+ result.popupClass = popupClass;
37
+ }
35
38
  if (cssStyle !== undefined) {
36
39
  result.cssStyle = cssStyle;
37
40
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-layout',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1660743418,
8
+ publishDate: 1662108043,
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
  };
@@ -7,7 +7,7 @@ var inject = allVue.inject;
7
7
  import { focusFirstFocusableChild, getDefaultSlots } from '@progress/kendo-vue-common';
8
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  import { DEFAULT_ANIMATION_DURATION, NO_ANIMATION } from './contants';
10
- import { messages, optionalText } from './messages';
10
+ import { messages, optionalText } from './messages/main';
11
11
  /**
12
12
  * @hidden
13
13
  */
File without changes
@@ -66,8 +66,6 @@ var TabStripContentVue2 = {
66
66
  }, selectedTab && selectedTab.contentClassName);
67
67
 
68
68
  var renderChild = function renderChild(tab, idx) {
69
- var _this = this;
70
-
71
69
  var visible = idx === this.$props.selected;
72
70
  var animationStyle = {
73
71
  position: 'initial',
@@ -79,46 +77,33 @@ var TabStripContentVue2 = {
79
77
  template: tab.content,
80
78
  defaultRendering: null
81
79
  }) : tab;
82
- return (// @ts-ignore function children
83
- h(Fade, {
84
- appear: this.v3 ? true : visible,
85
- attrs: this.v3 ? undefined : {
86
- appear: this.v3 ? true : visible,
87
- enter: this.$props.animation,
88
- exit: this.$props.keepTabsMounted
89
- },
90
- key: idx,
91
- "class": this.animationClass[idx],
92
- enter: this.$props.animation,
93
- exit: this.$props.keepTabsMounted,
94
- style: animationStyle
95
- }, this.v3 ? function () {
96
- return [h("div", {
97
- role: 'tabpanel',
98
- attrs: _this.v3 ? undefined : {
99
- role: 'tabpanel',
100
- "aria-expanded": true,
101
- id: String(_this.contentId + idx)
102
- },
103
- "aria-expanded": true,
104
- id: String(_this.contentId + idx),
105
- key: idx
106
- }, [// hasTabs ?
107
- // visible ? content : null
108
- // :
109
- content])];
110
- } : [h("div", {
80
+ var tabPanel = h("div", {
81
+ role: 'tabpanel',
82
+ attrs: this.v3 ? undefined : {
111
83
  role: 'tabpanel',
112
- attrs: _this.v3 ? undefined : {
113
- role: 'tabpanel',
114
- "aria-expanded": true,
115
- id: String(_this.contentId + idx)
116
- },
117
84
  "aria-expanded": true,
118
- id: String(_this.contentId + idx),
119
- key: idx
120
- }, [content])])
121
- );
85
+ id: String(this.contentId + idx)
86
+ },
87
+ "aria-expanded": true,
88
+ id: String(this.contentId + idx),
89
+ key: idx
90
+ }, [content]);
91
+ return (hasTabs ? this.animation : true) ? // @ts-ignore function children
92
+ h(Fade, {
93
+ appear: this.v3 ? true : visible,
94
+ attrs: this.v3 ? undefined : {
95
+ appear: this.v3 ? true : visible,
96
+ enter: this.$props.animation,
97
+ exit: this.$props.keepTabsMounted
98
+ },
99
+ key: idx,
100
+ "class": this.animationClass[idx],
101
+ enter: this.$props.animation,
102
+ exit: this.$props.keepTabsMounted,
103
+ style: animationStyle
104
+ }, this.v3 ? function () {
105
+ return [tabPanel];
106
+ } : [tabPanel]) : visible ? tabPanel : null;
122
107
  };
123
108
 
124
109
  var renderContent = function renderContent() {
@@ -105,10 +105,12 @@ var MenuItemInternalVue2 = {
105
105
  return focusedItemId === currentItemId;
106
106
  },
107
107
  popupClassName: function popupClassName() {
108
- return classNames({
108
+ var _a;
109
+
110
+ return classNames((_a = {
109
111
  'k-menu-popup': true,
110
112
  'k-rtl': this.$props.isDirectionRightToLeft
111
- });
113
+ }, _a[this.item.popupClass] = this.item.popupClass, _a));
112
114
  },
113
115
  menuItemClassName: function menuItemClassName() {
114
116
  var _a;
@@ -22,6 +22,10 @@ export interface BaseMenuItem {
22
22
  * The additional CSS classes that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
23
23
  */
24
24
  cssClass?: string;
25
+ /**
26
+ * The additional CSS classes that will be rendered on the item's popup.
27
+ */
28
+ popupClass?: string;
25
29
  /**
26
30
  * The CSS styles that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
27
31
  */
@@ -16,7 +16,7 @@ export function prepareInputItemsForInternalWork(models) {
16
16
  }
17
17
  function copyInputItemWithoutChildren(inputModel) {
18
18
  var result = {};
19
- var text = inputModel.text, url = inputModel.url, icon = inputModel.icon, disabled = inputModel.disabled, cssClass = inputModel.cssClass, cssStyle = inputModel.cssStyle, render = inputModel.render, linkRender = inputModel.linkRender, contentRender = inputModel.contentRender, data = inputModel.data;
19
+ var text = inputModel.text, url = inputModel.url, icon = inputModel.icon, disabled = inputModel.disabled, cssClass = inputModel.cssClass, popupClass = inputModel.popupClass, cssStyle = inputModel.cssStyle, render = inputModel.render, linkRender = inputModel.linkRender, contentRender = inputModel.contentRender, data = inputModel.data;
20
20
  if (text !== undefined) {
21
21
  result.text = text;
22
22
  }
@@ -32,6 +32,9 @@ function copyInputItemWithoutChildren(inputModel) {
32
32
  if (cssClass !== undefined) {
33
33
  result.cssClass = cssClass;
34
34
  }
35
+ if (popupClass !== undefined) {
36
+ result.popupClass = popupClass;
37
+ }
35
38
  if (cssStyle !== undefined) {
36
39
  result.cssStyle = cssStyle;
37
40
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-layout',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1660743418,
8
+ publishDate: 1662108043,
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
  };
@@ -7,7 +7,7 @@ var inject = allVue.inject;
7
7
  import { focusFirstFocusableChild, getDefaultSlots } from '@progress/kendo-vue-common';
8
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  import { DEFAULT_ANIMATION_DURATION, NO_ANIMATION } from './contants.js';
10
- import { messages, optionalText } from './messages.js';
10
+ import { messages, optionalText } from './messages/main.js';
11
11
  /**
12
12
  * @hidden
13
13
  */
File without changes
@@ -66,8 +66,6 @@ var TabStripContentVue2 = {
66
66
  }, selectedTab && selectedTab.contentClassName);
67
67
 
68
68
  var renderChild = function renderChild(tab, idx) {
69
- var _this = this;
70
-
71
69
  var visible = idx === this.$props.selected;
72
70
  var animationStyle = {
73
71
  position: 'initial',
@@ -79,46 +77,33 @@ var TabStripContentVue2 = {
79
77
  template: tab.content,
80
78
  defaultRendering: null
81
79
  }) : tab;
82
- return (// @ts-ignore function children
83
- h(Fade, {
84
- appear: this.v3 ? true : visible,
85
- attrs: this.v3 ? undefined : {
86
- appear: this.v3 ? true : visible,
87
- enter: this.$props.animation,
88
- exit: this.$props.keepTabsMounted
89
- },
90
- key: idx,
91
- "class": this.animationClass[idx],
92
- enter: this.$props.animation,
93
- exit: this.$props.keepTabsMounted,
94
- style: animationStyle
95
- }, this.v3 ? function () {
96
- return [h("div", {
97
- role: 'tabpanel',
98
- attrs: _this.v3 ? undefined : {
99
- role: 'tabpanel',
100
- "aria-expanded": true,
101
- id: String(_this.contentId + idx)
102
- },
103
- "aria-expanded": true,
104
- id: String(_this.contentId + idx),
105
- key: idx
106
- }, [// hasTabs ?
107
- // visible ? content : null
108
- // :
109
- content])];
110
- } : [h("div", {
80
+ var tabPanel = h("div", {
81
+ role: 'tabpanel',
82
+ attrs: this.v3 ? undefined : {
111
83
  role: 'tabpanel',
112
- attrs: _this.v3 ? undefined : {
113
- role: 'tabpanel',
114
- "aria-expanded": true,
115
- id: String(_this.contentId + idx)
116
- },
117
84
  "aria-expanded": true,
118
- id: String(_this.contentId + idx),
119
- key: idx
120
- }, [content])])
121
- );
85
+ id: String(this.contentId + idx)
86
+ },
87
+ "aria-expanded": true,
88
+ id: String(this.contentId + idx),
89
+ key: idx
90
+ }, [content]);
91
+ return (hasTabs ? this.animation : true) ? // @ts-ignore function children
92
+ h(Fade, {
93
+ appear: this.v3 ? true : visible,
94
+ attrs: this.v3 ? undefined : {
95
+ appear: this.v3 ? true : visible,
96
+ enter: this.$props.animation,
97
+ exit: this.$props.keepTabsMounted
98
+ },
99
+ key: idx,
100
+ "class": this.animationClass[idx],
101
+ enter: this.$props.animation,
102
+ exit: this.$props.keepTabsMounted,
103
+ style: animationStyle
104
+ }, this.v3 ? function () {
105
+ return [tabPanel];
106
+ } : [tabPanel]) : visible ? tabPanel : null;
122
107
  };
123
108
 
124
109
  var renderContent = function renderContent() {
@@ -120,10 +120,12 @@ var MenuItemInternalVue2 = {
120
120
  return focusedItemId === currentItemId;
121
121
  },
122
122
  popupClassName: function popupClassName() {
123
- return (0, kendo_vue_common_1.classNames)({
123
+ var _a;
124
+
125
+ return (0, kendo_vue_common_1.classNames)((_a = {
124
126
  'k-menu-popup': true,
125
127
  'k-rtl': this.$props.isDirectionRightToLeft
126
- });
128
+ }, _a[this.item.popupClass] = this.item.popupClass, _a));
127
129
  },
128
130
  menuItemClassName: function menuItemClassName() {
129
131
  var _a;
@@ -22,6 +22,10 @@ export interface BaseMenuItem {
22
22
  * The additional CSS classes that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
23
23
  */
24
24
  cssClass?: string;
25
+ /**
26
+ * The additional CSS classes that will be rendered on the item's popup.
27
+ */
28
+ popupClass?: string;
25
29
  /**
26
30
  * The CSS styles that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
27
31
  */
@@ -20,7 +20,7 @@ function prepareInputItemsForInternalWork(models) {
20
20
  exports.prepareInputItemsForInternalWork = prepareInputItemsForInternalWork;
21
21
  function copyInputItemWithoutChildren(inputModel) {
22
22
  var result = {};
23
- var text = inputModel.text, url = inputModel.url, icon = inputModel.icon, disabled = inputModel.disabled, cssClass = inputModel.cssClass, cssStyle = inputModel.cssStyle, render = inputModel.render, linkRender = inputModel.linkRender, contentRender = inputModel.contentRender, data = inputModel.data;
23
+ var text = inputModel.text, url = inputModel.url, icon = inputModel.icon, disabled = inputModel.disabled, cssClass = inputModel.cssClass, popupClass = inputModel.popupClass, cssStyle = inputModel.cssStyle, render = inputModel.render, linkRender = inputModel.linkRender, contentRender = inputModel.contentRender, data = inputModel.data;
24
24
  if (text !== undefined) {
25
25
  result.text = text;
26
26
  }
@@ -36,6 +36,9 @@ function copyInputItemWithoutChildren(inputModel) {
36
36
  if (cssClass !== undefined) {
37
37
  result.cssClass = cssClass;
38
38
  }
39
+ if (popupClass !== undefined) {
40
+ result.popupClass = popupClass;
41
+ }
39
42
  if (cssStyle !== undefined) {
40
43
  result.cssStyle = cssStyle;
41
44
  }
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-layout',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1660743418,
11
+ publishDate: 1662108043,
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
  };
@@ -18,7 +18,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
18
18
 
19
19
  var contants_1 = require("./contants");
20
20
 
21
- var messages_1 = require("./messages");
21
+ var main_1 = require("./messages/main");
22
22
  /**
23
23
  * @hidden
24
24
  */
@@ -131,10 +131,10 @@ var StepVue2 = {
131
131
  var localizationService = (0, kendo_vue_intl_1.provideLocalizationService)(this);
132
132
 
133
133
  var localizeMessage = function localizeMessage(message) {
134
- return localizationService.toLanguageString(message, messages_1.messages[message]);
134
+ return localizationService.toLanguageString(message, main_1.messages[message]);
135
135
  };
136
136
 
137
- var optionalMessage = localizeMessage(messages_1.optionalText);
137
+ var optionalMessage = localizeMessage(main_1.optionalText);
138
138
  var progressAnimation = typeof animationDuration === 'number' ? animationDuration : animationDuration !== false ? contants_1.DEFAULT_ANIMATION_DURATION : contants_1.NO_ANIMATION;
139
139
  var validationIconClasses = isValid ? successIcon ? "".concat(successIcon) : 'k-icon k-i-check' : errorIcon ? "".concat(errorIcon) : 'k-icon k-i-warning';
140
140
  var validationIcons = h("span", {
File without changes
@@ -77,8 +77,6 @@ var TabStripContentVue2 = {
77
77
  }, selectedTab && selectedTab.contentClassName);
78
78
 
79
79
  var renderChild = function renderChild(tab, idx) {
80
- var _this = this;
81
-
82
80
  var visible = idx === this.$props.selected;
83
81
  var animationStyle = {
84
82
  position: 'initial',
@@ -90,46 +88,33 @@ var TabStripContentVue2 = {
90
88
  template: tab.content,
91
89
  defaultRendering: null
92
90
  }) : tab;
93
- return (// @ts-ignore function children
94
- h(kendo_vue_animation_1.Fade, {
95
- appear: this.v3 ? true : visible,
96
- attrs: this.v3 ? undefined : {
97
- appear: this.v3 ? true : visible,
98
- enter: this.$props.animation,
99
- exit: this.$props.keepTabsMounted
100
- },
101
- key: idx,
102
- "class": this.animationClass[idx],
103
- enter: this.$props.animation,
104
- exit: this.$props.keepTabsMounted,
105
- style: animationStyle
106
- }, this.v3 ? function () {
107
- return [h("div", {
108
- role: 'tabpanel',
109
- attrs: _this.v3 ? undefined : {
110
- role: 'tabpanel',
111
- "aria-expanded": true,
112
- id: String(_this.contentId + idx)
113
- },
114
- "aria-expanded": true,
115
- id: String(_this.contentId + idx),
116
- key: idx
117
- }, [// hasTabs ?
118
- // visible ? content : null
119
- // :
120
- content])];
121
- } : [h("div", {
91
+ var tabPanel = h("div", {
92
+ role: 'tabpanel',
93
+ attrs: this.v3 ? undefined : {
122
94
  role: 'tabpanel',
123
- attrs: _this.v3 ? undefined : {
124
- role: 'tabpanel',
125
- "aria-expanded": true,
126
- id: String(_this.contentId + idx)
127
- },
128
95
  "aria-expanded": true,
129
- id: String(_this.contentId + idx),
130
- key: idx
131
- }, [content])])
132
- );
96
+ id: String(this.contentId + idx)
97
+ },
98
+ "aria-expanded": true,
99
+ id: String(this.contentId + idx),
100
+ key: idx
101
+ }, [content]);
102
+ return (hasTabs ? this.animation : true) ? // @ts-ignore function children
103
+ h(kendo_vue_animation_1.Fade, {
104
+ appear: this.v3 ? true : visible,
105
+ attrs: this.v3 ? undefined : {
106
+ appear: this.v3 ? true : visible,
107
+ enter: this.$props.animation,
108
+ exit: this.$props.keepTabsMounted
109
+ },
110
+ key: idx,
111
+ "class": this.animationClass[idx],
112
+ enter: this.$props.animation,
113
+ exit: this.$props.keepTabsMounted,
114
+ style: animationStyle
115
+ }, this.v3 ? function () {
116
+ return [tabPanel];
117
+ } : [tabPanel]) : visible ? tabPanel : null;
133
118
  };
134
119
 
135
120
  var renderContent = function renderContent() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-layout",
3
3
  "description": "Kendo UI for Vue Layouts package",
4
- "version": "3.5.2-dev.202208171348",
4
+ "version": "3.5.2-dev.202209020851",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -43,21 +43,21 @@
43
43
  "vue": "^2.6.12 || ^3.0.2"
44
44
  },
45
45
  "dependencies": {
46
- "@progress/kendo-vue-animation": "3.5.2-dev.202208171348",
47
- "@progress/kendo-vue-common": "3.5.2-dev.202208171348",
48
- "@progress/kendo-vue-popup": "3.5.2-dev.202208171348"
46
+ "@progress/kendo-vue-animation": "3.5.2-dev.202209020851",
47
+ "@progress/kendo-vue-common": "3.5.2-dev.202209020851",
48
+ "@progress/kendo-vue-popup": "3.5.2-dev.202209020851"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@progress/kendo-data-query": "^1.5.0",
52
52
  "@progress/kendo-date-math": "^1.5.1",
53
53
  "@progress/kendo-drawing": "^1.8.0",
54
54
  "@progress/kendo-licensing": "^1.0.1",
55
- "@progress/kendo-vue-buttons": "3.5.2-dev.202208171348",
56
- "@progress/kendo-vue-dateinputs": "3.5.2-dev.202208171348",
57
- "@progress/kendo-vue-dropdowns": "3.5.2-dev.202208171348",
58
- "@progress/kendo-vue-inputs": "3.5.2-dev.202208171348",
59
- "@progress/kendo-vue-intl": "3.5.2-dev.202208171348",
60
- "@progress/kendo-vue-progressbars": "3.5.2-dev.202208171348"
55
+ "@progress/kendo-vue-buttons": "3.5.2-dev.202209020851",
56
+ "@progress/kendo-vue-dateinputs": "3.5.2-dev.202209020851",
57
+ "@progress/kendo-vue-dropdowns": "3.5.2-dev.202209020851",
58
+ "@progress/kendo-vue-inputs": "3.5.2-dev.202209020851",
59
+ "@progress/kendo-vue-intl": "3.5.2-dev.202209020851",
60
+ "@progress/kendo-vue-progressbars": "3.5.2-dev.202209020851"
61
61
  },
62
62
  "@progress": {
63
63
  "friendlyName": "Layouts",