chrv-components 1.2.9 → 1.2.11
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.2.11.tgz +0 -0
- package/{esm2022 → esm2020}/chrv-components.mjs +4 -4
- package/{esm2022 → esm2020}/lib/chr-breadcrumb/chr-breadcrumb.component.mjs +22 -22
- package/{esm2022 → esm2020}/lib/chr-button/chr-button.component.mjs +51 -51
- package/esm2020/lib/chr-checkbox/chr-checkbox.component.mjs +37 -0
- package/{esm2022 → esm2020}/lib/chr-components.module.mjs +126 -126
- package/{esm2022 → esm2020}/lib/chr-delete-modal/chr-delete-modal.component.mjs +22 -22
- package/esm2020/lib/chr-form/chr-form.component.mjs +132 -0
- package/esm2020/lib/chr-form/chr-validators/decimal-validator.mjs +58 -0
- package/esm2020/lib/chr-form/chr-validators/max-date-validator.mjs +54 -0
- package/esm2020/lib/chr-form/chr-validators/type-validator.mjs +52 -0
- package/{esm2022 → esm2020}/lib/chr-paginator/chr-paginator.component.mjs +73 -73
- package/esm2020/lib/chr-search-select/chr-search-select.component.mjs +136 -0
- package/{esm2022 → esm2020}/lib/chr-searchbar/chr-searchbar.component.mjs +29 -29
- package/esm2020/lib/chr-separator/chr-separator.component.mjs +11 -0
- package/esm2020/lib/chr-table/chr-table.component.mjs +62 -0
- package/esm2020/lib/chr-table-header-cell/chr-table-header-cell.component.mjs +49 -0
- package/{esm2022 → esm2020}/lib/services/dialog.service.mjs +29 -29
- package/{esm2022 → esm2020}/public-api.mjs +20 -20
- package/fesm2015/chrv-components.mjs +884 -0
- package/{fesm2022 → fesm2015}/chrv-components.mjs.map +1 -1
- package/fesm2020/chrv-components.mjs +876 -0
- package/fesm2020/chrv-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/chr-breadcrumb/chr-breadcrumb.component.d.ts +15 -15
- package/lib/chr-button/chr-button.component.d.ts +19 -19
- package/lib/chr-checkbox/chr-checkbox.component.d.ts +13 -13
- package/lib/chr-components.module.d.ts +30 -30
- package/lib/chr-delete-modal/chr-delete-modal.component.d.ts +11 -11
- package/lib/chr-form/chr-form.component.d.ts +57 -57
- package/lib/chr-form/chr-validators/decimal-validator.d.ts +10 -10
- package/lib/chr-form/chr-validators/max-date-validator.d.ts +10 -10
- package/lib/chr-form/chr-validators/type-validator.d.ts +10 -10
- package/lib/chr-paginator/chr-paginator.component.d.ts +26 -26
- package/lib/chr-search-select/chr-search-select.component.d.ts +44 -44
- package/lib/chr-searchbar/chr-searchbar.component.d.ts +14 -14
- package/lib/chr-separator/chr-separator.component.d.ts +5 -5
- package/lib/chr-table/chr-table.component.d.ts +42 -42
- package/lib/chr-table-header-cell/chr-table-header-cell.component.d.ts +16 -16
- package/lib/services/dialog.service.d.ts +10 -10
- package/package.json +16 -11
- package/public-api.d.ts +16 -16
- package/chrv-components-1.2.9.tgz +0 -0
- package/esm2022/lib/chr-checkbox/chr-checkbox.component.mjs +0 -37
- package/esm2022/lib/chr-form/chr-form.component.mjs +0 -132
- package/esm2022/lib/chr-form/chr-validators/decimal-validator.mjs +0 -58
- package/esm2022/lib/chr-form/chr-validators/max-date-validator.mjs +0 -54
- package/esm2022/lib/chr-form/chr-validators/type-validator.mjs +0 -52
- package/esm2022/lib/chr-search-select/chr-search-select.component.mjs +0 -136
- package/esm2022/lib/chr-separator/chr-separator.component.mjs +0 -11
- package/esm2022/lib/chr-table/chr-table.component.mjs +0 -62
- package/esm2022/lib/chr-table-header-cell/chr-table-header-cell.component.mjs +0 -49
- package/fesm2022/chrv-components.mjs +0 -876
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TypeValidatorDirective implements Validator {
|
|
4
|
-
type: string;
|
|
5
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TypeValidatorDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TypeValidatorDirective, "[app-type]", never, { "type":
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TypeValidatorDirective>;
|
|
9
|
-
}
|
|
10
|
-
export declare function type(type: string): ValidatorFn;
|
|
1
|
+
import { AbstractControl, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TypeValidatorDirective implements Validator {
|
|
4
|
+
type: string;
|
|
5
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TypeValidatorDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TypeValidatorDirective, "[app-type]", never, { "type": "type"; }, {}, never, never, false, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TypeValidatorDirective>;
|
|
9
|
+
}
|
|
10
|
+
export declare function type(type: string): ValidatorFn;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { AfterContentChecked, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PaginationInstance, PaginationService } from 'ngx-pagination';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ChrPaginatorComponent implements OnInit, AfterContentChecked {
|
|
5
|
-
service: PaginationService;
|
|
6
|
-
currentPage: number;
|
|
7
|
-
pageChange: EventEmitter<number>;
|
|
8
|
-
pageSizeChange: EventEmitter<number>;
|
|
9
|
-
instance: PaginationInstance;
|
|
10
|
-
constructor(service: PaginationService);
|
|
11
|
-
ngAfterContentChecked(): void;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
previous: () => void;
|
|
14
|
-
next: () => void;
|
|
15
|
-
setPage: (page: number) => void;
|
|
16
|
-
setPageEventHandler: (event: any) => void;
|
|
17
|
-
isFirstPage: () => boolean;
|
|
18
|
-
setPageSize: (pageSize: number) => void;
|
|
19
|
-
setPageSizeEventHandler: (event: any) => void;
|
|
20
|
-
isLastPage: () => boolean;
|
|
21
|
-
pageSize: () => number;
|
|
22
|
-
lastPage: () => number;
|
|
23
|
-
private emit;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChrPaginatorComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrPaginatorComponent, "app-chr-paginator", never, {}, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, false, never>;
|
|
26
|
-
}
|
|
1
|
+
import { AfterContentChecked, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { PaginationInstance, PaginationService } from 'ngx-pagination';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ChrPaginatorComponent implements OnInit, AfterContentChecked {
|
|
5
|
+
service: PaginationService;
|
|
6
|
+
currentPage: number;
|
|
7
|
+
pageChange: EventEmitter<number>;
|
|
8
|
+
pageSizeChange: EventEmitter<number>;
|
|
9
|
+
instance: PaginationInstance;
|
|
10
|
+
constructor(service: PaginationService);
|
|
11
|
+
ngAfterContentChecked(): void;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
previous: () => void;
|
|
14
|
+
next: () => void;
|
|
15
|
+
setPage: (page: number) => void;
|
|
16
|
+
setPageEventHandler: (event: any) => void;
|
|
17
|
+
isFirstPage: () => boolean;
|
|
18
|
+
setPageSize: (pageSize: number) => void;
|
|
19
|
+
setPageSizeEventHandler: (event: any) => void;
|
|
20
|
+
isLastPage: () => boolean;
|
|
21
|
+
pageSize: () => number;
|
|
22
|
+
lastPage: () => number;
|
|
23
|
+
private emit;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChrPaginatorComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrPaginatorComponent, "app-chr-paginator", never, {}, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface IInputSearchFilter {
|
|
6
|
-
display: string;
|
|
7
|
-
callback?: Function;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class ChrSearchSelectComponent implements ControlValueAccessor {
|
|
11
|
-
predicate: boolean;
|
|
12
|
-
searchSelect: FormControl;
|
|
13
|
-
filteredModelOptions: Observable<any>;
|
|
14
|
-
onTouched: any;
|
|
15
|
-
placeholder: string;
|
|
16
|
-
data: any[] | null;
|
|
17
|
-
display: Function;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
model: any | null;
|
|
20
|
-
modelChange: EventEmitter<any>;
|
|
21
|
-
keyup: EventEmitter<KeyboardEvent>;
|
|
22
|
-
filters?: IInputSearchFilter[];
|
|
23
|
-
filterIndex: number;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
getModelDisplay(model: any): any;
|
|
26
|
-
emit(event: any): void;
|
|
27
|
-
writeValue(obj: any): void;
|
|
28
|
-
registerOnChange(fn: any): void;
|
|
29
|
-
checkNull(value: any | null): void;
|
|
30
|
-
setNull(): void;
|
|
31
|
-
registerOnTouched(fn: any): void;
|
|
32
|
-
registerFilters: () => void;
|
|
33
|
-
registerAutoComplete: () => void;
|
|
34
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
35
|
-
increment: () => void;
|
|
36
|
-
getValue: () => any;
|
|
37
|
-
void: () => void;
|
|
38
|
-
private _filterModel;
|
|
39
|
-
private _doFilterModelInt;
|
|
40
|
-
private _doFilterModelString;
|
|
41
|
-
private _filterValues;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSearchSelectComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select", never, { "placeholder":
|
|
44
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface IInputSearchFilter {
|
|
6
|
+
display: string;
|
|
7
|
+
callback?: Function;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class ChrSearchSelectComponent implements ControlValueAccessor {
|
|
11
|
+
predicate: boolean;
|
|
12
|
+
searchSelect: FormControl;
|
|
13
|
+
filteredModelOptions: Observable<any>;
|
|
14
|
+
onTouched: any;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
data: any[] | null;
|
|
17
|
+
display: Function;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
model: any | null;
|
|
20
|
+
modelChange: EventEmitter<any>;
|
|
21
|
+
keyup: EventEmitter<KeyboardEvent>;
|
|
22
|
+
filters?: IInputSearchFilter[];
|
|
23
|
+
filterIndex: number;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
getModelDisplay(model: any): any;
|
|
26
|
+
emit(event: any): void;
|
|
27
|
+
writeValue(obj: any): void;
|
|
28
|
+
registerOnChange(fn: any): void;
|
|
29
|
+
checkNull(value: any | null): void;
|
|
30
|
+
setNull(): void;
|
|
31
|
+
registerOnTouched(fn: any): void;
|
|
32
|
+
registerFilters: () => void;
|
|
33
|
+
registerAutoComplete: () => void;
|
|
34
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
35
|
+
increment: () => void;
|
|
36
|
+
getValue: () => any;
|
|
37
|
+
void: () => void;
|
|
38
|
+
private _filterModel;
|
|
39
|
+
private _doFilterModelInt;
|
|
40
|
+
private _doFilterModelString;
|
|
41
|
+
private _filterValues;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSearchSelectComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select", never, { "placeholder": "placeholder"; "data": "data"; "display": "display"; "disabled": "disabled"; "model": "model"; "filters": "filters"; }, { "modelChange": "modelChange"; "keyup": "keyup"; }, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ChrSearchbarComponent {
|
|
5
|
-
model: string | null;
|
|
6
|
-
modelChange: EventEmitter<string>;
|
|
7
|
-
placeholder: string | null;
|
|
8
|
-
label: string | null;
|
|
9
|
-
searchBy: FormControl<string | null>;
|
|
10
|
-
constructor();
|
|
11
|
-
emit(event: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSearchbarComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchbarComponent, "app-chr-searchbar", never, { "model":
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ChrSearchbarComponent {
|
|
5
|
+
model: string | null;
|
|
6
|
+
modelChange: EventEmitter<string>;
|
|
7
|
+
placeholder: string | null;
|
|
8
|
+
label: string | null;
|
|
9
|
+
searchBy: FormControl<string | null>;
|
|
10
|
+
constructor();
|
|
11
|
+
emit(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSearchbarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchbarComponent, "app-chr-searchbar", never, { "model": "model"; "placeholder": "placeholder"; "label": "label"; }, { "modelChange": "modelChange"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ChrSeparatorComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSeparatorComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSeparatorComponent, "app-chr-separator", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ChrSeparatorComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChrSeparatorComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrSeparatorComponent, "app-chr-separator", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { DatePipe } from '@angular/common';
|
|
2
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface IColumn {
|
|
5
|
-
display: string;
|
|
6
|
-
chipsTarget?: string[];
|
|
7
|
-
chipsDisplay?: string[];
|
|
8
|
-
chipsCallback?: Function;
|
|
9
|
-
properties?: string[];
|
|
10
|
-
callback?: Function;
|
|
11
|
-
date?: string;
|
|
12
|
-
isLink?: boolean;
|
|
13
|
-
linkStaticUrl?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IAction {
|
|
16
|
-
display: string;
|
|
17
|
-
callback: Function;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
disabledCallback?: Function;
|
|
20
|
-
color: 'accent' | 'primary' | 'warn';
|
|
21
|
-
}
|
|
22
|
-
export declare class ChrTableComponent implements AfterViewInit {
|
|
23
|
-
private _date;
|
|
24
|
-
columns: IColumn[];
|
|
25
|
-
data: any[] | null;
|
|
26
|
-
actions: IAction[];
|
|
27
|
-
isAsc: boolean;
|
|
28
|
-
isAscChange: EventEmitter<boolean>;
|
|
29
|
-
sortBy: string;
|
|
30
|
-
sortByChange: EventEmitter<string>;
|
|
31
|
-
pageSize: number;
|
|
32
|
-
currentPage: number;
|
|
33
|
-
constructor(_date: DatePipe);
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
emitIsAsc(isAsc: any): void;
|
|
36
|
-
emitSortBy(sortBy: any): void;
|
|
37
|
-
getProperty: (entry: any, properties?: any[]) => any;
|
|
38
|
-
getIsAsc: () => boolean;
|
|
39
|
-
getSortBy: () => string;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChrTableComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrTableComponent, "app-chr-table, [app-chr-table]", never, { "columns":
|
|
42
|
-
}
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface IColumn {
|
|
5
|
+
display: string;
|
|
6
|
+
chipsTarget?: string[];
|
|
7
|
+
chipsDisplay?: string[];
|
|
8
|
+
chipsCallback?: Function;
|
|
9
|
+
properties?: string[];
|
|
10
|
+
callback?: Function;
|
|
11
|
+
date?: string;
|
|
12
|
+
isLink?: boolean;
|
|
13
|
+
linkStaticUrl?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IAction {
|
|
16
|
+
display: string;
|
|
17
|
+
callback: Function;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
disabledCallback?: Function;
|
|
20
|
+
color: 'accent' | 'primary' | 'warn';
|
|
21
|
+
}
|
|
22
|
+
export declare class ChrTableComponent implements AfterViewInit {
|
|
23
|
+
private _date;
|
|
24
|
+
columns: IColumn[];
|
|
25
|
+
data: any[] | null;
|
|
26
|
+
actions: IAction[];
|
|
27
|
+
isAsc: boolean;
|
|
28
|
+
isAscChange: EventEmitter<boolean>;
|
|
29
|
+
sortBy: string;
|
|
30
|
+
sortByChange: EventEmitter<string>;
|
|
31
|
+
pageSize: number;
|
|
32
|
+
currentPage: number;
|
|
33
|
+
constructor(_date: DatePipe);
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
emitIsAsc(isAsc: any): void;
|
|
36
|
+
emitSortBy(sortBy: any): void;
|
|
37
|
+
getProperty: (entry: any, properties?: any[]) => any;
|
|
38
|
+
getIsAsc: () => boolean;
|
|
39
|
+
getSortBy: () => string;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChrTableComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrTableComponent, "app-chr-table, [app-chr-table]", never, { "columns": "columns"; "data": "data"; "actions": "actions"; "isAsc": "isAsc"; "sortBy": "sortBy"; }, { "isAscChange": "isAscChange"; "sortByChange": "sortByChange"; }, never, ["*"], false, never>;
|
|
42
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This should only be used as a directive
|
|
5
|
-
*/
|
|
6
|
-
export declare class ChrTableHeaderCellComponent {
|
|
7
|
-
display: string;
|
|
8
|
-
column: string;
|
|
9
|
-
isAsc: boolean;
|
|
10
|
-
isAscChange: EventEmitter<boolean>;
|
|
11
|
-
sortBy: string;
|
|
12
|
-
sortByChange: EventEmitter<string>;
|
|
13
|
-
orderBy: (column: string) => void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChrTableHeaderCellComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChrTableHeaderCellComponent, "app-chr-table-header-cell, [app-chr-table-header-cell]", never, { "display":
|
|
16
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* This should only be used as a directive
|
|
5
|
+
*/
|
|
6
|
+
export declare class ChrTableHeaderCellComponent {
|
|
7
|
+
display: string;
|
|
8
|
+
column: string;
|
|
9
|
+
isAsc: boolean;
|
|
10
|
+
isAscChange: EventEmitter<boolean>;
|
|
11
|
+
sortBy: string;
|
|
12
|
+
sortByChange: EventEmitter<string>;
|
|
13
|
+
orderBy: (column: string) => void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChrTableHeaderCellComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChrTableHeaderCellComponent, "app-chr-table-header-cell, [app-chr-table-header-cell]", never, { "display": "display"; "column": "column"; "isAsc": "isAsc"; "sortBy": "sortBy"; }, { "isAscChange": "isAscChange"; "sortByChange": "sortByChange"; }, never, ["*"], false, never>;
|
|
16
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogService {
|
|
4
|
-
private dialog;
|
|
5
|
-
constructor(dialog: MatDialog);
|
|
6
|
-
openDelete: (callback?: Function, callbackElement?: any) => void;
|
|
7
|
-
open: (component: any) => import("@angular/material/dialog").MatDialogRef<unknown, any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
10
|
-
}
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DialogService {
|
|
4
|
+
private dialog;
|
|
5
|
+
constructor(dialog: MatDialog);
|
|
6
|
+
openDelete: (callback?: Function, callbackElement?: any) => void;
|
|
7
|
+
open: (component: any) => import("@angular/material/dialog").MatDialogRef<unknown, any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrv-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "
|
|
6
|
-
"@angular/core": "
|
|
7
|
-
"@angular/forms": "
|
|
8
|
-
"@angular/material": "
|
|
5
|
+
"@angular/common": "^15.1.0",
|
|
6
|
+
"@angular/core": "^15.1.0",
|
|
7
|
+
"@angular/forms": "^15.1.0",
|
|
8
|
+
"@angular/material": "^15.1.3",
|
|
9
9
|
"tailwindcss": "^3.2.4",
|
|
10
|
-
"ngx-pagination": "^6.0.3"
|
|
11
|
-
"chrv-pipes": "^1.0.9"
|
|
10
|
+
"ngx-pagination": "^6.0.3"
|
|
12
11
|
},
|
|
13
12
|
"dependencies": {
|
|
14
13
|
"tslib": "^2.3.0"
|
|
15
14
|
},
|
|
16
15
|
"sideEffects": false,
|
|
17
|
-
"module": "
|
|
16
|
+
"module": "fesm2015/chrv-components.mjs",
|
|
17
|
+
"es2020": "fesm2020/chrv-components.mjs",
|
|
18
|
+
"esm2020": "esm2020/chrv-components.mjs",
|
|
19
|
+
"fesm2020": "fesm2020/chrv-components.mjs",
|
|
20
|
+
"fesm2015": "fesm2015/chrv-components.mjs",
|
|
18
21
|
"typings": "index.d.ts",
|
|
19
22
|
"exports": {
|
|
20
23
|
"./package.json": {
|
|
@@ -22,9 +25,11 @@
|
|
|
22
25
|
},
|
|
23
26
|
".": {
|
|
24
27
|
"types": "./index.d.ts",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
+
"esm2020": "./esm2020/chrv-components.mjs",
|
|
29
|
+
"es2020": "./fesm2020/chrv-components.mjs",
|
|
30
|
+
"es2015": "./fesm2015/chrv-components.mjs",
|
|
31
|
+
"node": "./fesm2015/chrv-components.mjs",
|
|
32
|
+
"default": "./fesm2020/chrv-components.mjs"
|
|
28
33
|
}
|
|
29
34
|
}
|
|
30
35
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from './lib/chr-components.module';
|
|
2
|
-
export * from './lib/chr-breadcrumb/chr-breadcrumb.component';
|
|
3
|
-
export * from './lib/chr-button/chr-button.component';
|
|
4
|
-
export * from './lib/chr-delete-modal/chr-delete-modal.component';
|
|
5
|
-
export * from './lib/chr-form/chr-form.component';
|
|
6
|
-
export * from './lib/chr-search-select/chr-search-select.component';
|
|
7
|
-
export * from './lib/chr-searchbar/chr-searchbar.component';
|
|
8
|
-
export * from './lib/chr-paginator/chr-paginator.component';
|
|
9
|
-
export * from './lib/chr-table/chr-table.component';
|
|
10
|
-
export * from './lib/chr-table-header-cell/chr-table-header-cell.component';
|
|
11
|
-
export * from './lib/chr-checkbox/chr-checkbox.component';
|
|
12
|
-
export * from './lib/chr-separator/chr-separator.component';
|
|
13
|
-
export * from './lib/chr-form/chr-validators/decimal-validator';
|
|
14
|
-
export * from './lib/chr-form/chr-validators/max-date-validator';
|
|
15
|
-
export * from './lib/chr-form/chr-validators/type-validator';
|
|
16
|
-
export * from './lib/services/dialog.service';
|
|
1
|
+
export * from './lib/chr-components.module';
|
|
2
|
+
export * from './lib/chr-breadcrumb/chr-breadcrumb.component';
|
|
3
|
+
export * from './lib/chr-button/chr-button.component';
|
|
4
|
+
export * from './lib/chr-delete-modal/chr-delete-modal.component';
|
|
5
|
+
export * from './lib/chr-form/chr-form.component';
|
|
6
|
+
export * from './lib/chr-search-select/chr-search-select.component';
|
|
7
|
+
export * from './lib/chr-searchbar/chr-searchbar.component';
|
|
8
|
+
export * from './lib/chr-paginator/chr-paginator.component';
|
|
9
|
+
export * from './lib/chr-table/chr-table.component';
|
|
10
|
+
export * from './lib/chr-table-header-cell/chr-table-header-cell.component';
|
|
11
|
+
export * from './lib/chr-checkbox/chr-checkbox.component';
|
|
12
|
+
export * from './lib/chr-separator/chr-separator.component';
|
|
13
|
+
export * from './lib/chr-form/chr-validators/decimal-validator';
|
|
14
|
+
export * from './lib/chr-form/chr-validators/max-date-validator';
|
|
15
|
+
export * from './lib/chr-form/chr-validators/type-validator';
|
|
16
|
+
export * from './lib/services/dialog.service';
|
|
Binary file
|