@progress/kendo-angular-chart-wizard 16.6.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/LICENSE.md +11 -0
- package/NOTICE.txt +200 -0
- package/README.md +32 -0
- package/chart-wizard-state.d.ts +149 -0
- package/chart-wizard.component.d.ts +80 -0
- package/chart-wizard.module.d.ts +19 -0
- package/common/get-wizard-data-from-data-rows.d.ts +41 -0
- package/common/index.d.ts +5 -0
- package/common/models.d.ts +19 -0
- package/directives.d.ts +10 -0
- package/esm2020/chart-wizard-state.mjs +502 -0
- package/esm2020/chart-wizard.component.mjs +552 -0
- package/esm2020/chart-wizard.module.mjs +53 -0
- package/esm2020/common/get-wizard-data-from-data-rows.mjs +27 -0
- package/esm2020/common/index.mjs +5 -0
- package/esm2020/common/models.mjs +5 -0
- package/esm2020/directives.mjs +13 -0
- package/esm2020/events/export-event.mjs +18 -0
- package/esm2020/events/index.mjs +5 -0
- package/esm2020/events/preventable-event.mjs +30 -0
- package/esm2020/grid-integration/get-grid-selected-rows.mjs +48 -0
- package/esm2020/grid-integration/get-wizard-data-from-grid-selection.mjs +13 -0
- package/esm2020/grid-integration/grid-chart-wizard.directive.mjs +74 -0
- package/esm2020/grid-integration/index.mjs +7 -0
- package/esm2020/index.mjs +11 -0
- package/esm2020/package-metadata.mjs +15 -0
- package/esm2020/progress-kendo-angular-chart-wizard.mjs +8 -0
- package/esm2020/property-pane/chart-tab.component.mjs +257 -0
- package/esm2020/property-pane/data-tab.component.mjs +229 -0
- package/esm2020/property-pane/form-field.component.mjs +245 -0
- package/esm2020/property-pane/format-tab.component.mjs +945 -0
- package/esm2020/series-type-button.component.mjs +67 -0
- package/esm2020/state.service.mjs +32 -0
- package/events/export-event.d.ts +24 -0
- package/events/index.d.ts +5 -0
- package/events/preventable-event.d.ts +24 -0
- package/fesm2015/progress-kendo-angular-chart-wizard.mjs +2999 -0
- package/fesm2020/progress-kendo-angular-chart-wizard.mjs +2993 -0
- package/grid-integration/get-grid-selected-rows.d.ts +20 -0
- package/grid-integration/get-wizard-data-from-grid-selection.d.ts +19 -0
- package/grid-integration/grid-chart-wizard.directive.d.ts +42 -0
- package/grid-integration/index.d.ts +7 -0
- package/index.d.ts +12 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +65 -0
- package/property-pane/chart-tab.component.d.ts +35 -0
- package/property-pane/data-tab.component.d.ts +33 -0
- package/property-pane/form-field.component.d.ts +45 -0
- package/property-pane/format-tab.component.d.ts +102 -0
- package/schematics/collection.json +12 -0
- package/schematics/ngAdd/index.js +8 -0
- package/schematics/ngAdd/schema.json +24 -0
- package/series-type-button.component.d.ts +24 -0
- package/state.service.d.ts +23 -0
@@ -0,0 +1,20 @@
|
|
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 { GridComponent } from "@progress/kendo-angular-grid";
|
6
|
+
import { DataRow } from "../common";
|
7
|
+
/**
|
8
|
+
* Maps the Grid selectedKeys to a more general DataRows type to be displayed in the Chart Wizard.
|
9
|
+
*
|
10
|
+
* The selectedKeys can be either row keys or cell keys.
|
11
|
+
*
|
12
|
+
* @returns DataRow array that can be passed to getWizardDataFromDataRows in order to bind the Chart Wizard.
|
13
|
+
*/
|
14
|
+
export declare function getGridSelectedRows(args: {
|
15
|
+
grid: GridComponent;
|
16
|
+
data: any[];
|
17
|
+
selectedKeys: any[];
|
18
|
+
selectionKey?: string;
|
19
|
+
columnKey?: ((column: any, columnIndex: number) => any);
|
20
|
+
}): DataRow[];
|
@@ -0,0 +1,19 @@
|
|
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 { GridComponent } from "@progress/kendo-angular-grid";
|
6
|
+
import { ChartWizardDataRow } from "../chart-wizard-state";
|
7
|
+
/**
|
8
|
+
* Maps the Grid selectedKeys to data to be displayed in the Chart Wizard.
|
9
|
+
*
|
10
|
+
* Supports both row and cell selection.
|
11
|
+
* @returns collection that can be used as Chart Wizard.
|
12
|
+
*/
|
13
|
+
export declare const getWizardDataFromGridSelection: (args: {
|
14
|
+
grid: GridComponent;
|
15
|
+
data: any[];
|
16
|
+
selectedKeys: any[];
|
17
|
+
selectionKey?: string;
|
18
|
+
columnKey?: (column: any, columnIndex: number) => any;
|
19
|
+
}) => ChartWizardDataRow[];
|
@@ -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 { EventEmitter, OnInit } from "@angular/core";
|
6
|
+
import { GridComponent, RowArgs } from "@progress/kendo-angular-grid";
|
7
|
+
import { ChartWizardDataRow } from "../chart-wizard-state";
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
/**
|
10
|
+
* A directive which binds the Chart Wizard from the selection state of the Grid
|
11
|
+
* ([see example](slug:integration_with_chart).
|
12
|
+
*/
|
13
|
+
export declare class ChartWizardGridBindingDirective implements OnInit {
|
14
|
+
protected grid: GridComponent;
|
15
|
+
/**
|
16
|
+
* Defines the collection that will store the Chart Wizard data.
|
17
|
+
*
|
18
|
+
* @default []
|
19
|
+
*/
|
20
|
+
chartWizardData: ChartWizardDataRow[];
|
21
|
+
/**
|
22
|
+
* Fires when the `chartWizardData` collection has been updated.
|
23
|
+
*/
|
24
|
+
chartWizardDataChange: EventEmitter<ChartWizardDataRow[]>;
|
25
|
+
/**
|
26
|
+
* @hidden
|
27
|
+
*/
|
28
|
+
data: any;
|
29
|
+
/**
|
30
|
+
* @hidden
|
31
|
+
*/
|
32
|
+
selectionKey: string | ((context: RowArgs) => any);
|
33
|
+
/**
|
34
|
+
* @hidden
|
35
|
+
*/
|
36
|
+
columnKey: string | ((column: any, columnIndex: number) => any);
|
37
|
+
constructor(grid: GridComponent);
|
38
|
+
ngOnInit(): void;
|
39
|
+
onSelectionChange(selectedKeys: any[]): void;
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardGridBindingDirective, never>;
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChartWizardGridBindingDirective, "[kendoChartWizardGridBinding]", ["kendoChartWizardGridBinding"], { "chartWizardData": "chartWizardData"; "data": "kendoGridBinding"; "selectionKey": "kendoGridSelectBy"; "columnKey": "columnKey"; }, { "chartWizardDataChange": "chartWizardDataChange"; }, never, never, true, never>;
|
42
|
+
}
|
@@ -0,0 +1,7 @@
|
|
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 { getGridSelectedRows } from './get-grid-selected-rows';
|
6
|
+
export { getWizardDataFromGridSelection } from './get-wizard-data-from-grid-selection';
|
7
|
+
export { ChartWizardGridBindingDirective } from './grid-chart-wizard.directive';
|
package/index.d.ts
ADDED
@@ -0,0 +1,12 @@
|
|
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 * from './chart-wizard.component';
|
6
|
+
export * from './chart-wizard.module';
|
7
|
+
export * from './grid-integration';
|
8
|
+
export * from './common';
|
9
|
+
export * from './events';
|
10
|
+
export { ChartWizardInitialState } from './chart-wizard-state';
|
11
|
+
export { ChartWizardModule } from './chart-wizard.module';
|
12
|
+
export { KENDO_CHARTWIZARD } from './directives';
|
@@ -0,0 +1,9 @@
|
|
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 { PackageMetadata } from '@progress/kendo-licensing';
|
6
|
+
/**
|
7
|
+
* @hidden
|
8
|
+
*/
|
9
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package.json
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
{
|
2
|
+
"name": "@progress/kendo-angular-chart-wizard",
|
3
|
+
"version": "16.6.0-develop.10",
|
4
|
+
"description": "Kendo UI Angular Chart Wizard component",
|
5
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
6
|
+
"author": "Progress",
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
8
|
+
"bugs": {
|
9
|
+
"url": "https://github.com/telerik/kendo-angular"
|
10
|
+
},
|
11
|
+
"keywords": [
|
12
|
+
"Angular",
|
13
|
+
"Kendo UI",
|
14
|
+
"Chart",
|
15
|
+
"Wizard",
|
16
|
+
"Progress"
|
17
|
+
],
|
18
|
+
"@progress": {
|
19
|
+
"friendlyName": "Chart Wizard"
|
20
|
+
},
|
21
|
+
"peerDependencies": {
|
22
|
+
"@angular/animations": "15 - 18",
|
23
|
+
"@angular/common": "15 - 18",
|
24
|
+
"@angular/core": "15 - 18",
|
25
|
+
"@angular/platform-browser": "15 - 18",
|
26
|
+
"@progress/kendo-angular-common": "16.6.0-develop.10",
|
27
|
+
"@progress/kendo-angular-dialog": "16.6.0-develop.10",
|
28
|
+
"@progress/kendo-angular-grid": "16.6.0-develop.10",
|
29
|
+
"@progress/kendo-angular-icons": "16.6.0-develop.10",
|
30
|
+
"@progress/kendo-angular-intl": "16.6.0-develop.10",
|
31
|
+
"@progress/kendo-angular-l10n": "16.6.0-develop.10",
|
32
|
+
"@progress/kendo-angular-navigation": "16.6.0-develop.10",
|
33
|
+
"@progress/kendo-angular-popup": "16.6.0-develop.10",
|
34
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.10",
|
35
|
+
"@progress/kendo-drawing": "^1.19.0",
|
36
|
+
"@progress/kendo-file-saver": "^1.1.1",
|
37
|
+
"@progress/kendo-licensing": "^1.0.2",
|
38
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
39
|
+
},
|
40
|
+
"dependencies": {
|
41
|
+
"tslib": "^2.3.1",
|
42
|
+
"@progress/kendo-charts": "2.4.1"
|
43
|
+
},
|
44
|
+
"schematics": "./schematics/collection.json",
|
45
|
+
"module": "fesm2015/progress-kendo-angular-chart-wizard.mjs",
|
46
|
+
"es2020": "fesm2020/progress-kendo-angular-chart-wizard.mjs",
|
47
|
+
"esm2020": "esm2020/progress-kendo-angular-chart-wizard.mjs",
|
48
|
+
"fesm2020": "fesm2020/progress-kendo-angular-chart-wizard.mjs",
|
49
|
+
"fesm2015": "fesm2015/progress-kendo-angular-chart-wizard.mjs",
|
50
|
+
"typings": "index.d.ts",
|
51
|
+
"exports": {
|
52
|
+
"./package.json": {
|
53
|
+
"default": "./package.json"
|
54
|
+
},
|
55
|
+
".": {
|
56
|
+
"types": "./index.d.ts",
|
57
|
+
"esm2020": "./esm2020/progress-kendo-angular-chart-wizard.mjs",
|
58
|
+
"es2020": "./fesm2020/progress-kendo-angular-chart-wizard.mjs",
|
59
|
+
"es2015": "./fesm2015/progress-kendo-angular-chart-wizard.mjs",
|
60
|
+
"node": "./fesm2015/progress-kendo-angular-chart-wizard.mjs",
|
61
|
+
"default": "./fesm2020/progress-kendo-angular-chart-wizard.mjs"
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"sideEffects": false
|
65
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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 { AfterViewChecked, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
6
|
+
import { StateService } from '../state.service';
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
/**
|
10
|
+
* @hidden
|
11
|
+
*/
|
12
|
+
export declare class ChartWizardPropertyPaneChartTabComponent implements AfterViewChecked, OnDestroy {
|
13
|
+
stateService: StateService;
|
14
|
+
private cdr;
|
15
|
+
private localization;
|
16
|
+
exportIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
17
|
+
chartBarClusteredIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
18
|
+
chartBarStackedIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
19
|
+
chartBarStacked100Icon: import("@progress/kendo-svg-icons").SVGIcon;
|
20
|
+
chartPieIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
21
|
+
chartColumnClusteredIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
22
|
+
chartColumnStackedIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
23
|
+
chartColumnStacked100Icon: import("@progress/kendo-svg-icons").SVGIcon;
|
24
|
+
chartLineIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
25
|
+
chartLineStackedIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
26
|
+
chartLineStacked100Icon: import("@progress/kendo-svg-icons").SVGIcon;
|
27
|
+
chartScatterIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
28
|
+
constructor(stateService: StateService, cdr: ChangeDetectorRef, localization: LocalizationService);
|
29
|
+
isExpanded(type: string): boolean;
|
30
|
+
ngAfterViewChecked(): void;
|
31
|
+
ngOnDestroy(): void;
|
32
|
+
detectChanges(): void;
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardPropertyPaneChartTabComponent, never>;
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartWizardPropertyPaneChartTabComponent, "kendo-chart-wizard-property-pane-chart-tab", never, {}, {}, never, never, true, never>;
|
35
|
+
}
|
@@ -0,0 +1,33 @@
|
|
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 { StateService } from '../state.service';
|
6
|
+
import { ActionTypes } from '../chart-wizard-state';
|
7
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
8
|
+
import { CreateFormGroupArgs, GridComponent, RemoveEvent } from '@progress/kendo-angular-grid';
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
/**
|
12
|
+
* @hidden
|
13
|
+
*/
|
14
|
+
export declare class ChartWizardPropertyPaneFormatTabComponent {
|
15
|
+
stateService: StateService;
|
16
|
+
private formBuilder;
|
17
|
+
categoryAxisX: ActionTypes;
|
18
|
+
valueAxisY: ActionTypes;
|
19
|
+
seriesChange: ActionTypes;
|
20
|
+
trashIcon: SVGIcon;
|
21
|
+
plusIcon: SVGIcon;
|
22
|
+
isCategorical: (type?: import("@progress/kendo-angular-charts").SeriesType) => boolean;
|
23
|
+
constructor(stateService: StateService, formBuilder: FormBuilder);
|
24
|
+
updateState(action: ActionTypes, value: any): void;
|
25
|
+
formGroup: FormGroup;
|
26
|
+
createFormGroup(args: CreateFormGroupArgs): FormGroup;
|
27
|
+
addData(): void;
|
28
|
+
removeData(event: RemoveEvent): void;
|
29
|
+
onRowReorder(grid: GridComponent): void;
|
30
|
+
isDisabled(grid: GridComponent): boolean;
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardPropertyPaneFormatTabComponent, never>;
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartWizardPropertyPaneFormatTabComponent, "kendo-chart-wizard-property-pane-data-tab", never, {}, {}, never, never, true, never>;
|
33
|
+
}
|
@@ -0,0 +1,45 @@
|
|
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 { EventEmitter, AfterViewInit, ChangeDetectorRef, AfterViewChecked, OnDestroy } from '@angular/core';
|
6
|
+
import { ComboBoxComponent, DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
7
|
+
import { CheckBoxComponent, ColorPickerComponent, NumericTextBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
|
8
|
+
import { LabelComponent } from '@progress/kendo-angular-label';
|
9
|
+
import { ActionTypes, ChartWizardState } from '../chart-wizard-state';
|
10
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
/**
|
13
|
+
* @hidden
|
14
|
+
*/
|
15
|
+
export declare class ChartWizardPropertyPaneFormFieldComponent implements AfterViewInit, AfterViewChecked, OnDestroy {
|
16
|
+
private localization;
|
17
|
+
private cdr;
|
18
|
+
currentState: ChartWizardState;
|
19
|
+
action: ActionTypes;
|
20
|
+
class: string;
|
21
|
+
inputType: string;
|
22
|
+
text: string;
|
23
|
+
data: any;
|
24
|
+
placeholder: string;
|
25
|
+
colSpan: number;
|
26
|
+
hasLabel: boolean;
|
27
|
+
isLabelInsideFormFieldWrap: boolean;
|
28
|
+
value: any;
|
29
|
+
valueChange: EventEmitter<any>;
|
30
|
+
formField: boolean;
|
31
|
+
get isColSpan2(): boolean;
|
32
|
+
label: LabelComponent;
|
33
|
+
numericTextBox: NumericTextBoxComponent;
|
34
|
+
colorPicker: ColorPickerComponent;
|
35
|
+
dropDownList: DropDownListComponent;
|
36
|
+
textBox: TextBoxComponent;
|
37
|
+
comboBox: ComboBoxComponent;
|
38
|
+
checkBox: CheckBoxComponent;
|
39
|
+
constructor(localization: LocalizationService, cdr: ChangeDetectorRef);
|
40
|
+
ngAfterViewChecked(): void;
|
41
|
+
ngOnDestroy(): void;
|
42
|
+
ngAfterViewInit(): void;
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardPropertyPaneFormFieldComponent, never>;
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartWizardPropertyPaneFormFieldComponent, "kendo-chart-wizard-property-pane-form-field", never, { "currentState": "currentState"; "action": "action"; "class": "class"; "inputType": "inputType"; "text": "text"; "data": "data"; "placeholder": "placeholder"; "colSpan": "colSpan"; "hasLabel": "hasLabel"; "isLabelInsideFormFieldWrap": "isLabelInsideFormFieldWrap"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
45
|
+
}
|
@@ -0,0 +1,102 @@
|
|
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 { AfterViewChecked, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
6
|
+
import { ActionTypes, SeriesItem } from '../chart-wizard-state';
|
7
|
+
import { StateService } from '../state.service';
|
8
|
+
import { PanelType } from '../common/models';
|
9
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
/**
|
12
|
+
* @hidden
|
13
|
+
*/
|
14
|
+
export declare class ChartWizardPropertyPaneDataTabComponent implements AfterViewChecked, OnDestroy {
|
15
|
+
stateService: StateService;
|
16
|
+
private localization;
|
17
|
+
private cdr;
|
18
|
+
chartTitles: {
|
19
|
+
text: string;
|
20
|
+
value: string;
|
21
|
+
}[];
|
22
|
+
titleText: ActionTypes;
|
23
|
+
titleFontName: ActionTypes;
|
24
|
+
titleFontSize: ActionTypes;
|
25
|
+
titleColor: ActionTypes;
|
26
|
+
subtitleText: ActionTypes;
|
27
|
+
subtitleFontName: ActionTypes;
|
28
|
+
subtitleFontSize: ActionTypes;
|
29
|
+
subtitleColor: ActionTypes;
|
30
|
+
areaMarginLeft: ActionTypes;
|
31
|
+
areaMarginRight: ActionTypes;
|
32
|
+
areaMarginTop: ActionTypes;
|
33
|
+
areaMarginBottom: ActionTypes;
|
34
|
+
areaBackground: ActionTypes;
|
35
|
+
legendVisible: ActionTypes;
|
36
|
+
legendFontName: ActionTypes;
|
37
|
+
legendFontSize: ActionTypes;
|
38
|
+
legendColor: ActionTypes;
|
39
|
+
legendPosition: ActionTypes;
|
40
|
+
seriesColor: ActionTypes;
|
41
|
+
seriesLabel: ActionTypes;
|
42
|
+
categoryAxisTitleText: ActionTypes;
|
43
|
+
categoryAxisTitleFontName: ActionTypes;
|
44
|
+
categoryAxisTitleFontSize: ActionTypes;
|
45
|
+
categoryAxisTitleColor: ActionTypes;
|
46
|
+
categoryAxisLabelsFontName: ActionTypes;
|
47
|
+
categoryAxisLabelsFontSize: ActionTypes;
|
48
|
+
categoryAxisLabelsColor: ActionTypes;
|
49
|
+
categoryAxisLabelsRotation: ActionTypes;
|
50
|
+
categoryAxisReverseOrder: ActionTypes;
|
51
|
+
valueAxisTitleText: ActionTypes;
|
52
|
+
valueAxisTitleFontName: ActionTypes;
|
53
|
+
valueAxisTitleFontSize: ActionTypes;
|
54
|
+
valueAxisTitleColor: ActionTypes;
|
55
|
+
valueAxisLabelsFontName: ActionTypes;
|
56
|
+
valueAxisLabelsFontSize: ActionTypes;
|
57
|
+
valueAxisLabelsColor: ActionTypes;
|
58
|
+
valueAxisLabelsRotation: ActionTypes;
|
59
|
+
parseFont: (font?: string) => {
|
60
|
+
size: string;
|
61
|
+
name: string;
|
62
|
+
};
|
63
|
+
fontNames: {
|
64
|
+
text: string;
|
65
|
+
value: string;
|
66
|
+
style: {
|
67
|
+
fontFamily: string;
|
68
|
+
};
|
69
|
+
}[];
|
70
|
+
fontSizes: {
|
71
|
+
text: string;
|
72
|
+
value: string;
|
73
|
+
}[];
|
74
|
+
legendPositions: {
|
75
|
+
text: string;
|
76
|
+
value: string;
|
77
|
+
}[];
|
78
|
+
labelsRotation: {
|
79
|
+
text: string;
|
80
|
+
value: number;
|
81
|
+
}[];
|
82
|
+
get chartTitleTypeText(): string;
|
83
|
+
get chartTitleTypeFont(): string;
|
84
|
+
get chartTitleTypeFontSize(): string;
|
85
|
+
get chartTitleTypeColor(): string;
|
86
|
+
get chartTitleTypeAction(): ActionTypes;
|
87
|
+
get chartTitleTypeFontAction(): ActionTypes;
|
88
|
+
get chartTitleTypeColorAction(): ActionTypes;
|
89
|
+
get chartTitleTypeFontSizeAction(): ActionTypes;
|
90
|
+
constructor(stateService: StateService, localization: LocalizationService, cdr: ChangeDetectorRef);
|
91
|
+
ngAfterViewChecked(): void;
|
92
|
+
ngOnDestroy(): void;
|
93
|
+
updateState(action: ActionTypes, value: any): void;
|
94
|
+
changeCurrentTitle(value: 'Chart Title' | 'Chart Subtitle'): void;
|
95
|
+
toggleSeriesLabels(value: boolean): void;
|
96
|
+
updateCurrentSeries(value: SeriesItem): void;
|
97
|
+
updateSeriesColor(value: string): void;
|
98
|
+
onExpandedChange(panel: PanelType, expanded: boolean): void;
|
99
|
+
isExpanded(panel: PanelType): boolean;
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardPropertyPaneDataTabComponent, never>;
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartWizardPropertyPaneDataTabComponent, "kendo-chart-wizard-property-pane-format-tab", never, {}, {}, never, never, true, never>;
|
102
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
3
|
+
"schematics": {
|
4
|
+
"ng-add": {
|
5
|
+
"description": "Adds Kendo Angular Package to the application.",
|
6
|
+
"factory": "./ngAdd",
|
7
|
+
"schema": "./ngAdd/schema.json",
|
8
|
+
"hidden": true,
|
9
|
+
"private": true
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
4
|
+
function default_1(options) {
|
5
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ChartWizardModule', package: 'chart-wizard' });
|
6
|
+
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
7
|
+
}
|
8
|
+
exports.default = default_1;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
3
|
+
"$id": "SchematicsKendoAngularChart-wizard",
|
4
|
+
"title": "Kendo Angular Chart-wizard Options Schema",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"theme": {
|
8
|
+
"enum": ["default", "bootstrap", "material"],
|
9
|
+
"default": "default",
|
10
|
+
"description": "The theme to apply"
|
11
|
+
},
|
12
|
+
"export": {
|
13
|
+
"type": "boolean",
|
14
|
+
"default": false,
|
15
|
+
"description": "Specifies if declaring module exports the component."
|
16
|
+
},
|
17
|
+
"skipInstall": {
|
18
|
+
"description": "Skip installing Kendo dependency packages.",
|
19
|
+
"type": "boolean",
|
20
|
+
"default": false
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"required": []
|
24
|
+
}
|
@@ -0,0 +1,24 @@
|
|
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 { SVGIcon } from "@progress/kendo-svg-icons";
|
6
|
+
import { StateService } from "./state.service";
|
7
|
+
import { SeriesStack } from "@progress/kendo-angular-charts";
|
8
|
+
import { SeriesType } from "@progress/kendo-angular-charts";
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
/**
|
11
|
+
* @hidden
|
12
|
+
*/
|
13
|
+
export declare class ChartWizardSeriesTypeButtonComponent {
|
14
|
+
stateService: StateService;
|
15
|
+
title: string;
|
16
|
+
chartTypeIcon: SVGIcon;
|
17
|
+
stack: string | boolean | SeriesStack;
|
18
|
+
seriesType: SeriesType;
|
19
|
+
constructor(stateService: StateService);
|
20
|
+
onSelect(): void;
|
21
|
+
isSelected(): boolean;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardSeriesTypeButtonComponent, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartWizardSeriesTypeButtonComponent, "kendo-chart-wizard-series-type-button", never, { "title": "title"; "chartTypeIcon": "chartTypeIcon"; "stack": "stack"; "seriesType": "seriesType"; }, {}, never, never, true, never>;
|
24
|
+
}
|
@@ -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 { SeriesType } from "@progress/kendo-angular-charts";
|
6
|
+
import { ChartWizardState } from "./chart-wizard-state";
|
7
|
+
import { PanelType } from "./common/models";
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
/**
|
10
|
+
* @hidden
|
11
|
+
*/
|
12
|
+
export declare class StateService {
|
13
|
+
state: ChartWizardState;
|
14
|
+
seriesType: SeriesType;
|
15
|
+
currentTitle: 'Chart Title' | 'Chart Subtitle';
|
16
|
+
currentSeries: any;
|
17
|
+
data: any[];
|
18
|
+
deletedSeries: any[];
|
19
|
+
currentFormatExpansionPanel: PanelType;
|
20
|
+
direction: string;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StateService, never>;
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StateService>;
|
23
|
+
}
|