@colijnit/extendedcomponents 12.0.6 → 12.0.8

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,7 +1,5 @@
1
- import { EventEmitter, OnInit } from "@angular/core";
1
+ import { OnInit } from "@angular/core";
2
2
  import type { EChartsOption } from 'echarts';
3
- import type { ECElementEvent } from 'echarts';
4
- import type { ECActionEvent } from 'echarts/types/src/util/types';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class StackedLineChartComponent implements OnInit {
7
5
  showClass(): boolean;
@@ -12,9 +10,7 @@ export declare class StackedLineChartComponent implements OnInit {
12
10
  chartHeight: number | string;
13
11
  chartWidth: number | string;
14
12
  chartOptions: EChartsOption;
15
- chartEventEmitter: EventEmitter<ECElementEvent | ECActionEvent | unknown>;
16
13
  ngOnInit(): void;
17
- onChartEvent(event: ECElementEvent | ECActionEvent | unknown, type: string): void;
18
14
  static ɵfac: i0.ɵɵFactoryDeclaration<StackedLineChartComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<StackedLineChartComponent, "co-stacked-line-chart", never, { "chartName": "chartName"; "chartData": "chartData"; "chartLegend": "chartLegend"; "chartXAxis": "chartXAxis"; "chartHeight": "chartHeight"; "chartWidth": "chartWidth"; "chartOptions": "chartOptions"; }, { "chartEventEmitter": "chartEventEmitter"; }, never, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<StackedLineChartComponent, "co-stacked-line-chart", never, { "chartName": "chartName"; "chartData": "chartData"; "chartLegend": "chartLegend"; "chartXAxis": "chartXAxis"; "chartHeight": "chartHeight"; "chartWidth": "chartWidth"; "chartOptions": "chartOptions"; }, {}, never, never>;
20
16
  }
@@ -8,14 +8,16 @@ export declare class RecursiveListComponent {
8
8
  readonly icons: typeof Icon;
9
9
  collection: RecursiveCollectionLayer[];
10
10
  columns: string[];
11
+ subColumns: string[];
11
12
  tableLegend: string;
12
13
  depth: number;
13
14
  indentation: number;
14
15
  dataPipe: PipeTransform | null;
16
+ params: any[];
15
17
  constructor(iconCacheService: IconCacheService);
16
18
  toggleCollapse(event: Event, item: RecursiveCollectionLayer): void;
17
19
  getCurrentIcon(item: RecursiveCollectionLayer): Icon;
18
- formatDataValue(dataValue: number | string): string;
20
+ formatDataValue(dataValue: number | string, params?: any[]): string;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<RecursiveListComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<RecursiveListComponent, "co-recursive-list", never, { "collection": "collection"; "columns": "columns"; "tableLegend": "tableLegend"; "depth": "depth"; "indentation": "indentation"; "dataPipe": "dataPipe"; }, {}, never, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<RecursiveListComponent, "co-recursive-list", never, { "collection": "collection"; "columns": "columns"; "subColumns": "subColumns"; "tableLegend": "tableLegend"; "depth": "depth"; "indentation": "indentation"; "dataPipe": "dataPipe"; "params": "params"; }, {}, never, never>;
21
23
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./recursive-list.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@colijnit/corecomponents_v12";
5
+ import * as i4 from "../../../../translation/extended-components-translation.module";
5
6
  export declare class RecursiveListModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RecursiveListModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<RecursiveListModule, [typeof i1.RecursiveListComponent], [typeof i2.CommonModule, typeof i3.IconModule], [typeof i1.RecursiveListComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RecursiveListModule, [typeof i1.RecursiveListComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.ExtendedComponentsTranslationModule], [typeof i1.RecursiveListComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<RecursiveListModule>;
9
10
  }
@@ -3,8 +3,6 @@
3
3
  .co-recursive-list {
4
4
  display: table;
5
5
  width: 100%;
6
- background-color: white;
7
-
8
6
  .tree-node.background:nth-child(even) {
9
7
  background-color: rgba(#8083A3, 0.1);
10
8
  }
@@ -18,14 +16,15 @@
18
16
  display: flex;
19
17
  flex-direction: row;
20
18
  .table-legend {
21
- padding: 1em;
19
+ padding: 15px 10px;
22
20
  width: 20%;
23
21
  border: 0.5px solid rgba(#8083A3, 0.2);
22
+ font-weight: 600;
24
23
  }
25
24
  .table-header {
26
25
  width: 80%;
27
26
  display: flex;
28
- flex-direction: row;
27
+ flex-direction: column;
29
28
  .table-row {
30
29
  width: 100%;
31
30
  display: flex;
@@ -34,9 +33,10 @@
34
33
  border: 0.5px solid rgba(#8083A3, 0.2);
35
34
  width: 100%;
36
35
  display: flex;
37
- justify-content: center;
36
+ justify-content: flex-end;
38
37
  align-items: center;
39
- padding: 0.5em;
38
+ padding: 15px 10px;
39
+ font-weight: 600;
40
40
  }
41
41
  }
42
42
  }
@@ -48,8 +48,12 @@
48
48
  flex-direction: row;
49
49
  align-items: center;
50
50
  width: 20%;
51
-
52
-
51
+ padding: 10px;
52
+ gap: 5px;
53
+ .co-icon {
54
+ width: 12px;
55
+ height: 12px;
56
+ }
53
57
  }
54
58
 
55
59
  .table-cell.data-points {
@@ -60,9 +64,9 @@
60
64
  .custom-property{
61
65
  width: 100%;
62
66
  display: flex;
63
- justify-content: center;
67
+ justify-content: flex-end;
64
68
  align-items: center;
65
- padding: 0.5em;
69
+ padding: 10px;
66
70
  border: 0.5px solid rgba(#8083A3, 0.2);
67
71
  }
68
72
  }
@@ -4,9 +4,11 @@ import * as i0 from "@angular/core";
4
4
  export declare class SummaryGridComponent {
5
5
  showClass: boolean;
6
6
  columns: string[];
7
+ subColumns: string[];
7
8
  tableLegend: string;
8
9
  dataPipe: PipeTransform | null;
10
+ params: any[];
9
11
  collection: RecursiveCollectionLayer[];
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SummaryGridComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SummaryGridComponent, "co-summary-grid", never, { "columns": "columns"; "tableLegend": "tableLegend"; "dataPipe": "dataPipe"; "collection": "collection"; }, {}, never, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SummaryGridComponent, "co-summary-grid", never, { "columns": "columns"; "subColumns": "subColumns"; "tableLegend": "tableLegend"; "dataPipe": "dataPipe"; "params": "params"; "collection": "collection"; }, {}, never, never>;
12
14
  }
@@ -4,6 +4,6 @@ import * as i1 from "./localize.pipe";
4
4
  export declare class ExtendedComponentsTranslationModule {
5
5
  static forRoot(): ModuleWithProviders<ExtendedComponentsTranslationModule>;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ExtendedComponentsTranslationModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<ExtendedComponentsTranslationModule, [typeof i1.LocalizePipe], never, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExtendedComponentsTranslationModule, [typeof i1.LocalizePipe], never, [typeof i1.LocalizePipe]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<ExtendedComponentsTranslationModule>;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/extendedcomponents",
3
- "version": "12.0.6",
3
+ "version": "12.0.8",
4
4
  "description": "Colijn IT extended components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {
package/public-api.d.ts CHANGED
@@ -4,3 +4,4 @@ export * from './lib/components/summary-grid/summary-grid.module';
4
4
  export * from './lib/components/summary-grid/summary-grid.component';
5
5
  export * from './lib/translation/extended-components-translation.module';
6
6
  export * from './lib/translation/extended-components-translation.service';
7
+ export * from './lib/translation/localize.pipe';