@smartbit4all/ng-client 4.0.115 → 4.0.117

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 (55) hide show
  1. package/esm2022/lib/view-context/smart-view-context.module.mjs +5 -11
  2. package/esm2022/projects.mjs +1 -2
  3. package/fesm2022/smartbit4all-ng-client.mjs +4 -470
  4. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  5. package/lib/view-context/smart-view-context.module.d.ts +1 -2
  6. package/package.json +1 -1
  7. package/projects.d.ts +0 -1
  8. package/smartbit4all-ng-client-4.0.117.tgz +0 -0
  9. package/esm2022/lib/smart-chart/api/api/api.mjs +0 -2
  10. package/esm2022/lib/smart-chart/api/api.module.mjs +0 -40
  11. package/esm2022/lib/smart-chart/api/configuration.mjs +0 -91
  12. package/esm2022/lib/smart-chart/api/index.mjs +0 -7
  13. package/esm2022/lib/smart-chart/api/model/chartData.mjs +0 -2
  14. package/esm2022/lib/smart-chart/api/model/chartDescriptor.mjs +0 -2
  15. package/esm2022/lib/smart-chart/api/model/chartOrientation.mjs +0 -16
  16. package/esm2022/lib/smart-chart/api/model/chartType.mjs +0 -21
  17. package/esm2022/lib/smart-chart/api/model/chartValue.mjs +0 -13
  18. package/esm2022/lib/smart-chart/api/model/diagramDataContainer.mjs +0 -2
  19. package/esm2022/lib/smart-chart/api/model/diagramDataItem.mjs +0 -13
  20. package/esm2022/lib/smart-chart/api/model/diagramDataSet.mjs +0 -2
  21. package/esm2022/lib/smart-chart/api/model/diagramDataSetConstructionInstruction.mjs +0 -13
  22. package/esm2022/lib/smart-chart/api/model/diagramDescriptor.mjs +0 -13
  23. package/esm2022/lib/smart-chart/api/model/diagramUiModel.mjs +0 -2
  24. package/esm2022/lib/smart-chart/api/model/models.mjs +0 -13
  25. package/esm2022/lib/smart-chart/api/model/pieChartLegendPosition.mjs +0 -16
  26. package/esm2022/lib/smart-chart/api/param.mjs +0 -2
  27. package/esm2022/lib/smart-chart/api/variables.mjs +0 -9
  28. package/esm2022/lib/smart-chart/default-chart-options.provider.mjs +0 -233
  29. package/esm2022/lib/smart-chart/projects.mjs +0 -7
  30. package/esm2022/lib/smart-chart/smart-chart.component.mjs +0 -96
  31. package/esm2022/lib/smart-chart/smart-chart.module.mjs +0 -39
  32. package/lib/smart-chart/api/api/api.d.ts +0 -1
  33. package/lib/smart-chart/api/api.module.d.ts +0 -11
  34. package/lib/smart-chart/api/configuration.d.ts +0 -104
  35. package/lib/smart-chart/api/index.d.ts +0 -6
  36. package/lib/smart-chart/api/model/chartData.d.ts +0 -16
  37. package/lib/smart-chart/api/model/chartDescriptor.d.ts +0 -37
  38. package/lib/smart-chart/api/model/chartOrientation.d.ts +0 -16
  39. package/lib/smart-chart/api/model/chartType.d.ts +0 -21
  40. package/lib/smart-chart/api/model/chartValue.d.ts +0 -16
  41. package/lib/smart-chart/api/model/diagramDataContainer.d.ts +0 -20
  42. package/lib/smart-chart/api/model/diagramDataItem.d.ts +0 -24
  43. package/lib/smart-chart/api/model/diagramDataSet.d.ts +0 -21
  44. package/lib/smart-chart/api/model/diagramDataSetConstructionInstruction.d.ts +0 -21
  45. package/lib/smart-chart/api/model/diagramDescriptor.d.ts +0 -49
  46. package/lib/smart-chart/api/model/diagramUiModel.d.ts +0 -18
  47. package/lib/smart-chart/api/model/models.d.ts +0 -12
  48. package/lib/smart-chart/api/model/pieChartLegendPosition.d.ts +0 -16
  49. package/lib/smart-chart/api/param.d.ts +0 -37
  50. package/lib/smart-chart/api/variables.d.ts +0 -8
  51. package/lib/smart-chart/default-chart-options.provider.d.ts +0 -31
  52. package/lib/smart-chart/projects.d.ts +0 -3
  53. package/lib/smart-chart/smart-chart.component.d.ts +0 -19
  54. package/lib/smart-chart/smart-chart.module.d.ts +0 -11
  55. package/smartbit4all-ng-client-4.0.115.tgz +0 -0
@@ -1,21 +0,0 @@
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
- };
@@ -1,16 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
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
- }
@@ -1,24 +0,0 @@
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
- }
@@ -1,21 +0,0 @@
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
- }
@@ -1,21 +0,0 @@
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
- }
@@ -1,49 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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';
@@ -1,16 +0,0 @@
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
- };
@@ -1,37 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- };
@@ -1,31 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- export * from './smart-chart.module';
2
- export * from './smart-chart.component';
3
- export * from './api/model/models';
@@ -1,19 +0,0 @@
1
- import { DefaultChartOptionsProvider } from './default-chart-options.provider';
2
- import { DiagramUiModel } from './api';
3
- import { ComponentLibrary } from '../view-context/utility/componentLibrary';
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
- }
@@ -1,11 +0,0 @@
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