@progress/kendo-angular-chart-wizard 21.4.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.
Files changed (31) hide show
  1. package/fesm2022/progress-kendo-angular-chart-wizard.mjs +44 -44
  2. package/localization/messages.d.ts +1 -1
  3. package/package.json +21 -29
  4. package/esm2022/chart-wizard-state.mjs +0 -57
  5. package/esm2022/chart-wizard.component.mjs +0 -1237
  6. package/esm2022/chart-wizard.module.mjs +0 -67
  7. package/esm2022/common/get-wizard-data-from-data-rows.mjs +0 -6
  8. package/esm2022/common/index.mjs +0 -5
  9. package/esm2022/common/models.mjs +0 -24
  10. package/esm2022/common/window-settings.mjs +0 -5
  11. package/esm2022/directives.mjs +0 -34
  12. package/esm2022/events/export-event.mjs +0 -37
  13. package/esm2022/events/index.mjs +0 -5
  14. package/esm2022/events/preventable-event.mjs +0 -28
  15. package/esm2022/grid-integration/get-grid-selected-rows.mjs +0 -50
  16. package/esm2022/grid-integration/get-wizard-data-from-grid-selection.mjs +0 -13
  17. package/esm2022/grid-integration/grid-chart-wizard.directive.mjs +0 -95
  18. package/esm2022/grid-integration/index.mjs +0 -7
  19. package/esm2022/index.mjs +0 -12
  20. package/esm2022/localization/chartwizard-localization.service.mjs +0 -31
  21. package/esm2022/localization/custom-messages.component.mjs +0 -52
  22. package/esm2022/localization/localized-messages.directive.mjs +0 -39
  23. package/esm2022/localization/messages.mjs +0 -657
  24. package/esm2022/package-metadata.mjs +0 -16
  25. package/esm2022/progress-kendo-angular-chart-wizard.mjs +0 -8
  26. package/esm2022/property-pane/chart-tab.component.mjs +0 -260
  27. package/esm2022/property-pane/data-tab.component.mjs +0 -270
  28. package/esm2022/property-pane/form-field.component.mjs +0 -296
  29. package/esm2022/property-pane/format-tab.component.mjs +0 -1032
  30. package/esm2022/series-type-button.component.mjs +0 -71
  31. package/esm2022/state.service.mjs +0 -36
@@ -1,71 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input } from "@angular/core";
6
- import { StateService } from "./state.service";
7
- import { ActionTypes, createState, mergeStates, updateState } from "./chart-wizard-state";
8
- import { SVGIconComponent } from "@progress/kendo-angular-icons";
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "./state.service";
11
- /**
12
- * @hidden
13
- */
14
- export class ChartWizardSeriesTypeButtonComponent {
15
- stateService;
16
- title;
17
- chartTypeIcon;
18
- stack = false;
19
- seriesType;
20
- constructor(stateService) {
21
- this.stateService = stateService;
22
- }
23
- onSelect() {
24
- this.stateService.seriesType = this.seriesType;
25
- if (this.stateService.data.length > 0) {
26
- this.stateService.state = mergeStates(this.stateService.state, createState(this.stateService.data, this.stateService.seriesType));
27
- this.stateService.currentSeries = {};
28
- if (this.stack) {
29
- this.stateService.state = updateState(this.stateService.state, ActionTypes.stacked, this.stack);
30
- }
31
- }
32
- this.stateService.dataTab?.detectChanges();
33
- }
34
- isSelected() {
35
- return (this.stateService.state.seriesType === this.seriesType &&
36
- this.stateService.state.series[0]?.stack === this.stack);
37
- }
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardSeriesTypeButtonComponent, deps: [{ token: i1.StateService }], target: i0.ɵɵFactoryTarget.Component });
39
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ChartWizardSeriesTypeButtonComponent, isStandalone: true, selector: "kendo-chartwizard-series-type-button", inputs: { title: "title", chartTypeIcon: "chartTypeIcon", stack: "stack", seriesType: "seriesType" }, ngImport: i0, template: `
40
- <div class="k-icon-text-wrapper" [class.k-selected]="isSelected()" (click)="onSelect()">
41
- <div class="k-icon-background-area">
42
- <kendo-svgicon [icon]="chartTypeIcon" size="xlarge" themeColor="primary"> </kendo-svgicon>
43
- </div>
44
- {{ title }}
45
- </div>
46
- `, isInline: true, dependencies: [{ kind: "component", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
47
- }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardSeriesTypeButtonComponent, decorators: [{
49
- type: Component,
50
- args: [{
51
- selector: 'kendo-chartwizard-series-type-button',
52
- template: `
53
- <div class="k-icon-text-wrapper" [class.k-selected]="isSelected()" (click)="onSelect()">
54
- <div class="k-icon-background-area">
55
- <kendo-svgicon [icon]="chartTypeIcon" size="xlarge" themeColor="primary"> </kendo-svgicon>
56
- </div>
57
- {{ title }}
58
- </div>
59
- `,
60
- standalone: true,
61
- imports: [SVGIconComponent]
62
- }]
63
- }], ctorParameters: () => [{ type: i1.StateService }], propDecorators: { title: [{
64
- type: Input
65
- }], chartTypeIcon: [{
66
- type: Input
67
- }], stack: [{
68
- type: Input
69
- }], seriesType: [{
70
- type: Input
71
- }] } });
@@ -1,36 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from "@angular/core";
6
- import { defaultAllSeriesItem } from "./common/models";
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class StateService {
12
- state = {
13
- categoryAxis: [],
14
- valueAxis: [],
15
- series: [],
16
- initialSeries: [],
17
- columns: [],
18
- data: [],
19
- area: { margin: { top: 0, right: 0, bottom: 0, left: 0 } },
20
- seriesType: 'bar'
21
- };
22
- seriesType = 'bar';
23
- currentTitle = 'Chart Title';
24
- currentSeries = defaultAllSeriesItem;
25
- data = [];
26
- deletedSeries = [];
27
- direction = 'ltr';
28
- windowSize = { width: 700, height: 550 };
29
- splitterPaneSize = '300px';
30
- dataTab;
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
32
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StateService });
33
- }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StateService, decorators: [{
35
- type: Injectable
36
- }] });