@progress/kendo-vue-charts 5.1.0 → 5.2.0-dev.202406141341
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.
- package/dist/cdn/js/kendo-vue-charts.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/sankey/Sankey.d.ts +1 -0
- package/dist/es/sankey/Sankey.js +23 -3
- package/dist/es/sankey/tooltip.js +27 -14
- package/dist/es/sankey/types.d.ts +18 -2
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/sankey/Sankey.d.ts +1 -0
- package/dist/esm/sankey/Sankey.js +23 -3
- package/dist/esm/sankey/tooltip.js +27 -14
- package/dist/esm/sankey/types.d.ts +18 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/sankey/Sankey.d.ts +1 -0
- package/dist/npm/sankey/Sankey.js +22 -2
- package/dist/npm/sankey/tooltip.js +26 -13
- package/dist/npm/sankey/types.d.ts +18 -2
- package/package.json +7 -7
|
@@ -111,7 +111,8 @@ var NodeTooltipContent = {
|
|
|
111
111
|
name: 'NodeTooltipContent',
|
|
112
112
|
props: {
|
|
113
113
|
dataItem: Object,
|
|
114
|
-
nodeValue: Number
|
|
114
|
+
nodeValue: Number,
|
|
115
|
+
dir: String
|
|
115
116
|
},
|
|
116
117
|
// @ts-ignore
|
|
117
118
|
setup: !isV3 ? undefined : function () {
|
|
@@ -149,7 +150,8 @@ var NodeTooltipContent = {
|
|
|
149
150
|
var LinkTooltipContent = {
|
|
150
151
|
name: 'LinkTooltipContent',
|
|
151
152
|
props: {
|
|
152
|
-
dataItem: Object
|
|
153
|
+
dataItem: Object,
|
|
154
|
+
dir: String
|
|
153
155
|
},
|
|
154
156
|
// @ts-ignore
|
|
155
157
|
setup: !isV3 ? undefined : function () {
|
|
@@ -160,10 +162,13 @@ var LinkTooltipContent = {
|
|
|
160
162
|
},
|
|
161
163
|
render: function render(createElement) {
|
|
162
164
|
var h = gh || createElement;
|
|
163
|
-
var _a = this.$props
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
var _a = this.$props,
|
|
166
|
+
dir = _a.dir,
|
|
167
|
+
dataItem = _a.dataItem;
|
|
168
|
+
var source = dataItem.source,
|
|
169
|
+
target = dataItem.target,
|
|
170
|
+
value = dataItem.value;
|
|
171
|
+
var arrow = dir === 'rtl' ? kendo_svg_icons_1.arrowLeftIcon : kendo_svg_icons_1.arrowRightIcon;
|
|
167
172
|
return h("div", {
|
|
168
173
|
style: tooltipStyles
|
|
169
174
|
}, [h(Square, {
|
|
@@ -177,12 +182,12 @@ var LinkTooltipContent = {
|
|
|
177
182
|
value: source.label.text
|
|
178
183
|
}
|
|
179
184
|
}), h(kendo_vue_common_1.Icon, {
|
|
180
|
-
icon:
|
|
185
|
+
icon: arrow,
|
|
181
186
|
attrs: this.v3 ? undefined : {
|
|
182
|
-
icon:
|
|
183
|
-
name:
|
|
187
|
+
icon: arrow,
|
|
188
|
+
name: arrow.name
|
|
184
189
|
},
|
|
185
|
-
name:
|
|
190
|
+
name: arrow.name
|
|
186
191
|
}), h(Square, {
|
|
187
192
|
color: target.color,
|
|
188
193
|
attrs: this.v3 ? undefined : {
|
|
@@ -211,6 +216,7 @@ var TooltipVue2 = {
|
|
|
211
216
|
tooltipData: Object,
|
|
212
217
|
nodeContent: [String, Object, Function],
|
|
213
218
|
linkContent: [String, Object, Function],
|
|
219
|
+
dir: String,
|
|
214
220
|
offset: Number
|
|
215
221
|
},
|
|
216
222
|
data: function data() {
|
|
@@ -279,6 +285,7 @@ var TooltipVue2 = {
|
|
|
279
285
|
var _a = this.$props,
|
|
280
286
|
nodeContent = _a.nodeContent,
|
|
281
287
|
linkContent = _a.linkContent,
|
|
288
|
+
dir = _a.dir,
|
|
282
289
|
_b = _a.eventData,
|
|
283
290
|
dataItem = _b.dataItem,
|
|
284
291
|
nodeValue = _b.nodeValue,
|
|
@@ -292,9 +299,11 @@ var TooltipVue2 = {
|
|
|
292
299
|
dataItem: dataItem,
|
|
293
300
|
attrs: this.v3 ? undefined : {
|
|
294
301
|
dataItem: dataItem,
|
|
295
|
-
nodeValue: nodeValue
|
|
302
|
+
nodeValue: nodeValue,
|
|
303
|
+
dir: dir
|
|
296
304
|
},
|
|
297
|
-
nodeValue: nodeValue
|
|
305
|
+
nodeValue: nodeValue,
|
|
306
|
+
dir: dir
|
|
298
307
|
})
|
|
299
308
|
});
|
|
300
309
|
return h("div", {
|
|
@@ -304,7 +313,11 @@ var TooltipVue2 = {
|
|
|
304
313
|
left: this.left,
|
|
305
314
|
visibility: this.visibility
|
|
306
315
|
},
|
|
307
|
-
"class": "k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip"
|
|
316
|
+
"class": "k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip",
|
|
317
|
+
dir: dir,
|
|
318
|
+
attrs: this.v3 ? undefined : {
|
|
319
|
+
dir: dir
|
|
320
|
+
}
|
|
308
321
|
}, [h("div", {
|
|
309
322
|
"class": "k-tooltip-content"
|
|
310
323
|
}, [content])]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SankeyData, SankeyExportVisualOptions, SankeyHorizontalMargin, SankeyLabel, SankeyLabelDefaults, SankeyLabelStroke, SankeyLegendItem, SankeyLink, SankeyLinkDataItem, SankeyLinkDefaults, SankeyLinkHighlight, SankeyNode, SankeyNodeDataItem, SankeyNodeDefaults, SankeyOptions, SankeyTooltipEvent, SankeyTooltip as SankeyTooltipInterface, SankeyEvent as SankeyWidgetEvent } from '@progress/kendo-charts';
|
|
1
|
+
import { SankeyData, SankeyExportVisualOptions, SankeyHorizontalMargin, SankeyLabel, SankeyLabelDefaults, SankeyLabelStroke, SankeyLegendItem, SankeyLink, SankeyLinkDataItem, SankeyLinkDefaults, SankeyLinkHighlight, SankeyNode, SankeyNodeDataItem, SankeyNodeDefaults, SankeyFocusHighlight, SankeyNodeLabel, SankeyLinkLabel, SankeyOptions, SankeyTooltipEvent, SankeyTooltip as SankeyTooltipInterface, SankeyEvent as SankeyWidgetEvent } from '@progress/kendo-charts';
|
|
2
2
|
import { Legend, Title } from '../common/property-types';
|
|
3
|
-
export { SankeyData, SankeyExportVisualOptions, SankeyHorizontalMargin, SankeyLabel, SankeyLabelDefaults, SankeyLabelStroke, SankeyLegendItem, SankeyLink, SankeyLinkDataItem, SankeyLinkDefaults, SankeyLinkHighlight, SankeyNode, SankeyNodeDataItem, SankeyNodeDefaults, SankeyOptions };
|
|
3
|
+
export { SankeyData, SankeyExportVisualOptions, SankeyHorizontalMargin, SankeyLabel, SankeyLabelDefaults, SankeyLabelStroke, SankeyLegendItem, SankeyLink, SankeyLinkDataItem, SankeyLinkDefaults, SankeyLinkHighlight, SankeyNode, SankeyNodeDataItem, SankeyNodeDefaults, SankeyFocusHighlight, SankeyNodeLabel, SankeyLinkLabel, SankeyOptions };
|
|
4
4
|
import { Sankey } from './Sankey';
|
|
5
5
|
/**
|
|
6
6
|
* The KendoReact Sankey event object.
|
|
@@ -38,6 +38,10 @@ export interface TooltipContentProps {
|
|
|
38
38
|
* The value is available only when the hovered element is a node.
|
|
39
39
|
*/
|
|
40
40
|
nodeValue?: number;
|
|
41
|
+
/**
|
|
42
|
+
* The `dir` attribute of the Sankey tooltip content component.
|
|
43
|
+
*/
|
|
44
|
+
dir?: string;
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
43
47
|
* Represents the props of the Sankey tooltip component.
|
|
@@ -53,6 +57,10 @@ export interface SankeyTooltipProps {
|
|
|
53
57
|
* The distance between the tooltip and the mouse pointer in pixels.
|
|
54
58
|
*/
|
|
55
59
|
offset: number;
|
|
60
|
+
/**
|
|
61
|
+
* The `dir` attribute of the Sankey tooltip.
|
|
62
|
+
*/
|
|
63
|
+
dir?: string;
|
|
56
64
|
/**
|
|
57
65
|
* The tooltip data of the Sankey component.
|
|
58
66
|
*/
|
|
@@ -132,6 +140,14 @@ export interface SankeyProps {
|
|
|
132
140
|
* If set to `true`, the Sankey component will not perform automatic layout.
|
|
133
141
|
*/
|
|
134
142
|
disableAutoLayout?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* If set to `true`, the Sankey keyboard navigation will be disabled.
|
|
145
|
+
*/
|
|
146
|
+
disableKeyboardNavigation?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Represents the `dir` HTML attribute.
|
|
149
|
+
*/
|
|
150
|
+
dir?: string;
|
|
135
151
|
/**
|
|
136
152
|
* Fires when the mouse pointer enters a node. Similar to the `mouseenter` event.
|
|
137
153
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-charts",
|
|
3
3
|
"description": "Kendo UI for Vue Charts package",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.2.0-dev.202406141341",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@progress/kendo-charts": "2.4.0",
|
|
47
|
-
"@progress/kendo-vue-common": "5.
|
|
48
|
-
"@progress/kendo-vue-popup": "5.
|
|
47
|
+
"@progress/kendo-vue-common": "5.2.0-dev.202406141341",
|
|
48
|
+
"@progress/kendo-vue-popup": "5.2.0-dev.202406141341"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@progress/kendo-data-query": "^1.0.0",
|
|
52
52
|
"@progress/kendo-drawing": "^1.20.1",
|
|
53
53
|
"@progress/kendo-file-saver": "^1.0.1",
|
|
54
54
|
"@progress/kendo-licensing": "^1.3.0",
|
|
55
|
-
"@progress/kendo-vue-buttons": "5.
|
|
56
|
-
"@progress/kendo-vue-dropdowns": "5.
|
|
57
|
-
"@progress/kendo-vue-inputs": "5.
|
|
58
|
-
"@progress/kendo-vue-intl": "5.
|
|
55
|
+
"@progress/kendo-vue-buttons": "5.2.0-dev.202406141341",
|
|
56
|
+
"@progress/kendo-vue-dropdowns": "5.2.0-dev.202406141341",
|
|
57
|
+
"@progress/kendo-vue-inputs": "5.2.0-dev.202406141341",
|
|
58
|
+
"@progress/kendo-vue-intl": "5.2.0-dev.202406141341",
|
|
59
59
|
"cldr-core": "^41.0.0",
|
|
60
60
|
"cldr-dates-full": "^41.0.0",
|
|
61
61
|
"cldr-numbers-full": "^41.0.0"
|