@progress/kendo-angular-charts 15.5.0 → 16.0.0-develop.10
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/axis-defaults/crosshair.component.d.ts +1 -1
- package/chart/axis-defaults/crosshair.tooltip.component.d.ts +1 -1
- package/chart/axis-defaults/labels.component.d.ts +1 -1
- package/chart/axis-defaults/title.component.d.ts +1 -1
- package/chart/axis-defaults.component.d.ts +1 -1
- package/chart/category-axis-item/crosshair.component.d.ts +1 -1
- package/chart/category-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/category-axis-item/labels.component.d.ts +1 -1
- package/chart/category-axis-item/notes.component.d.ts +1 -1
- package/chart/category-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/category-axis-item/notes.label.component.d.ts +1 -1
- package/chart/category-axis-item/range-labels.component.d.ts +1 -1
- package/chart/category-axis-item/select.component.d.ts +1 -1
- package/chart/category-axis-item/title.component.d.ts +1 -1
- package/chart/category-axis-item.component.d.ts +1 -1
- package/chart/category-axis.component.d.ts +1 -1
- package/chart/chart-area.component.d.ts +1 -1
- package/chart/donut-center-template.directive.d.ts +1 -1
- package/chart/legend/inactive-items.component.d.ts +1 -1
- package/chart/legend/item.component.d.ts +1 -1
- package/chart/legend.component.d.ts +1 -1
- package/chart/pane/title.component.d.ts +1 -1
- package/chart/pane-defaults/title.component.d.ts +1 -1
- package/chart/pane-defaults.component.d.ts +1 -1
- package/chart/pane.component.d.ts +1 -1
- package/chart/panes.component.d.ts +1 -1
- package/chart/plot-area.component.d.ts +1 -1
- package/chart/series-defaults/labels.component.d.ts +1 -1
- package/chart/series-defaults/labels.from.component.d.ts +1 -1
- package/chart/series-defaults/labels.to.component.d.ts +1 -1
- package/chart/series-defaults/notes.component.d.ts +1 -1
- package/chart/series-defaults/notes.icon.component.d.ts +1 -1
- package/chart/series-defaults/notes.label.component.d.ts +1 -1
- package/chart/series-defaults/tooltip.component.d.ts +1 -1
- package/chart/series-defaults.component.d.ts +1 -1
- package/chart/series-drilldown-template.directive.d.ts +1 -1
- package/chart/series-item/error-bars.component.d.ts +1 -1
- package/chart/series-item/extremes.component.d.ts +1 -1
- package/chart/series-item/highlight.component.d.ts +1 -1
- package/chart/series-item/labels.component.d.ts +1 -1
- package/chart/series-item/labels.from.component.d.ts +1 -1
- package/chart/series-item/labels.to.component.d.ts +1 -1
- package/chart/series-item/markers.component.d.ts +1 -1
- package/chart/series-item/notes.component.d.ts +1 -1
- package/chart/series-item/notes.icon.component.d.ts +1 -1
- package/chart/series-item/notes.label.component.d.ts +1 -1
- package/chart/series-item/outliers.component.d.ts +1 -1
- package/chart/series-item/tooltip.component.d.ts +1 -1
- package/chart/series-item/trendline.component.d.ts +1 -1
- package/chart/series-item/trendline.forecast.component.d.ts +1 -1
- package/chart/series-item.component.d.ts +1 -1
- package/chart/series.component.d.ts +1 -1
- package/chart/subtitle.component.d.ts +1 -1
- package/chart/title.component.d.ts +1 -1
- package/chart/tooltip/base-tooltip.d.ts +1 -1
- package/chart/tooltip/crosshair-tooltip.component.d.ts +1 -1
- package/chart/tooltip/crosshair-tooltips-container.component.d.ts +1 -1
- package/chart/tooltip/series-tooltip-template.directive.d.ts +1 -1
- package/chart/tooltip/shared-tooltip-template.directive.d.ts +1 -1
- package/chart/tooltip/tooltip-popup.component.d.ts +1 -1
- package/chart/tooltip.component.d.ts +1 -1
- package/chart/value-axis-item/crosshair.component.d.ts +1 -1
- package/chart/value-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/value-axis-item/labels.component.d.ts +1 -1
- package/chart/value-axis-item/notes.component.d.ts +1 -1
- package/chart/value-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/value-axis-item/notes.label.component.d.ts +1 -1
- package/chart/value-axis-item/title.component.d.ts +1 -1
- package/chart/value-axis-item.component.d.ts +1 -1
- package/chart/value-axis.component.d.ts +1 -1
- package/chart/x-axis-item/crosshair.component.d.ts +1 -1
- package/chart/x-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/x-axis-item/labels.component.d.ts +1 -1
- package/chart/x-axis-item/notes.component.d.ts +1 -1
- package/chart/x-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/x-axis-item/notes.label.component.d.ts +1 -1
- package/chart/x-axis-item/title.component.d.ts +1 -1
- package/chart/x-axis-item.component.d.ts +1 -1
- package/chart/x-axis.component.d.ts +1 -1
- package/chart/y-axis-item/crosshair.component.d.ts +1 -1
- package/chart/y-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/y-axis-item/labels.component.d.ts +1 -1
- package/chart/y-axis-item/notes.component.d.ts +1 -1
- package/chart/y-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/y-axis-item/notes.label.component.d.ts +1 -1
- package/chart/y-axis-item/title.component.d.ts +1 -1
- package/chart/y-axis-item.component.d.ts +1 -1
- package/chart/y-axis.component.d.ts +1 -1
- package/chart/zoomable.component.d.ts +1 -1
- package/chart-breadcrumb.component.d.ts +1 -1
- package/chart.component.d.ts +1 -1
- package/charts.module.d.ts +2 -1
- package/common/collection-item.component.d.ts +1 -1
- package/common/collection.component.d.ts +1 -1
- package/common/has-observers.d.ts +9 -0
- package/common/settings.component.d.ts +1 -1
- package/esm2020/chart/axis-defaults/crosshair.component.mjs +3 -3
- package/esm2020/chart/axis-defaults/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/axis-defaults/labels.component.mjs +3 -3
- package/esm2020/chart/axis-defaults/title.component.mjs +3 -3
- package/esm2020/chart/axis-defaults.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/range-labels.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/select.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/category-axis-item.component.mjs +3 -3
- package/esm2020/chart/category-axis.component.mjs +3 -3
- package/esm2020/chart/chart-area.component.mjs +3 -3
- package/esm2020/chart/donut-center-template.directive.mjs +3 -3
- package/esm2020/chart/legend/inactive-items.component.mjs +3 -3
- package/esm2020/chart/legend/item.component.mjs +3 -3
- package/esm2020/chart/legend.component.mjs +3 -3
- package/esm2020/chart/pane/title.component.mjs +3 -3
- package/esm2020/chart/pane-defaults/title.component.mjs +3 -3
- package/esm2020/chart/pane-defaults.component.mjs +3 -3
- package/esm2020/chart/pane.component.mjs +3 -3
- package/esm2020/chart/panes.component.mjs +3 -3
- package/esm2020/chart/plot-area.component.mjs +3 -3
- package/esm2020/chart/series-defaults/labels.component.mjs +3 -3
- package/esm2020/chart/series-defaults/labels.from.component.mjs +3 -3
- package/esm2020/chart/series-defaults/labels.to.component.mjs +3 -3
- package/esm2020/chart/series-defaults/notes.component.mjs +3 -3
- package/esm2020/chart/series-defaults/notes.icon.component.mjs +3 -3
- package/esm2020/chart/series-defaults/notes.label.component.mjs +3 -3
- package/esm2020/chart/series-defaults/tooltip.component.mjs +3 -3
- package/esm2020/chart/series-defaults.component.mjs +3 -3
- package/esm2020/chart/series-drilldown-template.directive.mjs +3 -3
- package/esm2020/chart/series-item/error-bars.component.mjs +3 -3
- package/esm2020/chart/series-item/extremes.component.mjs +3 -3
- package/esm2020/chart/series-item/highlight.component.mjs +3 -3
- package/esm2020/chart/series-item/labels.component.mjs +3 -3
- package/esm2020/chart/series-item/labels.from.component.mjs +3 -3
- package/esm2020/chart/series-item/labels.to.component.mjs +3 -3
- package/esm2020/chart/series-item/markers.component.mjs +3 -3
- package/esm2020/chart/series-item/notes.component.mjs +3 -3
- package/esm2020/chart/series-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/series-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/series-item/outliers.component.mjs +3 -3
- package/esm2020/chart/series-item/tooltip.component.mjs +3 -3
- package/esm2020/chart/series-item/trendline.component.mjs +3 -3
- package/esm2020/chart/series-item/trendline.forecast.component.mjs +3 -3
- package/esm2020/chart/series-item.component.mjs +3 -3
- package/esm2020/chart/series.component.mjs +3 -3
- package/esm2020/chart/subtitle.component.mjs +3 -3
- package/esm2020/chart/title.component.mjs +3 -3
- package/esm2020/chart/tooltip/base-tooltip.mjs +3 -3
- package/esm2020/chart/tooltip/crosshair-tooltip.component.mjs +4 -4
- package/esm2020/chart/tooltip/crosshair-tooltips-container.component.mjs +6 -6
- package/esm2020/chart/tooltip/series-tooltip-template.directive.mjs +3 -3
- package/esm2020/chart/tooltip/shared-tooltip-template.directive.mjs +3 -3
- package/esm2020/chart/tooltip/tooltip-popup.component.mjs +4 -4
- package/esm2020/chart/tooltip.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/value-axis-item.component.mjs +3 -3
- package/esm2020/chart/value-axis.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/x-axis-item.component.mjs +3 -3
- package/esm2020/chart/x-axis.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/y-axis-item.component.mjs +3 -3
- package/esm2020/chart/y-axis.component.mjs +3 -3
- package/esm2020/chart/zoomable.component.mjs +3 -3
- package/esm2020/chart-breadcrumb.component.mjs +4 -4
- package/esm2020/chart.component.mjs +9 -11
- package/esm2020/chart.module.mjs +5 -5
- package/esm2020/charts.module.mjs +6 -5
- package/esm2020/common/collection-item.component.mjs +3 -3
- package/esm2020/common/collection.component.mjs +3 -3
- package/esm2020/common/collection.service.mjs +3 -3
- package/esm2020/common/configuration.service.mjs +3 -3
- package/{progress-kendo-angular-charts.d.ts → esm2020/common/has-observers.mjs} +4 -3
- package/esm2020/common/prefix-configuration.service.mjs +3 -3
- package/esm2020/common/root-configuration.service.mjs +3 -3
- package/esm2020/common/settings.component.mjs +3 -3
- package/esm2020/common/theme.service.mjs +9 -3
- package/esm2020/common/tooltip-template.service.mjs +3 -3
- package/esm2020/events/base-event.mjs +3 -3
- package/esm2020/events/preventable-event.mjs +3 -3
- package/esm2020/index.mjs +4 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/sankey/api-types/index.mjs +5 -0
- package/esm2020/sankey/data-binding/create-sankey-data.mjs +44 -0
- package/esm2020/sankey/data-binding/flat-binding.directive.mjs +65 -0
- package/esm2020/sankey/data-binding/flat-binding.event.mjs +15 -0
- package/esm2020/sankey/events/index.mjs +8 -0
- package/esm2020/sankey/events/instance-event.service.mjs +22 -0
- package/esm2020/sankey/events/sankey-base-event.mjs +18 -0
- package/esm2020/sankey/events/sankey-link-event.mjs +17 -0
- package/esm2020/sankey/events/sankey-node-event.mjs +17 -0
- package/esm2020/sankey/labels.component.mjs +49 -0
- package/esm2020/sankey/legend.component.mjs +64 -0
- package/esm2020/sankey/links.component.mjs +37 -0
- package/esm2020/sankey/localization/custom-messages.component.mjs +42 -0
- package/esm2020/sankey/localization/localized-messages.directive.mjs +37 -0
- package/esm2020/sankey/localization/messages.mjs +23 -0
- package/esm2020/sankey/nodes.component.mjs +43 -0
- package/esm2020/sankey/title.component.mjs +59 -0
- package/esm2020/sankey/tooltip/link-tooltip-template-context.mjs +18 -0
- package/esm2020/sankey/tooltip/link-tooltip-template.directive.mjs +87 -0
- package/esm2020/sankey/tooltip/node-tooltip-template-context.mjs +18 -0
- package/esm2020/sankey/tooltip/node-tooltip-template.directive.mjs +64 -0
- package/esm2020/sankey/tooltip/square-symbol.directive.mjs +43 -0
- package/esm2020/sankey/tooltip/tooltip-popup.component.mjs +203 -0
- package/esm2020/sankey/tooltip/tooltip-template.service.mjs +16 -0
- package/esm2020/sankey/tooltip.component.mjs +52 -0
- package/esm2020/sankey.component.mjs +378 -0
- package/esm2020/sankey.directives.mjs +46 -0
- package/esm2020/sankey.module.mjs +63 -0
- package/esm2020/sparkline.component.mjs +8 -8
- package/esm2020/sparkline.module.mjs +4 -4
- package/esm2020/stock-chart/navigator/category-axis/crosshair.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/labels.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/notes.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/notes.icon.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/notes.label.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/select.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/title.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/hint.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/pane/title.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/pane.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/select.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/error-bars.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/extremes.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/highlight.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/labels.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/labels.from.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/labels.to.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/markers.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/notes.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/notes.icon.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/notes.label.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/outliers.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/tooltip.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series.component.mjs +3 -3
- package/esm2020/stock-chart/navigator.component.mjs +3 -3
- package/esm2020/stock-chart.component.mjs +8 -8
- package/esm2020/stock-chart.module.mjs +4 -4
- package/events/base-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-charts.mjs +1770 -448
- package/fesm2020/progress-kendo-angular-charts.mjs +1764 -445
- package/index.d.ts +4 -0
- package/package.json +15 -14
- package/sankey/api-types/index.d.ts +21 -0
- package/sankey/data-binding/create-sankey-data.d.ts +9 -0
- package/sankey/data-binding/flat-binding.directive.d.ts +38 -0
- package/sankey/data-binding/flat-binding.event.d.ts +24 -0
- package/sankey/events/index.d.ts +8 -0
- package/sankey/events/instance-event.service.d.ts +14 -0
- package/sankey/events/sankey-base-event.d.ts +24 -0
- package/sankey/events/sankey-link-event.d.ts +20 -0
- package/sankey/events/sankey-node-event.d.ts +20 -0
- package/sankey/labels.component.d.ts +36 -0
- package/sankey/legend.component.d.ts +82 -0
- package/sankey/links.component.d.ts +22 -0
- package/sankey/localization/custom-messages.component.d.ts +18 -0
- package/sankey/localization/localized-messages.directive.d.ts +16 -0
- package/sankey/localization/messages.d.ts +17 -0
- package/sankey/nodes.component.d.ts +34 -0
- package/sankey/title.component.d.ts +70 -0
- package/sankey/tooltip/link-tooltip-template-context.d.ts +26 -0
- package/sankey/tooltip/link-tooltip-template.directive.d.ts +78 -0
- package/sankey/tooltip/node-tooltip-template-context.d.ts +26 -0
- package/sankey/tooltip/node-tooltip-template.directive.d.ts +55 -0
- package/sankey/tooltip/square-symbol.directive.d.ts +16 -0
- package/sankey/tooltip/tooltip-popup.component.d.ts +60 -0
- package/sankey/tooltip/tooltip-template.service.d.ts +15 -0
- package/sankey/tooltip.component.d.ts +49 -0
- package/sankey.component.d.ts +200 -0
- package/sankey.directives.d.ts +27 -0
- package/sankey.module.d.ts +51 -0
- package/sparkline.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/crosshair.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/crosshair.tooltip.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/labels.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/notes.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/notes.icon.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/notes.label.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/select.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis/title.component.d.ts +1 -1
- package/stock-chart/navigator/category-axis.component.d.ts +1 -1
- package/stock-chart/navigator/hint.component.d.ts +1 -1
- package/stock-chart/navigator/pane/title.component.d.ts +1 -1
- package/stock-chart/navigator/pane.component.d.ts +1 -1
- package/stock-chart/navigator/select.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/error-bars.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/extremes.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/highlight.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/labels.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/labels.from.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/labels.to.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/markers.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/notes.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/notes.icon.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/notes.label.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/outliers.component.d.ts +1 -1
- package/stock-chart/navigator/series-item/tooltip.component.d.ts +1 -1
- package/stock-chart/navigator/series-item.component.d.ts +1 -1
- package/stock-chart/navigator/series.component.d.ts +1 -1
- package/stock-chart/navigator.component.d.ts +1 -1
- package/stock-chart.component.d.ts +1 -1
|
@@ -15,8 +15,8 @@ export class BaseEvent {
|
|
|
15
15
|
this.sender = sender;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
BaseEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
BaseEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
BaseEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseEvent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
BaseEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: BaseEvent, ngImport: i0 });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseEvent, decorators: [{
|
|
21
21
|
type: Directive
|
|
22
22
|
}], ctorParameters: function () { return [{ type: undefined }]; } });
|
|
@@ -32,8 +32,8 @@ export class PreventableEvent extends BaseEvent {
|
|
|
32
32
|
return this.prevented;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
PreventableEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
PreventableEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
PreventableEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PreventableEvent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
PreventableEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: PreventableEvent, usesInheritance: true, ngImport: i0 });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PreventableEvent, decorators: [{
|
|
38
38
|
type: Directive
|
|
39
39
|
}] });
|
package/esm2020/index.mjs
CHANGED
|
@@ -17,6 +17,10 @@ export { ChartsModule } from './charts.module';
|
|
|
17
17
|
export { ConfigurationService } from './common/configuration.service';
|
|
18
18
|
export { TooltipTemplateService } from './common/tooltip-template.service';
|
|
19
19
|
export { CollectionService } from './common/collection.service';
|
|
20
|
+
export * from './sankey.directives';
|
|
21
|
+
export * from './sankey/api-types';
|
|
22
|
+
export * from './sankey/events';
|
|
23
|
+
export { SankeyModule } from './sankey.module';
|
|
20
24
|
// The following exports are required by ngc for AoT compilation
|
|
21
25
|
export { CrosshairTooltipComponent } from './chart/tooltip/crosshair-tooltip.component';
|
|
22
26
|
export { CrosshairTooltipsContainerComponent } from './chart/tooltip/crosshair-tooltips-container.component';
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-charts',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '
|
|
12
|
+
publishDate: 1714389729,
|
|
13
|
+
version: '16.0.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export function createSankeyData(data, dimensions, measure) {
|
|
9
|
+
const nodes = new Set();
|
|
10
|
+
const links = new Map();
|
|
11
|
+
const linksMap = new Map();
|
|
12
|
+
data.forEach((row) => {
|
|
13
|
+
dimensions.forEach((dimension) => {
|
|
14
|
+
nodes.add(dimension(row));
|
|
15
|
+
});
|
|
16
|
+
for (let i = 0; i < dimensions.length - 1; i++) {
|
|
17
|
+
const source = dimensions[i](row);
|
|
18
|
+
const target = dimensions[i + 1](row);
|
|
19
|
+
const key = `${source}_${target}`;
|
|
20
|
+
const value = measure(row);
|
|
21
|
+
if (links.has(key)) {
|
|
22
|
+
links.set(key, links.get(key) + value);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
links.set(key, value);
|
|
26
|
+
linksMap.set(key, { source, target });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const nodesId = new Map();
|
|
31
|
+
const nodesArray = Array.from(nodes).map((node, index) => {
|
|
32
|
+
nodesId.set(node, index);
|
|
33
|
+
return { id: index, label: { text: String(node) } };
|
|
34
|
+
});
|
|
35
|
+
const linksArray = Array.from(links).map(([key, value]) => {
|
|
36
|
+
const { source, target } = linksMap.get(key);
|
|
37
|
+
return {
|
|
38
|
+
sourceId: nodesId.get(source),
|
|
39
|
+
targetId: nodesId.get(target),
|
|
40
|
+
value
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
return { nodes: nodesArray, links: linksArray };
|
|
44
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, EventEmitter, Input, Output } from "@angular/core";
|
|
6
|
+
import { isChanged } from "@progress/kendo-angular-common";
|
|
7
|
+
import { getter } from "@progress/kendo-common";
|
|
8
|
+
import { SankeyComponent } from "../../sankey.component";
|
|
9
|
+
import { createSankeyData } from "./create-sankey-data";
|
|
10
|
+
import { SankeyFlatBindingDataBoundEvent } from "./flat-binding.event";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "../../sankey.component";
|
|
13
|
+
/**
|
|
14
|
+
* A directive which encapsulates the retrieval of the nodes and links when flat data is provided.
|
|
15
|
+
*
|
|
16
|
+
* See [Data Binding - Binding to Flat Data]({% slug data_binding_sankey %}#toc-binding-to-flat-data).
|
|
17
|
+
*/
|
|
18
|
+
export class SankeyFlatBindingDirective {
|
|
19
|
+
constructor(sankey) {
|
|
20
|
+
this.sankey = sankey;
|
|
21
|
+
/**
|
|
22
|
+
* Represents the fields which identify the nodes.
|
|
23
|
+
*/
|
|
24
|
+
this.dimensionFields = [];
|
|
25
|
+
/**
|
|
26
|
+
* Fires when the flat data has been converted to `SankeyData`.
|
|
27
|
+
*
|
|
28
|
+
* To customize the created nodes and links, modify the data.
|
|
29
|
+
*/
|
|
30
|
+
this.dataBound = new EventEmitter();
|
|
31
|
+
}
|
|
32
|
+
ngOnChanges(changes) {
|
|
33
|
+
if (!isChanged('data', changes, false)) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (this.dimensionFields?.length === 0) {
|
|
37
|
+
throw new Error('kendoSankeyFlatBinding: dimensionFields is required');
|
|
38
|
+
}
|
|
39
|
+
if (!this.valueField) {
|
|
40
|
+
throw new Error('kendoSankeyFlatBinding: valueField is required');
|
|
41
|
+
}
|
|
42
|
+
const dimensions = this.dimensionFields.map(field => getter(field));
|
|
43
|
+
const measure = getter(this.valueField);
|
|
44
|
+
const data = createSankeyData(this.data, dimensions, measure);
|
|
45
|
+
this.dataBound.emit(new SankeyFlatBindingDataBoundEvent(data));
|
|
46
|
+
this.sankey.notifyChanges({ data });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
SankeyFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyFlatBindingDirective, deps: [{ token: i1.SankeyComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
50
|
+
SankeyFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: SankeyFlatBindingDirective, selector: "[kendoSankeyFlatBinding]", inputs: { data: ["kendoSankeyFlatBinding", "data"], dimensionFields: "dimensionFields", valueField: "valueField" }, outputs: { dataBound: "dataBound" }, usesOnChanges: true, ngImport: i0 });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyFlatBindingDirective, decorators: [{
|
|
52
|
+
type: Directive,
|
|
53
|
+
args: [{
|
|
54
|
+
selector: '[kendoSankeyFlatBinding]'
|
|
55
|
+
}]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i1.SankeyComponent }]; }, propDecorators: { data: [{
|
|
57
|
+
type: Input,
|
|
58
|
+
args: ['kendoSankeyFlatBinding']
|
|
59
|
+
}], dimensionFields: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], valueField: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], dataBound: [{
|
|
64
|
+
type: Output
|
|
65
|
+
}] } });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for the `dataBound` event of the [`[kendoSankeyFlatBinding]`]({% slug api_charts_sankeyflatbindingdirective %}) directive.
|
|
7
|
+
*/
|
|
8
|
+
export class SankeyFlatBindingDataBoundEvent {
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
constructor(data) {
|
|
13
|
+
this.data = data;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { SankeyBaseEvent } from './sankey-base-event';
|
|
6
|
+
export { SankeyNodeEvent } from './sankey-node-event';
|
|
7
|
+
export { SankeyLinkEvent } from './sankey-link-event';
|
|
8
|
+
export { InstanceEventService } from './instance-event.service';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { SankeyNodeEvent } from './sankey-node-event';
|
|
6
|
+
import { SankeyLinkEvent } from './sankey-link-event';
|
|
7
|
+
const EVENT_MAP = {
|
|
8
|
+
nodeEnter: SankeyNodeEvent,
|
|
9
|
+
nodeLeave: SankeyNodeEvent,
|
|
10
|
+
linkEnter: SankeyLinkEvent,
|
|
11
|
+
linkLeave: SankeyLinkEvent,
|
|
12
|
+
nodeClick: SankeyNodeEvent,
|
|
13
|
+
linkClick: SankeyLinkEvent
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
export class InstanceEventService {
|
|
19
|
+
create(name, args, sender) {
|
|
20
|
+
return new EVENT_MAP[name](args, sender);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PreventableEvent } from '@progress/kendo-angular-common';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export class SankeyBaseEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
constructor(e, sender) {
|
|
14
|
+
super();
|
|
15
|
+
this.sender = sender;
|
|
16
|
+
this.originalEvent = e.originalEvent;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { SankeyBaseEvent } from './sankey-base-event';
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the link-related events of the [`SankeyComponent`]({% slug api_charts_sankeycomponent %}).
|
|
8
|
+
*/
|
|
9
|
+
export class SankeyLinkEvent extends SankeyBaseEvent {
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
constructor(e, sender) {
|
|
14
|
+
super(e, sender);
|
|
15
|
+
this.dataItem = e.dataItem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { SankeyBaseEvent } from './sankey-base-event';
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the node-related events of the [`SankeyComponent`]({% slug api_charts_sankeycomponent %}).
|
|
8
|
+
*/
|
|
9
|
+
export class SankeyNodeEvent extends SankeyBaseEvent {
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
constructor(e, sender) {
|
|
14
|
+
super(e, sender);
|
|
15
|
+
this.dataItem = e.dataItem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, Component, Input } from '@angular/core';
|
|
6
|
+
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
+
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/configuration.service";
|
|
10
|
+
/**
|
|
11
|
+
* The configuration options of the Sankey legend
|
|
12
|
+
* ([see example]({% slug legend_sankey %})).
|
|
13
|
+
*/
|
|
14
|
+
export class SankeyLabelsComponent extends SettingsComponent {
|
|
15
|
+
constructor(configurationService) {
|
|
16
|
+
super('labels', configurationService);
|
|
17
|
+
this.configurationService = configurationService;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
SankeyLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyLabelsComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
SankeyLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SankeyLabelsComponent, selector: "kendo-sankey-labels", inputs: { visible: "visible", font: "font", color: "color", align: "align", position: "position", padding: "padding", margin: "margin", border: "border", offset: "offset", stroke: "stroke" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyLabelsComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{
|
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
selector: 'kendo-sankey-labels',
|
|
27
|
+
template: '',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { visible: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], font: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], color: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], align: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], position: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], padding: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], margin: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], border: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], offset: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], stroke: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}] } });
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, Component, Input } from '@angular/core';
|
|
6
|
+
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
+
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/configuration.service";
|
|
10
|
+
/**
|
|
11
|
+
* The configuration options of the Sankey legend
|
|
12
|
+
* ([see example]({% slug legend_sankey %})).
|
|
13
|
+
*/
|
|
14
|
+
export class SankeyLegendComponent extends SettingsComponent {
|
|
15
|
+
constructor(configurationService) {
|
|
16
|
+
super('legend', configurationService);
|
|
17
|
+
this.configurationService = configurationService;
|
|
18
|
+
this.markAsVisible();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
SankeyLegendComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyLegendComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
SankeyLegendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SankeyLegendComponent, selector: "kendo-sankey-legend", inputs: { align: "align", background: "background", border: "border", height: "height", labels: "labels", margin: "margin", offsetX: "offsetX", offsetY: "offsetY", orientation: "orientation", padding: "padding", position: "position", reverse: "reverse", visible: "visible", width: "width", markers: "markers", spacing: "spacing", title: "title" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyLegendComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27
|
+
selector: 'kendo-sankey-legend',
|
|
28
|
+
template: ''
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { align: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], background: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], border: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], height: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], labels: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], margin: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], offsetX: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], offsetY: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], orientation: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], padding: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], position: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], reverse: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], visible: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], width: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], markers: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], spacing: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], title: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}] } });
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, Component, Input } from '@angular/core';
|
|
6
|
+
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
+
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/configuration.service";
|
|
10
|
+
/**
|
|
11
|
+
* The configuration options of the Sankey legend
|
|
12
|
+
* ([see example]({% slug legend_sankey %})).
|
|
13
|
+
*/
|
|
14
|
+
export class SankeyLinksComponent extends SettingsComponent {
|
|
15
|
+
constructor(configurationService) {
|
|
16
|
+
super('links', configurationService);
|
|
17
|
+
this.configurationService = configurationService;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
SankeyLinksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyLinksComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
SankeyLinksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SankeyLinksComponent, selector: "kendo-sankey-links", inputs: { colorType: "colorType", color: "color", opacity: "opacity", highlight: "highlight" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyLinksComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{
|
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
selector: 'kendo-sankey-links',
|
|
27
|
+
template: '',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { colorType: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], color: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], opacity: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], highlight: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}] } });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { Messages } from './messages';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
+
/**
|
|
11
|
+
* Custom component messages override default component messages
|
|
12
|
+
* ([see example]({% slug globalization_filter %}#toc-localization)).
|
|
13
|
+
*/
|
|
14
|
+
export class SankeyCustomMessagesComponent extends Messages {
|
|
15
|
+
constructor(service) {
|
|
16
|
+
super();
|
|
17
|
+
this.service = service;
|
|
18
|
+
}
|
|
19
|
+
get override() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
SankeyCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
SankeyCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SankeyCustomMessagesComponent, selector: "kendo-sankey-messages", providers: [
|
|
25
|
+
{
|
|
26
|
+
provide: Messages,
|
|
27
|
+
useExisting: forwardRef(() => SankeyCustomMessagesComponent)
|
|
28
|
+
}
|
|
29
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyCustomMessagesComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
providers: [
|
|
34
|
+
{
|
|
35
|
+
provide: Messages,
|
|
36
|
+
useExisting: forwardRef(() => SankeyCustomMessagesComponent)
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
selector: 'kendo-sankey-messages',
|
|
40
|
+
template: ``
|
|
41
|
+
}]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { Messages } from './messages';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
constructor(service) {
|
|
15
|
+
super();
|
|
16
|
+
this.service = service;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedMessagesDirective, selector: "[kendoSankeyLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: Messages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
|
+
type: Directive,
|
|
28
|
+
args: [{
|
|
29
|
+
providers: [
|
|
30
|
+
{
|
|
31
|
+
provide: Messages,
|
|
32
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
selector: '[kendoSankeyLocalizedMessages]'
|
|
36
|
+
}]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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 } from '@angular/core';
|
|
6
|
+
import { Input } from '@angular/core';
|
|
7
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export class Messages extends ComponentMessages {
|
|
13
|
+
}
|
|
14
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: Messages, selector: "[kendoSankeyMessages]", inputs: { tooltipUnitFormat: "tooltipUnitFormat" }, usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[kendoSankeyMessages]'
|
|
20
|
+
}]
|
|
21
|
+
}], propDecorators: { tooltipUnitFormat: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, Component, Input } from '@angular/core';
|
|
6
|
+
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
+
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/configuration.service";
|
|
10
|
+
/**
|
|
11
|
+
* The configuration options of the Sankey legend
|
|
12
|
+
* ([see example]({% slug legend_sankey %})).
|
|
13
|
+
*/
|
|
14
|
+
export class SankeyNodesComponent extends SettingsComponent {
|
|
15
|
+
constructor(configurationService) {
|
|
16
|
+
super('nodes', configurationService);
|
|
17
|
+
this.configurationService = configurationService;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
SankeyNodesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyNodesComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
SankeyNodesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SankeyNodesComponent, selector: "kendo-sankey-nodes", inputs: { colorType: "colorType", color: "color", opacity: "opacity", offset: "offset", padding: "padding", width: "width", align: "align" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyNodesComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{
|
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
selector: 'kendo-sankey-nodes',
|
|
27
|
+
template: '',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { colorType: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], color: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], opacity: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], offset: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], padding: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], width: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], align: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] } });
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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, Component, Input } from '@angular/core';
|
|
6
|
+
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
+
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/configuration.service";
|
|
10
|
+
/**
|
|
11
|
+
* The configuration options of the Sankey title or text
|
|
12
|
+
* ([see example]({% slug title_sankey %})).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <kendo-sankey [data]="data">
|
|
17
|
+
* <kendo-sankey-title text="Title Text" [padding]="{bottom: 20}"></kendo-sankey-title>
|
|
18
|
+
* ...
|
|
19
|
+
* </kendo-sankey>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export class SankeyTitleComponent extends SettingsComponent {
|
|
23
|
+
constructor(configurationService) {
|
|
24
|
+
super('title', configurationService);
|
|
25
|
+
this.configurationService = configurationService;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
SankeyTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyTitleComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
SankeyTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SankeyTitleComponent, selector: "kendo-sankey-title", inputs: { align: "align", background: "background", border: "border", color: "color", font: "font", margin: "margin", padding: "padding", position: "position", text: "text", description: "description", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SankeyTitleComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
|
+
selector: 'kendo-sankey-title',
|
|
35
|
+
template: ''
|
|
36
|
+
}]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { align: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], background: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], border: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], color: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], font: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], margin: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}], padding: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], position: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], text: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], description: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], visible: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}] } });
|