intelica-library-ui 0.1.60 → 0.1.62
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 +170 -21
- package/fesm2022/intelica-library-ui.mjs.map +1 -1
- package/lib/components/actions-menu/actions-menu.component.d.ts +1 -7
- package/lib/components/echart/echart.component.d.ts +18 -0
- package/lib/components/table/table.component.d.ts +2 -2
- package/lib/services/echart.service.d.ts +11 -0
- package/lib/services/shared.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -6,12 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ActionsMenuComponent implements OnInit {
|
|
7
7
|
private readonly termPipe;
|
|
8
8
|
readonly GlobalTermService: GlobalTermService;
|
|
9
|
-
/**
|
|
10
|
-
* Indica si el menú se muestra como texto.
|
|
11
|
-
* @type {boolean}
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
ShowFilterText: boolean;
|
|
15
9
|
Popover: ElementRef;
|
|
16
10
|
MenuButton: ElementRef;
|
|
17
11
|
PopoverContainer: ElementRef;
|
|
@@ -65,5 +59,5 @@ export declare class ActionsMenuComponent implements OnInit {
|
|
|
65
59
|
*/
|
|
66
60
|
returnSelectActions(action: ActionDirective): void;
|
|
67
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsMenuComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsMenuComponent, "intelica-actions-menu", never, {
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsMenuComponent, "intelica-actions-menu", never, {}, {}, ["actions"], never, true, never>;
|
|
69
63
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as echarts from 'echarts';
|
|
3
|
+
import { EChartsOption } from 'echarts';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EchartComponent implements AfterViewInit {
|
|
6
|
+
private el;
|
|
7
|
+
private platformId;
|
|
8
|
+
config: EChartsOption | undefined;
|
|
9
|
+
id: string;
|
|
10
|
+
event: EventEmitter<any>;
|
|
11
|
+
chart: echarts.ECharts;
|
|
12
|
+
constructor(el: ElementRef, platformId: Object);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
refreshChart(): void;
|
|
15
|
+
private initChart;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EchartComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EchartComponent, "intelica-echart", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "event": "event"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -21,7 +21,7 @@ export declare class TableComponent<T> implements OnChanges, AfterContentInit {
|
|
|
21
21
|
ListDataSelected: T[];
|
|
22
22
|
SelectedIdentifier: keyof T | null;
|
|
23
23
|
ClassName: string;
|
|
24
|
-
|
|
24
|
+
EmitSelectedItem: EventEmitter<T[]>;
|
|
25
25
|
EmitListDataFilter: EventEmitter<T[]>;
|
|
26
26
|
EmitSearchEvent: EventEmitter<SearchInputModel>;
|
|
27
27
|
EmitSortEvent: EventEmitter<SortFieldModel[]>;
|
|
@@ -64,5 +64,5 @@ export declare class TableComponent<T> implements OnChanges, AfterContentInit {
|
|
|
64
64
|
ResetTable(): void;
|
|
65
65
|
EmitSearchValues(): void;
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "intelica-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ListSearchOptions": { "alias": "ListSearchOptions"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ListDataSelected": { "alias": "ListDataSelected"; "required": false; }; "SelectedIdentifier": { "alias": "SelectedIdentifier"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; }, { "
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "intelica-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ListSearchOptions": { "alias": "ListSearchOptions"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ListDataSelected": { "alias": "ListDataSelected"; "required": false; }; "SelectedIdentifier": { "alias": "SelectedIdentifier"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; }, { "EmitSelectedItem": "EmitSelectedItem"; "EmitListDataFilter": "EmitListDataFilter"; "EmitSearchEvent": "EmitSearchEvent"; "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalCentralTemplate", "Columns", "ColumnGroups", "RowResumenGroups"], never, true, never>;
|
|
68
68
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EChartsOption } from 'echarts';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EchartService {
|
|
4
|
+
getDefaultSeriesColors(): string[];
|
|
5
|
+
getTooltipCssText(): string;
|
|
6
|
+
getTooltipFormatter(htmlContent: string): string;
|
|
7
|
+
getDefultAxisConfiguration(type: string, show?: boolean, data?: any[]): any;
|
|
8
|
+
getRateDoughnutPie(data: any[]): EChartsOption;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EchartService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EchartService>;
|
|
11
|
+
}
|
|
@@ -78,6 +78,7 @@ export declare class SharedService {
|
|
|
78
78
|
FormatNumberAbsolute(number: number): string;
|
|
79
79
|
SortRecursive(data: any[], column: any, criteria: string): any[];
|
|
80
80
|
SortRecursivePrimeNg(data: any[], column: any, criteria: string): any[];
|
|
81
|
+
SortRecursiveNumber(data: any[], column: any, criteria: string): any[];
|
|
81
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
|
|
82
83
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
|
|
83
84
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from "./lib/components/sorting/model/cascade-filter";
|
|
|
23
23
|
export * from "./lib/components/sorting/model/order.constants";
|
|
24
24
|
export * from "./lib/components/popover/popover.component";
|
|
25
25
|
export * from "./lib/components/popover/model/popover-information.model";
|
|
26
|
+
export * from "./lib/components/echart/echart.component";
|
|
26
27
|
export * from "./lib/services/htmlToExcel.service";
|
|
27
28
|
export * from "./lib/services/shared.service";
|
|
28
29
|
export * from "./lib/services/config.service";
|
|
@@ -33,6 +34,7 @@ export * from "./lib/services/term.service";
|
|
|
33
34
|
export * from "./lib/services/globalFeatureFlag.service";
|
|
34
35
|
export * from "./lib/services/featureFlag.service";
|
|
35
36
|
export * from "./lib/services/language.service";
|
|
37
|
+
export * from "./lib/services/echart.service";
|
|
36
38
|
export * from "./lib/functions/compareByField";
|
|
37
39
|
export * from "./lib/functions/encryptRSA";
|
|
38
40
|
export * from "./lib/functions/inputValidation";
|