@progress/kendo-vue-layout 3.5.1 → 3.5.2-dev.202209020458

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: 1660633161,
8
+ publishDate: 1662094150,
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
@@ -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: 1660633161,
8
+ publishDate: 1662094150,
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
@@ -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: 1660633161,
11
+ publishDate: 1662094150,
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
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.1",
4
+ "version": "3.5.2-dev.202209020458",
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.1",
47
- "@progress/kendo-vue-common": "3.5.1",
48
- "@progress/kendo-vue-popup": "3.5.1"
46
+ "@progress/kendo-vue-animation": "3.5.2-dev.202209020458",
47
+ "@progress/kendo-vue-common": "3.5.2-dev.202209020458",
48
+ "@progress/kendo-vue-popup": "3.5.2-dev.202209020458"
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.1",
56
- "@progress/kendo-vue-dateinputs": "3.5.1",
57
- "@progress/kendo-vue-dropdowns": "3.5.1",
58
- "@progress/kendo-vue-inputs": "3.5.1",
59
- "@progress/kendo-vue-intl": "3.5.1",
60
- "@progress/kendo-vue-progressbars": "3.5.1"
55
+ "@progress/kendo-vue-buttons": "3.5.2-dev.202209020458",
56
+ "@progress/kendo-vue-dateinputs": "3.5.2-dev.202209020458",
57
+ "@progress/kendo-vue-dropdowns": "3.5.2-dev.202209020458",
58
+ "@progress/kendo-vue-inputs": "3.5.2-dev.202209020458",
59
+ "@progress/kendo-vue-intl": "3.5.2-dev.202209020458",
60
+ "@progress/kendo-vue-progressbars": "3.5.2-dev.202209020458"
61
61
  },
62
62
  "@progress": {
63
63
  "friendlyName": "Layouts",