@colijnit/extendedcomponents 12.0.11 → 262.1.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.
- package/{fesm2015/colijnit-extendedcomponents.js → fesm2022/colijnit-extendedcomponents.mjs} +1100 -1058
- package/fesm2022/colijnit-extendedcomponents.mjs.map +1 -0
- package/{lib/enum/icon.enum.d.ts → index.d.ts} +441 -297
- package/package.json +20 -14
- package/bundles/colijnit-extendedcomponents.umd.js +0 -1503
- package/bundles/colijnit-extendedcomponents.umd.js.map +0 -1
- package/colijnit-extendedcomponents.d.ts +0 -5
- package/esm2015/colijnit-extendedcomponents.js +0 -5
- package/esm2015/lib/components/stacked-line-chart/co-stacked-line-chart.component.js +0 -88
- package/esm2015/lib/components/stacked-line-chart/co-stacked-line-chart.module.js +0 -34
- package/esm2015/lib/components/summary-grid/components/recursive-list/recursive-list.component.js +0 -151
- package/esm2015/lib/components/summary-grid/components/recursive-list/recursive-list.module.js +0 -34
- package/esm2015/lib/components/summary-grid/model/recursive-collection-layer.interface.js +0 -2
- package/esm2015/lib/components/summary-grid/summary-grid.component.js +0 -66
- package/esm2015/lib/components/summary-grid/summary-grid.module.js +0 -30
- package/esm2015/lib/enum/icon.enum.js +0 -299
- package/esm2015/lib/model/icon-svg.js +0 -298
- package/esm2015/lib/service/icon-cache.service.js +0 -49
- package/esm2015/lib/translation/dictionary.service.js +0 -32
- package/esm2015/lib/translation/extended-components-translation.module.js +0 -38
- package/esm2015/lib/translation/extended-components-translation.service.js +0 -17
- package/esm2015/lib/translation/localize.pipe.js +0 -27
- package/esm2015/public-api.js +0 -11
- package/fesm2015/colijnit-extendedcomponents.js.map +0 -1
- package/lib/components/stacked-line-chart/co-stacked-line-chart.component.d.ts +0 -16
- package/lib/components/stacked-line-chart/co-stacked-line-chart.module.d.ts +0 -9
- package/lib/components/summary-grid/components/recursive-list/recursive-list.component.d.ts +0 -27
- package/lib/components/summary-grid/components/recursive-list/recursive-list.module.d.ts +0 -10
- package/lib/components/summary-grid/model/recursive-collection-layer.interface.d.ts +0 -6
- package/lib/components/summary-grid/summary-grid.component.d.ts +0 -16
- package/lib/components/summary-grid/summary-grid.module.d.ts +0 -9
- package/lib/model/icon-svg.d.ts +0 -4
- package/lib/service/icon-cache.service.d.ts +0 -21
- package/lib/translation/dictionary.service.d.ts +0 -15
- package/lib/translation/extended-components-translation.module.d.ts +0 -9
- package/lib/translation/extended-components-translation.service.d.ts +0 -9
- package/lib/translation/localize.pipe.d.ts +0 -10
- package/public-api.d.ts +0 -7
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import type { EChartsOption } from 'echarts';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class StackedLineChartComponent implements OnInit {
|
|
5
|
-
showClass(): boolean;
|
|
6
|
-
chartName: string;
|
|
7
|
-
chartData: Object[];
|
|
8
|
-
chartLegend: string[];
|
|
9
|
-
chartXAxis: any[];
|
|
10
|
-
chartHeight: number | string;
|
|
11
|
-
chartWidth: number | string;
|
|
12
|
-
chartOptions: EChartsOption;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedLineChartComponent, 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>;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./co-stacked-line-chart.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "ngx-echarts";
|
|
5
|
-
export declare class StackedLineChartModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedLineChartModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StackedLineChartModule, [typeof i1.StackedLineChartComponent], [typeof i2.CommonModule, typeof i3.NgxEchartsModule], [typeof i1.StackedLineChartComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<StackedLineChartModule>;
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, PipeTransform } from '@angular/core';
|
|
2
|
-
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
3
|
-
import { Icon } from '../../../../enum/icon.enum';
|
|
4
|
-
import { RecursiveCollectionLayer } from '../../model/recursive-collection-layer.interface';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RecursiveListComponent {
|
|
7
|
-
iconCacheService: IconCacheService;
|
|
8
|
-
readonly icons: typeof Icon;
|
|
9
|
-
hyperLinkDeepestLevel: boolean;
|
|
10
|
-
collection: RecursiveCollectionLayer[];
|
|
11
|
-
columns: string[];
|
|
12
|
-
subColumns: string[];
|
|
13
|
-
tableLegend: string;
|
|
14
|
-
depth: number;
|
|
15
|
-
indentation: number;
|
|
16
|
-
dataPipe: PipeTransform | null;
|
|
17
|
-
params: any[];
|
|
18
|
-
dataPointClicked: EventEmitter<string>;
|
|
19
|
-
constructor(iconCacheService: IconCacheService);
|
|
20
|
-
toggleCollapse(event: Event, item: RecursiveCollectionLayer): void;
|
|
21
|
-
getCurrentIcon(item: RecursiveCollectionLayer): Icon;
|
|
22
|
-
formatDataValue(dataValue: number | string, params?: any[]): string;
|
|
23
|
-
handleDataPointClicked(event: string): void;
|
|
24
|
-
parseableToInt(prop: string): boolean;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecursiveListComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecursiveListComponent, "co-recursive-list", never, { "hyperLinkDeepestLevel": "hyperLinkDeepestLevel"; "collection": "collection"; "columns": "columns"; "subColumns": "subColumns"; "tableLegend": "tableLegend"; "depth": "depth"; "indentation": "indentation"; "dataPipe": "dataPipe"; "params": "params"; }, { "dataPointClicked": "dataPointClicked"; }, never, never>;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./recursive-list.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@colijnit/corecomponents_v12";
|
|
5
|
-
import * as i4 from "../../../../translation/extended-components-translation.module";
|
|
6
|
-
export declare class RecursiveListModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecursiveListModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RecursiveListModule, [typeof i1.RecursiveListComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.ExtendedComponentsTranslationModule], [typeof i1.RecursiveListComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RecursiveListModule>;
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, PipeTransform } from '@angular/core';
|
|
2
|
-
import { RecursiveCollectionLayer } from "./model/recursive-collection-layer.interface";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SummaryGridComponent {
|
|
5
|
-
showClass: boolean;
|
|
6
|
-
hyperLinkDeepestLevel: boolean;
|
|
7
|
-
columns: string[];
|
|
8
|
-
subColumns: string[];
|
|
9
|
-
tableLegend: string;
|
|
10
|
-
dataPipe: PipeTransform | null;
|
|
11
|
-
params: any[];
|
|
12
|
-
collection: RecursiveCollectionLayer[];
|
|
13
|
-
dataPointClickedEvent: EventEmitter<string>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryGridComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryGridComponent, "co-summary-grid", never, { "hyperLinkDeepestLevel": "hyperLinkDeepestLevel"; "columns": "columns"; "subColumns": "subColumns"; "tableLegend": "tableLegend"; "dataPipe": "dataPipe"; "params": "params"; "collection": "collection"; }, { "dataPointClickedEvent": "dataPointClickedEvent"; }, never, never>;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./summary-grid.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "./components/recursive-list/recursive-list.module";
|
|
5
|
-
export declare class SummaryGridModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryGridModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SummaryGridModule, [typeof i1.SummaryGridComponent], [typeof i2.CommonModule, typeof i3.RecursiveListModule], [typeof i1.SummaryGridComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SummaryGridModule>;
|
|
9
|
-
}
|
package/lib/model/icon-svg.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
2
|
-
import { Icon } from "../enum/icon.enum";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IconCacheService {
|
|
5
|
-
private _sanitizer;
|
|
6
|
-
/**
|
|
7
|
-
* All the icons as a large JSON object, from the all-icons.json file.
|
|
8
|
-
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
9
|
-
*/
|
|
10
|
-
get iconCache(): {
|
|
11
|
-
[iconName: string]: SafeHtml;
|
|
12
|
-
};
|
|
13
|
-
private _iconCache;
|
|
14
|
-
constructor(_sanitizer: DomSanitizer);
|
|
15
|
-
getIcon(iconName: Icon | string): SafeHtml;
|
|
16
|
-
getIconAsBase64(iconName: Icon): SafeHtml;
|
|
17
|
-
getRawIcon(iconName: Icon): string;
|
|
18
|
-
setIconCache(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DictionaryService {
|
|
3
|
-
private readonly _placeholder;
|
|
4
|
-
translation: {};
|
|
5
|
-
/**
|
|
6
|
-
* Returns the localized text for the given dictionary key.
|
|
7
|
-
* @param {string} key
|
|
8
|
-
* @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val
|
|
9
|
-
* @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value
|
|
10
|
-
* @returns {string} The translated text for given dictionary key
|
|
11
|
-
*/
|
|
12
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./localize.pipe";
|
|
4
|
-
export declare class ExtendedComponentsTranslationModule {
|
|
5
|
-
static forRoot(): ModuleWithProviders<ExtendedComponentsTranslationModule>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExtendedComponentsTranslationModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExtendedComponentsTranslationModule, [typeof i1.LocalizePipe], never, [typeof i1.LocalizePipe]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ExtendedComponentsTranslationModule>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DictionaryService } from './dictionary.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ExtendedComponentsTranslationService {
|
|
4
|
-
private _dictionaryService;
|
|
5
|
-
constructor(_dictionaryService: DictionaryService);
|
|
6
|
-
setTranslation(translation: {}): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExtendedComponentsTranslationService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExtendedComponentsTranslationService>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DictionaryService } from './dictionary.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LocalizePipe implements PipeTransform {
|
|
5
|
-
private _dictionaryService;
|
|
6
|
-
constructor(_dictionaryService: DictionaryService);
|
|
7
|
-
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize">;
|
|
10
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './lib/components/stacked-line-chart/co-stacked-line-chart.module';
|
|
2
|
-
export * from './lib/components/stacked-line-chart/co-stacked-line-chart.component';
|
|
3
|
-
export * from './lib/components/summary-grid/summary-grid.module';
|
|
4
|
-
export * from './lib/components/summary-grid/summary-grid.component';
|
|
5
|
-
export * from './lib/translation/extended-components-translation.module';
|
|
6
|
-
export * from './lib/translation/extended-components-translation.service';
|
|
7
|
-
export * from './lib/translation/localize.pipe';
|