@progress/kendo-vue-treeview 3.10.2 → 3.11.0-dev.202305230623

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.
@@ -15,7 +15,8 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { classNames, Icon } from '@progress/kendo-vue-common';
18
+ import { Icon, getIconName } from '@progress/kendo-vue-common';
19
+ import { cancelIcon } from '@progress/kendo-svg-icons';
19
20
  /**
20
21
  * @hidden
21
22
  */
@@ -28,7 +29,8 @@ var TreeViewDragClueVue2 = {
28
29
  top: 0,
29
30
  left: 0,
30
31
  text: '',
31
- operationClassName: 'k-i-cancel'
32
+ operationIconName: 'cancel',
33
+ operationSvg: cancelIcon
32
34
  };
33
35
  },
34
36
  // @ts-ignore
@@ -54,22 +56,27 @@ var TreeViewDragClueVue2 = {
54
56
  return this.visible && h("div", {
55
57
  "class": "k-header k-drag-clue",
56
58
  style: __assign(__assign({}, defaultStyle), dynamicStyle)
57
- }, [h("span", {
58
- "class": classNames('k-icon k-drag-status k-icon-with-modifier', this.operationClassName)
59
59
  }, [h(Icon, {
60
- name: "modifier",
60
+ name: getIconName(this.operationIconName),
61
61
  attrs: this.v3 ? undefined : {
62
- name: "modifier"
63
- }
64
- })]), this.text]);
62
+ name: getIconName(this.operationIconName),
63
+ icon: this.operationSvg
64
+ },
65
+ icon: this.operationSvg,
66
+ "class": 'k-drag-status'
67
+ }), this.text]);
65
68
  },
66
69
  methods: {
67
- show: function show(top, left, text, operationClassName) {
70
+ show: function show(top, left, text, operationIconName) {
68
71
  this.visible = true;
69
72
  this.top = top;
70
73
  this.left = left;
71
74
  this.text = text;
72
- this.operationClassName = operationClassName;
75
+ if (typeof operationIconName === 'string') {
76
+ this.operationIconName = operationIconName;
77
+ } else {
78
+ this.operationSvg = operationIconName;
79
+ }
73
80
  },
74
81
  hide: function hide() {
75
82
  this.visible = false;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-treeview',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1684762592,
8
+ publishDate: 1684822383,
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
  };
@@ -15,7 +15,8 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { classNames, Icon } from '@progress/kendo-vue-common';
18
+ import { Icon, getIconName } from '@progress/kendo-vue-common';
19
+ import { cancelIcon } from '@progress/kendo-svg-icons';
19
20
  /**
20
21
  * @hidden
21
22
  */
@@ -28,7 +29,8 @@ var TreeViewDragClueVue2 = {
28
29
  top: 0,
29
30
  left: 0,
30
31
  text: '',
31
- operationClassName: 'k-i-cancel'
32
+ operationIconName: 'cancel',
33
+ operationSvg: cancelIcon
32
34
  };
33
35
  },
34
36
  // @ts-ignore
@@ -54,22 +56,27 @@ var TreeViewDragClueVue2 = {
54
56
  return this.visible && h("div", {
55
57
  "class": "k-header k-drag-clue",
56
58
  style: __assign(__assign({}, defaultStyle), dynamicStyle)
57
- }, [h("span", {
58
- "class": classNames('k-icon k-drag-status k-icon-with-modifier', this.operationClassName)
59
59
  }, [h(Icon, {
60
- name: "modifier",
60
+ name: getIconName(this.operationIconName),
61
61
  attrs: this.v3 ? undefined : {
62
- name: "modifier"
63
- }
64
- })]), this.text]);
62
+ name: getIconName(this.operationIconName),
63
+ icon: this.operationSvg
64
+ },
65
+ icon: this.operationSvg,
66
+ "class": 'k-drag-status'
67
+ }), this.text]);
65
68
  },
66
69
  methods: {
67
- show: function show(top, left, text, operationClassName) {
70
+ show: function show(top, left, text, operationIconName) {
68
71
  this.visible = true;
69
72
  this.top = top;
70
73
  this.left = left;
71
74
  this.text = text;
72
- this.operationClassName = operationClassName;
75
+ if (typeof operationIconName === 'string') {
76
+ this.operationIconName = operationIconName;
77
+ } else {
78
+ this.operationSvg = operationIconName;
79
+ }
73
80
  },
74
81
  hide: function hide() {
75
82
  this.visible = false;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-treeview',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1684762592,
8
+ publishDate: 1684822383,
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
  };
@@ -22,6 +22,7 @@ var allVue = Vue;
22
22
  var gh = allVue.h;
23
23
  var isV3 = allVue.version && allVue.version[0] === '3';
24
24
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
25
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
25
26
  /**
26
27
  * @hidden
27
28
  */
@@ -34,7 +35,8 @@ var TreeViewDragClueVue2 = {
34
35
  top: 0,
35
36
  left: 0,
36
37
  text: '',
37
- operationClassName: 'k-i-cancel'
38
+ operationIconName: 'cancel',
39
+ operationSvg: kendo_svg_icons_1.cancelIcon
38
40
  };
39
41
  },
40
42
  // @ts-ignore
@@ -60,22 +62,27 @@ var TreeViewDragClueVue2 = {
60
62
  return this.visible && h("div", {
61
63
  "class": "k-header k-drag-clue",
62
64
  style: __assign(__assign({}, defaultStyle), dynamicStyle)
63
- }, [h("span", {
64
- "class": (0, kendo_vue_common_1.classNames)('k-icon k-drag-status k-icon-with-modifier', this.operationClassName)
65
65
  }, [h(kendo_vue_common_1.Icon, {
66
- name: "modifier",
66
+ name: (0, kendo_vue_common_1.getIconName)(this.operationIconName),
67
67
  attrs: this.v3 ? undefined : {
68
- name: "modifier"
69
- }
70
- })]), this.text]);
68
+ name: (0, kendo_vue_common_1.getIconName)(this.operationIconName),
69
+ icon: this.operationSvg
70
+ },
71
+ icon: this.operationSvg,
72
+ "class": 'k-drag-status'
73
+ }), this.text]);
71
74
  },
72
75
  methods: {
73
- show: function show(top, left, text, operationClassName) {
76
+ show: function show(top, left, text, operationIconName) {
74
77
  this.visible = true;
75
78
  this.top = top;
76
79
  this.left = left;
77
80
  this.text = text;
78
- this.operationClassName = operationClassName;
81
+ if (typeof operationIconName === 'string') {
82
+ this.operationIconName = operationIconName;
83
+ } else {
84
+ this.operationSvg = operationIconName;
85
+ }
79
86
  },
80
87
  hide: function hide() {
81
88
  this.visible = false;
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-treeview',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1684762592,
11
+ publishDate: 1684822383,
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-treeview",
3
- "version": "3.10.2",
3
+ "version": "3.11.0-dev.202305230623",
4
4
  "description": "Kendo Ui for Vue TreeView package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,15 +42,15 @@
42
42
  "vue": "^2.6.12 || ^3.0.2"
43
43
  },
44
44
  "dependencies": {
45
- "@progress/kendo-vue-common": "3.10.2"
45
+ "@progress/kendo-vue-common": "3.11.0-dev.202305230623"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@progress/kendo-licensing": "^1.3.0",
49
49
  "@progress/kendo-svg-icons": "^1.0.0",
50
- "@progress/kendo-vue-animation": "3.10.2",
51
- "@progress/kendo-vue-dropdowns": "3.10.2",
52
- "@progress/kendo-vue-inputs": "3.10.2",
53
- "@progress/kendo-vue-intl": "3.10.2"
50
+ "@progress/kendo-vue-animation": "3.11.0-dev.202305230623",
51
+ "@progress/kendo-vue-dropdowns": "3.11.0-dev.202305230623",
52
+ "@progress/kendo-vue-inputs": "3.11.0-dev.202305230623",
53
+ "@progress/kendo-vue-intl": "3.11.0-dev.202305230623"
54
54
  },
55
55
  "@progress": {
56
56
  "friendlyName": "TreeView",