intelica-library-ui 0.1.101 → 0.1.103
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.
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MultiSelectComponent {
|
|
4
|
+
/**
|
|
5
|
+
* @description Id
|
|
6
|
+
* @default ""
|
|
7
|
+
* @type {string}
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* @description Opciones.
|
|
12
|
+
* @example [{value: string, text: string}]
|
|
13
|
+
* @type {any[]}
|
|
14
|
+
*/
|
|
15
|
+
options: any[];
|
|
16
|
+
/**
|
|
17
|
+
* @description Label name.
|
|
18
|
+
* @default "text"
|
|
19
|
+
* @type {{value: string, label: string}[]}
|
|
20
|
+
*/
|
|
21
|
+
optionLabel: string;
|
|
22
|
+
/**
|
|
23
|
+
* @description Value name.
|
|
24
|
+
* @default "value"
|
|
25
|
+
* @type {{value: string, label: string}[]}
|
|
26
|
+
*/
|
|
27
|
+
optionValue: string;
|
|
28
|
+
/**
|
|
29
|
+
* @description Placeholder
|
|
30
|
+
* @default "Select an item"
|
|
31
|
+
* @type {string}
|
|
32
|
+
*/
|
|
33
|
+
placeholder: string;
|
|
34
|
+
/**
|
|
35
|
+
* @description Show filter textbox
|
|
36
|
+
* @default false
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
*/
|
|
39
|
+
showFilter: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* @description Show All Checkbox
|
|
42
|
+
* @default false
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
*/
|
|
45
|
+
showAll: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @description All | Todo
|
|
48
|
+
* @default "All"
|
|
49
|
+
* @type {string}
|
|
50
|
+
*/
|
|
51
|
+
allText: string;
|
|
52
|
+
/**
|
|
53
|
+
* @description Number of selected labels to show
|
|
54
|
+
* @default 3
|
|
55
|
+
* @type {number}
|
|
56
|
+
*/
|
|
57
|
+
maxSelectedLabels: number;
|
|
58
|
+
/**
|
|
59
|
+
* @description Append To
|
|
60
|
+
* @default ""
|
|
61
|
+
* @type {string}
|
|
62
|
+
*/
|
|
63
|
+
appendTo: string;
|
|
64
|
+
/**
|
|
65
|
+
* @description Panel Style Class
|
|
66
|
+
* @default ""
|
|
67
|
+
* @type {string}
|
|
68
|
+
*/
|
|
69
|
+
panelStyleClass: string;
|
|
70
|
+
/**
|
|
71
|
+
* @description Change event
|
|
72
|
+
* @emits {string[]}
|
|
73
|
+
* @type {EventEmitter<string[]>}
|
|
74
|
+
*/
|
|
75
|
+
onChangeEvent: EventEmitter<string[]>;
|
|
76
|
+
checked: boolean;
|
|
77
|
+
selectedOptions: string[];
|
|
78
|
+
toggleAllSelection(event: any): void;
|
|
79
|
+
onChangeSelect(event: any): void;
|
|
80
|
+
emitChangeEvent(): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "intelica-multi-select", never, { "id": { "alias": "id"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "allText": { "alias": "allText"; "required": false; }; "maxSelectedLabels": { "alias": "maxSelectedLabels"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; }; }, { "onChangeEvent": "onChange"; }, never, never, true, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormatAmountPipe implements PipeTransform {
|
|
4
|
+
transform(value: number | string | null | undefined, shortFormat?: boolean, decimalPlaces?: number): string;
|
|
5
|
+
private getShortFormat;
|
|
6
|
+
private formatWithThousandSeparators;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormatAmountPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatAmountPipe, "amount", true>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormatAmountPipe>;
|
|
10
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './lib/interceptor/error.interceptor';
|
|
|
4
4
|
export * from './lib/interceptor/refreshToken.interceptor';
|
|
5
5
|
export * from './lib/guards/TermGuard';
|
|
6
6
|
export * from './lib/pipes/term.pipes';
|
|
7
|
+
export * from './lib/pipes/amount.pipe';
|
|
7
8
|
export * from './lib/pipes/truncate.pipe';
|
|
8
9
|
export * from "./lib/constants/cookieConfiguration.constants";
|
|
9
10
|
export * from "./lib/constants/color.constants";
|
|
@@ -32,6 +33,7 @@ export * from "./lib/components/popover/popover.component";
|
|
|
32
33
|
export * from "./lib/components/popover/model/popover-information.model";
|
|
33
34
|
export * from "./lib/components/echart/echart.component";
|
|
34
35
|
export * from "./lib/components/template-menu/template-menu.component";
|
|
36
|
+
export * from "./lib/components/multi-select/multi-select.component";
|
|
35
37
|
export * from "./lib/components/skeleton/skeleton.component";
|
|
36
38
|
export * from "./lib/components/skeleton-table/skeleton-table.component";
|
|
37
39
|
export * from "./lib/services/htmlToExcel.service";
|