igniteui-angular-extras 19.1.1 → 20.0.0

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.
@@ -1,53 +0,0 @@
1
- import { ComponentFactoryResolver, EventEmitter, ViewContainerRef } from '@angular/core';
2
- import { CHART_TYPE, OPTIONS_TYPE } from './chart-types';
3
- import { IOptions } from './initializers';
4
- import * as i0 from "@angular/core";
5
- export interface IDeterminedChartTypesArgs {
6
- chartsAvailability: Map<CHART_TYPE, boolean>;
7
- chartsForCreation: CHART_TYPE[];
8
- }
9
- export declare class IgxChartIntegrationDirective {
10
- private factoryResolver;
11
- get chartData(): any[];
12
- set chartData(selectedData: any[]);
13
- onChartTypesDetermined: EventEmitter<IDeterminedChartTypesArgs>;
14
- onChartCreationDone: EventEmitter<any>;
15
- useLegend: boolean;
16
- defaultLabelMemberPath: string;
17
- set scatterChartYAxisValueMemberPath(path: string);
18
- get scatterChartYAxisValueMemberPath(): string;
19
- set bubbleChartRadiusMemberPath(path: string);
20
- get bubbleChartRadiusMemberPath(): string;
21
- private chartTypesAvailability;
22
- private customChartComponentOptions;
23
- private dataCharts;
24
- private _scatterChartYAxisValueMemberPath;
25
- private _bubbleChartRadiusMemberPath;
26
- private _valueMemberPaths;
27
- private _labelMemberPaths;
28
- private _chartData;
29
- private _sizeScale;
30
- private _dataChartTypes;
31
- private get _labelMemberPath();
32
- private get pieChartOptions();
33
- private dataChartSeriesOptionsModel;
34
- private scatterChartSeriesOptionsModel;
35
- private bubbleChartSeriesOptionsModel;
36
- private get dataChartOptions();
37
- constructor(factoryResolver: ComponentFactoryResolver);
38
- getAllChartTypes(): CHART_TYPE[];
39
- getAvailableCharts(): any[];
40
- disableCharts(types: CHART_TYPE[]): void;
41
- enableCharts(types: CHART_TYPE[]): void;
42
- chartFactory(type: CHART_TYPE, viewContainerRef?: ViewContainerRef, createdChart?: any): any;
43
- private getInitializer;
44
- private getChartOptions;
45
- private addPieChartDataOptions;
46
- private addDataChartDataOptions;
47
- private addScatterChartDataOptions;
48
- private addIndexMemberPath;
49
- private setAxisLabelOption;
50
- setChartComponentOptions(chart: CHART_TYPE, optionsType: OPTIONS_TYPE, options: IOptions): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<IgxChartIntegrationDirective, never>;
52
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxChartIntegrationDirective, "[igxChartIntegration]", never, { "chartData": { "alias": "chartData"; "required": false; }; "useLegend": { "alias": "useLegend"; "required": false; }; "defaultLabelMemberPath": { "alias": "defaultLabelMemberPath"; "required": false; }; "scatterChartYAxisValueMemberPath": { "alias": "scatterChartYAxisValueMemberPath"; "required": false; }; "bubbleChartRadiusMemberPath": { "alias": "bubbleChartRadiusMemberPath"; "required": false; }; }, { "onChartTypesDetermined": "onChartTypesDetermined"; "onChartCreationDone": "onChartCreationDone"; }, never, never, true, never>;
53
- }
@@ -1,25 +0,0 @@
1
- export declare enum CHART_TYPE {
2
- PIE = "Pie",
3
- COLUMN_GROUPED = "ColumnGrouped",
4
- AREA_GROUPED = "AreaGrouped",
5
- LINE_GROUPED = "LineGrouped",
6
- BAR_GROUPED = "BarGrouped",
7
- COLUMN_STACKED = "ColumnStacked",
8
- AREA_STACKED = "AreaStacked",
9
- LINE_STACKED = "LineStacked",
10
- BAR_STACKED = "BarStacked",
11
- COLUMN_100_STACKED = "Column100Stacked",
12
- AREA_100_STACKED = "Area100Stacked",
13
- LINE_100_STACKED = "Line100Stacked",
14
- BAR_100_STACKED = "Bar100Stacked",
15
- SCATTER_POINT = "ScatterPoint",
16
- SCATTER_BUBBLE = "ScatterBubble",
17
- SCATTER_LINE = "ScatterLine"
18
- }
19
- export declare enum OPTIONS_TYPE {
20
- CHART = "chartOptions",
21
- SERIES = "seriesModel",
22
- X_AXIS = "xAxisOptions",
23
- Y_AXIS = "yAxisOptions",
24
- STACKED_SERIES = "stackedFragmentOptions"
25
- }
@@ -1,39 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { IgxDataChartComponent, IgxPieChartComponent } from 'igniteui-angular-charts';
3
- declare class SeriesFactory {
4
- create<T>(type: (new () => T)): T;
5
- }
6
- export interface IOptions {
7
- [key: string]: any;
8
- }
9
- export interface IChartComponentOptions {
10
- chartOptions?: IOptions;
11
- seriesOptions?: IOptions[];
12
- xAxisOptions?: IOptions;
13
- seriesModel?: IOptions;
14
- yAxisOptions?: IOptions;
15
- stackedFragmentOptions?: IOptions;
16
- }
17
- export declare abstract class ChartInitializer {
18
- protected yAxis: any;
19
- protected xAxis: any;
20
- protected seriesFactory: SeriesFactory;
21
- constructor();
22
- applyOptions(target: any, options: IOptions): void;
23
- abstract initChart(chart: any, options?: IChartComponentOptions): any;
24
- }
25
- export declare class IgxPieChartInitializer extends ChartInitializer {
26
- constructor();
27
- initChart(chart: IgxPieChartComponent, options: IChartComponentOptions): IgxPieChartComponent;
28
- }
29
- export declare class IgxDataChartInitializer extends ChartInitializer {
30
- seriesType: Type<any>;
31
- constructor(seriesType: Type<any>);
32
- initChart(chart: IgxDataChartComponent, options: IChartComponentOptions): IgxDataChartComponent;
33
- }
34
- export declare class IgxStackedDataChartInitializer extends ChartInitializer {
35
- seriesType: Type<any>;
36
- constructor(seriesType: Type<any>);
37
- initChart(chart: IgxDataChartComponent, options?: IChartComponentOptions): IgxDataChartComponent;
38
- }
39
- export {};
@@ -1,95 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
2
- import { IgxGridComponent } from 'igniteui-angular';
3
- import * as i0 from "@angular/core";
4
- export declare enum ConditionalFormattingType {
5
- dataBars = "Data Bars",
6
- colorScale = "Color Scale",
7
- top10 = "Top 10",
8
- textContains = "Text Contains",
9
- single = "Duplicate Values",
10
- unique = "Unique Values",
11
- empty = "Empty"
12
- }
13
- export interface IFormatColors {
14
- success: string;
15
- error: string;
16
- info: string;
17
- warning: string;
18
- text: string;
19
- }
20
- export declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDestroy {
21
- grid: IgxGridComponent;
22
- formatter: string | ConditionalFormattingType;
23
- set formatColors(val: IFormatColors);
24
- get formatColors(): IFormatColors;
25
- onFormattersReady: EventEmitter<string[]>;
26
- colorScale: {
27
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
28
- };
29
- dataBars: {
30
- backgroundImage: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
31
- backgroundSize: string;
32
- backgroundRepeat: string;
33
- backgroundPositionY: string;
34
- };
35
- top10Percent: {
36
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
37
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
38
- };
39
- greaterThan: {
40
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
41
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
42
- };
43
- empty: {
44
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
45
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
46
- };
47
- duplicates: {
48
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
49
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
50
- };
51
- textContains: {
52
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
53
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
54
- };
55
- uniques: {
56
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
57
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
58
- };
59
- private get selectedData();
60
- private get textData();
61
- private get numericData();
62
- private _formatColors;
63
- private _numericFormatters;
64
- private _textFormatters;
65
- private _commonFormattersName;
66
- private _selectedData;
67
- private _minValue;
68
- private _maxValue;
69
- private _startColumn;
70
- private _endColumn;
71
- private _valueForComparison;
72
- private _formattersData;
73
- private destroy$;
74
- private formatedRange;
75
- constructor(grid: IgxGridComponent);
76
- ngAfterViewInit(): void;
77
- ngOnDestroy(): void;
78
- formatCells(formatterName: any, formatRange?: [], reset?: boolean): void;
79
- clearFormatting(): void;
80
- determineFormatters(fromColumn: any): void;
81
- recalcCachedValues(clearAll?: boolean): void;
82
- isWithInFormattedRange(rowIndex: any, colID: any): boolean;
83
- private get middleTresholdValue();
84
- private get lowTresholdValue();
85
- private get top10PercentTreshold();
86
- private get avgValue();
87
- private get threshold();
88
- private getPositivePercentage;
89
- private getNegativePercentage;
90
- private resetRange;
91
- private addToCache;
92
- private toArray;
93
- static ɵfac: i0.ɵɵFactoryDeclaration<IgxConditionalFormattingDirective, never>;
94
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxConditionalFormattingDirective, "[igxConditionalFormatting]", never, { "formatter": { "alias": "formatter"; "required": false; }; "formatColors": { "alias": "formatColors"; "required": false; }; }, { "onFormattersReady": "onFormattersReady"; }, never, never, true, never>;
95
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class PageHeaderComponent {
3
- title: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "app-page-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
6
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class SvgPipe implements PipeTransform {
5
- private sanitizer;
6
- constructor(sanitizer: DomSanitizer);
7
- transform(markup: string): SafeHtml;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SvgPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SvgPipe, "svg", true>;
10
- }
package/public-api.d.ts DELETED
@@ -1,21 +0,0 @@
1
- /**
2
- * Directives
3
- */
4
- export * from './lib/directives/chart-integration/chart-integration.directive';
5
- export * from './lib/directives/conditional-formatting/conditional-formatting.directive';
6
- export * from './lib/context-menu/igx-context-menu.directive';
7
- /**
8
- * Components
9
- */
10
- export * from './lib/context-menu/context-menu.component';
11
- export * from './lib/context-menu/chart-dialog/chart-dialog.component';
12
- export * from './lib/page-header/page-header.component';
13
- /**
14
- * Pipes
15
- */
16
- export * from './lib/pipes/svg.pipe';
17
- /**
18
- * Exporter classes, interfaces and enums
19
- */
20
- export * from './lib/directives/chart-integration/chart-types';
21
- export * from './lib/directives/chart-integration/initializers';