@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,515 +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 { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, NgZone, Output, Renderer2, ViewChild, } from '@angular/core';
|
|
6
|
-
import { WatermarkOverlayComponent, isDocumentAvailable, shouldShowValidationUI, getLicenseMessage } from '@progress/kendo-angular-common';
|
|
7
|
-
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { exportImage, exportSVG } from '@progress/kendo-drawing';
|
|
9
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
|
-
import { combineLatest } from 'rxjs';
|
|
11
|
-
import { auditTime, tap } from 'rxjs/operators';
|
|
12
|
-
import { ConfigurationService, THROTTLE_MS } from './common/configuration.service';
|
|
13
|
-
import { copyChanges } from './common/copy-changes';
|
|
14
|
-
import { SankeyThemeService } from './sankey/theme.service';
|
|
15
|
-
import { toSimpleChanges } from './common/to-simple-changes';
|
|
16
|
-
import { packageMetadata } from './package-metadata';
|
|
17
|
-
import { InstanceEventService } from './sankey/events';
|
|
18
|
-
import { Sankey, } from '@progress/kendo-charts';
|
|
19
|
-
import { hasObservers } from './common/has-observers';
|
|
20
|
-
import { SankeyTooltipPopupComponent } from './sankey/tooltip/tooltip-popup.component';
|
|
21
|
-
import { SankeyTooltipTemplateService } from './sankey/tooltip/tooltip-template.service';
|
|
22
|
-
import { LocalizedMessagesDirective } from './sankey/localization/localized-messages.directive';
|
|
23
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
import * as i1 from "./common/configuration.service";
|
|
26
|
-
import * as i2 from "./sankey/theme.service";
|
|
27
|
-
import * as i3 from "@progress/kendo-angular-l10n";
|
|
28
|
-
import * as i4 from "./sankey/events";
|
|
29
|
-
import * as i5 from "@progress/kendo-angular-intl";
|
|
30
|
-
/**
|
|
31
|
-
* Represents the Kendo UI for Angular Sankey diagram component.
|
|
32
|
-
*
|
|
33
|
-
* The Sankey diagram visualizes flow data between different categories or stages.
|
|
34
|
-
* It displays nodes connected by links where the thickness of each link represents the flow value.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* import { Component } from '@angular/core';
|
|
39
|
-
*
|
|
40
|
-
* @Component({
|
|
41
|
-
* selector: 'my-app',
|
|
42
|
-
* template: `
|
|
43
|
-
* <kendo-sankey [data]="data">
|
|
44
|
-
* </kendo-sankey>
|
|
45
|
-
* `,
|
|
46
|
-
* })
|
|
47
|
-
* export class AppComponent {
|
|
48
|
-
* public data: SankeyData = {
|
|
49
|
-
* nodes: [
|
|
50
|
-
* { id: 1, label: { text: 'Linux' } },
|
|
51
|
-
* { id: 0, label: { text: 'iOS'} },
|
|
52
|
-
* { id: 2, label: { text: 'Mobile' } },
|
|
53
|
-
* { id: 3, label: { text: 'Desktop' } },
|
|
54
|
-
* ],
|
|
55
|
-
* links: [
|
|
56
|
-
* { sourceId: 0, targetId: 2, value: 1 },
|
|
57
|
-
* { sourceId: 1, targetId: 2, value: 2 },
|
|
58
|
-
* { sourceId: 1, targetId: 3, value: 3 },
|
|
59
|
-
* ],
|
|
60
|
-
* };
|
|
61
|
-
* }
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* @remarks
|
|
65
|
-
* Supported children components are: {@link SankeyCustomMessagesComponent}, {@link SankeyLabelsComponent}, {@link SankeyLegendComponent}, {@link SankeyLinksComponent}, {@link SankeyNodesComponent}, {@link SankeyTitleComponent}, and {@link SankeyTooltipComponent}.
|
|
66
|
-
*/
|
|
67
|
-
export class SankeyComponent {
|
|
68
|
-
element;
|
|
69
|
-
configurationService;
|
|
70
|
-
themeService;
|
|
71
|
-
localizationService;
|
|
72
|
-
instanceEventService;
|
|
73
|
-
ngZone;
|
|
74
|
-
changeDetector;
|
|
75
|
-
renderer;
|
|
76
|
-
intlService;
|
|
77
|
-
/**
|
|
78
|
-
* Specifies the data for the Sankey component containing the `links` and `nodes`.
|
|
79
|
-
*
|
|
80
|
-
* The data object defines the structure and relationships of your flow diagram.
|
|
81
|
-
*/
|
|
82
|
-
data;
|
|
83
|
-
/**
|
|
84
|
-
* Specifies the default configuration for links.
|
|
85
|
-
*
|
|
86
|
-
* The settings are applied to all links unless overridden by individual data items.
|
|
87
|
-
*/
|
|
88
|
-
links;
|
|
89
|
-
/**
|
|
90
|
-
* Specifies the default configuration for nodes.
|
|
91
|
-
*
|
|
92
|
-
* The settings are applied to all nodes unless overridden by individual data items.
|
|
93
|
-
*/
|
|
94
|
-
nodes;
|
|
95
|
-
/**
|
|
96
|
-
* Specifies the default configuration for labels.
|
|
97
|
-
*
|
|
98
|
-
* The settings are applied to all labels unless overridden by individual data items.
|
|
99
|
-
*/
|
|
100
|
-
labels;
|
|
101
|
-
/**
|
|
102
|
-
* Specifies the title configuration for the Sankey component.
|
|
103
|
-
*/
|
|
104
|
-
title;
|
|
105
|
-
/**
|
|
106
|
-
* Specifies the legend configuration for the Sankey component.
|
|
107
|
-
*/
|
|
108
|
-
legend;
|
|
109
|
-
/**
|
|
110
|
-
* Specifies the configuration for the Sankey tooltip.
|
|
111
|
-
*/
|
|
112
|
-
tooltip;
|
|
113
|
-
/**
|
|
114
|
-
* Determines whether the Sankey component performs automatic layout.
|
|
115
|
-
*
|
|
116
|
-
* When set to `true`, the component will not arrange nodes and links automatically.
|
|
117
|
-
*
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
120
|
-
disableAutoLayout;
|
|
121
|
-
/**
|
|
122
|
-
* Determines whether keyboard navigation is enabled for the Sankey component.
|
|
123
|
-
*
|
|
124
|
-
* When set to `false`, the keyboard navigation will be disabled.
|
|
125
|
-
*
|
|
126
|
-
* @default true
|
|
127
|
-
*/
|
|
128
|
-
navigable = true;
|
|
129
|
-
/**
|
|
130
|
-
* Specifies the settings for the tooltip popup.
|
|
131
|
-
*/
|
|
132
|
-
popupSettings;
|
|
133
|
-
/**
|
|
134
|
-
* Fires when the user hovers over a node.
|
|
135
|
-
*
|
|
136
|
-
* Similar to the `mouseenter` event.
|
|
137
|
-
*/
|
|
138
|
-
nodeEnter = new EventEmitter();
|
|
139
|
-
/**
|
|
140
|
-
* Fires when the user stops hovering over a node.
|
|
141
|
-
*
|
|
142
|
-
* Similar to the `mouseleave` event.
|
|
143
|
-
*/
|
|
144
|
-
nodeLeave = new EventEmitter();
|
|
145
|
-
/**
|
|
146
|
-
* Fires when the user clicks a node.
|
|
147
|
-
*/
|
|
148
|
-
nodeClick = new EventEmitter();
|
|
149
|
-
/**
|
|
150
|
-
* Fires when the user hovers over a link.
|
|
151
|
-
*
|
|
152
|
-
* Similar to the `mouseenter` event.
|
|
153
|
-
*/
|
|
154
|
-
linkEnter = new EventEmitter();
|
|
155
|
-
/**
|
|
156
|
-
* Fires when the user stops hovering over a link.
|
|
157
|
-
*
|
|
158
|
-
* Similar to the `mouseleave` event.
|
|
159
|
-
*/
|
|
160
|
-
linkLeave = new EventEmitter();
|
|
161
|
-
/**
|
|
162
|
-
* Fires when the user clicks a link.
|
|
163
|
-
*/
|
|
164
|
-
linkClick = new EventEmitter();
|
|
165
|
-
tooltipInstance;
|
|
166
|
-
instanceElement;
|
|
167
|
-
/**
|
|
168
|
-
* @hidden
|
|
169
|
-
*/
|
|
170
|
-
showLicenseWatermark = false;
|
|
171
|
-
/**
|
|
172
|
-
* @hidden
|
|
173
|
-
*/
|
|
174
|
-
licenseMessage;
|
|
175
|
-
instance;
|
|
176
|
-
options;
|
|
177
|
-
theme;
|
|
178
|
-
optionsChange;
|
|
179
|
-
redrawTimeout;
|
|
180
|
-
destroyed;
|
|
181
|
-
subscriptions;
|
|
182
|
-
rtl = false;
|
|
183
|
-
hostClasses = ['k-chart', 'k-sankey'];
|
|
184
|
-
constructor(element, configurationService, themeService, localizationService, instanceEventService, ngZone, changeDetector, renderer, intlService) {
|
|
185
|
-
this.element = element;
|
|
186
|
-
this.configurationService = configurationService;
|
|
187
|
-
this.themeService = themeService;
|
|
188
|
-
this.localizationService = localizationService;
|
|
189
|
-
this.instanceEventService = instanceEventService;
|
|
190
|
-
this.ngZone = ngZone;
|
|
191
|
-
this.changeDetector = changeDetector;
|
|
192
|
-
this.renderer = renderer;
|
|
193
|
-
this.intlService = intlService;
|
|
194
|
-
const isValid = validatePackage(packageMetadata);
|
|
195
|
-
this.licenseMessage = getLicenseMessage(packageMetadata);
|
|
196
|
-
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
197
|
-
this.themeService.loadTheme();
|
|
198
|
-
this.refreshWait();
|
|
199
|
-
}
|
|
200
|
-
ngOnInit() {
|
|
201
|
-
if (this.element) {
|
|
202
|
-
this.hostClasses.forEach(name => {
|
|
203
|
-
this.renderer.addClass(this.element.nativeElement, name);
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
ngAfterViewInit() {
|
|
208
|
-
this.setDirection();
|
|
209
|
-
this.subscriptions = this.intlService.changes.subscribe(this.intlChange.bind(this));
|
|
210
|
-
this.subscriptions.add(this.localizationService.changes.subscribe(this.rtlChange.bind(this)));
|
|
211
|
-
}
|
|
212
|
-
ngOnChanges(changes) {
|
|
213
|
-
const store = this.configurationService.store;
|
|
214
|
-
copyChanges(changes, store);
|
|
215
|
-
store.popupSettings = null;
|
|
216
|
-
this.configurationService.push(store);
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* Updates the component fields with the specified values and refreshes the component.
|
|
220
|
-
*
|
|
221
|
-
* Use this method when you cannot set configuration values through the template.
|
|
222
|
-
*
|
|
223
|
-
* @example
|
|
224
|
-
* ```ts-no-run
|
|
225
|
-
* sankey.notifyChanges({ title: { text: 'New Title' } });
|
|
226
|
-
* ```
|
|
227
|
-
*
|
|
228
|
-
* @param changes An object containing the updated input fields.
|
|
229
|
-
*/
|
|
230
|
-
notifyChanges(changes) {
|
|
231
|
-
this.ngOnChanges(toSimpleChanges(changes));
|
|
232
|
-
}
|
|
233
|
-
ngOnDestroy() {
|
|
234
|
-
this.destroyed = true;
|
|
235
|
-
if (this.optionsChange) {
|
|
236
|
-
this.optionsChange.unsubscribe();
|
|
237
|
-
}
|
|
238
|
-
if (this.instance) {
|
|
239
|
-
this.instance.destroy();
|
|
240
|
-
this.instance = null;
|
|
241
|
-
}
|
|
242
|
-
if (this.subscriptions) {
|
|
243
|
-
this.subscriptions.unsubscribe();
|
|
244
|
-
}
|
|
245
|
-
clearTimeout(this.redrawTimeout);
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* @hidden
|
|
249
|
-
*/
|
|
250
|
-
messageFor(key) {
|
|
251
|
-
return this.localizationService.get(key);
|
|
252
|
-
}
|
|
253
|
-
createInstance(element) {
|
|
254
|
-
this.instance = new Sankey(element, this.instanceOptions, this.theme);
|
|
255
|
-
['nodeEnter', 'nodeLeave', 'nodeClick', 'linkEnter', 'linkLeave', 'linkClick'].forEach((eventName) => this.instance.bind(eventName, (e) => this.trigger(eventName, e)));
|
|
256
|
-
this.instance.bind('tooltipShow', (e) => this.onShowTooltip(e));
|
|
257
|
-
this.instance.bind('tooltipHide', () => this.onHideTooltip());
|
|
258
|
-
this.hostClasses.forEach(name => {
|
|
259
|
-
this.renderer.removeClass(this.instanceElement.nativeElement, name);
|
|
260
|
-
});
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* Exports the Sankey diagram as an image.
|
|
264
|
-
*
|
|
265
|
-
* The export operation is asynchronous and returns a promise.
|
|
266
|
-
*
|
|
267
|
-
* @param {ImageExportOptions} options - The configuration options for the exported image.
|
|
268
|
-
* @returns {Promise<string>} - A promise that resolves with a PNG image encoded as a Data URI.
|
|
269
|
-
*/
|
|
270
|
-
exportImage(options = {}) {
|
|
271
|
-
return exportImage(this.exportVisual(options), options);
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Exports the Sankey diagram as an SVG document.
|
|
275
|
-
*
|
|
276
|
-
* The export operation is asynchronous and returns a promise.
|
|
277
|
-
*
|
|
278
|
-
* @param options The parameters for the exported file.
|
|
279
|
-
* @returns A promise that will be resolved with an SVG document that is encoded as a Data URI.
|
|
280
|
-
*/
|
|
281
|
-
exportSVG(options = {}) {
|
|
282
|
-
return exportSVG(this.exportVisual(options), options);
|
|
283
|
-
}
|
|
284
|
-
/**
|
|
285
|
-
* Exports the visual of the Sankey component to a drawing group.
|
|
286
|
-
*
|
|
287
|
-
* @param options The parameters for the export operation.
|
|
288
|
-
* @returns The root Group of the scene.
|
|
289
|
-
*/
|
|
290
|
-
exportVisual(options = {}) {
|
|
291
|
-
return this.instance.exportVisual(options);
|
|
292
|
-
}
|
|
293
|
-
init() {
|
|
294
|
-
if (!this.canRender) {
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
const element = this.instanceElement.nativeElement;
|
|
298
|
-
this.createInstance(element);
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* Reloads the Sankey appearance settings from the current [Kendo UI Theme]({% slug themesandstyles %}).
|
|
302
|
-
*
|
|
303
|
-
* Call this method after loading a different theme stylesheet.
|
|
304
|
-
*/
|
|
305
|
-
reloadTheme() {
|
|
306
|
-
if (!this.instance) {
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
this.themeService.reset();
|
|
310
|
-
this.instance.destroy();
|
|
311
|
-
this.instance = null;
|
|
312
|
-
}
|
|
313
|
-
onShowTooltip(e) {
|
|
314
|
-
this.run(() => {
|
|
315
|
-
this.tooltipInstance.show(e);
|
|
316
|
-
}, true, true);
|
|
317
|
-
}
|
|
318
|
-
onHideTooltip() {
|
|
319
|
-
if (this.tooltipInstance.active) {
|
|
320
|
-
this.tooltipInstance.hide();
|
|
321
|
-
this.detectChanges();
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
trigger(name, e) {
|
|
325
|
-
const emitter = this.activeEmitter(name);
|
|
326
|
-
if (emitter) {
|
|
327
|
-
const args = this.instanceEventService.create(name, e, this);
|
|
328
|
-
this.run(() => {
|
|
329
|
-
emitter.emit(args);
|
|
330
|
-
});
|
|
331
|
-
return args.isDefaultPrevented && args.isDefaultPrevented();
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
requiresHandlers(names) {
|
|
335
|
-
for (let idx = 0; idx < names.length; idx++) {
|
|
336
|
-
if (this.activeEmitter(names[idx])) {
|
|
337
|
-
return true;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
return false;
|
|
341
|
-
}
|
|
342
|
-
refresh() {
|
|
343
|
-
clearTimeout(this.redrawTimeout);
|
|
344
|
-
if (!this.instance) {
|
|
345
|
-
this.init();
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
this.updateOptions();
|
|
349
|
-
}
|
|
350
|
-
updateOptions() {
|
|
351
|
-
this.instance.setOptions(this.instanceOptions);
|
|
352
|
-
}
|
|
353
|
-
get canRender() {
|
|
354
|
-
return isDocumentAvailable() && Boolean(this.instanceElement);
|
|
355
|
-
}
|
|
356
|
-
get instanceOptions() {
|
|
357
|
-
return { ...this.options, rtl: this.rtl, disableKeyboardNavigation: !this.navigable };
|
|
358
|
-
}
|
|
359
|
-
activeEmitter(name) {
|
|
360
|
-
const emitter = this[name];
|
|
361
|
-
if (emitter && emitter.emit && hasObservers(emitter)) {
|
|
362
|
-
return emitter;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
refreshWait() {
|
|
366
|
-
this.ngZone.runOutsideAngular(() => {
|
|
367
|
-
this.optionsChange = combineLatest([this.configurationService.onChange$, this.themeService.onChange$])
|
|
368
|
-
.pipe(tap((result) => {
|
|
369
|
-
this.options = result[0];
|
|
370
|
-
this.theme = result[1];
|
|
371
|
-
}), auditTime(THROTTLE_MS))
|
|
372
|
-
.subscribe(() => {
|
|
373
|
-
this.refresh();
|
|
374
|
-
});
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
run(callback, inZone = true, detectChanges) {
|
|
378
|
-
if (inZone) {
|
|
379
|
-
if (detectChanges) {
|
|
380
|
-
this.changeDetector.markForCheck();
|
|
381
|
-
}
|
|
382
|
-
this.ngZone.run(callback);
|
|
383
|
-
}
|
|
384
|
-
else {
|
|
385
|
-
callback();
|
|
386
|
-
if (detectChanges) {
|
|
387
|
-
this.detectChanges();
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
detectChanges() {
|
|
392
|
-
if (!this.destroyed) {
|
|
393
|
-
this.changeDetector.detectChanges();
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
intlChange() {
|
|
397
|
-
if (this.instance) {
|
|
398
|
-
this.refresh();
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
rtlChange() {
|
|
402
|
-
if (this.instance && this.rtl !== this.isRTL) {
|
|
403
|
-
this.refresh();
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
setDirection() {
|
|
407
|
-
this.rtl = this.isRTL;
|
|
408
|
-
if (this.element) {
|
|
409
|
-
this.renderer.setAttribute(this.element.nativeElement, 'dir', this.rtl ? 'rtl' : 'ltr');
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
get isRTL() {
|
|
413
|
-
return Boolean(this.localizationService.rtl);
|
|
414
|
-
}
|
|
415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyComponent, deps: [{ token: i0.ElementRef }, { token: i1.ConfigurationService }, { token: i2.SankeyThemeService }, { token: i3.LocalizationService }, { token: i4.InstanceEventService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i5.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
416
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SankeyComponent, isStandalone: true, selector: "kendo-sankey", inputs: { data: "data", links: "links", nodes: "nodes", labels: "labels", title: "title", legend: "legend", tooltip: "tooltip", disableAutoLayout: "disableAutoLayout", navigable: "navigable", popupSettings: "popupSettings" }, outputs: { nodeEnter: "nodeEnter", nodeLeave: "nodeLeave", nodeClick: "nodeClick", linkEnter: "linkEnter", linkLeave: "linkLeave", linkClick: "linkClick" }, providers: [
|
|
417
|
-
ConfigurationService,
|
|
418
|
-
LocalizationService,
|
|
419
|
-
InstanceEventService,
|
|
420
|
-
SankeyTooltipTemplateService,
|
|
421
|
-
{
|
|
422
|
-
provide: L10N_PREFIX,
|
|
423
|
-
useValue: 'kendo.sankey',
|
|
424
|
-
},
|
|
425
|
-
], viewQueries: [{ propertyName: "tooltipInstance", first: true, predicate: SankeyTooltipPopupComponent, descendants: true, static: true }, { propertyName: "instanceElement", first: true, predicate: ["instance"], descendants: true, static: true }], exportAs: ["kendoSankey"], usesOnChanges: true, ngImport: i0, template: `
|
|
426
|
-
<ng-container
|
|
427
|
-
kendoSankeyLocalizedMessages
|
|
428
|
-
i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
|
|
429
|
-
tooltipUnitFormat="({0} units)"
|
|
430
|
-
></ng-container>
|
|
431
|
-
<div #instance class="k-chart-surface"></div>
|
|
432
|
-
<kendo-sankey-tooltip-popup
|
|
433
|
-
[popupSettings]="popupSettings"
|
|
434
|
-
[tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
|
|
435
|
-
>
|
|
436
|
-
</kendo-sankey-tooltip-popup>
|
|
437
|
-
@if (showLicenseWatermark) {
|
|
438
|
-
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
439
|
-
}
|
|
440
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoSankeyLocalizedMessages]" }, { kind: "component", type: SankeyTooltipPopupComponent, selector: "kendo-sankey-tooltip-popup", inputs: ["animate", "wrapperClass", "tooltipUnitFormat", "offset"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
441
|
-
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyComponent, decorators: [{
|
|
443
|
-
type: Component,
|
|
444
|
-
args: [{
|
|
445
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
446
|
-
exportAs: 'kendoSankey',
|
|
447
|
-
providers: [
|
|
448
|
-
ConfigurationService,
|
|
449
|
-
LocalizationService,
|
|
450
|
-
InstanceEventService,
|
|
451
|
-
SankeyTooltipTemplateService,
|
|
452
|
-
{
|
|
453
|
-
provide: L10N_PREFIX,
|
|
454
|
-
useValue: 'kendo.sankey',
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
selector: 'kendo-sankey',
|
|
458
|
-
template: `
|
|
459
|
-
<ng-container
|
|
460
|
-
kendoSankeyLocalizedMessages
|
|
461
|
-
i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
|
|
462
|
-
tooltipUnitFormat="({0} units)"
|
|
463
|
-
></ng-container>
|
|
464
|
-
<div #instance class="k-chart-surface"></div>
|
|
465
|
-
<kendo-sankey-tooltip-popup
|
|
466
|
-
[popupSettings]="popupSettings"
|
|
467
|
-
[tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
|
|
468
|
-
>
|
|
469
|
-
</kendo-sankey-tooltip-popup>
|
|
470
|
-
@if (showLicenseWatermark) {
|
|
471
|
-
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
472
|
-
}
|
|
473
|
-
`,
|
|
474
|
-
standalone: true,
|
|
475
|
-
imports: [LocalizedMessagesDirective, SankeyTooltipPopupComponent, WatermarkOverlayComponent]
|
|
476
|
-
}]
|
|
477
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ConfigurationService }, { type: i2.SankeyThemeService }, { type: i3.LocalizationService }, { type: i4.InstanceEventService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i5.IntlService }], propDecorators: { data: [{
|
|
478
|
-
type: Input
|
|
479
|
-
}], links: [{
|
|
480
|
-
type: Input
|
|
481
|
-
}], nodes: [{
|
|
482
|
-
type: Input
|
|
483
|
-
}], labels: [{
|
|
484
|
-
type: Input
|
|
485
|
-
}], title: [{
|
|
486
|
-
type: Input
|
|
487
|
-
}], legend: [{
|
|
488
|
-
type: Input
|
|
489
|
-
}], tooltip: [{
|
|
490
|
-
type: Input
|
|
491
|
-
}], disableAutoLayout: [{
|
|
492
|
-
type: Input
|
|
493
|
-
}], navigable: [{
|
|
494
|
-
type: Input
|
|
495
|
-
}], popupSettings: [{
|
|
496
|
-
type: Input
|
|
497
|
-
}], nodeEnter: [{
|
|
498
|
-
type: Output
|
|
499
|
-
}], nodeLeave: [{
|
|
500
|
-
type: Output
|
|
501
|
-
}], nodeClick: [{
|
|
502
|
-
type: Output
|
|
503
|
-
}], linkEnter: [{
|
|
504
|
-
type: Output
|
|
505
|
-
}], linkLeave: [{
|
|
506
|
-
type: Output
|
|
507
|
-
}], linkClick: [{
|
|
508
|
-
type: Output
|
|
509
|
-
}], tooltipInstance: [{
|
|
510
|
-
type: ViewChild,
|
|
511
|
-
args: [SankeyTooltipPopupComponent, { static: true }]
|
|
512
|
-
}], instanceElement: [{
|
|
513
|
-
type: ViewChild,
|
|
514
|
-
args: ['instance', { static: true }]
|
|
515
|
-
}] } });
|
|
@@ -1,20 +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 { SankeyComponent } from './sankey.component';
|
|
6
|
-
import { SankeyFlatBindingDirective } from './sankey/data-binding/flat-binding.directive';
|
|
7
|
-
import { SankeyFlatBindingDataBoundEvent } from './sankey/data-binding/flat-binding.event';
|
|
8
|
-
import { SankeyLabelsComponent } from './sankey/labels.component';
|
|
9
|
-
import { SankeyLegendComponent } from './sankey/legend.component';
|
|
10
|
-
import { SankeyLinksComponent } from './sankey/links.component';
|
|
11
|
-
import { SankeyCustomMessagesComponent } from './sankey/localization/custom-messages.component';
|
|
12
|
-
import { LocalizedMessagesDirective } from './sankey/localization/localized-messages.directive';
|
|
13
|
-
import { SankeyNodesComponent } from './sankey/nodes.component';
|
|
14
|
-
import { SankeyTitleComponent } from './sankey/title.component';
|
|
15
|
-
import { SankeyTooltipComponent } from './sankey/tooltip.component';
|
|
16
|
-
import { SankeyLinkTooltipTemplateDirective } from './sankey/tooltip/link-tooltip-template.directive';
|
|
17
|
-
import { SankeyNodeTooltipTemplateDirective } from './sankey/tooltip/node-tooltip-template.directive';
|
|
18
|
-
import { SankeyTooltipPopupComponent } from './sankey/tooltip/tooltip-popup.component';
|
|
19
|
-
// Re-exports
|
|
20
|
-
export { SankeyComponent, SankeyTooltipPopupComponent, SankeyLinkTooltipTemplateDirective, SankeyNodeTooltipTemplateDirective, SankeyCustomMessagesComponent, LocalizedMessagesDirective, SankeyTitleComponent, SankeyLegendComponent, SankeyTooltipComponent, SankeyLinksComponent, SankeyNodesComponent, SankeyLabelsComponent, SankeyFlatBindingDirective, SankeyFlatBindingDataBoundEvent };
|
|
@@ -1,61 +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 { NgModule } from '@angular/core';
|
|
6
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
7
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { ThemeService } from './common/theme.service';
|
|
10
|
-
import { KENDO_SANKEY } from './directives';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "./sankey.component";
|
|
13
|
-
import * as i2 from "./sankey/tooltip/tooltip-popup.component";
|
|
14
|
-
import * as i3 from "./sankey/tooltip/link-tooltip-template.directive";
|
|
15
|
-
import * as i4 from "./sankey/tooltip/node-tooltip-template.directive";
|
|
16
|
-
import * as i5 from "./sankey/localization/custom-messages.component";
|
|
17
|
-
import * as i6 from "./sankey/localization/localized-messages.directive";
|
|
18
|
-
import * as i7 from "./sankey/title.component";
|
|
19
|
-
import * as i8 from "./sankey/legend.component";
|
|
20
|
-
import * as i9 from "./sankey/tooltip.component";
|
|
21
|
-
import * as i10 from "./sankey/links.component";
|
|
22
|
-
import * as i11 from "./sankey/nodes.component";
|
|
23
|
-
import * as i12 from "./sankey/labels.component";
|
|
24
|
-
import * as i13 from "./sankey/data-binding/flat-binding.directive";
|
|
25
|
-
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
26
|
-
/**
|
|
27
|
-
* Represents the Kendo UI for Angular Sankey module that includes the Sankey component and directives.
|
|
28
|
-
*
|
|
29
|
-
* Import the `SankeyModule` into your application
|
|
30
|
-
* [root module](link:site.data.urls.angular['ngmodules']#angular-modularity) or any other sub-module
|
|
31
|
-
* that uses the Sankey component.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* import { NgModule } from '@angular/core';
|
|
36
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
37
|
-
* import { SankeyModule } from '@progress/kendo-angular-charts';
|
|
38
|
-
* import { AppComponent } from './app.component';
|
|
39
|
-
*
|
|
40
|
-
* @NgModule({
|
|
41
|
-
* bootstrap: [AppComponent],
|
|
42
|
-
* declarations: [AppComponent],
|
|
43
|
-
* imports: [BrowserModule, SankeyModule]
|
|
44
|
-
* })
|
|
45
|
-
* export class AppModule {
|
|
46
|
-
* }
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
export class SankeyModule {
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
51
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SankeyModule, imports: [i1.SankeyComponent, i2.SankeyTooltipPopupComponent, i3.SankeyLinkTooltipTemplateDirective, i4.SankeyNodeTooltipTemplateDirective, i5.SankeyCustomMessagesComponent, i6.LocalizedMessagesDirective, i7.SankeyTitleComponent, i8.SankeyLegendComponent, i9.SankeyTooltipComponent, i10.SankeyLinksComponent, i11.SankeyNodesComponent, i12.SankeyLabelsComponent, i13.SankeyFlatBindingDirective], exports: [i1.SankeyComponent, i2.SankeyTooltipPopupComponent, i3.SankeyLinkTooltipTemplateDirective, i4.SankeyNodeTooltipTemplateDirective, i5.SankeyCustomMessagesComponent, i6.LocalizedMessagesDirective, i7.SankeyTitleComponent, i8.SankeyLegendComponent, i9.SankeyTooltipComponent, i10.SankeyLinksComponent, i11.SankeyNodesComponent, i12.SankeyLabelsComponent, i13.SankeyFlatBindingDirective] });
|
|
52
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyModule, providers: [IconsService, ResizeBatchService, PopupService, ThemeService], imports: [i1.SankeyComponent, i2.SankeyTooltipPopupComponent] });
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyModule, decorators: [{
|
|
55
|
-
type: NgModule,
|
|
56
|
-
args: [{
|
|
57
|
-
imports: [...KENDO_SANKEY],
|
|
58
|
-
exports: [...KENDO_SANKEY],
|
|
59
|
-
providers: [IconsService, ResizeBatchService, PopupService, ThemeService]
|
|
60
|
-
}]
|
|
61
|
-
}] });
|