@progress/kendo-angular-charts 21.4.1-develop.1 → 22.0.0-develop.1
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/chart/localization/messages.d.ts +1 -1
- package/chart/tooltip/base-tooltip.d.ts +1 -1
- package/common/collection-item.component.d.ts +1 -1
- package/common/collection.component.d.ts +1 -1
- package/common/settings.component.d.ts +1 -1
- package/events/base-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-charts.mjs +482 -482
- package/package.json +13 -21
- package/sankey/localization/messages.d.ts +1 -1
- package/esm2022/api-types/axis-range.interface.mjs +0 -5
- package/esm2022/api-types/chart-axis.interface.mjs +0 -5
- package/esm2022/api-types/chart-pane.interface.mjs +0 -5
- package/esm2022/api-types/chart-plotarea.interface.mjs +0 -5
- package/esm2022/api-types/chart-svg-export-options.interface.mjs +0 -5
- package/esm2022/api-types/chart-visual-export-options.interface.mjs +0 -5
- package/esm2022/api-types/event-axis-options.interface.mjs +0 -5
- package/esm2022/api-types/event-series-options.interface.mjs +0 -5
- package/esm2022/api-types/series-point-marker.interface.mjs +0 -5
- package/esm2022/api-types/series-point.interface.mjs +0 -5
- package/esm2022/argument-types/axis-label-content-args.interface.mjs +0 -5
- package/esm2022/argument-types/axis-label-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/axis-note-content-args.interface.mjs +0 -5
- package/esm2022/argument-types/axis-note-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/error-bars-value-args.interface.mjs +0 -5
- package/esm2022/argument-types/error-bars-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/highlight-toggle-args.interface.mjs +0 -5
- package/esm2022/argument-types/highlight-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/legend-item-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/legend-labels-content-args.interface.mjs +0 -5
- package/esm2022/argument-types/markers-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/plot-band-label-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/series-labels-content-args.interface.mjs +0 -5
- package/esm2022/argument-types/series-labels-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/series-note-content-args.interface.mjs +0 -5
- package/esm2022/argument-types/series-note-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/series-visual-args.interface.mjs +0 -5
- package/esm2022/argument-types/title-visual-args.interface.mjs +0 -5
- package/esm2022/chart/axis-defaults/crosshair.component.mjs +0 -77
- package/esm2022/chart/axis-defaults/crosshair.tooltip.component.mjs +0 -82
- package/esm2022/chart/axis-defaults/labels.component.mjs +0 -111
- package/esm2022/chart/axis-defaults/title.component.mjs +0 -103
- package/esm2022/chart/axis-defaults.component.mjs +0 -152
- package/esm2022/chart/category-axis-item/crosshair.component.mjs +0 -76
- package/esm2022/chart/category-axis-item/crosshair.tooltip.component.mjs +0 -80
- package/esm2022/chart/category-axis-item/labels.component.mjs +0 -149
- package/esm2022/chart/category-axis-item/notes.component.mjs +0 -67
- package/esm2022/chart/category-axis-item/notes.icon.component.mjs +0 -60
- package/esm2022/chart/category-axis-item/notes.label.component.mjs +0 -91
- package/esm2022/chart/category-axis-item/range-labels.component.mjs +0 -32
- package/esm2022/chart/category-axis-item/select.component.mjs +0 -60
- package/esm2022/chart/category-axis-item/title.component.mjs +0 -103
- package/esm2022/chart/category-axis-item.component.mjs +0 -265
- package/esm2022/chart/category-axis.component.mjs +0 -67
- package/esm2022/chart/chart-area.component.mjs +0 -81
- package/esm2022/chart/donut-center-template.directive.mjs +0 -35
- package/esm2022/chart/legend/inactive-items.component.mjs +0 -46
- package/esm2022/chart/legend/item.component.mjs +0 -82
- package/esm2022/chart/legend.component.mjs +0 -181
- package/esm2022/chart/localization/custom-messages.component.mjs +0 -51
- package/esm2022/chart/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/chart/localization/messages.mjs +0 -27
- package/esm2022/chart/no-data-template.directive.mjs +0 -35
- package/esm2022/chart/pane/title.component.mjs +0 -88
- package/esm2022/chart/pane-defaults/title.component.mjs +0 -84
- package/esm2022/chart/pane-defaults.component.mjs +0 -87
- package/esm2022/chart/pane.component.mjs +0 -101
- package/esm2022/chart/panes.component.mjs +0 -55
- package/esm2022/chart/plot-area.component.mjs +0 -68
- package/esm2022/chart/series-defaults/labels.component.mjs +0 -122
- package/esm2022/chart/series-defaults/labels.from.component.mjs +0 -90
- package/esm2022/chart/series-defaults/labels.to.component.mjs +0 -90
- package/esm2022/chart/series-defaults/notes.component.mjs +0 -68
- package/esm2022/chart/series-defaults/notes.icon.component.mjs +0 -62
- package/esm2022/chart/series-defaults/notes.label.component.mjs +0 -90
- package/esm2022/chart/series-defaults/tooltip.component.mjs +0 -76
- package/esm2022/chart/series-defaults.component.mjs +0 -125
- package/esm2022/chart/series-drilldown-template.directive.mjs +0 -36
- package/esm2022/chart/series-item/error-bars.component.mjs +0 -74
- package/esm2022/chart/series-item/extremes.component.mjs +0 -64
- package/esm2022/chart/series-item/highlight.component.mjs +0 -79
- package/esm2022/chart/series-item/labels.component.mjs +0 -157
- package/esm2022/chart/series-item/labels.from.component.mjs +0 -96
- package/esm2022/chart/series-item/labels.to.component.mjs +0 -96
- package/esm2022/chart/series-item/markers.component.mjs +0 -98
- package/esm2022/chart/series-item/notes.component.mjs +0 -76
- package/esm2022/chart/series-item/notes.icon.component.mjs +0 -64
- package/esm2022/chart/series-item/notes.label.component.mjs +0 -95
- package/esm2022/chart/series-item/outliers.component.mjs +0 -66
- package/esm2022/chart/series-item/tooltip.component.mjs +0 -83
- package/esm2022/chart/series-item/trendline.component.mjs +0 -75
- package/esm2022/chart/series-item/trendline.forecast.component.mjs +0 -51
- package/esm2022/chart/series-item.component.mjs +0 -754
- package/esm2022/chart/series.component.mjs +0 -67
- package/esm2022/chart/subtitle.component.mjs +0 -108
- package/esm2022/chart/title.component.mjs +0 -119
- package/esm2022/chart/tooltip/base-tooltip.mjs +0 -101
- package/esm2022/chart/tooltip/body-factory.mjs +0 -14
- package/esm2022/chart/tooltip/crosshair-tooltip.component.mjs +0 -72
- package/esm2022/chart/tooltip/crosshair-tooltips-container.component.mjs +0 -115
- package/esm2022/chart/tooltip/popup-settings.interface.mjs +0 -5
- package/esm2022/chart/tooltip/series-tooltip-template.directive.mjs +0 -59
- package/esm2022/chart/tooltip/shared-tooltip-template.directive.mjs +0 -71
- package/esm2022/chart/tooltip/tooltip-popup.component.mjs +0 -250
- package/esm2022/chart/tooltip/tooltip-template-point.mjs +0 -105
- package/esm2022/chart/tooltip.component.mjs +0 -107
- package/esm2022/chart/value-axis-item/crosshair.component.mjs +0 -84
- package/esm2022/chart/value-axis-item/crosshair.tooltip.component.mjs +0 -81
- package/esm2022/chart/value-axis-item/labels.component.mjs +0 -130
- package/esm2022/chart/value-axis-item/notes.component.mjs +0 -82
- package/esm2022/chart/value-axis-item/notes.icon.component.mjs +0 -62
- package/esm2022/chart/value-axis-item/notes.label.component.mjs +0 -90
- package/esm2022/chart/value-axis-item/title.component.mjs +0 -102
- package/esm2022/chart/value-axis-item.component.mjs +0 -202
- package/esm2022/chart/value-axis.component.mjs +0 -52
- package/esm2022/chart/x-axis-item/crosshair.component.mjs +0 -82
- package/esm2022/chart/x-axis-item/crosshair.tooltip.component.mjs +0 -80
- package/esm2022/chart/x-axis-item/labels.component.mjs +0 -140
- package/esm2022/chart/x-axis-item/notes.component.mjs +0 -86
- package/esm2022/chart/x-axis-item/notes.icon.component.mjs +0 -62
- package/esm2022/chart/x-axis-item/notes.label.component.mjs +0 -91
- package/esm2022/chart/x-axis-item/title.component.mjs +0 -103
- package/esm2022/chart/x-axis-item.component.mjs +0 -239
- package/esm2022/chart/x-axis.component.mjs +0 -60
- package/esm2022/chart/y-axis-item/crosshair.component.mjs +0 -79
- package/esm2022/chart/y-axis-item/crosshair.tooltip.component.mjs +0 -74
- package/esm2022/chart/y-axis-item/labels.component.mjs +0 -144
- package/esm2022/chart/y-axis-item/notes.component.mjs +0 -83
- package/esm2022/chart/y-axis-item/notes.icon.component.mjs +0 -62
- package/esm2022/chart/y-axis-item/notes.label.component.mjs +0 -91
- package/esm2022/chart/y-axis-item/title.component.mjs +0 -103
- package/esm2022/chart/y-axis-item.component.mjs +0 -211
- package/esm2022/chart/y-axis.component.mjs +0 -60
- package/esm2022/chart/zoomable.component.mjs +0 -52
- package/esm2022/chart-breadcrumb.component.mjs +0 -95
- package/esm2022/chart-defaults.mjs +0 -19
- package/esm2022/chart-options.interface.mjs +0 -5
- package/esm2022/chart.component.mjs +0 -1102
- package/esm2022/chart.directives.mjs +0 -30
- package/esm2022/chart.module.mjs +0 -141
- package/esm2022/charts.module.mjs +0 -184
- package/esm2022/common/api-types.mjs +0 -5
- package/esm2022/common/chart-default-theme.mjs +0 -165
- package/esm2022/common/chart-instance-observer.mjs +0 -20
- package/esm2022/common/collection-item.component.mjs +0 -64
- package/esm2022/common/collection.component.mjs +0 -58
- package/esm2022/common/collection.service.mjs +0 -37
- package/esm2022/common/configuration.service.mjs +0 -69
- package/esm2022/common/copy-changes.mjs +0 -21
- package/esm2022/common/events.mjs +0 -31
- package/esm2022/common/has-observers.mjs +0 -10
- package/esm2022/common/has-parent.mjs +0 -14
- package/esm2022/common/prefix-configuration.service.mjs +0 -43
- package/esm2022/common/property-types.mjs +0 -5
- package/esm2022/common/root-configuration.service.mjs +0 -17
- package/esm2022/common/settings.component.mjs +0 -61
- package/esm2022/common/theme.service.mjs +0 -64
- package/esm2022/common/to-simple-changes.mjs +0 -18
- package/esm2022/common/tooltip-template.service.mjs +0 -37
- package/esm2022/common.directives.mjs +0 -75
- package/esm2022/directives.mjs +0 -374
- package/esm2022/events/axis-label-click-event.mjs +0 -42
- package/esm2022/events/base-event.mjs +0 -26
- package/esm2022/events/drag-end-event.mjs +0 -27
- package/esm2022/events/drag-event.mjs +0 -27
- package/esm2022/events/drag-start-event.mjs +0 -27
- package/esm2022/events/drilldown-event.mjs +0 -31
- package/esm2022/events/instance-event.service.mjs +0 -64
- package/esm2022/events/legend-event.mjs +0 -37
- package/esm2022/events/legend-item-click-event.mjs +0 -16
- package/esm2022/events/legend-item-hover-event.mjs +0 -16
- package/esm2022/events/legend-item-leave-event.mjs +0 -23
- package/esm2022/events/note-click-event.mjs +0 -10
- package/esm2022/events/note-event.mjs +0 -42
- package/esm2022/events/note-hover-event.mjs +0 -10
- package/esm2022/events/note-leave-event.mjs +0 -10
- package/esm2022/events/pane-render-event.mjs +0 -29
- package/esm2022/events/plot-area-click-event.mjs +0 -43
- package/esm2022/events/plot-area-hover-event.mjs +0 -43
- package/esm2022/events/plot-area-leave-event.mjs +0 -10
- package/esm2022/events/preventable-event.mjs +0 -34
- package/esm2022/events/render-event.mjs +0 -16
- package/esm2022/events/select-end-event.mjs +0 -31
- package/esm2022/events/select-event.mjs +0 -31
- package/esm2022/events/select-start-event.mjs +0 -31
- package/esm2022/events/series-click-event.mjs +0 -58
- package/esm2022/events/series-event.mjs +0 -58
- package/esm2022/events/series-hover-event.mjs +0 -10
- package/esm2022/events/series-leave-event.mjs +0 -10
- package/esm2022/events/series-over-event.mjs +0 -10
- package/esm2022/events/zoom-end-event.mjs +0 -30
- package/esm2022/events/zoom-event.mjs +0 -37
- package/esm2022/events/zoom-start-event.mjs +0 -27
- package/esm2022/field-types/auto-base-unit-steps.interface.mjs +0 -5
- package/esm2022/field-types/axis-labels-position.mjs +0 -5
- package/esm2022/field-types/axis-line.interface.mjs +0 -5
- package/esm2022/field-types/axis-ticks.interface.mjs +0 -5
- package/esm2022/field-types/axis-title-position.mjs +0 -5
- package/esm2022/field-types/base-unit.mjs +0 -5
- package/esm2022/field-types/border.interface.mjs +0 -5
- package/esm2022/field-types/bullet-target-line.interface.mjs +0 -5
- package/esm2022/field-types/bullet-target.interface.mjs +0 -5
- package/esm2022/field-types/category-base-unit.mjs +0 -5
- package/esm2022/field-types/dash-type.mjs +0 -5
- package/esm2022/field-types/date-formats.interface.mjs +0 -5
- package/esm2022/field-types/drag-action.interface.mjs +0 -5
- package/esm2022/field-types/error-bar-line.interface.mjs +0 -5
- package/esm2022/field-types/grid-lines.interface.mjs +0 -5
- package/esm2022/field-types/highlight-line.interface.mjs +0 -5
- package/esm2022/field-types/label-connectors.interface.mjs +0 -5
- package/esm2022/field-types/label-rotation.interface.mjs +0 -5
- package/esm2022/field-types/legend-labels.interface.mjs +0 -5
- package/esm2022/field-types/line-style.mjs +0 -5
- package/esm2022/field-types/lock-axis.mjs +0 -5
- package/esm2022/field-types/margin.interface.mjs +0 -5
- package/esm2022/field-types/marker-type.mjs +0 -5
- package/esm2022/field-types/modifier-key.mjs +0 -5
- package/esm2022/field-types/mousewheel-select.interface.mjs +0 -5
- package/esm2022/field-types/mousewheel-zoom.interface.mjs +0 -5
- package/esm2022/field-types/negative-bubble-values.interface.mjs +0 -5
- package/esm2022/field-types/note-label-position.mjs +0 -5
- package/esm2022/field-types/note-line.interface.mjs +0 -5
- package/esm2022/field-types/note-position.mjs +0 -5
- package/esm2022/field-types/overlay.interface.mjs +0 -5
- package/esm2022/field-types/padding.interface.mjs +0 -5
- package/esm2022/field-types/plot-band-label.interface.mjs +0 -5
- package/esm2022/field-types/plot-band.interface.mjs +0 -5
- package/esm2022/field-types/series-labels-alignment.mjs +0 -5
- package/esm2022/field-types/series-labels-position.mjs +0 -5
- package/esm2022/field-types/series-line.interface.mjs +0 -5
- package/esm2022/field-types/series-mean.interface.mjs +0 -5
- package/esm2022/field-types/series-median.interface.mjs +0 -5
- package/esm2022/field-types/series-stack.interface.mjs +0 -5
- package/esm2022/field-types/series-type.mjs +0 -5
- package/esm2022/field-types/series-whiskers.interface.mjs +0 -5
- package/esm2022/field-types/trendline-forecast.interface.mjs +0 -5
- package/esm2022/field-types/week-start-day.enum.mjs +0 -38
- package/esm2022/index.mjs +0 -63
- package/esm2022/option-types/axis-crosshair-tooltip.interface.mjs +0 -5
- package/esm2022/option-types/axis-defaults/crosshair.interface.mjs +0 -5
- package/esm2022/option-types/axis-defaults/crosshair.tooltip.interface.mjs +0 -5
- package/esm2022/option-types/axis-defaults/labels.interface.mjs +0 -5
- package/esm2022/option-types/axis-defaults/title.interface.mjs +0 -5
- package/esm2022/option-types/axis-defaults.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/crosshair.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/crosshair.tooltip.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/labels.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/notes.icon.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/notes.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/notes.label.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/range-labels.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/select.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item/title.interface.mjs +0 -5
- package/esm2022/option-types/category-axis-item.interface.mjs +0 -5
- package/esm2022/option-types/chart-area.interface.mjs +0 -5
- package/esm2022/option-types/legend/inactive-items.interface.mjs +0 -5
- package/esm2022/option-types/legend/item.interface.mjs +0 -5
- package/esm2022/option-types/legend/legend-title.interface.mjs +0 -5
- package/esm2022/option-types/legend/markers.interface.mjs +0 -5
- package/esm2022/option-types/legend.interface.mjs +0 -5
- package/esm2022/option-types/pane/title.interface.mjs +0 -5
- package/esm2022/option-types/pane-defaults/title.interface.mjs +0 -5
- package/esm2022/option-types/pane-defaults.interface.mjs +0 -5
- package/esm2022/option-types/pane.interface.mjs +0 -5
- package/esm2022/option-types/plot-area.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/labels.from.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/labels.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/labels.to.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/notes.icon.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/notes.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/notes.label.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults/tooltip.interface.mjs +0 -5
- package/esm2022/option-types/series-defaults.interface.mjs +0 -5
- package/esm2022/option-types/series-item/error-bars.interface.mjs +0 -5
- package/esm2022/option-types/series-item/extremes.interface.mjs +0 -5
- package/esm2022/option-types/series-item/highlight.interface.mjs +0 -5
- package/esm2022/option-types/series-item/labels.from.interface.mjs +0 -5
- package/esm2022/option-types/series-item/labels.interface.mjs +0 -5
- package/esm2022/option-types/series-item/labels.to.interface.mjs +0 -5
- package/esm2022/option-types/series-item/markers-highlight.interface.mjs +0 -5
- package/esm2022/option-types/series-item/markers.interface.mjs +0 -5
- package/esm2022/option-types/series-item/notes.icon.interface.mjs +0 -5
- package/esm2022/option-types/series-item/notes.interface.mjs +0 -5
- package/esm2022/option-types/series-item/notes.label.interface.mjs +0 -5
- package/esm2022/option-types/series-item/outliers.interface.mjs +0 -5
- package/esm2022/option-types/series-item/tooltip.interface.mjs +0 -5
- package/esm2022/option-types/series-item/trendline.interface.mjs +0 -5
- package/esm2022/option-types/series-item.interface.mjs +0 -5
- package/esm2022/option-types/subtitle.interface.mjs +0 -5
- package/esm2022/option-types/title.interface.mjs +0 -5
- package/esm2022/option-types/tooltip-border.interface.mjs +0 -5
- package/esm2022/option-types/tooltip.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/crosshair.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/crosshair.tooltip.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/labels.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/notes.icon.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/notes.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/notes.label.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item/title.interface.mjs +0 -5
- package/esm2022/option-types/value-axis-item.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/crosshair.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/crosshair.tooltip.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/labels.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/notes.icon.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/notes.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/notes.label.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item/title.interface.mjs +0 -5
- package/esm2022/option-types/x-axis-item.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/crosshair.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/crosshair.tooltip.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/labels.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/notes.icon.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/notes.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/notes.label.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item/title.interface.mjs +0 -5
- package/esm2022/option-types/y-axis-item.interface.mjs +0 -5
- package/esm2022/option-types/zoomable.interface.mjs +0 -5
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-charts.mjs +0 -8
- package/esm2022/sankey/api-types/index.mjs +0 -5
- package/esm2022/sankey/data-binding/flat-binding.directive.mjs +0 -75
- package/esm2022/sankey/data-binding/flat-binding.event.mjs +0 -25
- package/esm2022/sankey/events/index.mjs +0 -8
- package/esm2022/sankey/events/instance-event.service.mjs +0 -22
- package/esm2022/sankey/events/sankey-base-event.mjs +0 -26
- package/esm2022/sankey/events/sankey-link-event.mjs +0 -21
- package/esm2022/sankey/events/sankey-node-event.mjs +0 -21
- package/esm2022/sankey/labels.component.mjs +0 -61
- package/esm2022/sankey/legend.component.mjs +0 -129
- package/esm2022/sankey/links.component.mjs +0 -46
- package/esm2022/sankey/localization/custom-messages.component.mjs +0 -52
- package/esm2022/sankey/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/sankey/localization/messages.mjs +0 -27
- package/esm2022/sankey/nodes.component.mjs +0 -63
- package/esm2022/sankey/theme.service.mjs +0 -25
- package/esm2022/sankey/title.component.mjs +0 -104
- package/esm2022/sankey/tooltip/link-tooltip-template-context.mjs +0 -30
- package/esm2022/sankey/tooltip/link-tooltip-template.directive.mjs +0 -44
- package/esm2022/sankey/tooltip/node-tooltip-template-context.mjs +0 -30
- package/esm2022/sankey/tooltip/node-tooltip-template.directive.mjs +0 -66
- package/esm2022/sankey/tooltip/square-symbol.directive.mjs +0 -43
- package/esm2022/sankey/tooltip/tooltip-popup.component.mjs +0 -250
- package/esm2022/sankey/tooltip/tooltip-template.service.mjs +0 -18
- package/esm2022/sankey/tooltip.component.mjs +0 -80
- package/esm2022/sankey.component.mjs +0 -515
- package/esm2022/sankey.directives.mjs +0 -20
- package/esm2022/sankey.module.mjs +0 -61
- package/esm2022/sparkline.component.mjs +0 -195
- package/esm2022/sparkline.directives.mjs +0 -7
- package/esm2022/sparkline.module.mjs +0 -142
- package/esm2022/stock-chart/events/instance-event.service.mjs +0 -20
- package/esm2022/stock-chart/events/navigator-filter-event.mjs +0 -26
- package/esm2022/stock-chart/events.mjs +0 -6
- package/esm2022/stock-chart/navigator/category-axis/crosshair.component.mjs +0 -33
- package/esm2022/stock-chart/navigator/category-axis/crosshair.tooltip.component.mjs +0 -31
- package/esm2022/stock-chart/navigator/category-axis/labels.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/category-axis/notes.component.mjs +0 -45
- package/esm2022/stock-chart/navigator/category-axis/notes.icon.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/category-axis/notes.label.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/category-axis/select.component.mjs +0 -39
- package/esm2022/stock-chart/navigator/category-axis/title.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/category-axis.component.mjs +0 -66
- package/esm2022/stock-chart/navigator/hint.component.mjs +0 -40
- package/esm2022/stock-chart/navigator/pane/title.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/pane.component.mjs +0 -33
- package/esm2022/stock-chart/navigator/select.component.mjs +0 -40
- package/esm2022/stock-chart/navigator/series-item/error-bars.component.mjs +0 -44
- package/esm2022/stock-chart/navigator/series-item/extremes.component.mjs +0 -31
- package/esm2022/stock-chart/navigator/series-item/highlight.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/series-item/labels.component.mjs +0 -48
- package/esm2022/stock-chart/navigator/series-item/labels.from.component.mjs +0 -31
- package/esm2022/stock-chart/navigator/series-item/labels.to.component.mjs +0 -31
- package/esm2022/stock-chart/navigator/series-item/markers.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/series-item/notes.component.mjs +0 -47
- package/esm2022/stock-chart/navigator/series-item/notes.icon.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/series-item/notes.label.component.mjs +0 -30
- package/esm2022/stock-chart/navigator/series-item/outliers.component.mjs +0 -31
- package/esm2022/stock-chart/navigator/series-item/tooltip.component.mjs +0 -31
- package/esm2022/stock-chart/navigator/series-item.component.mjs +0 -58
- package/esm2022/stock-chart/navigator/series.component.mjs +0 -82
- package/esm2022/stock-chart/navigator.component.mjs +0 -93
- package/esm2022/stock-chart/option-types/navigator/hint-content-args.interface.mjs +0 -5
- package/esm2022/stock-chart/option-types/navigator/hint.interface.mjs +0 -5
- package/esm2022/stock-chart/option-types/navigator/select.interface.mjs +0 -5
- package/esm2022/stock-chart/option-types/navigator.interface.mjs +0 -5
- package/esm2022/stock-chart/option-types.mjs +0 -5
- package/esm2022/stock-chart.component.mjs +0 -244
- package/esm2022/stock-chart.directives.mjs +0 -35
- package/esm2022/stock-chart.module.mjs +0 -170
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the context that is passed to the Sankey diagram Node tooltip template.
|
|
7
|
-
*/
|
|
8
|
-
export class SankeyNodeTooltipTemplateContext {
|
|
9
|
-
/**
|
|
10
|
-
* Contains the node color.
|
|
11
|
-
*/
|
|
12
|
-
color;
|
|
13
|
-
/**
|
|
14
|
-
* Contains the node label data.
|
|
15
|
-
*/
|
|
16
|
-
label;
|
|
17
|
-
/**
|
|
18
|
-
* Contains the node value.
|
|
19
|
-
*/
|
|
20
|
-
value;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
constructor(e) {
|
|
25
|
-
const dataItem = e.dataItem;
|
|
26
|
-
this.label = dataItem.label;
|
|
27
|
-
this.color = dataItem.color;
|
|
28
|
-
this.value = e.nodeValue;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, TemplateRef, Optional } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Selects a [template](link:site.data.urls.angular['templatesyntax'])
|
|
9
|
-
* within the `<kendo-sankey-tooltip>` component for the
|
|
10
|
-
* [series tooltip](slug:tooltip_sankey#toc-specifying-a-node-tooltip-template).
|
|
11
|
-
* The following context fields are frequently utilized:
|
|
12
|
-
* - `let-color="color"`—The node color.
|
|
13
|
-
* - `let-label="label"`—The node label data.
|
|
14
|
-
* - `let-value="value"`—The node value.
|
|
15
|
-
* Refer to the [`SankeyNodeTooltipTemplateContext`](slug:api_charts_sankeynodetooltiptemplatecontext) for the full list of available fields.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* import { Component } from '@angular/core';
|
|
20
|
-
* import { SankeyData } from '@progress/kendo-angular-charts';
|
|
21
|
-
*
|
|
22
|
-
* _@Component({
|
|
23
|
-
* selector: 'my-app',
|
|
24
|
-
* template: `
|
|
25
|
-
* <kendo-sankey [data]="data">
|
|
26
|
-
* <ng-template kendoSankeyNodeTooltipTemplate let-color="color" let-label="label" let-value="value">
|
|
27
|
-
* {{ label.text }}: {{ value }}
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-sankey>
|
|
30
|
-
* `,
|
|
31
|
-
* })
|
|
32
|
-
* export class AppComponent {
|
|
33
|
-
* public data: SankeyData = {
|
|
34
|
-
* nodes: [
|
|
35
|
-
* { id: 1, label: { text: 'Linux' } },
|
|
36
|
-
* { id: 0, label: { text: 'iOS'} },
|
|
37
|
-
* { id: 2, label: { text: 'Mobile' } },
|
|
38
|
-
* { id: 3, label: { text: 'Desktop' } },
|
|
39
|
-
* ],
|
|
40
|
-
* links: [
|
|
41
|
-
* { sourceId: 0, targetId: 2, value: 1 },
|
|
42
|
-
* { sourceId: 1, targetId: 2, value: 2 },
|
|
43
|
-
* { sourceId: 1, targetId: 3, value: 3 },
|
|
44
|
-
* ],
|
|
45
|
-
* };
|
|
46
|
-
* }
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export class SankeyNodeTooltipTemplateDirective {
|
|
51
|
-
templateRef;
|
|
52
|
-
constructor(templateRef) {
|
|
53
|
-
this.templateRef = templateRef;
|
|
54
|
-
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyNodeTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: SankeyNodeTooltipTemplateDirective, isStandalone: true, selector: "[kendoSankeyNodeTooltipTemplate]", ngImport: i0 });
|
|
57
|
-
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyNodeTooltipTemplateDirective, decorators: [{
|
|
59
|
-
type: Directive,
|
|
60
|
-
args: [{
|
|
61
|
-
selector: '[kendoSankeyNodeTooltipTemplate]',
|
|
62
|
-
standalone: true
|
|
63
|
-
}]
|
|
64
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
65
|
-
type: Optional
|
|
66
|
-
}] }] });
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, HostBinding, Input } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class SquareSymbol {
|
|
11
|
-
color;
|
|
12
|
-
size = 15;
|
|
13
|
-
display = 'inline-flex';
|
|
14
|
-
marginLeft = 3;
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SquareSymbol, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: SquareSymbol, isStandalone: true, selector: "[squareSymbol]", inputs: { color: "color", size: "size" }, host: { properties: { "style.backgroundColor": "this.color", "style.width.px": "this.size", "style.height.px": "this.size", "style.display": "this.display", "style.marginLeft.px": "this.marginLeft" } }, ngImport: i0 });
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SquareSymbol, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: '[squareSymbol]',
|
|
22
|
-
standalone: true
|
|
23
|
-
}]
|
|
24
|
-
}], propDecorators: { color: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}, {
|
|
27
|
-
type: HostBinding,
|
|
28
|
-
args: ['style.backgroundColor']
|
|
29
|
-
}], size: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}, {
|
|
32
|
-
type: HostBinding,
|
|
33
|
-
args: ['style.width.px']
|
|
34
|
-
}, {
|
|
35
|
-
type: HostBinding,
|
|
36
|
-
args: ['style.height.px']
|
|
37
|
-
}], display: [{
|
|
38
|
-
type: HostBinding,
|
|
39
|
-
args: ['style.display']
|
|
40
|
-
}], marginLeft: [{
|
|
41
|
-
type: HostBinding,
|
|
42
|
-
args: ['style.marginLeft.px']
|
|
43
|
-
}] } });
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ElementRef, Input, NgZone, Renderer2, TemplateRef, ViewChild } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { POPUP_CONTAINER, PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { BaseTooltip } from '../../chart/tooltip/base-tooltip';
|
|
9
|
-
import { bodyFactory } from '../../chart/tooltip/body-factory';
|
|
10
|
-
import { SankeyLinkTooltipTemplateContext } from './link-tooltip-template-context';
|
|
11
|
-
import { SankeyLinkTooltipTemplateDirective } from './link-tooltip-template.directive';
|
|
12
|
-
import { SankeyNodeTooltipTemplateContext } from './node-tooltip-template-context';
|
|
13
|
-
import { SankeyNodeTooltipTemplateDirective } from './node-tooltip-template.directive';
|
|
14
|
-
import { SankeyTooltipTemplateService } from './tooltip-template.service';
|
|
15
|
-
import { arrowLeftIcon, arrowRightIcon } from '@progress/kendo-svg-icons';
|
|
16
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
17
|
-
import { SquareSymbol } from './square-symbol.directive';
|
|
18
|
-
import { NgStyle, NgTemplateOutlet } from '@angular/common';
|
|
19
|
-
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
import * as i1 from "@progress/kendo-angular-popup";
|
|
22
|
-
import * as i2 from "./tooltip-template.service";
|
|
23
|
-
import * as i3 from "@progress/kendo-angular-l10n";
|
|
24
|
-
import * as i4 from "@progress/kendo-angular-intl";
|
|
25
|
-
const DEFAULT_OFFSET = 12;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export class SankeyTooltipPopupComponent extends BaseTooltip {
|
|
30
|
-
element;
|
|
31
|
-
popupService;
|
|
32
|
-
templateService;
|
|
33
|
-
localizationService;
|
|
34
|
-
intlService;
|
|
35
|
-
ngZone;
|
|
36
|
-
renderer;
|
|
37
|
-
nodeTooltipTemplateRef;
|
|
38
|
-
linkTooltipTemplateRef;
|
|
39
|
-
nodeTooltipContext;
|
|
40
|
-
linkTooltipContext;
|
|
41
|
-
defaultNodeTooltipTemplate;
|
|
42
|
-
defaultLinkTooltipTemplate;
|
|
43
|
-
templateRef;
|
|
44
|
-
animate = false;
|
|
45
|
-
wrapperClass = 'k-chart-tooltip-wrapper';
|
|
46
|
-
tooltipUnitFormat;
|
|
47
|
-
offset;
|
|
48
|
-
isNode;
|
|
49
|
-
isLink;
|
|
50
|
-
arrowIcon = arrowRightIcon;
|
|
51
|
-
// TODO: Move to themes
|
|
52
|
-
textStyle = { margin: '0 3px' };
|
|
53
|
-
tooltipStyle = { display: 'flex', alignItems: 'center' };
|
|
54
|
-
subscriptions;
|
|
55
|
-
rtl = false;
|
|
56
|
-
constructor(element, popupService, templateService, localizationService, intlService, ngZone, renderer) {
|
|
57
|
-
super(popupService, localizationService);
|
|
58
|
-
this.element = element;
|
|
59
|
-
this.popupService = popupService;
|
|
60
|
-
this.templateService = templateService;
|
|
61
|
-
this.localizationService = localizationService;
|
|
62
|
-
this.intlService = intlService;
|
|
63
|
-
this.ngZone = ngZone;
|
|
64
|
-
this.renderer = renderer;
|
|
65
|
-
}
|
|
66
|
-
onInit() {
|
|
67
|
-
this.popupRef.popupElement.className += ` ${this.wrapperClass}`;
|
|
68
|
-
}
|
|
69
|
-
ngAfterViewInit() {
|
|
70
|
-
this.setDirection();
|
|
71
|
-
this.subscriptions = this.localizationService.changes.subscribe(this.rtlChange.bind(this));
|
|
72
|
-
}
|
|
73
|
-
ngOnDestroy() {
|
|
74
|
-
super.ngOnDestroy();
|
|
75
|
-
if (this.subscriptions) {
|
|
76
|
-
this.subscriptions.unsubscribe();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
show(e) {
|
|
80
|
-
this.isNode = e.targetType === 'node';
|
|
81
|
-
this.isLink = e.targetType === 'link';
|
|
82
|
-
this.nodeTooltipTemplateRef = this.templateService.nodeTemplate || this.defaultNodeTooltipTemplate.templateRef;
|
|
83
|
-
this.nodeTooltipContext = new SankeyNodeTooltipTemplateContext(e);
|
|
84
|
-
this.linkTooltipTemplateRef = this.templateService.linkTemplate || this.defaultLinkTooltipTemplate.templateRef;
|
|
85
|
-
this.linkTooltipContext = new SankeyLinkTooltipTemplateContext(e);
|
|
86
|
-
super.show({
|
|
87
|
-
style: {
|
|
88
|
-
position: 'static' // Override k-tooltip positioning
|
|
89
|
-
},
|
|
90
|
-
anchor: {
|
|
91
|
-
align: e.tooltipData.popupAlign,
|
|
92
|
-
point: this.tooltipAnchor(e),
|
|
93
|
-
},
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
tooltipAnchor(e) {
|
|
97
|
-
const element = this.element.nativeElement;
|
|
98
|
-
const size = { width: element.offsetWidth, height: element.offsetHeight };
|
|
99
|
-
const anchor = { ...e.tooltipData.popupOffset };
|
|
100
|
-
const popupAlign = e.tooltipData.popupAlign;
|
|
101
|
-
const offset = this.offset || DEFAULT_OFFSET;
|
|
102
|
-
anchor.left += (popupAlign.horizontal === 'left') ? offset : (-1 * offset);
|
|
103
|
-
if (popupAlign.horizontal === 'right') {
|
|
104
|
-
anchor.left -= size.width;
|
|
105
|
-
}
|
|
106
|
-
if (popupAlign.vertical === 'bottom') {
|
|
107
|
-
anchor.top -= size.height + offset;
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
anchor.top += offset;
|
|
111
|
-
}
|
|
112
|
-
return anchor;
|
|
113
|
-
}
|
|
114
|
-
formatUnits(value) {
|
|
115
|
-
return this.intlService.format(this.tooltipUnitFormat, value ?? 0);
|
|
116
|
-
}
|
|
117
|
-
rtlChange() {
|
|
118
|
-
this.arrowIcon = this.rtl ? arrowLeftIcon : arrowRightIcon;
|
|
119
|
-
}
|
|
120
|
-
setDirection() {
|
|
121
|
-
this.rtl = this.isRTL;
|
|
122
|
-
if (this.element) {
|
|
123
|
-
this.renderer.setAttribute(this.element.nativeElement, 'dir', this.rtl ? 'rtl' : 'ltr');
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
get isRTL() {
|
|
127
|
-
return Boolean(this.localizationService.rtl);
|
|
128
|
-
}
|
|
129
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipPopupComponent, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.SankeyTooltipTemplateService }, { token: i3.LocalizationService }, { token: i4.IntlService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SankeyTooltipPopupComponent, isStandalone: true, selector: "kendo-sankey-tooltip-popup", inputs: { animate: "animate", wrapperClass: "wrapperClass", tooltipUnitFormat: "tooltipUnitFormat", offset: "offset" }, providers: [
|
|
131
|
-
PopupService,
|
|
132
|
-
{
|
|
133
|
-
provide: POPUP_CONTAINER,
|
|
134
|
-
useFactory: bodyFactory,
|
|
135
|
-
},
|
|
136
|
-
], viewQueries: [{ propertyName: "defaultNodeTooltipTemplate", first: true, predicate: SankeyNodeTooltipTemplateDirective, descendants: true }, { propertyName: "defaultLinkTooltipTemplate", first: true, predicate: SankeyLinkTooltipTemplateDirective, descendants: true }, { propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
137
|
-
<ng-template #content>
|
|
138
|
-
<div class="k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip" [ngStyle]="style">
|
|
139
|
-
<div class="k-tooltip-content">
|
|
140
|
-
@if (isNode) {
|
|
141
|
-
<ng-template
|
|
142
|
-
[ngTemplateOutlet]="nodeTooltipTemplateRef"
|
|
143
|
-
[ngTemplateOutletContext]="nodeTooltipContext"
|
|
144
|
-
>
|
|
145
|
-
</ng-template>
|
|
146
|
-
}
|
|
147
|
-
@if (isLink) {
|
|
148
|
-
<ng-template
|
|
149
|
-
[ngTemplateOutlet]="linkTooltipTemplateRef"
|
|
150
|
-
[ngTemplateOutletContext]="linkTooltipContext"
|
|
151
|
-
>
|
|
152
|
-
</ng-template>
|
|
153
|
-
}
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</ng-template>
|
|
157
|
-
|
|
158
|
-
<ng-template kendoSankeyNodeTooltipTemplate let-color="color" let-label="label" let-value="value">
|
|
159
|
-
<div [ngStyle]="tooltipStyle">
|
|
160
|
-
<div squareSymbol [color]="color"></div>
|
|
161
|
-
<span [ngStyle]="textStyle">{{ label.text }}</span>
|
|
162
|
-
<span [ngStyle]="textStyle">{{ formatUnits(value) }}</span>
|
|
163
|
-
</div>
|
|
164
|
-
</ng-template>
|
|
165
|
-
|
|
166
|
-
<ng-template kendoSankeyLinkTooltipTemplate let-source="source" let-target="target" let-value="value">
|
|
167
|
-
<div [ngStyle]="tooltipStyle">
|
|
168
|
-
<div squareSymbol [color]="source.color"></div>
|
|
169
|
-
<span [ngStyle]="textStyle">{{ source.label?.text }}</span>
|
|
170
|
-
<kendo-icon-wrapper [name]="arrowIcon.name" [svgIcon]="arrowIcon"></kendo-icon-wrapper>
|
|
171
|
-
<div squareSymbol [color]="target.color"></div>
|
|
172
|
-
<span [ngStyle]="textStyle">{{ target.label?.text }}</span>
|
|
173
|
-
<span [ngStyle]="textStyle">{{ formatUnits(value) }}</span>
|
|
174
|
-
</div>
|
|
175
|
-
</ng-template>
|
|
176
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: SankeyNodeTooltipTemplateDirective, selector: "[kendoSankeyNodeTooltipTemplate]" }, { kind: "directive", type: SquareSymbol, selector: "[squareSymbol]", inputs: ["color", "size"] }, { kind: "directive", type: SankeyLinkTooltipTemplateDirective, selector: "[kendoSankeyLinkTooltipTemplate]" }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
177
|
-
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipPopupComponent, decorators: [{
|
|
179
|
-
type: Component,
|
|
180
|
-
args: [{
|
|
181
|
-
providers: [
|
|
182
|
-
PopupService,
|
|
183
|
-
{
|
|
184
|
-
provide: POPUP_CONTAINER,
|
|
185
|
-
useFactory: bodyFactory,
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
selector: 'kendo-sankey-tooltip-popup',
|
|
189
|
-
template: `
|
|
190
|
-
<ng-template #content>
|
|
191
|
-
<div class="k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip" [ngStyle]="style">
|
|
192
|
-
<div class="k-tooltip-content">
|
|
193
|
-
@if (isNode) {
|
|
194
|
-
<ng-template
|
|
195
|
-
[ngTemplateOutlet]="nodeTooltipTemplateRef"
|
|
196
|
-
[ngTemplateOutletContext]="nodeTooltipContext"
|
|
197
|
-
>
|
|
198
|
-
</ng-template>
|
|
199
|
-
}
|
|
200
|
-
@if (isLink) {
|
|
201
|
-
<ng-template
|
|
202
|
-
[ngTemplateOutlet]="linkTooltipTemplateRef"
|
|
203
|
-
[ngTemplateOutletContext]="linkTooltipContext"
|
|
204
|
-
>
|
|
205
|
-
</ng-template>
|
|
206
|
-
}
|
|
207
|
-
</div>
|
|
208
|
-
</div>
|
|
209
|
-
</ng-template>
|
|
210
|
-
|
|
211
|
-
<ng-template kendoSankeyNodeTooltipTemplate let-color="color" let-label="label" let-value="value">
|
|
212
|
-
<div [ngStyle]="tooltipStyle">
|
|
213
|
-
<div squareSymbol [color]="color"></div>
|
|
214
|
-
<span [ngStyle]="textStyle">{{ label.text }}</span>
|
|
215
|
-
<span [ngStyle]="textStyle">{{ formatUnits(value) }}</span>
|
|
216
|
-
</div>
|
|
217
|
-
</ng-template>
|
|
218
|
-
|
|
219
|
-
<ng-template kendoSankeyLinkTooltipTemplate let-source="source" let-target="target" let-value="value">
|
|
220
|
-
<div [ngStyle]="tooltipStyle">
|
|
221
|
-
<div squareSymbol [color]="source.color"></div>
|
|
222
|
-
<span [ngStyle]="textStyle">{{ source.label?.text }}</span>
|
|
223
|
-
<kendo-icon-wrapper [name]="arrowIcon.name" [svgIcon]="arrowIcon"></kendo-icon-wrapper>
|
|
224
|
-
<div squareSymbol [color]="target.color"></div>
|
|
225
|
-
<span [ngStyle]="textStyle">{{ target.label?.text }}</span>
|
|
226
|
-
<span [ngStyle]="textStyle">{{ formatUnits(value) }}</span>
|
|
227
|
-
</div>
|
|
228
|
-
</ng-template>
|
|
229
|
-
`,
|
|
230
|
-
standalone: true,
|
|
231
|
-
imports: [NgStyle, NgTemplateOutlet, SankeyNodeTooltipTemplateDirective, SquareSymbol, SankeyLinkTooltipTemplateDirective, IconWrapperComponent]
|
|
232
|
-
}]
|
|
233
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.SankeyTooltipTemplateService }, { type: i3.LocalizationService }, { type: i4.IntlService }, { type: i0.NgZone }, { type: i0.Renderer2 }], propDecorators: { defaultNodeTooltipTemplate: [{
|
|
234
|
-
type: ViewChild,
|
|
235
|
-
args: [SankeyNodeTooltipTemplateDirective, { static: false }]
|
|
236
|
-
}], defaultLinkTooltipTemplate: [{
|
|
237
|
-
type: ViewChild,
|
|
238
|
-
args: [SankeyLinkTooltipTemplateDirective, { static: false }]
|
|
239
|
-
}], templateRef: [{
|
|
240
|
-
type: ViewChild,
|
|
241
|
-
args: ['content', { static: true }]
|
|
242
|
-
}], animate: [{
|
|
243
|
-
type: Input
|
|
244
|
-
}], wrapperClass: [{
|
|
245
|
-
type: Input
|
|
246
|
-
}], tooltipUnitFormat: [{
|
|
247
|
-
type: Input
|
|
248
|
-
}], offset: [{
|
|
249
|
-
type: Input
|
|
250
|
-
}] } });
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class SankeyTooltipTemplateService {
|
|
11
|
-
nodeTemplate;
|
|
12
|
-
linkTemplate;
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipTemplateService });
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipTemplateService, decorators: [{
|
|
17
|
-
type: Injectable
|
|
18
|
-
}] });
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ContentChild, Input } from '@angular/core';
|
|
6
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
-
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
-
import { SankeyLinkTooltipTemplateDirective } from './tooltip/link-tooltip-template.directive';
|
|
9
|
-
import { SankeyNodeTooltipTemplateDirective } from './tooltip/node-tooltip-template.directive';
|
|
10
|
-
import { SankeyTooltipTemplateService } from './tooltip/tooltip-template.service';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../common/configuration.service";
|
|
13
|
-
import * as i2 from "./tooltip/tooltip-template.service";
|
|
14
|
-
/**
|
|
15
|
-
* Represents the Sankey tooltip
|
|
16
|
-
* ([see example]({% slug tooltip_sankey %})).
|
|
17
|
-
*/
|
|
18
|
-
export class SankeyTooltipComponent extends SettingsComponent {
|
|
19
|
-
configurationService;
|
|
20
|
-
templateService;
|
|
21
|
-
/**
|
|
22
|
-
* Determines if the tooltip follows the mouse pointer.
|
|
23
|
-
*
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
followPointer;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the delay of the tooltip displaying.
|
|
29
|
-
* The delay is measured in milliseconds.
|
|
30
|
-
*
|
|
31
|
-
* @default 100
|
|
32
|
-
*/
|
|
33
|
-
delay;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the distance between the tooltip and the mouse pointer in pixels.
|
|
36
|
-
* @default 12
|
|
37
|
-
*/
|
|
38
|
-
offset;
|
|
39
|
-
/**
|
|
40
|
-
* Determines if the Sankey displays the link and node tooltips.
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
visible;
|
|
44
|
-
linkTooltipTemplate;
|
|
45
|
-
nodeTooltipTemplate;
|
|
46
|
-
constructor(configurationService, templateService) {
|
|
47
|
-
super('tooltip', configurationService);
|
|
48
|
-
this.configurationService = configurationService;
|
|
49
|
-
this.templateService = templateService;
|
|
50
|
-
this.markAsVisible();
|
|
51
|
-
}
|
|
52
|
-
ngAfterContentChecked() {
|
|
53
|
-
this.templateService.linkTemplate = this.linkTooltipTemplate?.templateRef;
|
|
54
|
-
this.templateService.nodeTemplate = this.nodeTooltipTemplate?.templateRef;
|
|
55
|
-
}
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.SankeyTooltipTemplateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SankeyTooltipComponent, isStandalone: true, selector: "kendo-sankey-tooltip", inputs: { followPointer: "followPointer", delay: "delay", offset: "offset", visible: "visible" }, queries: [{ propertyName: "linkTooltipTemplate", first: true, predicate: SankeyLinkTooltipTemplateDirective, descendants: true }, { propertyName: "nodeTooltipTemplate", first: true, predicate: SankeyNodeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
58
|
-
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyTooltipComponent, decorators: [{
|
|
60
|
-
type: Component,
|
|
61
|
-
args: [{
|
|
62
|
-
selector: 'kendo-sankey-tooltip',
|
|
63
|
-
template: '',
|
|
64
|
-
standalone: true
|
|
65
|
-
}]
|
|
66
|
-
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i2.SankeyTooltipTemplateService }], propDecorators: { followPointer: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], delay: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], offset: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], visible: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], linkTooltipTemplate: [{
|
|
75
|
-
type: ContentChild,
|
|
76
|
-
args: [SankeyLinkTooltipTemplateDirective, { static: false }]
|
|
77
|
-
}], nodeTooltipTemplate: [{
|
|
78
|
-
type: ContentChild,
|
|
79
|
-
args: [SankeyNodeTooltipTemplateDirective, { static: false }]
|
|
80
|
-
}] } });
|