chrv-components 1.3.6 → 1.4.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/chrv-components-1.4.0.tgz +0 -0
- package/esm2022/lib/chr-button/chr-button.component.mjs +18 -12
- package/esm2022/lib/chr-checkbox/chr-checkbox.component.mjs +3 -3
- package/esm2022/lib/chr-form/chr-form.component.mjs +27 -16
- package/esm2022/lib/chr-paginator/chr-paginator.component.mjs +3 -3
- package/esm2022/lib/chr-search-select/chr-search-select.component.mjs +28 -20
- package/esm2022/lib/chr-separator/chr-separator.component.mjs +2 -2
- package/esm2022/lib/chr-table/chr-table.component.mjs +13 -13
- package/esm2022/lib/chr-table-header-cell/chr-table-header-cell.component.mjs +6 -6
- package/fesm2022/chrv-components.mjs +72 -48
- package/fesm2022/chrv-components.mjs.map +1 -1
- package/lib/chr-button/chr-button.component.d.ts +6 -6
- package/lib/chr-form/chr-form.component.d.ts +3 -2
- package/lib/chr-search-select/chr-search-select.component.d.ts +6 -4
- package/lib/chr-table/chr-table.component.d.ts +7 -6
- package/lib/chr-table-header-cell/chr-table-header-cell.component.d.ts +1 -1
- package/package.json +1 -1
- package/chrv-components-1.3.6.tgz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { ControlValueAccessor, FormControl } from
|
|
3
|
-
import { Observable } from
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor, FormControl } from "@angular/forms";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface IInputSearchFilter {
|
|
6
6
|
display: string;
|
|
@@ -12,11 +12,13 @@ export declare class ChrSearchSelectComponent implements ControlValueAccessor {
|
|
|
12
12
|
searchSelect: FormControl;
|
|
13
13
|
filteredModelOptions?: Observable<any>;
|
|
14
14
|
onTouched: any;
|
|
15
|
+
name?: string;
|
|
15
16
|
placeholder?: string;
|
|
16
17
|
data: any[] | null;
|
|
17
18
|
display?: Function;
|
|
18
19
|
disabled: boolean;
|
|
19
20
|
model: any | null;
|
|
21
|
+
id: any;
|
|
20
22
|
modelChange: EventEmitter<any>;
|
|
21
23
|
keyup: EventEmitter<KeyboardEvent>;
|
|
22
24
|
filters?: IInputSearchFilter[];
|
|
@@ -40,5 +42,5 @@ export declare class ChrSearchSelectComponent implements ControlValueAccessor {
|
|
|
40
42
|
private _doFilterModelString;
|
|
41
43
|
private _filterValues;
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSearchSelectComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "display": { "alias": "display"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "modelChange": "modelChange"; "keyup": "keyup"; }, never,
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select, [app-chr-search-select]", never, { "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "display": { "alias": "display"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "id": { "alias": "id"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "modelChange": "modelChange"; "keyup": "keyup"; }, never, ["*"], true, never>;
|
|
44
46
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, ChangeDetectorRef } from
|
|
2
|
-
import { DatePipe } from
|
|
1
|
+
import { AfterViewInit, EventEmitter, ChangeDetectorRef } from "@angular/core";
|
|
2
|
+
import { DatePipe } from "@angular/common";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface IColumn {
|
|
5
5
|
display: string;
|
|
6
|
-
alignment?:
|
|
6
|
+
alignment?: "left" | "center" | "right";
|
|
7
7
|
chipsTarget?: string[];
|
|
8
8
|
chipsDisplay?: string[];
|
|
9
9
|
chipsCallback?: Function;
|
|
@@ -20,15 +20,16 @@ export interface IComputedColumn {
|
|
|
20
20
|
label?: string;
|
|
21
21
|
value?: any;
|
|
22
22
|
callback?: Function;
|
|
23
|
-
alignment?:
|
|
23
|
+
alignment?: "left" | "center" | "right";
|
|
24
24
|
after?: string;
|
|
25
25
|
}
|
|
26
26
|
export interface IAction {
|
|
27
|
-
display
|
|
27
|
+
display?: string;
|
|
28
|
+
icon?: string;
|
|
28
29
|
callback: Function;
|
|
29
30
|
disabled?: boolean;
|
|
30
31
|
disabledCallback?: Function;
|
|
31
|
-
color:
|
|
32
|
+
color: "accent" | "primary" | "warn";
|
|
32
33
|
}
|
|
33
34
|
export declare class ChrTableComponent implements AfterViewInit {
|
|
34
35
|
private _date;
|
package/package.json
CHANGED
|
Binary file
|