@progress/kendo-vue-layout 3.13.0 → 3.14.0-dev.202309120835

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.
Files changed (32) hide show
  1. package/dist/cdn/js/kendo-vue-layout.js +1 -1
  2. package/dist/es/drawer/Drawer.js +8 -4
  3. package/dist/es/drawer/DrawerNavigation.js +5 -3
  4. package/dist/es/menu/components/MenuItemInternal.d.ts +1 -0
  5. package/dist/es/menu/components/MenuItemInternal.js +40 -27
  6. package/dist/es/menu/models/BaseMenuItem.d.ts +5 -1
  7. package/dist/es/menu/utils/prepareInputItemsForInternalWork.js +4 -1
  8. package/dist/es/package-metadata.js +1 -1
  9. package/dist/es/panelbar/PanelBar.js +5 -3
  10. package/dist/es/tabstrip/TabStrip.js +7 -4
  11. package/dist/es/tilelayout/TileLayout.js +8 -4
  12. package/dist/esm/drawer/Drawer.js +8 -4
  13. package/dist/esm/drawer/DrawerNavigation.js +5 -3
  14. package/dist/esm/menu/components/MenuItemInternal.d.ts +1 -0
  15. package/dist/esm/menu/components/MenuItemInternal.js +40 -27
  16. package/dist/esm/menu/models/BaseMenuItem.d.ts +5 -1
  17. package/dist/esm/menu/utils/prepareInputItemsForInternalWork.js +4 -1
  18. package/dist/esm/package-metadata.js +1 -1
  19. package/dist/esm/panelbar/PanelBar.js +5 -3
  20. package/dist/esm/tabstrip/TabStrip.js +7 -4
  21. package/dist/esm/tilelayout/TileLayout.js +8 -4
  22. package/dist/npm/drawer/Drawer.js +7 -3
  23. package/dist/npm/drawer/DrawerNavigation.js +4 -2
  24. package/dist/npm/menu/components/MenuItemInternal.d.ts +1 -0
  25. package/dist/npm/menu/components/MenuItemInternal.js +39 -26
  26. package/dist/npm/menu/models/BaseMenuItem.d.ts +5 -1
  27. package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +4 -1
  28. package/dist/npm/package-metadata.js +1 -1
  29. package/dist/npm/panelbar/PanelBar.js +4 -2
  30. package/dist/npm/tabstrip/TabStrip.js +6 -3
  31. package/dist/npm/tilelayout/TileLayout.js +7 -3
  32. package/package.json +13 -13
@@ -11,9 +11,13 @@ export interface BaseMenuItem {
11
11
  */
12
12
  url?: string;
13
13
  /**
14
- * Specifies the name of the [font icon]({% slug icons %}#toc-list-of-font-icons) that will be rendered for the item ([see example]({% slug itemproperties_menu %}#toc-icon)).
14
+ * Specifies the name of the [FontIcon]({% slug overview_icon %}) that will be rendered for the item).
15
15
  */
16
16
  icon?: string;
17
+ /**
18
+ * Specifies the name of the [SVGIcon]({% slug overview_svgicon %}) that will be rendered for the item).
19
+ */
20
+ svgIcon?: string;
17
21
  /**
18
22
  * Specifies if the item is disabled ([see example]({% slug itemproperties_menu %}#toc-disabled-state)).
19
23
  */
@@ -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, popupClass = inputModel.popupClass, 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, svgIcon = inputModel.svgIcon, 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
  }
@@ -26,6 +26,9 @@ function copyInputItemWithoutChildren(inputModel) {
26
26
  if (icon !== undefined) {
27
27
  result.icon = icon;
28
28
  }
29
+ if (svgIcon !== undefined) {
30
+ result.svgIcon = svgIcon;
31
+ }
29
32
  if (disabled !== undefined) {
30
33
  result.disabled = disabled;
31
34
  }
@@ -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: 1693312682,
8
+ publishDate: 1694507215,
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
  };
@@ -27,7 +27,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
27
27
  import { PanelBarItem } from './PanelBarItem.js';
28
28
  import { renderChildren, getInitialState, flatVisibleChildren, flatChildren, isArrayEqual, getFirstId } from './util.js';
29
29
  import { classNames, Keys } from '@progress/kendo-vue-common';
30
- import { validatePackage } from '@progress/kendo-vue-common';
30
+ import { validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-vue-common';
31
31
  import { packageMetadata } from '../package-metadata.js';
32
32
  import { NavigationAction } from './interfaces/NavigationAction.js';
33
33
  /**
@@ -66,6 +66,7 @@ var PanelBarVue2 = {
66
66
  created: function created() {
67
67
  this.activeDescendant = null;
68
68
  validatePackage(packageMetadata);
69
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
69
70
  },
70
71
  data: function data() {
71
72
  var initialState = getInitialState(this.$props, this.expandMode);
@@ -115,7 +116,8 @@ var PanelBarVue2 = {
115
116
  // @ts-ignore
116
117
  render: function render(createElement) {
117
118
  var h = gh || createElement;
118
- var className = classNames('k-panelbar', this.$props.className);
119
+ var className = classNames('k-panelbar', 'k-pos-relative', this.$props.className);
120
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
119
121
  return h("ul", {
120
122
  dir: this.$props.dir,
121
123
  attrs: this.v3 ? undefined : {
@@ -144,7 +146,7 @@ var PanelBarVue2 = {
144
146
  }, item), {
145
147
  item: item
146
148
  }));
147
- }, this)]);
149
+ }, this), watermark]);
148
150
  },
149
151
  methods: {
150
152
  handleSelect: function handleSelect(event) {
@@ -19,7 +19,7 @@ var ref = allVue.ref;
19
19
  var inject = allVue.inject;
20
20
  import { TabStripNavigation } from './TabStripNavigation.js';
21
21
  import { TabStripContent } from './TabStripContent.js';
22
- import { Keys, classNames, getDefaultSlots, validatePackage, templateRendering, getListeners } from '@progress/kendo-vue-common';
22
+ import { Keys, classNames, getDefaultSlots, validatePackage, shouldShowValidationUI, WatermarkOverlay, templateRendering, getListeners } from '@progress/kendo-vue-common';
23
23
  import { packageMetadata } from '../package-metadata.js';
24
24
  /**
25
25
  * @hidden
@@ -51,7 +51,8 @@ var TabStripVue2 = {
51
51
  data: function data() {
52
52
  return {
53
53
  currentShowAll: true,
54
- currentTabs: []
54
+ currentTabs: [],
55
+ showLicenseWatermark: false
55
56
  };
56
57
  },
57
58
  computed: {
@@ -90,6 +91,7 @@ var TabStripVue2 = {
90
91
  return _this.compTabs.length - 1;
91
92
  }, _a);
92
93
  validatePackage(packageMetadata);
94
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
93
95
  },
94
96
  watch: {
95
97
  selected: function selected(_prevIndex, _nextIndex) {
@@ -235,7 +237,8 @@ var TabStripVue2 = {
235
237
  _c = _b.tabIndex,
236
238
  tabIndex = _c === void 0 ? 0 : _c;
237
239
  var bottom = tabPosition === 'bottom';
238
- var componentClasses = classNames('k-widget', 'k-tabstrip', (_a = {}, _a['k-tabstrip-left'] = tabPosition === 'left', _a['k-tabstrip-right'] = tabPosition === 'right', _a['k-tabstrip-bottom'] = tabPosition === 'bottom', _a['k-tabstrip-top'] = tabPosition === 'top', _a));
240
+ var componentClasses = classNames('k-widget', 'k-pos-relative', 'k-tabstrip', (_a = {}, _a['k-tabstrip-left'] = tabPosition === 'left', _a['k-tabstrip-right'] = tabPosition === 'right', _a['k-tabstrip-bottom'] = tabPosition === 'bottom', _a['k-tabstrip-top'] = tabPosition === 'top', _a));
241
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
239
242
  var renderContent = function renderContent(currentTabProps) {
240
243
  var selected = currentTabProps.selected,
241
244
  tabContentStyle = currentTabProps.tabContentStyle;
@@ -299,7 +302,7 @@ var TabStripVue2 = {
299
302
  },
300
303
  onKeydown: this.onKeyDown,
301
304
  tabIndex: tabIndex
302
- })]);
305
+ }), watermark]);
303
306
  }
304
307
  };
305
308
  /**
@@ -3,7 +3,7 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { getListeners, getTemplate, getter, templateRendering, validatePackage, guid } from '@progress/kendo-vue-common';
6
+ import { getListeners, getTemplate, getter, templateRendering, validatePackage, shouldShowValidationUI, WatermarkOverlay, guid } from '@progress/kendo-vue-common';
7
7
  import { packageMetadata } from '../package-metadata.js';
8
8
  import { Tile } from './Tile.js';
9
9
  /**
@@ -42,10 +42,12 @@ var TileLayoutVue2 = {
42
42
  },
43
43
  created: function created() {
44
44
  validatePackage(packageMetadata);
45
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
45
46
  },
46
47
  data: function data() {
47
48
  return {
48
- currentPositions: []
49
+ currentPositions: [],
50
+ showLicenseWatermark: false
49
51
  };
50
52
  },
51
53
  computed: {
@@ -80,7 +82,8 @@ var TileLayoutVue2 = {
80
82
  var _a;
81
83
  var autoFlow = this.$props.autoFlow;
82
84
  return _a = {
83
- 'k-tilelayout': true
85
+ 'k-tilelayout': true,
86
+ 'k-pos-relative': true
84
87
  }, _a[AUTO_FLOW_CLASSES[autoFlow]] = true, _a;
85
88
  }
86
89
  },
@@ -110,6 +113,7 @@ var TileLayoutVue2 = {
110
113
  gap: gapValue,
111
114
  padding: gapValue
112
115
  };
116
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
113
117
  return h("div", {
114
118
  dir: this.$props.dir,
115
119
  attrs: this.v3 ? undefined : {
@@ -213,7 +217,7 @@ var TileLayoutVue2 = {
213
217
  "class": 'k-tilelayout-item-body k-card-body'
214
218
  }, [tile.body ? bodyContent : tile.bodyText])]])
215
219
  );
216
- }, this)]);
220
+ }, this), watermark]);
217
221
  },
218
222
  methods: {
219
223
  focus: function focus() {
@@ -67,6 +67,7 @@ var DrawerVue2 = {
67
67
  },
68
68
  created: function created() {
69
69
  (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
70
+ this.showLicenseWatermark = (0, kendo_vue_common_1.shouldShowValidationUI)(package_metadata_1.packageMetadata);
70
71
  },
71
72
  data: function data() {
72
73
  var _a = this.$props,
@@ -93,7 +94,8 @@ var DrawerVue2 = {
93
94
  miniWidth: miniWidth,
94
95
  items: items,
95
96
  item: itemRender
96
- }
97
+ },
98
+ showLicenseWatermark: false
97
99
  };
98
100
  },
99
101
  mounted: function mounted() {
@@ -183,8 +185,10 @@ var DrawerVue2 = {
183
185
  },
184
186
  item: itemRender,
185
187
  attrs: this.v3 ? undefined : {
186
- item: itemRender
187
- }
188
+ item: itemRender,
189
+ showLicenseWatermark: this.showLicenseWatermark
190
+ },
191
+ showLicenseWatermark: this.showLicenseWatermark
188
192
  }), defaultSlot]);
189
193
  },
190
194
  methods: {
@@ -52,7 +52,8 @@ var DrawerNavigationVue2 = {
52
52
  name: 'KendoDrawerNavigation',
53
53
  props: {
54
54
  item: [Object],
55
- tabIndex: Number
55
+ tabIndex: Number,
56
+ showLicenseWatermark: Boolean
56
57
  },
57
58
  inject: {
58
59
  kendoDrawer: {
@@ -128,6 +129,7 @@ var DrawerNavigationVue2 = {
128
129
  WebkitTransitionDuration: (customSettings && customSettings.duration) + 'ms',
129
130
  transitionDuration: (customSettings && customSettings.duration) + 'ms'
130
131
  };
132
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_1.WatermarkOverlay) : null;
131
133
  var drawerAnimation = expanded ? mode === 'push' ? expandPush : expandOverlay : mode === 'push' ? collapsePush : dir === 'ltr' && position === 'start' || dir === 'rtl' && position === 'end' ? mini ? collapseOverlayMini : collapseOverlay : mini ? collapseOverlayMini : collapseOverlayRtl;
132
134
  var drawerItems = items && h("ul", {
133
135
  "class": 'k-drawer-items',
@@ -181,7 +183,7 @@ var DrawerNavigationVue2 = {
181
183
  }
182
184
  });
183
185
  return itemRendering;
184
- }, this)]);
186
+ }, this), watermark]);
185
187
  var drawerNavigation = h("div", {
186
188
  style: drawerAnimation,
187
189
  "class": this.navigationClassNames
@@ -32,6 +32,7 @@ export interface MenuItemInternalComputed {
32
32
  currentFocused: boolean;
33
33
  popupClassName: string;
34
34
  menuItemClassName: object;
35
+ hasItems: boolean;
35
36
  }
36
37
  /**
37
38
  * @hidden
@@ -88,6 +88,9 @@ var MenuItemInternalVue2 = {
88
88
  }
89
89
  },
90
90
  computed: {
91
+ hasItems: function hasItems() {
92
+ return this.$props.item.items.length > 0;
93
+ },
91
94
  currentItemRender: function currentItemRender() {
92
95
  return this.$props.item.render || this.$props.itemRender;
93
96
  },
@@ -99,7 +102,7 @@ var MenuItemInternalVue2 = {
99
102
  },
100
103
  currentOpened: function currentOpened() {
101
104
  var props = this.$props;
102
- return props.item.items.length > 0 && (0, itemsIdsUtils_1.shouldOpenItem)(props.item.id, props.lastItemIdToBeOpened) &&
105
+ return this.hasItems && (0, itemsIdsUtils_1.shouldOpenItem)(props.item.id, props.lastItemIdToBeOpened) &&
103
106
  // HACK: Wait for the second render because otherwise the scenario of
104
107
  // popup inside popup throws an error (for example, hover of item with id '0_0').
105
108
  !this.isFirstRender;
@@ -140,10 +143,19 @@ var MenuItemInternalVue2 = {
140
143
  render: function render(createElement) {
141
144
  var _this = this;
142
145
  var h = gh || createElement;
143
- var item = this.$props.item;
144
- var itemId = item.id;
146
+ var _a = this.$props.item,
147
+ icon = _a.icon,
148
+ svgIcon = _a.svgIcon,
149
+ id = _a.id,
150
+ contentParentItemId = _a.contentParentItemId,
151
+ items = _a.items,
152
+ text = _a.text,
153
+ cssStyle = _a.cssStyle,
154
+ disabled = _a.disabled,
155
+ url = _a.url;
156
+ var itemId = id;
145
157
  var renderContent = function renderContent() {
146
- var parentItemId = this.$props.item.contentParentItemId;
158
+ var parentItemId = contentParentItemId;
147
159
  var contentRender = function contentRender(args) {
148
160
  return kendo_vue_common_1.getTemplate.call(this, {
149
161
  h: h,
@@ -163,21 +175,22 @@ var MenuItemInternalVue2 = {
163
175
  })]);
164
176
  };
165
177
  var renderMenuIconIfApplicable = function renderMenuIconIfApplicable() {
166
- return this.$props.item.icon ? h(kendo_vue_common_1.Icon, {
167
- name: this.$props.item.icon,
178
+ return icon || svgIcon ? h(kendo_vue_common_1.Icon, {
179
+ name: (0, kendo_vue_common_1.getIconName)(icon),
168
180
  attrs: this.v3 ? undefined : {
169
- name: this.$props.item.icon
181
+ name: (0, kendo_vue_common_1.getIconName)(icon),
182
+ icon: svgIcon
170
183
  },
171
- key: "0"
184
+ icon: svgIcon
172
185
  }) : null;
173
186
  };
174
187
  var renderArrowIfApplicable = function renderArrowIfApplicable() {
175
- return this.$props.item.items.length > 0 ?
188
+ return this.hasItems ?
176
189
  // @ts-ignore
177
190
  h(MenuItemArrow_1.MenuItemArrow, {
178
- itemId: this.$props.item.id,
191
+ itemId: id,
179
192
  attrs: this.v3 ? undefined : {
180
- itemId: this.$props.item.id,
193
+ itemId: id,
181
194
  verticalMenu: this.$props.isMenuVertical,
182
195
  dir: (0, misc_1.convertBoolDirectionToString)(this.$props.isDirectionRightToLeft)
183
196
  },
@@ -186,28 +199,28 @@ var MenuItemInternalVue2 = {
186
199
  key: "2"
187
200
  }) : null;
188
201
  };
189
- var originalItem = this.$props.originalItemNeeded(item.id);
202
+ var originalItem = this.$props.originalItemNeeded(id);
190
203
  var renderMenuItemLink = function renderMenuItemLink() {
191
204
  var _this2 = this;
192
205
  var defaultItemRender = h("span", {
193
206
  "class": "k-menu-link-text"
194
- }, [item.text]);
207
+ }, [text]);
195
208
  var textOrItemRender = kendo_vue_common_1.getTemplate.call(this, {
196
209
  h: h,
197
210
  template: this.currentItemRender,
198
211
  defaultRendering: defaultItemRender,
199
212
  additionalProps: {
200
213
  item: originalItem,
201
- itemId: item.id,
214
+ itemId: id,
202
215
  key: '1'
203
216
  }
204
217
  });
205
218
  var defaultLink =
206
219
  // @ts-ignore function children
207
220
  h(MenuItemLink_1.MenuItemLink, {
208
- url: item.url,
221
+ url: url,
209
222
  attrs: this.v3 ? undefined : {
210
- url: item.url,
223
+ url: url,
211
224
  opened: this.currentOpened,
212
225
  focused: this.currentFocused
213
226
  },
@@ -222,7 +235,7 @@ var MenuItemInternalVue2 = {
222
235
  defaultRendering: defaultLink,
223
236
  additionalProps: {
224
237
  item: originalItem,
225
- itemId: item.id,
238
+ itemId: id,
226
239
  opened: this.currentOpened,
227
240
  dir: (0, misc_1.convertBoolDirectionToString)(this.$props.isDirectionRightToLeft)
228
241
  }
@@ -347,15 +360,15 @@ var MenuItemInternalVue2 = {
347
360
  };
348
361
  return h("li", {
349
362
  "class": this.menuItemClassName,
350
- style: item.cssStyle,
363
+ style: cssStyle,
351
364
  tabindex: itemId === this.$props.tabbableItemId ? 0 : -1,
352
365
  attrs: this.v3 ? undefined : {
353
366
  tabindex: itemId === this.$props.tabbableItemId ? 0 : -1,
354
367
  role: "menuitem",
355
- "aria-disabled": item.disabled ? true : undefined,
356
- "aria-haspopup": item.items.length > 0 ? true : undefined,
357
- "aria-expanded": item.items.length > 0 ? this.currentOpened : undefined,
358
- "aria-label": item.text,
368
+ "aria-disabled": disabled ? true : undefined,
369
+ "aria-haspopup": this.hasItems ? true : undefined,
370
+ "aria-expanded": this.hasItems ? this.currentOpened : undefined,
371
+ "aria-label": text,
359
372
  "aria-owns": this.currentOpened ? (0, misc_1.getDOMElementId)(this.$props.menuGuid, itemId) : undefined
360
373
  },
361
374
  onMouseover: this.onMouseOver,
@@ -391,10 +404,10 @@ var MenuItemInternalVue2 = {
391
404
  },
392
405
  onKeydown: this.handleKeyDown,
393
406
  role: "menuitem",
394
- "aria-disabled": item.disabled ? true : undefined,
395
- "aria-haspopup": item.items.length > 0 ? true : undefined,
396
- "aria-expanded": item.items.length > 0 ? this.currentOpened : undefined,
397
- "aria-label": item.text,
407
+ "aria-disabled": disabled ? true : undefined,
408
+ "aria-haspopup": this.hasItems ? true : undefined,
409
+ "aria-expanded": this.hasItems ? this.currentOpened : undefined,
410
+ "aria-label": text,
398
411
  "aria-owns": this.currentOpened ? (0, misc_1.getDOMElementId)(this.$props.menuGuid, itemId) : undefined,
399
412
  ref: (0, kendo_vue_common_1.setRef)(this, 'kendoAnchor', this._anchor),
400
413
  key: "0"
@@ -11,9 +11,13 @@ export interface BaseMenuItem {
11
11
  */
12
12
  url?: string;
13
13
  /**
14
- * Specifies the name of the [font icon]({% slug icons %}#toc-list-of-font-icons) that will be rendered for the item ([see example]({% slug itemproperties_menu %}#toc-icon)).
14
+ * Specifies the name of the [FontIcon]({% slug overview_icon %}) that will be rendered for the item).
15
15
  */
16
16
  icon?: string;
17
+ /**
18
+ * Specifies the name of the [SVGIcon]({% slug overview_svgicon %}) that will be rendered for the item).
19
+ */
20
+ svgIcon?: string;
17
21
  /**
18
22
  * Specifies if the item is disabled ([see example]({% slug itemproperties_menu %}#toc-disabled-state)).
19
23
  */
@@ -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, popupClass = inputModel.popupClass, 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, svgIcon = inputModel.svgIcon, 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
  }
@@ -30,6 +30,9 @@ function copyInputItemWithoutChildren(inputModel) {
30
30
  if (icon !== undefined) {
31
31
  result.icon = icon;
32
32
  }
33
+ if (svgIcon !== undefined) {
34
+ result.svgIcon = svgIcon;
35
+ }
33
36
  if (disabled !== undefined) {
34
37
  result.disabled = disabled;
35
38
  }
@@ -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: 1693312682,
11
+ publishDate: 1694507215,
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
  };
@@ -72,6 +72,7 @@ var PanelBarVue2 = {
72
72
  created: function created() {
73
73
  this.activeDescendant = null;
74
74
  (0, kendo_vue_common_2.validatePackage)(package_metadata_1.packageMetadata);
75
+ this.showLicenseWatermark = (0, kendo_vue_common_2.shouldShowValidationUI)(package_metadata_1.packageMetadata);
75
76
  },
76
77
  data: function data() {
77
78
  var initialState = (0, util_1.getInitialState)(this.$props, this.expandMode);
@@ -121,7 +122,8 @@ var PanelBarVue2 = {
121
122
  // @ts-ignore
122
123
  render: function render(createElement) {
123
124
  var h = gh || createElement;
124
- var className = (0, kendo_vue_common_1.classNames)('k-panelbar', this.$props.className);
125
+ var className = (0, kendo_vue_common_1.classNames)('k-panelbar', 'k-pos-relative', this.$props.className);
126
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_2.WatermarkOverlay) : null;
125
127
  return h("ul", {
126
128
  dir: this.$props.dir,
127
129
  attrs: this.v3 ? undefined : {
@@ -150,7 +152,7 @@ var PanelBarVue2 = {
150
152
  }, item), {
151
153
  item: item
152
154
  }));
153
- }, this)]);
155
+ }, this), watermark]);
154
156
  },
155
157
  methods: {
156
158
  handleSelect: function handleSelect(event) {
@@ -57,7 +57,8 @@ var TabStripVue2 = {
57
57
  data: function data() {
58
58
  return {
59
59
  currentShowAll: true,
60
- currentTabs: []
60
+ currentTabs: [],
61
+ showLicenseWatermark: false
61
62
  };
62
63
  },
63
64
  computed: {
@@ -96,6 +97,7 @@ var TabStripVue2 = {
96
97
  return _this.compTabs.length - 1;
97
98
  }, _a);
98
99
  (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
100
+ this.showLicenseWatermark = (0, kendo_vue_common_1.shouldShowValidationUI)(package_metadata_1.packageMetadata);
99
101
  },
100
102
  watch: {
101
103
  selected: function selected(_prevIndex, _nextIndex) {
@@ -241,7 +243,8 @@ var TabStripVue2 = {
241
243
  _c = _b.tabIndex,
242
244
  tabIndex = _c === void 0 ? 0 : _c;
243
245
  var bottom = tabPosition === 'bottom';
244
- var componentClasses = (0, kendo_vue_common_1.classNames)('k-widget', 'k-tabstrip', (_a = {}, _a['k-tabstrip-left'] = tabPosition === 'left', _a['k-tabstrip-right'] = tabPosition === 'right', _a['k-tabstrip-bottom'] = tabPosition === 'bottom', _a['k-tabstrip-top'] = tabPosition === 'top', _a));
246
+ var componentClasses = (0, kendo_vue_common_1.classNames)('k-widget', 'k-pos-relative', 'k-tabstrip', (_a = {}, _a['k-tabstrip-left'] = tabPosition === 'left', _a['k-tabstrip-right'] = tabPosition === 'right', _a['k-tabstrip-bottom'] = tabPosition === 'bottom', _a['k-tabstrip-top'] = tabPosition === 'top', _a));
247
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_1.WatermarkOverlay) : null;
245
248
  var renderContent = function renderContent(currentTabProps) {
246
249
  var selected = currentTabProps.selected,
247
250
  tabContentStyle = currentTabProps.tabContentStyle;
@@ -305,7 +308,7 @@ var TabStripVue2 = {
305
308
  },
306
309
  onKeydown: this.onKeyDown,
307
310
  tabIndex: tabIndex
308
- })]);
311
+ }), watermark]);
309
312
  }
310
313
  };
311
314
  exports.TabStripVue2 = TabStripVue2;
@@ -48,10 +48,12 @@ var TileLayoutVue2 = {
48
48
  },
49
49
  created: function created() {
50
50
  (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
51
+ this.showLicenseWatermark = (0, kendo_vue_common_1.shouldShowValidationUI)(package_metadata_1.packageMetadata);
51
52
  },
52
53
  data: function data() {
53
54
  return {
54
- currentPositions: []
55
+ currentPositions: [],
56
+ showLicenseWatermark: false
55
57
  };
56
58
  },
57
59
  computed: {
@@ -86,7 +88,8 @@ var TileLayoutVue2 = {
86
88
  var _a;
87
89
  var autoFlow = this.$props.autoFlow;
88
90
  return _a = {
89
- 'k-tilelayout': true
91
+ 'k-tilelayout': true,
92
+ 'k-pos-relative': true
90
93
  }, _a[AUTO_FLOW_CLASSES[autoFlow]] = true, _a;
91
94
  }
92
95
  },
@@ -116,6 +119,7 @@ var TileLayoutVue2 = {
116
119
  gap: gapValue,
117
120
  padding: gapValue
118
121
  };
122
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_1.WatermarkOverlay) : null;
119
123
  return h("div", {
120
124
  dir: this.$props.dir,
121
125
  attrs: this.v3 ? undefined : {
@@ -219,7 +223,7 @@ var TileLayoutVue2 = {
219
223
  "class": 'k-tilelayout-item-body k-card-body'
220
224
  }, [tile.body ? bodyContent : tile.bodyText])]])
221
225
  );
222
- }, this)]);
226
+ }, this), watermark]);
223
227
  },
224
228
  methods: {
225
229
  focus: function focus() {
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.13.0",
4
+ "version": "3.14.0-dev.202309120835",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -45,9 +45,9 @@
45
45
  "vue": "^2.6.12 || ^3.0.2"
46
46
  },
47
47
  "dependencies": {
48
- "@progress/kendo-vue-animation": "3.13.0",
49
- "@progress/kendo-vue-common": "3.13.0",
50
- "@progress/kendo-vue-popup": "3.13.0"
48
+ "@progress/kendo-vue-animation": "3.14.0-dev.202309120835",
49
+ "@progress/kendo-vue-common": "3.14.0-dev.202309120835",
50
+ "@progress/kendo-vue-popup": "3.14.0-dev.202309120835"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@progress/kendo-data-query": "^1.5.0",
@@ -55,15 +55,15 @@
55
55
  "@progress/kendo-drawing": "^1.8.0",
56
56
  "@progress/kendo-licensing": "^1.3.0",
57
57
  "@progress/kendo-svg-icons": "^1.0.0",
58
- "@progress/kendo-vue-buttons": "3.13.0",
59
- "@progress/kendo-vue-charts": "3.13.0",
60
- "@progress/kendo-vue-dateinputs": "3.13.0",
61
- "@progress/kendo-vue-dropdowns": "3.13.0",
62
- "@progress/kendo-vue-grid": "3.13.0",
63
- "@progress/kendo-vue-indicators": "3.13.0",
64
- "@progress/kendo-vue-inputs": "3.13.0",
65
- "@progress/kendo-vue-intl": "3.13.0",
66
- "@progress/kendo-vue-progressbars": "3.13.0"
58
+ "@progress/kendo-vue-buttons": "3.14.0-dev.202309120835",
59
+ "@progress/kendo-vue-charts": "3.14.0-dev.202309120835",
60
+ "@progress/kendo-vue-dateinputs": "3.14.0-dev.202309120835",
61
+ "@progress/kendo-vue-dropdowns": "3.14.0-dev.202309120835",
62
+ "@progress/kendo-vue-grid": "3.14.0-dev.202309120835",
63
+ "@progress/kendo-vue-indicators": "3.14.0-dev.202309120835",
64
+ "@progress/kendo-vue-inputs": "3.14.0-dev.202309120835",
65
+ "@progress/kendo-vue-intl": "3.14.0-dev.202309120835",
66
+ "@progress/kendo-vue-progressbars": "3.14.0-dev.202309120835"
67
67
  },
68
68
  "@progress": {
69
69
  "friendlyName": "Layouts",