@progress/kendo-angular-chart-wizard 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/fesm2022/progress-kendo-angular-chart-wizard.mjs +44 -44
- package/localization/messages.d.ts +1 -1
- package/package.json +21 -29
- package/esm2022/chart-wizard-state.mjs +0 -57
- package/esm2022/chart-wizard.component.mjs +0 -1237
- package/esm2022/chart-wizard.module.mjs +0 -67
- package/esm2022/common/get-wizard-data-from-data-rows.mjs +0 -6
- package/esm2022/common/index.mjs +0 -5
- package/esm2022/common/models.mjs +0 -24
- package/esm2022/common/window-settings.mjs +0 -5
- package/esm2022/directives.mjs +0 -34
- package/esm2022/events/export-event.mjs +0 -37
- package/esm2022/events/index.mjs +0 -5
- package/esm2022/events/preventable-event.mjs +0 -28
- package/esm2022/grid-integration/get-grid-selected-rows.mjs +0 -50
- package/esm2022/grid-integration/get-wizard-data-from-grid-selection.mjs +0 -13
- package/esm2022/grid-integration/grid-chart-wizard.directive.mjs +0 -95
- package/esm2022/grid-integration/index.mjs +0 -7
- package/esm2022/index.mjs +0 -12
- package/esm2022/localization/chartwizard-localization.service.mjs +0 -31
- package/esm2022/localization/custom-messages.component.mjs +0 -52
- package/esm2022/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/localization/messages.mjs +0 -657
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-chart-wizard.mjs +0 -8
- package/esm2022/property-pane/chart-tab.component.mjs +0 -260
- package/esm2022/property-pane/data-tab.component.mjs +0 -270
- package/esm2022/property-pane/form-field.component.mjs +0 -296
- package/esm2022/property-pane/format-tab.component.mjs +0 -1032
- package/esm2022/series-type-button.component.mjs +0 -71
- package/esm2022/state.service.mjs +0 -36
|
@@ -1,67 +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 { ThemeService } from '@progress/kendo-angular-charts';
|
|
7
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
9
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
10
|
-
import { DialogContainerService, DialogService, WindowContainerService, WindowService, } from '@progress/kendo-angular-dialog';
|
|
11
|
-
import { KENDO_CHARTWIZARD } from './directives';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "./chart-wizard.component";
|
|
14
|
-
import * as i2 from "./grid-integration/grid-chart-wizard.directive";
|
|
15
|
-
import * as i3 from "./localization/custom-messages.component";
|
|
16
|
-
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
17
|
-
/**
|
|
18
|
-
* A [module](link:site.data.urls.angular['ngmoduleapi']) that includes the Chart Wizard component and directives.
|
|
19
|
-
*
|
|
20
|
-
* Use this module to add ChartWizard features to your NgModule-based Angular application.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```typescript
|
|
24
|
-
* import { ChartWizardModule } from '@progress/kendo-angular-chart-wizard';
|
|
25
|
-
* import { NgModule } from '@angular/core';
|
|
26
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
27
|
-
* import { AppComponent } from './app.component';
|
|
28
|
-
*
|
|
29
|
-
* @NgModule({
|
|
30
|
-
* declarations: [AppComponent],
|
|
31
|
-
* imports: [BrowserModule, ChartWizardModule],
|
|
32
|
-
* bootstrap: [AppComponent]
|
|
33
|
-
* })
|
|
34
|
-
* export class AppModule {}
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export class ChartWizardModule {
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
39
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardModule, imports: [i1.ChartWizardComponent, i2.ChartWizardGridBindingDirective, i3.CustomMessagesComponent], exports: [i1.ChartWizardComponent, i2.ChartWizardGridBindingDirective, i3.CustomMessagesComponent] });
|
|
40
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardModule, providers: [
|
|
41
|
-
ThemeService,
|
|
42
|
-
PopupService,
|
|
43
|
-
ResizeBatchService,
|
|
44
|
-
IconsService,
|
|
45
|
-
DialogContainerService,
|
|
46
|
-
DialogService,
|
|
47
|
-
WindowService,
|
|
48
|
-
WindowContainerService
|
|
49
|
-
], imports: [i1.ChartWizardComponent] });
|
|
50
|
-
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
imports: [...KENDO_CHARTWIZARD],
|
|
55
|
-
exports: [...KENDO_CHARTWIZARD],
|
|
56
|
-
providers: [
|
|
57
|
-
ThemeService,
|
|
58
|
-
PopupService,
|
|
59
|
-
ResizeBatchService,
|
|
60
|
-
IconsService,
|
|
61
|
-
DialogContainerService,
|
|
62
|
-
DialogService,
|
|
63
|
-
WindowService,
|
|
64
|
-
WindowContainerService
|
|
65
|
-
]
|
|
66
|
-
}]
|
|
67
|
-
}] });
|
|
@@ -1,6 +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 { ChartWizardCommon } from '@progress/kendo-charts';
|
|
6
|
-
export const getWizardDataFromDataRows = ChartWizardCommon.getWizardDataFromDataRows;
|
package/esm2022/common/index.mjs
DELETED
|
@@ -1,5 +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
|
-
export * from './get-wizard-data-from-data-rows';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export const defaultAllSeriesItem = { name: 'All Series' };
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export const defaultFormat = {
|
|
13
|
-
value: '',
|
|
14
|
-
text: 'Text'
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export const labelFormats = [
|
|
20
|
-
defaultFormat,
|
|
21
|
-
{ value: 'n0', text: 'Number' },
|
|
22
|
-
{ value: 'c0', text: 'Currency' },
|
|
23
|
-
{ value: 'p0', text: 'Percent' }
|
|
24
|
-
];
|
|
@@ -1,5 +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
|
-
export {};
|
package/esm2022/directives.mjs
DELETED
|
@@ -1,34 +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 { ChartWizardComponent } from "./chart-wizard.component";
|
|
6
|
-
import { ChartWizardGridBindingDirective } from "./grid-integration/grid-chart-wizard.directive";
|
|
7
|
-
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Kendo UI Chart Wizard utility array that contains all components and directives from the `@progress/kendo-angular-chart-wizard` package.
|
|
10
|
-
*
|
|
11
|
-
* Use this array to import all Chart Wizard-related components and directives into your standalone Angular component.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import { Component } from '@angular/core';
|
|
16
|
-
* import { KENDO_CHARTWIZARD } from '@progress/kendo-angular-chart-wizard';
|
|
17
|
-
*
|
|
18
|
-
* @Component({
|
|
19
|
-
* selector: 'app-my-component',
|
|
20
|
-
* standalone: true,
|
|
21
|
-
* imports: [KENDO_CHARTWIZARD],
|
|
22
|
-
* template: `
|
|
23
|
-
* <kendo-chart-wizard>
|
|
24
|
-
* </kendo-chart-wizard>
|
|
25
|
-
* `
|
|
26
|
-
* })
|
|
27
|
-
* export class MyComponent { }
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export const KENDO_CHARTWIZARD = [
|
|
31
|
-
ChartWizardComponent,
|
|
32
|
-
ChartWizardGridBindingDirective,
|
|
33
|
-
CustomMessagesComponent
|
|
34
|
-
];
|
|
@@ -1,37 +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 { PreventableEvent } from './preventable-event';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the arguments for the `export` event in the Chart Wizard.
|
|
8
|
-
*
|
|
9
|
-
* Use this event to customize the export process or prevent it.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```typescript
|
|
13
|
-
* exportEventHandler(event: ExportEvent): void {
|
|
14
|
-
* if (event.exportOptions.fileName === 'restricted') {
|
|
15
|
-
* event.preventDefault();
|
|
16
|
-
* }
|
|
17
|
-
* }
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export class ExportEvent extends PreventableEvent {
|
|
21
|
-
/**
|
|
22
|
-
* Defines the export options for the Chart Wizard.
|
|
23
|
-
*/
|
|
24
|
-
exportOptions;
|
|
25
|
-
/**
|
|
26
|
-
* Provides the current `ChartComponent` instance to export.
|
|
27
|
-
*/
|
|
28
|
-
chart;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
constructor(chart, exportOptions) {
|
|
33
|
-
super();
|
|
34
|
-
this.chart = chart;
|
|
35
|
-
this.exportOptions = exportOptions;
|
|
36
|
-
}
|
|
37
|
-
}
|
package/esm2022/events/index.mjs
DELETED
|
@@ -1,5 +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
|
-
export { ExportEvent } from './export-event';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export class PreventableEvent {
|
|
9
|
-
prevented = false;
|
|
10
|
-
/**
|
|
11
|
-
* Prevents the default action for a specified event.
|
|
12
|
-
* In this way, the source component suppresses
|
|
13
|
-
* the built-in behavior that follows the event.
|
|
14
|
-
*/
|
|
15
|
-
preventDefault() {
|
|
16
|
-
this.prevented = true;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Returns `true` if the event was prevented
|
|
20
|
-
* by any of its subscribers.
|
|
21
|
-
*
|
|
22
|
-
* @returns `true` if the default action was prevented.
|
|
23
|
-
* Otherwise, returns `false`.
|
|
24
|
-
*/
|
|
25
|
-
isDefaultPrevented() {
|
|
26
|
-
return this.prevented;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,50 +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 { getter } from "@progress/kendo-common";
|
|
6
|
-
import { isPresent } from "@progress/kendo-angular-common";
|
|
7
|
-
/**
|
|
8
|
-
* Maps the Grid `selectedKeys` to a general `DataRows` type for the Chart Wizard.
|
|
9
|
-
*
|
|
10
|
-
* The `selectedKeys` can be row keys or cell keys.
|
|
11
|
-
*
|
|
12
|
-
* @returns Returns a `DataRow[]` that you can pass to `getWizardDataFromDataRows` to bind the Chart Wizard.
|
|
13
|
-
*/
|
|
14
|
-
export function getGridSelectedRows(args) {
|
|
15
|
-
const { grid, data, selectedKeys, selectionKey, columnKey } = args;
|
|
16
|
-
const columns = [...grid.leafColumns];
|
|
17
|
-
const allColumns = columns.map((column) => ({ field: column.field, title: column.title }));
|
|
18
|
-
const selectedColumns = new Map();
|
|
19
|
-
let getItemByKey;
|
|
20
|
-
if (selectionKey) {
|
|
21
|
-
const idGetter = getter(selectionKey);
|
|
22
|
-
const dataMap = new Map(data.map((item) => [idGetter(item), item]));
|
|
23
|
-
getItemByKey = itemKey => dataMap.get(itemKey);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
getItemByKey = itemIndex => data[itemIndex];
|
|
27
|
-
}
|
|
28
|
-
let getColumnByColumnKey = key => columns[key];
|
|
29
|
-
if (typeof columnKey === "function") {
|
|
30
|
-
const columnMap = new Map(columns.map((col, colIndex) => [columnKey(col, colIndex), col]));
|
|
31
|
-
getColumnByColumnKey = key => columnMap.get(key);
|
|
32
|
-
}
|
|
33
|
-
selectedKeys.forEach(item => {
|
|
34
|
-
if (isPresent(item.columnKey)) {
|
|
35
|
-
const itemColumns = selectedColumns.get(item.itemKey) || [];
|
|
36
|
-
const column = getColumnByColumnKey(item.columnKey);
|
|
37
|
-
const columnIndex = columns.indexOf(column);
|
|
38
|
-
const dataColumn = { field: column.field, title: column.title };
|
|
39
|
-
itemColumns.splice(columnIndex, 0, dataColumn);
|
|
40
|
-
selectedColumns.set(item.itemKey, itemColumns);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
selectedColumns.set(item, allColumns);
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
return [...selectedColumns.entries()].map(([itemKey, dataColumns]) => ({
|
|
47
|
-
dataItem: getItemByKey(itemKey),
|
|
48
|
-
dataColumns
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
@@ -1,13 +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 { getWizardDataFromDataRows } from "../common";
|
|
6
|
-
import { getGridSelectedRows } from "./get-grid-selected-rows";
|
|
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 const getWizardDataFromGridSelection = (args) => getWizardDataFromDataRows(getGridSelectedRows(args));
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, EventEmitter, HostListener, Input, Output } from "@angular/core";
|
|
6
|
-
import { GridComponent } from "@progress/kendo-angular-grid";
|
|
7
|
-
import { getWizardDataFromGridSelection } from "./get-wizard-data-from-grid-selection";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@progress/kendo-angular-grid";
|
|
10
|
-
/**
|
|
11
|
-
* Binds the Chart Wizard to the selection state of the Grid ([see example](slug:grid_integration_with_chart)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-grid
|
|
16
|
-
* [kendoGridBinding]="data"
|
|
17
|
-
* [kendoGridSelectBy]="'id'"
|
|
18
|
-
* kendoChartWizardGridBinding
|
|
19
|
-
* [(chartWizardData)]="wizardData">
|
|
20
|
-
* </kendo-grid>
|
|
21
|
-
* ```
|
|
22
|
-
* @remarks
|
|
23
|
-
* Applied to: {@link GridComponent}
|
|
24
|
-
*/
|
|
25
|
-
export class ChartWizardGridBindingDirective {
|
|
26
|
-
grid;
|
|
27
|
-
/**
|
|
28
|
-
* Stores the Chart Wizard data.
|
|
29
|
-
*
|
|
30
|
-
* @default []
|
|
31
|
-
*/
|
|
32
|
-
chartWizardData = [];
|
|
33
|
-
/**
|
|
34
|
-
* Emits when the `chartWizardData` collection updates.
|
|
35
|
-
*/
|
|
36
|
-
chartWizardDataChange = new EventEmitter();
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
data;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
selectionKey;
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
columnKey;
|
|
49
|
-
constructor(grid) {
|
|
50
|
-
this.grid = grid;
|
|
51
|
-
}
|
|
52
|
-
ngOnInit() {
|
|
53
|
-
if (!this.selectionKey || !this.data) {
|
|
54
|
-
throw new Error('The [kendoChartWizardGridBinding] directive requires that [kendoGridBinding] and [kendoGridSelectBy] are set. ' +
|
|
55
|
-
'See the Grid documentation for an example on how to use the Chart Wizard without the directive.');
|
|
56
|
-
}
|
|
57
|
-
if (typeof this.selectionKey === 'function') {
|
|
58
|
-
throw new Error('The [kendoChartWizardGridBinding] directive supports only strings as [kendoGridSelectBy] selection key.');
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
onSelectionChange(selectedKeys) {
|
|
62
|
-
this.chartWizardData = getWizardDataFromGridSelection({
|
|
63
|
-
grid: this.grid,
|
|
64
|
-
data: this.data,
|
|
65
|
-
selectedKeys,
|
|
66
|
-
selectionKey: this.selectionKey
|
|
67
|
-
});
|
|
68
|
-
this.chartWizardDataChange.emit(this.chartWizardData);
|
|
69
|
-
}
|
|
70
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardGridBindingDirective, deps: [{ token: i1.GridComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
71
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChartWizardGridBindingDirective, isStandalone: true, selector: "[kendoChartWizardGridBinding]", inputs: { chartWizardData: "chartWizardData", data: ["kendoGridBinding", "data"], selectionKey: ["kendoGridSelectBy", "selectionKey"], columnKey: "columnKey" }, outputs: { chartWizardDataChange: "chartWizardDataChange" }, host: { listeners: { "selectedKeysChange": "onSelectionChange($event)" } }, exportAs: ["kendoChartWizardGridBinding"], ngImport: i0 });
|
|
72
|
-
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardGridBindingDirective, decorators: [{
|
|
74
|
-
type: Directive,
|
|
75
|
-
args: [{
|
|
76
|
-
selector: '[kendoChartWizardGridBinding]',
|
|
77
|
-
exportAs: 'kendoChartWizardGridBinding',
|
|
78
|
-
standalone: true
|
|
79
|
-
}]
|
|
80
|
-
}], ctorParameters: () => [{ type: i1.GridComponent }], propDecorators: { chartWizardData: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], chartWizardDataChange: [{
|
|
83
|
-
type: Output
|
|
84
|
-
}], data: [{
|
|
85
|
-
type: Input,
|
|
86
|
-
args: ['kendoGridBinding']
|
|
87
|
-
}], selectionKey: [{
|
|
88
|
-
type: Input,
|
|
89
|
-
args: ['kendoGridSelectBy']
|
|
90
|
-
}], columnKey: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], onSelectionChange: [{
|
|
93
|
-
type: HostListener,
|
|
94
|
-
args: ['selectedKeysChange', ['$event']]
|
|
95
|
-
}] } });
|
|
@@ -1,7 +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
|
-
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/esm2022/index.mjs
DELETED
|
@@ -1,12 +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
|
-
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 { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
11
|
-
export { ChartWizardModule } from './chart-wizard.module';
|
|
12
|
-
export { KENDO_CHARTWIZARD } from './directives';
|
|
@@ -1,31 +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 { Inject, Injectable, Optional } from '@angular/core';
|
|
6
|
-
import { LocalizationService, L10N_PREFIX, MessageService, RTL } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export class ChartWizardLocalizationService extends LocalizationService {
|
|
13
|
-
constructor(prefix, messageService, _rtl) {
|
|
14
|
-
super(prefix, messageService, _rtl);
|
|
15
|
-
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardLocalizationService });
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardLocalizationService, decorators: [{
|
|
20
|
-
type: Injectable
|
|
21
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
22
|
-
type: Inject,
|
|
23
|
-
args: [L10N_PREFIX]
|
|
24
|
-
}] }, { type: i1.MessageService, decorators: [{
|
|
25
|
-
type: Optional
|
|
26
|
-
}] }, { type: undefined, decorators: [{
|
|
27
|
-
type: Optional
|
|
28
|
-
}, {
|
|
29
|
-
type: Inject,
|
|
30
|
-
args: [RTL]
|
|
31
|
-
}] }] });
|
|
@@ -1,52 +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, 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
|
-
* Represents the custom messages component for Chart Wizard.
|
|
12
|
-
*
|
|
13
|
-
* Use this component to override the default messages of the Chart Wizard.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-chartwizard>
|
|
18
|
-
* <kendo-chartwizard-messages windowTitle="Custom Title"></kendo-chartwizard-messages>
|
|
19
|
-
* </kendo-chartwizard>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export class CustomMessagesComponent extends Messages {
|
|
23
|
-
service;
|
|
24
|
-
constructor(service) {
|
|
25
|
-
super();
|
|
26
|
-
this.service = service;
|
|
27
|
-
}
|
|
28
|
-
get override() {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-chartwizard-messages", providers: [
|
|
33
|
-
{
|
|
34
|
-
provide: Messages,
|
|
35
|
-
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
36
|
-
}
|
|
37
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
providers: [
|
|
43
|
-
{
|
|
44
|
-
provide: Messages,
|
|
45
|
-
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
selector: 'kendo-chartwizard-messages',
|
|
49
|
-
template: ``,
|
|
50
|
-
standalone: true
|
|
51
|
-
}]
|
|
52
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, 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
|
-
service;
|
|
15
|
-
constructor(service) {
|
|
16
|
-
super();
|
|
17
|
-
this.service = service;
|
|
18
|
-
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoChartWizardLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
28
|
-
type: Directive,
|
|
29
|
-
args: [{
|
|
30
|
-
providers: [
|
|
31
|
-
{
|
|
32
|
-
provide: Messages,
|
|
33
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
selector: '[kendoChartWizardLocalizedMessages]',
|
|
37
|
-
standalone: true
|
|
38
|
-
}]
|
|
39
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|