@smartbit4all/ng-client 4.0.117 → 4.0.118

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 (53) hide show
  1. package/esm2022/src/lib/smart-chart/api/api/api.mjs +2 -0
  2. package/esm2022/src/lib/smart-chart/api/api.module.mjs +40 -0
  3. package/esm2022/src/lib/smart-chart/api/configuration.mjs +91 -0
  4. package/esm2022/src/lib/smart-chart/api/index.mjs +7 -0
  5. package/esm2022/src/lib/smart-chart/api/model/chartData.mjs +2 -0
  6. package/esm2022/src/lib/smart-chart/api/model/chartDescriptor.mjs +2 -0
  7. package/esm2022/src/lib/smart-chart/api/model/chartOrientation.mjs +16 -0
  8. package/esm2022/src/lib/smart-chart/api/model/chartType.mjs +21 -0
  9. package/esm2022/src/lib/smart-chart/api/model/chartValue.mjs +13 -0
  10. package/esm2022/src/lib/smart-chart/api/model/diagramDataContainer.mjs +2 -0
  11. package/esm2022/src/lib/smart-chart/api/model/diagramDataItem.mjs +13 -0
  12. package/esm2022/src/lib/smart-chart/api/model/diagramDataSet.mjs +2 -0
  13. package/esm2022/src/lib/smart-chart/api/model/diagramDataSetConstructionInstruction.mjs +13 -0
  14. package/esm2022/src/lib/smart-chart/api/model/diagramDescriptor.mjs +13 -0
  15. package/esm2022/src/lib/smart-chart/api/model/diagramUiModel.mjs +2 -0
  16. package/esm2022/src/lib/smart-chart/api/model/models.mjs +13 -0
  17. package/esm2022/src/lib/smart-chart/api/model/pieChartLegendPosition.mjs +16 -0
  18. package/esm2022/src/lib/smart-chart/api/param.mjs +2 -0
  19. package/esm2022/src/lib/smart-chart/api/variables.mjs +9 -0
  20. package/esm2022/src/lib/smart-chart/default-chart-options.provider.mjs +233 -0
  21. package/esm2022/src/lib/smart-chart/projects.mjs +8 -0
  22. package/esm2022/src/lib/smart-chart/smart-chart.component.mjs +96 -0
  23. package/esm2022/src/lib/smart-chart/smart-chart.module.mjs +39 -0
  24. package/esm2022/src/lib/smart-chart/smartbit4all-ng-client-src-lib-smart-chart.mjs +5 -0
  25. package/fesm2022/smartbit4all-ng-client-src-lib-smart-chart.mjs +473 -0
  26. package/fesm2022/smartbit4all-ng-client-src-lib-smart-chart.mjs.map +1 -0
  27. package/package.json +7 -1
  28. package/smartbit4all-ng-client-4.0.118.tgz +0 -0
  29. package/src/lib/smart-chart/api/api/api.d.ts +1 -0
  30. package/src/lib/smart-chart/api/api.module.d.ts +11 -0
  31. package/src/lib/smart-chart/api/configuration.d.ts +104 -0
  32. package/src/lib/smart-chart/api/index.d.ts +6 -0
  33. package/src/lib/smart-chart/api/model/chartData.d.ts +16 -0
  34. package/src/lib/smart-chart/api/model/chartDescriptor.d.ts +37 -0
  35. package/src/lib/smart-chart/api/model/chartOrientation.d.ts +16 -0
  36. package/src/lib/smart-chart/api/model/chartType.d.ts +21 -0
  37. package/src/lib/smart-chart/api/model/chartValue.d.ts +16 -0
  38. package/src/lib/smart-chart/api/model/diagramDataContainer.d.ts +20 -0
  39. package/src/lib/smart-chart/api/model/diagramDataItem.d.ts +24 -0
  40. package/src/lib/smart-chart/api/model/diagramDataSet.d.ts +21 -0
  41. package/src/lib/smart-chart/api/model/diagramDataSetConstructionInstruction.d.ts +21 -0
  42. package/src/lib/smart-chart/api/model/diagramDescriptor.d.ts +49 -0
  43. package/src/lib/smart-chart/api/model/diagramUiModel.d.ts +18 -0
  44. package/src/lib/smart-chart/api/model/models.d.ts +12 -0
  45. package/src/lib/smart-chart/api/model/pieChartLegendPosition.d.ts +16 -0
  46. package/src/lib/smart-chart/api/param.d.ts +37 -0
  47. package/src/lib/smart-chart/api/variables.d.ts +8 -0
  48. package/src/lib/smart-chart/default-chart-options.provider.d.ts +31 -0
  49. package/src/lib/smart-chart/index.d.ts +5 -0
  50. package/src/lib/smart-chart/projects.d.ts +4 -0
  51. package/src/lib/smart-chart/smart-chart.component.d.ts +19 -0
  52. package/src/lib/smart-chart/smart-chart.module.d.ts +11 -0
  53. package/smartbit4all-ng-client-4.0.117.tgz +0 -0
@@ -0,0 +1,104 @@
1
+ import { HttpParameterCodec } from '@angular/common/http';
2
+ import { Param } from './param';
3
+ export interface ConfigurationParameters {
4
+ /**
5
+ * @deprecated Since 5.0. Use credentials instead
6
+ */
7
+ apiKeys?: {
8
+ [key: string]: string;
9
+ };
10
+ username?: string;
11
+ password?: string;
12
+ /**
13
+ * @deprecated Since 5.0. Use credentials instead
14
+ */
15
+ accessToken?: string | (() => string);
16
+ basePath?: string;
17
+ withCredentials?: boolean;
18
+ /**
19
+ * Takes care of encoding query- and form-parameters.
20
+ */
21
+ encoder?: HttpParameterCodec;
22
+ /**
23
+ * Override the default method for encoding path parameters in various
24
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
25
+ * <p>
26
+ * See {@link README.md} for more details
27
+ * </p>
28
+ */
29
+ encodeParam?: (param: Param) => string;
30
+ /**
31
+ * The keys are the names in the securitySchemes section of the OpenAPI
32
+ * document. They should map to the value used for authentication
33
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
34
+ */
35
+ credentials?: {
36
+ [key: string]: string | (() => string | undefined);
37
+ };
38
+ }
39
+ export declare class Configuration {
40
+ /**
41
+ * @deprecated Since 5.0. Use credentials instead
42
+ */
43
+ apiKeys?: {
44
+ [key: string]: string;
45
+ };
46
+ username?: string;
47
+ password?: string;
48
+ /**
49
+ * @deprecated Since 5.0. Use credentials instead
50
+ */
51
+ accessToken?: string | (() => string);
52
+ basePath?: string;
53
+ withCredentials?: boolean;
54
+ /**
55
+ * Takes care of encoding query- and form-parameters.
56
+ */
57
+ encoder?: HttpParameterCodec;
58
+ /**
59
+ * Encoding of various path parameter
60
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
61
+ * <p>
62
+ * See {@link README.md} for more details
63
+ * </p>
64
+ */
65
+ encodeParam: (param: Param) => string;
66
+ /**
67
+ * The keys are the names in the securitySchemes section of the OpenAPI
68
+ * document. They should map to the value used for authentication
69
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
70
+ */
71
+ credentials: {
72
+ [key: string]: string | (() => string | undefined);
73
+ };
74
+ constructor(configurationParameters?: ConfigurationParameters);
75
+ /**
76
+ * Select the correct content-type to use for a request.
77
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
78
+ * If no content type is found return the first found type if the contentTypes is not empty
79
+ * @param contentTypes - the array of content types that are available for selection
80
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
81
+ */
82
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
83
+ /**
84
+ * Select the correct accept content-type to use for a request.
85
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
86
+ * If no content type is found return the first found type if the contentTypes is not empty
87
+ * @param accepts - the array of content types that are available for selection.
88
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
89
+ */
90
+ selectHeaderAccept(accepts: string[]): string | undefined;
91
+ /**
92
+ * Check if the given MIME is a JSON MIME.
93
+ * JSON MIME examples:
94
+ * application/json
95
+ * application/json; charset=UTF8
96
+ * APPLICATION/JSON
97
+ * application/vnd.company+json
98
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
99
+ * @return True if the given MIME is JSON, false otherwise.
100
+ */
101
+ isJsonMime(mime: string): boolean;
102
+ lookupCredential(key: string): string | undefined;
103
+ private defaultEncodeParam;
104
+ }
@@ -0,0 +1,6 @@
1
+ export * from './api/api';
2
+ export * from './model/models';
3
+ export * from './variables';
4
+ export * from './configuration';
5
+ export * from './api.module';
6
+ export * from './param';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ChartValue } from './chartValue';
13
+ export interface ChartData {
14
+ uri?: string;
15
+ chartValues: Array<ChartValue>;
16
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PieChartLegendPosition } from './pieChartLegendPosition';
13
+ import { ChartType } from './chartType';
14
+ import { ChartOrientation } from './chartOrientation';
15
+ export interface ChartDescriptor {
16
+ uri?: string;
17
+ type: ChartType;
18
+ xAxisLabel?: string;
19
+ yAxisLabel?: string;
20
+ showXAxisLabel?: boolean;
21
+ showYAxisLabel?: boolean;
22
+ roundEdges?: boolean;
23
+ showGridLines?: boolean;
24
+ showDataLabel?: boolean;
25
+ orientation?: ChartOrientation;
26
+ showLegend?: boolean;
27
+ legendPosition?: PieChartLegendPosition;
28
+ explodeCicles?: boolean;
29
+ doughnut?: boolean;
30
+ legendTitle?: string;
31
+ /**
32
+ * Custom filter object attachable with this uri.
33
+ */
34
+ filterUri?: string;
35
+ }
36
+ export declare namespace ChartDescriptor {
37
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export type ChartOrientation = 'Horizontal' | 'Vertical';
13
+ export declare const ChartOrientation: {
14
+ Horizontal: ChartOrientation;
15
+ Vertical: ChartOrientation;
16
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export type ChartType = 'BarChart' | 'GroupedBarChart' | 'StackedBarChart' | 'NormalizedBarChart' | 'PieChart' | 'AdvancedPieChart' | 'PieGrid';
13
+ export declare const ChartType: {
14
+ BarChart: ChartType;
15
+ GroupedBarChart: ChartType;
16
+ StackedBarChart: ChartType;
17
+ NormalizedBarChart: ChartType;
18
+ PieChart: ChartType;
19
+ AdvancedPieChart: ChartType;
20
+ PieGrid: ChartType;
21
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ChartValue {
13
+ name: string;
14
+ value?: object;
15
+ series: Array<ChartValue>;
16
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { DiagramDataSet } from './diagramDataSet';
13
+ /**
14
+ * Contains sets of data for a diagram.
15
+ */
16
+ export interface DiagramDataContainer {
17
+ uri?: string;
18
+ items: Array<DiagramDataSet>;
19
+ labels: Array<string>;
20
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Contains an items data, based on the type of the diagram.
14
+ */
15
+ export interface DiagramDataItem {
16
+ label?: string;
17
+ xValue?: number;
18
+ yValue?: number;
19
+ /**
20
+ * This property specifies the radius of each bubble in a bubble chart. It is used to determine the size of the bubbles relative to their data values.
21
+ */
22
+ rValue?: number;
23
+ itemColor?: string;
24
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { DiagramDataItem } from './diagramDataItem';
13
+ export interface DiagramDataSet {
14
+ /**
15
+ * The type can be set specifically for the dataset. This allows the dataset to be rendered as the specified type, while other datasets in the diagram remain rendered as the basic chart type. For example, you can render one dataset as a \'line\' type in a \'bar\' chart.
16
+ */
17
+ dataSetType?: string;
18
+ label?: string;
19
+ dataSetcolor?: string;
20
+ items: Array<DiagramDataItem>;
21
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface DiagramDataSetConstructionInstruction {
13
+ xValuePath?: Array<string>;
14
+ yValuePath?: Array<string>;
15
+ rValuePath?: Array<string>;
16
+ labelValuePath?: Array<string>;
17
+ colorValuePath?: Array<string>;
18
+ loadLatest?: boolean;
19
+ dataSetLabel?: string;
20
+ dataSetType?: string;
21
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * A descriptor for the diagram.
14
+ */
15
+ export interface DiagramDescriptor {
16
+ uri?: string;
17
+ /**
18
+ * The type of the diagram.
19
+ */
20
+ diagramType?: string;
21
+ /**
22
+ * Specifies the starting point for rendering the chart\'s X-axis. For example, if the minimum X value in the dataset is -30 and this property is set to -35, an extra \"padding\" of 5 units will be added below the lowest data point.
23
+ */
24
+ diagramMinX?: number;
25
+ /**
26
+ * Specifies the ending point for rendering the chart\'s X-axis. For instance, if the maximum X value in the dataset is 30 and this property is set to 35, an additional \"padding\" of 5 units will be added above the highest data point.
27
+ */
28
+ diagramMaxX?: number;
29
+ /**
30
+ * Specifies the starting point for rendering the chart\'s Y-axis. For example, if the minimum Y value in the dataset is -30 and this property is set to -35, an extra \"padding\" of 5 units will be added below the lowest data point.
31
+ */
32
+ diagramMinY?: number;
33
+ /**
34
+ * Specifies the ending point for rendering the chart\'s Y-axis. For instance, if the maximum Y value in the dataset is 30 and this property is set to 35, an additional \"padding\" of 5 units will be added above the highest data point.
35
+ */
36
+ diagramMaxY?: number;
37
+ /**
38
+ * Determines whether the labels on the X-Axis are displayed on the chart. Set to `true` to show the labels, or `false` to hide them.
39
+ */
40
+ showLabelsForXAxis?: boolean;
41
+ /**
42
+ * Determines whether the labels on the Y-Axis are displayed on the chart. Set to `true` to show the labels, or `false` to hide them.
43
+ */
44
+ showLabelsForYAxis?: boolean;
45
+ /**
46
+ * Determines whether the legend for the chart is displayed. Set to `true` to show the legend, or `false` to hide it.
47
+ */
48
+ showLegendForChart?: boolean;
49
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { DiagramDescriptor } from './diagramDescriptor';
13
+ import { DiagramDataContainer } from './diagramDataContainer';
14
+ export interface DiagramUiModel {
15
+ uri?: string;
16
+ Descriptor?: DiagramDescriptor;
17
+ DiagramData?: DiagramDataContainer;
18
+ }
@@ -0,0 +1,12 @@
1
+ export * from './chartData';
2
+ export * from './chartDescriptor';
3
+ export * from './chartOrientation';
4
+ export * from './chartType';
5
+ export * from './chartValue';
6
+ export * from './diagramDataContainer';
7
+ export * from './diagramDataItem';
8
+ export * from './diagramDataSet';
9
+ export * from './diagramDataSetConstructionInstruction';
10
+ export * from './diagramDescriptor';
11
+ export * from './diagramUiModel';
12
+ export * from './pieChartLegendPosition';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Chart API
3
+ * API for consume charts.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export type PieChartLegendPosition = 'right' | 'below';
13
+ export declare const PieChartLegendPosition: {
14
+ Right: PieChartLegendPosition;
15
+ Below: PieChartLegendPosition;
16
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Standard parameter styles defined by OpenAPI spec
3
+ */
4
+ export type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
5
+ /**
6
+ * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
7
+ */
8
+ export type ParamStyle = StandardParamStyle | string;
9
+ /**
10
+ * Standard parameter locations defined by OpenAPI spec
11
+ */
12
+ export type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
13
+ /**
14
+ * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
15
+ */
16
+ export type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
17
+ /**
18
+ * Standard {@link DataType}s plus your own types/classes.
19
+ */
20
+ export type DataType = StandardDataType | string;
21
+ /**
22
+ * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
23
+ */
24
+ export type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
25
+ export type DataFormat = StandardDataFormat | string;
26
+ /**
27
+ * The parameter to encode.
28
+ */
29
+ export interface Param {
30
+ name: string;
31
+ value: unknown;
32
+ in: ParamLocation;
33
+ style: ParamStyle;
34
+ explode: boolean;
35
+ dataType: DataType;
36
+ dataFormat: DataFormat | undefined;
37
+ }
@@ -0,0 +1,8 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const BASE_PATH: InjectionToken<string>;
3
+ export declare const COLLECTION_FORMATS: {
4
+ csv: string;
5
+ tsv: string;
6
+ ssv: string;
7
+ pipes: string;
8
+ };
@@ -0,0 +1,31 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { DiagramDataContainer } from './api';
3
+ import * as i0 from "@angular/core";
4
+ export declare const CUSTOM_CHART_OPTIONS: InjectionToken<ChartJsFactory>;
5
+ export interface ChartJsFactory {
6
+ readonly chartType: string;
7
+ readonly chartJsType: string;
8
+ createOptions(chartData: DiagramDataContainer): any;
9
+ transformData(chartData: DiagramDataContainer): any;
10
+ }
11
+ export declare function transformDataToBasicDataSets(chartData: DiagramDataContainer): any;
12
+ export declare function transformDataToBarLikeDataSet(chartData: DiagramDataContainer): any;
13
+ export declare function transformDataToScatter(chartData: DiagramDataContainer): any;
14
+ export declare function transformDataToBubble(chartData: DiagramDataContainer): any;
15
+ export declare const barChart: ChartJsFactory;
16
+ export declare const horizontalBarChart: ChartJsFactory;
17
+ export declare const radarChart: ChartJsFactory;
18
+ export declare const stackedBarChart: ChartJsFactory;
19
+ export declare const pieChart: ChartJsFactory;
20
+ export declare const doughnutChart: ChartJsFactory;
21
+ export declare const scatterChart: ChartJsFactory;
22
+ export declare const bubbleChart: ChartJsFactory;
23
+ export declare const multiAxisLineChart: ChartJsFactory;
24
+ export declare const polarAreaChart: ChartJsFactory;
25
+ export declare class DefaultChartOptionsProvider {
26
+ private readonly factoriesByType;
27
+ constructor(factories: ChartJsFactory[] | undefined);
28
+ getFactory(chartType: string): ChartJsFactory;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultChartOptionsProvider, [{ optional: true; }]>;
30
+ static ɵprov: i0.ɵɵInjectableDeclaration<DefaultChartOptionsProvider>;
31
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@smartbit4all/ng-client/src/lib/smart-chart" />
5
+ export * from './projects';
@@ -0,0 +1,4 @@
1
+ export * from './smart-chart.module';
2
+ export * from './smart-chart.component';
3
+ export * from './api/model/models';
4
+ export * from './default-chart-options.provider';
@@ -0,0 +1,19 @@
1
+ import { DefaultChartOptionsProvider } from './default-chart-options.provider';
2
+ import { DiagramUiModel } from './api';
3
+ import { ComponentLibrary } from '@smartbit4all/ng-client';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SmartChartComponent {
6
+ private chartOptionProvider;
7
+ compLib: ComponentLibrary;
8
+ diagramUiModel: DiagramUiModel;
9
+ options?: any;
10
+ data: any;
11
+ type: any;
12
+ componentLibrary: typeof ComponentLibrary;
13
+ constructor(chartOptionProvider: DefaultChartOptionsProvider, compLib: ComponentLibrary);
14
+ ngOnInit(): void;
15
+ private deepMerge;
16
+ private convertBackendOptions;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartChartComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartChartComponent, "smart-chart", never, { "diagramUiModel": { "alias": "diagramUiModel"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import { ModuleWithProviders, Provider } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./smart-chart.component";
4
+ import * as i2 from "@angular/platform-browser";
5
+ import * as i3 from "primeng/chart";
6
+ export declare class SmartChartModule {
7
+ static forRoot(providers: Provider[]): ModuleWithProviders<SmartChartModule>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartChartModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartChartModule, [typeof i1.SmartChartComponent], [typeof i2.BrowserModule, typeof i3.ChartModule], [typeof i1.SmartChartComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartChartModule>;
11
+ }
Binary file