intelica-library-ui 0.1.110 → 0.1.112
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/fesm2022/intelica-library-ui.mjs +110 -1
- package/fesm2022/intelica-library-ui.mjs.map +1 -1
- package/lib/components/skeleton-chart/data.directive.d.ts +6 -0
- package/lib/components/skeleton-chart/skeleton-chart.component.d.ts +42 -0
- package/lib/services/htmlToExcel.service.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +9 -8
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DataDirective {
|
|
3
|
+
size: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataDirective, "data", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { QueryList, AfterContentInit } from "@angular/core";
|
|
2
|
+
import { DataDirective } from "./data.directive";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SkeletonChartComponent implements AfterContentInit {
|
|
5
|
+
/**
|
|
6
|
+
* @description type of skeleton chart
|
|
7
|
+
* @default 'bar'
|
|
8
|
+
* @type string
|
|
9
|
+
* @example <intelica-skeleton-chart [type]="'bar'"></intelica-skeleton-chart>
|
|
10
|
+
*/
|
|
11
|
+
type: "horizontal-bar" | "bar" | "pie" | "line" | "donut";
|
|
12
|
+
/**
|
|
13
|
+
* @description number of series to display
|
|
14
|
+
* @default 6
|
|
15
|
+
* @type number
|
|
16
|
+
* @example <intelica-skeleton-chart [series]="3"></intelica-skeleton-chart>
|
|
17
|
+
*/
|
|
18
|
+
series: number;
|
|
19
|
+
/**
|
|
20
|
+
* @description number of data items to display in each bar
|
|
21
|
+
* @default 1
|
|
22
|
+
* @type number
|
|
23
|
+
* @example <intelica-skeleton-chart [data]="3"></intelica-skeleton-chart>
|
|
24
|
+
*/
|
|
25
|
+
data: number;
|
|
26
|
+
/**
|
|
27
|
+
* @description Flag to indicate whether the label should be displayed or hidden
|
|
28
|
+
* @default false
|
|
29
|
+
* @type boolean
|
|
30
|
+
*/
|
|
31
|
+
label: boolean;
|
|
32
|
+
randomPercent: string[][];
|
|
33
|
+
dataElements: QueryList<DataDirective>;
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngAfterContentInit(): void;
|
|
36
|
+
updateRandomPercentages(): void;
|
|
37
|
+
setFixedPercentages(): void;
|
|
38
|
+
setRandomPercent(min: number, max: number): string;
|
|
39
|
+
getArray(length: number): number[];
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonChartComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonChartComponent, "intelica-skeleton-chart", never, { "type": { "alias": "type"; "required": false; }; "series": { "alias": "series"; "required": false; }; "data": { "alias": "data"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, ["dataElements"], never, true, never>;
|
|
42
|
+
}
|
|
@@ -11,6 +11,7 @@ export declare class HtmlToExcelService {
|
|
|
11
11
|
ExportToExcelRawData({ excelName, reportTitle, filterTitle, rowsSerializate, columns, filters, orderColumn }: ExportExcelCommand): Promise<void>;
|
|
12
12
|
ExportToCSVRaw(excelName: string, rowsSerializate: string): Promise<void>;
|
|
13
13
|
private GetExcelColumnLetter;
|
|
14
|
+
private GetNumberFormat;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlToExcelService, never>;
|
|
15
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<HtmlToExcelService>;
|
|
16
17
|
}
|
|
@@ -33,6 +34,7 @@ export interface IExcelColumnName {
|
|
|
33
34
|
alignHorizontal?: string;
|
|
34
35
|
width?: number;
|
|
35
36
|
totalRowValue?: string;
|
|
37
|
+
formatNumber?: "integer" | "decimal" | "percent_2" | "percent_4";
|
|
36
38
|
}
|
|
37
39
|
export interface IFilter {
|
|
38
40
|
key: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
1
|
+
export * from "./lib/constants/cookieConfiguration.constants";
|
|
2
|
+
export * from "./lib/constants/color.constants";
|
|
3
|
+
export * from "./lib/interceptor/error.interceptor";
|
|
4
|
+
export * from "./lib/interceptor/refreshToken.interceptor";
|
|
5
|
+
export * from "./lib/guards/TermGuard";
|
|
6
|
+
export * from "./lib/pipes/term.pipes";
|
|
7
|
+
export * from "./lib/pipes/amount.pipe";
|
|
8
|
+
export * from "./lib/pipes/truncate.pipe";
|
|
9
9
|
export * from "./lib/constants/cookieConfiguration.constants";
|
|
10
10
|
export * from "./lib/constants/color.constants";
|
|
11
11
|
export * from "./lib/interceptor/error.interceptor";
|
|
@@ -36,6 +36,7 @@ export * from "./lib/components/template-menu/template-menu.component";
|
|
|
36
36
|
export * from "./lib/components/multi-select/multi-select.component";
|
|
37
37
|
export * from "./lib/components/skeleton/skeleton.component";
|
|
38
38
|
export * from "./lib/components/skeleton-table/skeleton-table.component";
|
|
39
|
+
export * from "./lib/components/skeleton-chart/skeleton-chart.component";
|
|
39
40
|
export * from "./lib/services/htmlToExcel.service";
|
|
40
41
|
export * from "./lib/services/shared.service";
|
|
41
42
|
export * from "./lib/services/config.service";
|