@enigmatry/entry-components 19.0.1-preview.4 → 20.0.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/README.md +1 -0
- package/button/index.d.ts +54 -3
- package/common/index.d.ts +243 -3
- package/date-time-picker/index.d.ts +100 -3
- package/dialog/index.d.ts +197 -3
- package/fesm2022/enigmatry-entry-components-button.mjs +19 -30
- package/fesm2022/enigmatry-entry-components-button.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-common.mjs +129 -133
- package/fesm2022/enigmatry-entry-components-common.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-date-time-picker.mjs +53 -50
- package/fesm2022/enigmatry-entry-components-date-time-picker.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-dialog.mjs +53 -78
- package/fesm2022/enigmatry-entry-components-dialog.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-file-input.mjs +55 -51
- package/fesm2022/enigmatry-entry-components-file-input.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-permissions.mjs +28 -23
- package/fesm2022/enigmatry-entry-components-permissions.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-search-filter.mjs +82 -98
- package/fesm2022/enigmatry-entry-components-search-filter.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-spinner.mjs +21 -21
- package/fesm2022/enigmatry-entry-components-spinner.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-table.mjs +77 -86
- package/fesm2022/enigmatry-entry-components-table.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-validation.mjs +43 -47
- package/fesm2022/enigmatry-entry-components-validation.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components.mjs +6 -6
- package/fesm2022/enigmatry-entry-components.mjs.map +1 -1
- package/file-input/index.d.ts +87 -5
- package/index.d.ts +37 -3
- package/package.json +10 -8
- package/permissions/index.d.ts +40 -5
- package/search-filter/index.d.ts +225 -3
- package/spinner/index.d.ts +34 -5
- package/table/README.md +6 -3
- package/table/index.d.ts +260 -4
- package/validation/index.d.ts +123 -3
- package/button/entry-button-config.d.ts +0 -30
- package/button/entry-button.directive.d.ts +0 -18
- package/button/entry-button.module.d.ts +0 -9
- package/button/public-api.d.ts +0 -3
- package/common/common.module.d.ts +0 -14
- package/common/constants.d.ts +0 -2
- package/common/date-time/entry-date-time-adapter.d.ts +0 -41
- package/common/date-time/entry-date-time-formats.d.ts +0 -25
- package/common/date-time/entry-time-adapter.d.ts +0 -9
- package/common/date-time/index.d.ts +0 -4
- package/common/date-time/native-time-adapter.d.ts +0 -13
- package/common/directives/auto-disable-button.directive.d.ts +0 -26
- package/common/directives/index.d.ts +0 -4
- package/common/directives/ng-control-accessor.directive.d.ts +0 -12
- package/common/directives/noop-control-value-accessor.d.ts +0 -10
- package/common/directives/scroll-to-invalid-control.directive.d.ts +0 -18
- package/common/event-plugins/abstract.plugin.d.ts +0 -40
- package/common/event-plugins/debounce.plugin.d.ts +0 -15
- package/common/event-plugins/index.d.ts +0 -2
- package/common/event-plugins/throttle.plugin.d.ts +0 -15
- package/common/interceptors/accept-language.interceptor.d.ts +0 -16
- package/common/interceptors/index.d.ts +0 -1
- package/common/public-api.d.ts +0 -6
- package/common/utils/index.d.ts +0 -1
- package/common/utils/provide-config.d.ts +0 -3
- package/date-time-picker/date-time-picker-config.model.d.ts +0 -20
- package/date-time-picker/date-time-picker.component.d.ts +0 -38
- package/date-time-picker/date-time-picker.module.d.ts +0 -17
- package/date-time-picker/public-api.d.ts +0 -3
- package/date-time-picker/time-picker.component.d.ts +0 -26
- package/dialog/dialogs/alert/entry-alert-dialog-data.interface.d.ts +0 -18
- package/dialog/dialogs/alert/entry-alert-dialog.component.d.ts +0 -13
- package/dialog/dialogs/confirm/entry-confirm-dialog-data.interface.d.ts +0 -8
- package/dialog/dialogs/confirm/entry-confirm-dialog.component.d.ts +0 -13
- package/dialog/dialogs/entry-dialog.component.d.ts +0 -43
- package/dialog/dialogs/error/entry-error-dialog-data.interface.d.ts +0 -9
- package/dialog/dialogs/error/entry-error-dialog.component.d.ts +0 -15
- package/dialog/entry-dialog-buttons-alignment.type.d.ts +0 -2
- package/dialog/entry-dialog-config.model.d.ts +0 -33
- package/dialog/entry-dialog.module.d.ts +0 -15
- package/dialog/entry-dialog.service.d.ts +0 -55
- package/dialog/public-api.d.ts +0 -11
- package/file-input/entry-file-input.component.d.ts +0 -74
- package/file-input/entry-file-input.module.d.ts +0 -12
- package/file-input/public-api.d.ts +0 -2
- package/modules/entry-components.module.d.ts +0 -28
- package/permissions/permission-type.d.ts +0 -3
- package/permissions/permission.directive.d.ts +0 -11
- package/permissions/permission.guard.d.ts +0 -2
- package/permissions/permission.module.d.ts +0 -9
- package/permissions/permission.pipe.d.ts +0 -11
- package/permissions/permission.service.d.ts +0 -4
- package/permissions/public-api.d.ts +0 -5
- package/public-api.d.ts +0 -10
- package/search-filter/autocomplete/autocomplete-search-filter.component.d.ts +0 -22
- package/search-filter/autocomplete/autocomplete-search-filter.model.d.ts +0 -19
- package/search-filter/control-type.d.ts +0 -7
- package/search-filter/date/date-search-filter.component.d.ts +0 -10
- package/search-filter/date/date-search-filter.model.d.ts +0 -8
- package/search-filter/date-time/date-time-search-filter.component.d.ts +0 -10
- package/search-filter/date-time/date-time-search-filter.model.d.ts +0 -8
- package/search-filter/entry-search-filter.component.d.ts +0 -38
- package/search-filter/entry-search-filter.module.d.ts +0 -22
- package/search-filter/public-api.d.ts +0 -11
- package/search-filter/search-filter-base.model.d.ts +0 -26
- package/search-filter/search-filter-config.model.d.ts +0 -16
- package/search-filter/search-filter-params.type.d.ts +0 -7
- package/search-filter/select/select-search-filter.component.d.ts +0 -14
- package/search-filter/select/select-search-filter.model.d.ts +0 -22
- package/search-filter/select-option.model.d.ts +0 -12
- package/search-filter/text/text-search-filter.component.d.ts +0 -10
- package/search-filter/text/text-search-filter.model.d.ts +0 -8
- package/spinner/entry-spinner/spinner.component.d.ts +0 -24
- package/spinner/public-api.d.ts +0 -2
- package/spinner/spinner-overlay-container.d.ts +0 -17
- package/spinner/spinner.module.d.ts +0 -10
- package/table/components/entry-cell/entry-cell.component.d.ts +0 -10
- package/table/components/entry-cell-context-menu/entry-cell-context-menu.component.d.ts +0 -18
- package/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.d.ts +0 -10
- package/table/components/entry-table/entry-table.component.d.ts +0 -82
- package/table/components/index.d.ts +0 -4
- package/table/entry-table.module.d.ts +0 -20
- package/table/interfaces/cell-template.d.ts +0 -4
- package/table/interfaces/column-def.d.ts +0 -20
- package/table/interfaces/column-sort-prop.d.ts +0 -5
- package/table/interfaces/column-type-parameter.d.ts +0 -9
- package/table/interfaces/column-type.d.ts +0 -1
- package/table/interfaces/context-menu-item.d.ts +0 -7
- package/table/interfaces/entry-table-config.d.ts +0 -33
- package/table/interfaces/index.d.ts +0 -12
- package/table/interfaces/paged-query.d.ts +0 -15
- package/table/interfaces/pagination.d.ts +0 -19
- package/table/interfaces/row-class-formatter.d.ts +0 -3
- package/table/interfaces/row-context-menu-formatter.d.ts +0 -4
- package/table/interfaces/row-selection-formatter.d.ts +0 -4
- package/table/public-api.d.ts +0 -3
- package/validation/entry-display-control-validation.directive.d.ts +0 -27
- package/validation/entry-form-errors.component.d.ts +0 -18
- package/validation/entry-validation-config.model.d.ts +0 -48
- package/validation/entry-validation.d.ts +0 -15
- package/validation/entry-validation.module.d.ts +0 -11
- package/validation/public-api.d.ts +0 -6
- package/validation/validation-problem-details.interface.d.ts +0 -9
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PermissionType } from './permission-type';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export declare class EntryPermissionDirective<T extends PermissionType> {
|
|
5
|
-
private ngIfDirective;
|
|
6
|
-
private permissionService;
|
|
7
|
-
set only(permissions: T[]);
|
|
8
|
-
set except(permissions: T[]);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryPermissionDirective<any>, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EntryPermissionDirective<any>, "[entryPermissionsOnly],[entryPermissionsExcept]", never, { "only": { "alias": "entryPermissionsOnly"; "required": false; }; "except": { "alias": "entryPermissionsExcept"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.NgIf; inputs: {}; outputs: {}; }]>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./permission.directive";
|
|
3
|
-
import * as i2 from "./permission.pipe";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class EntryPermissionModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryPermissionModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryPermissionModule, [typeof i1.EntryPermissionDirective, typeof i2.EntryPermissionPipe], [typeof i3.CommonModule], [typeof i1.EntryPermissionDirective, typeof i2.EntryPermissionPipe]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryPermissionModule>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { PermissionType } from './permission-type';
|
|
3
|
-
import { EntryPermissionService } from './permission.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EntryPermissionPipe<T extends PermissionType> implements PipeTransform {
|
|
6
|
-
private permissionsService;
|
|
7
|
-
constructor(permissionsService: EntryPermissionService<T>);
|
|
8
|
-
transform(permissions: T[]): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryPermissionPipe<any>, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<EntryPermissionPipe<any>, "entryHasPermissions", false>;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { EntryPermissionPipe } from './permission.pipe';
|
|
2
|
-
export { EntryPermissionDirective } from './permission.directive';
|
|
3
|
-
export { entryPermissionGuard } from './permission.guard';
|
|
4
|
-
export { EntryPermissionService } from './permission.service';
|
|
5
|
-
export { EntryPermissionModule } from './permission.module';
|
package/public-api.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from '@enigmatry/entry-components/button';
|
|
2
|
-
export * from '@enigmatry/entry-components/common';
|
|
3
|
-
export * from '@enigmatry/entry-components/dialog';
|
|
4
|
-
export * from '@enigmatry/entry-components/file-input';
|
|
5
|
-
export * from '@enigmatry/entry-components/permissions';
|
|
6
|
-
export * from '@enigmatry/entry-components/search-filter';
|
|
7
|
-
export * from '@enigmatry/entry-components/spinner';
|
|
8
|
-
export * from '@enigmatry/entry-components/validation';
|
|
9
|
-
export * from '@enigmatry/entry-components/table';
|
|
10
|
-
export { EntryComponentsModule } from './modules/entry-components.module';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { SelectOption } from '../select-option.model';
|
|
5
|
-
import { AutocompleteSearchFilter } from './autocomplete-search-filter.model';
|
|
6
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AutocompleteSearchFilterComponent<T> implements AfterViewInit, OnDestroy {
|
|
9
|
-
private cdr;
|
|
10
|
-
searchFilter: AutocompleteSearchFilter<T>;
|
|
11
|
-
searchField: FormControl<string>;
|
|
12
|
-
options$: Observable<SelectOption<T>[]>;
|
|
13
|
-
destroy$: Subject<void>;
|
|
14
|
-
constructor(cdr: ChangeDetectorRef);
|
|
15
|
-
ngAfterViewInit(): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
displayFn: (_selectedValue: SelectOption<T>) => string;
|
|
18
|
-
onSelected: (event: MatAutocompleteSelectedEvent) => void;
|
|
19
|
-
private clearFilterIfLabelMismatch;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteSearchFilterComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteSearchFilterComponent<any>, "entry-autocomplete-search-filter", never, { "searchFilter": { "alias": "searchFilter"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ControlType } from '../control-type';
|
|
2
|
-
import { SearchFilterBase } from '../search-filter-base.model';
|
|
3
|
-
import { SelectOption } from '../select-option.model';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
/**
|
|
6
|
-
* Search filter autocomplete field configuration. Options for the autocomplete are provided
|
|
7
|
-
* indirectly via the search function that takes a string and returns an observable array of
|
|
8
|
-
* SelectOption<T>
|
|
9
|
-
*/
|
|
10
|
-
export declare class AutocompleteSearchFilter<T> extends SearchFilterBase<SelectOption<T>> {
|
|
11
|
-
controlType: ControlType;
|
|
12
|
-
/** Callback function for autocomplete options */
|
|
13
|
-
search: (input: string) => Observable<SelectOption<T>[]>;
|
|
14
|
-
/** Minimum number of characters that must enter to trigger the search function(default is 3) */
|
|
15
|
-
minimumCharacters: number;
|
|
16
|
-
/** Delay in typing before triggering the search function in milliseconds(default is 300) */
|
|
17
|
-
debounceTime: number;
|
|
18
|
-
constructor(options?: Partial<AutocompleteSearchFilter<T>>);
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
-
import { DateSearchFilter } from './date-search-filter.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateSearchFilterComponent<D> {
|
|
5
|
-
searchFilter: DateSearchFilter<D>;
|
|
6
|
-
/** Form group to which the search-filter input component will be added. */
|
|
7
|
-
form: UntypedFormGroup;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateSearchFilterComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateSearchFilterComponent<any>, "entry-date-search-filter", never, { "searchFilter": { "alias": "searchFilter"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ControlType } from '../control-type';
|
|
2
|
-
import { SearchFilterBase } from '../search-filter-base.model';
|
|
3
|
-
/**
|
|
4
|
-
* Search filter date input filed configuration.
|
|
5
|
-
*/
|
|
6
|
-
export declare class DateSearchFilter<D> extends SearchFilterBase<D> {
|
|
7
|
-
controlType: ControlType;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DateTimeSearchFilter } from './date-time-search-filter.model';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateTimeSearchFilterComponent<D> {
|
|
5
|
-
searchFilter: DateTimeSearchFilter<D>;
|
|
6
|
-
/** Form group to which the search-filter input component will be added. */
|
|
7
|
-
form: UntypedFormGroup;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeSearchFilterComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeSearchFilterComponent<any>, "entry-date-time-search-filter", never, { "searchFilter": { "alias": "searchFilter"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ControlType } from '../control-type';
|
|
2
|
-
import { SearchFilterBase } from '../search-filter-base.model';
|
|
3
|
-
/**
|
|
4
|
-
* Search filter date time input filed configuration.
|
|
5
|
-
*/
|
|
6
|
-
export declare class DateTimeSearchFilter<D> extends SearchFilterBase<D> {
|
|
7
|
-
controlType: ControlType;
|
|
8
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { SearchFilterParams } from './search-filter-params.type';
|
|
4
|
-
import { EntrySearchFilterConfig } from './search-filter-config.model';
|
|
5
|
-
import { SearchFilterBase } from './search-filter-base.model';
|
|
6
|
-
import { TextSearchFilter } from './text/text-search-filter.model';
|
|
7
|
-
import { SelectSearchFilter } from './select/select-search-filter.model';
|
|
8
|
-
import { AutocompleteSearchFilter } from './autocomplete/autocomplete-search-filter.model';
|
|
9
|
-
import { ControlType } from './control-type';
|
|
10
|
-
import { DateTimeSearchFilter } from './date-time/date-time-search-filter.model';
|
|
11
|
-
import { DateSearchFilter } from './date/date-search-filter.model';
|
|
12
|
-
import { SelectOption } from './select-option.model';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Entry SearchFilter component.
|
|
16
|
-
*/
|
|
17
|
-
export declare class EntrySearchFilterComponent implements OnInit {
|
|
18
|
-
config: EntrySearchFilterConfig;
|
|
19
|
-
/** Configuration of the search filters inputs that will be displayed in the search-filter component. */
|
|
20
|
-
searchFilters: SearchFilterBase<any>[];
|
|
21
|
-
/**
|
|
22
|
-
* Emits the change in SearchFilterParams so the containing component can apply them and retrieve the filtered results.
|
|
23
|
-
*/
|
|
24
|
-
searchFilterChange: EventEmitter<SearchFilterParams>;
|
|
25
|
-
searchFilterForm: UntypedFormGroup;
|
|
26
|
-
controlType: typeof ControlType;
|
|
27
|
-
constructor(config: EntrySearchFilterConfig);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
onSubmit(): void;
|
|
30
|
-
toFormGroup(searchFilters: SearchFilterBase<any>[]): UntypedFormGroup;
|
|
31
|
-
asTextSearchFilter(searchFilter: SearchFilterBase<any>): TextSearchFilter;
|
|
32
|
-
asSelectSearchFilter<T>(searchFilter: SearchFilterBase<T>): SelectSearchFilter<T>;
|
|
33
|
-
asAutocompleteSearchFilter<T>(searchFilter: SearchFilterBase<SelectOption<T>>): AutocompleteSearchFilter<T>;
|
|
34
|
-
asDateTimeSearchFilter<T>(searchFilter: SearchFilterBase<T>): DateTimeSearchFilter<T>;
|
|
35
|
-
asDateSearchFilter<T>(searchFilter: SearchFilterBase<T>): DateSearchFilter<T>;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntrySearchFilterComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntrySearchFilterComponent, "entry-search-filter", never, { "searchFilters": { "alias": "searchFilters"; "required": false; }; }, { "searchFilterChange": "searchFilterChange"; }, never, never, false, never>;
|
|
38
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entry-search-filter.component";
|
|
3
|
-
import * as i2 from "./text/text-search-filter.component";
|
|
4
|
-
import * as i3 from "./select/select-search-filter.component";
|
|
5
|
-
import * as i4 from "./autocomplete/autocomplete-search-filter.component";
|
|
6
|
-
import * as i5 from "./date-time/date-time-search-filter.component";
|
|
7
|
-
import * as i6 from "./date/date-search-filter.component";
|
|
8
|
-
import * as i7 from "@angular/common";
|
|
9
|
-
import * as i8 from "@angular/forms";
|
|
10
|
-
import * as i9 from "@angular/material/input";
|
|
11
|
-
import * as i10 from "@angular/material/button";
|
|
12
|
-
import * as i11 from "@enigmatry/entry-components/button";
|
|
13
|
-
import * as i12 from "@angular/material/select";
|
|
14
|
-
import * as i13 from "@angular/material/autocomplete";
|
|
15
|
-
import * as i14 from "@angular/material/datepicker";
|
|
16
|
-
import * as i15 from "@angular/material/form-field";
|
|
17
|
-
import * as i16 from "@enigmatry/entry-components/validation";
|
|
18
|
-
export declare class EntrySearchFilterModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntrySearchFilterModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntrySearchFilterModule, [typeof i1.EntrySearchFilterComponent, typeof i2.TextSearchFilterComponent, typeof i3.SelectSearchFilterComponent, typeof i4.AutocompleteSearchFilterComponent, typeof i5.DateTimeSearchFilterComponent, typeof i6.DateSearchFilterComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.MatInputModule, typeof i10.MatButtonModule, typeof i11.EntryButtonModule, typeof i12.MatSelectModule, typeof i13.MatAutocompleteModule, typeof i14.MatDatepickerModule, typeof i15.MatFormFieldModule, typeof i16.EntryValidationModule], [typeof i1.EntrySearchFilterComponent]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntrySearchFilterModule>;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { EntrySearchFilterComponent } from './entry-search-filter.component';
|
|
2
|
-
export { SearchFilterParams } from './search-filter-params.type';
|
|
3
|
-
export { SearchFilterBase } from './search-filter-base.model';
|
|
4
|
-
export { TextSearchFilter } from './text/text-search-filter.model';
|
|
5
|
-
export { SelectSearchFilter } from './select/select-search-filter.model';
|
|
6
|
-
export { AutocompleteSearchFilter } from './autocomplete/autocomplete-search-filter.model';
|
|
7
|
-
export { SelectOption } from './select-option.model';
|
|
8
|
-
export { DateTimeSearchFilter } from './date-time/date-time-search-filter.model';
|
|
9
|
-
export { DateSearchFilter } from './date/date-search-filter.model';
|
|
10
|
-
export { EntrySearchFilterModule } from './entry-search-filter.module';
|
|
11
|
-
export { ENTRY_SEARCH_FILTER_CONFIG, EntrySearchFilterConfig, provideEntrySearchFilterConfig } from './search-filter-config.model';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { ControlType } from './control-type';
|
|
3
|
-
/**
|
|
4
|
-
* Base Entry search filter input component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SearchFilterBase<T> {
|
|
7
|
-
/** Unique search-filter input key */
|
|
8
|
-
key: string;
|
|
9
|
-
/** Default value to be displayed/selected in the input control */
|
|
10
|
-
value: T | undefined;
|
|
11
|
-
/** Label text to be displayed for the search-filter input control */
|
|
12
|
-
label: string;
|
|
13
|
-
/** Placeholder text for search-filter input control */
|
|
14
|
-
placeholder: string;
|
|
15
|
-
/** Type of input control e.g. 'text' or 'email' */
|
|
16
|
-
type: string;
|
|
17
|
-
/** Control type to be overridden in implementing class, used to render the proper input type e.g. 'text-input' */
|
|
18
|
-
controlType: ControlType;
|
|
19
|
-
/** Max text length to be entered in the input component (default is 256) */
|
|
20
|
-
maxLength: number;
|
|
21
|
-
/** A reference to the form control it represents */
|
|
22
|
-
formControl: FormControl<T>;
|
|
23
|
-
constructor(options?: Partial<SearchFilterBase<T>>);
|
|
24
|
-
setValue(value: T | undefined): void;
|
|
25
|
-
toFormControl(): FormControl<T>;
|
|
26
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Provider } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Used to provide entry search filter configuration on module level.
|
|
4
|
-
*/
|
|
5
|
-
export declare class EntrySearchFilterConfig {
|
|
6
|
-
/** Apply search filters button label (default 'Apply') */
|
|
7
|
-
applyButtonText: string;
|
|
8
|
-
/** Label for 'none selected' select filter option */
|
|
9
|
-
noneSelectedOptionText: string;
|
|
10
|
-
constructor(config?: Partial<EntrySearchFilterConfig>);
|
|
11
|
-
}
|
|
12
|
-
export declare const ENTRY_SEARCH_FILTER_CONFIG: import("@angular/core").InjectionToken<EntrySearchFilterConfig>;
|
|
13
|
-
/**
|
|
14
|
-
* Can be used to provide entry search filter configuration.
|
|
15
|
-
*/
|
|
16
|
-
export declare function provideEntrySearchFilterConfig(config: Partial<EntrySearchFilterConfig>): Provider;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SelectSearchFilter } from './select-search-filter.model';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { EntrySearchFilterConfig } from '../search-filter-config.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SelectSearchFilterComponent<T> {
|
|
6
|
-
config: EntrySearchFilterConfig;
|
|
7
|
-
/** Configuration of the search filters inputs that will be displayed in the search-filter component. */
|
|
8
|
-
searchFilter: SelectSearchFilter<T>;
|
|
9
|
-
/** Form group to which the search-filter input component will be added. */
|
|
10
|
-
form: UntypedFormGroup;
|
|
11
|
-
constructor(config: EntrySearchFilterConfig);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectSearchFilterComponent<any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectSearchFilterComponent<any>, "entry-select-search-filter", never, { "searchFilter": { "alias": "searchFilter"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { SearchFilterBase } from '../search-filter-base.model';
|
|
3
|
-
import { ControlType } from '../control-type';
|
|
4
|
-
import { SelectOption } from '../select-option.model';
|
|
5
|
-
/**
|
|
6
|
-
* Search filter select input field configuration. Select options can be provided as fixed list (`options`)
|
|
7
|
-
* or observable (dynamic) list (`options$`).
|
|
8
|
-
*/
|
|
9
|
-
export declare class SelectSearchFilter<T> extends SearchFilterBase<T> {
|
|
10
|
-
controlType: ControlType;
|
|
11
|
-
/** Fixed list of select filter options (default is empty list) */
|
|
12
|
-
options: SelectOption<T>[];
|
|
13
|
-
/** Observable (dynamic) list of select filter options */
|
|
14
|
-
options$: Observable<SelectOption<T>[]> | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Enables selection of multiple options (default is true).
|
|
17
|
-
* If it is set to false, 'none selected' option becomes available as a first option.
|
|
18
|
-
* */
|
|
19
|
-
multiSelect: boolean;
|
|
20
|
-
showNoneOption: boolean;
|
|
21
|
-
constructor(options?: Partial<SelectSearchFilter<T>>);
|
|
22
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** Model used to populate select or autocomplete options. */
|
|
2
|
-
export declare class SelectOption<T> {
|
|
3
|
-
/** Key used as a value for selected option */
|
|
4
|
-
key: T;
|
|
5
|
-
/** String value used as display label of select option */
|
|
6
|
-
label: string;
|
|
7
|
-
constructor(
|
|
8
|
-
/** Key used as a value for selected option */
|
|
9
|
-
key: T,
|
|
10
|
-
/** String value used as display label of select option */
|
|
11
|
-
label: string);
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
-
import { TextSearchFilter } from './text-search-filter.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextSearchFilterComponent {
|
|
5
|
-
searchFilter: TextSearchFilter;
|
|
6
|
-
/** Form group to which the search-filter input component will be added. */
|
|
7
|
-
form: UntypedFormGroup;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextSearchFilterComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextSearchFilterComponent, "entry-text-search-filter", never, { "searchFilter": { "alias": "searchFilter"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SearchFilterBase } from '../search-filter-base.model';
|
|
2
|
-
import { ControlType } from '../control-type';
|
|
3
|
-
/**
|
|
4
|
-
* Search filter text input filed configuration.
|
|
5
|
-
*/
|
|
6
|
-
export declare class TextSearchFilter extends SearchFilterBase<string> {
|
|
7
|
-
controlType: ControlType;
|
|
8
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayContainer } from '@angular/cdk/overlay';
|
|
2
|
-
import { ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { ThemePalette } from '@angular/material/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EntrySpinnerComponent implements OnInit, OnDestroy {
|
|
6
|
-
private overlay;
|
|
7
|
-
private viewContainerRef;
|
|
8
|
-
private overlayContainer;
|
|
9
|
-
private elementRef;
|
|
10
|
-
color: ThemePalette;
|
|
11
|
-
diameter: number;
|
|
12
|
-
fullscreen: boolean;
|
|
13
|
-
hasBackgroundOverlay: boolean;
|
|
14
|
-
private templateRef;
|
|
15
|
-
private overlayRef;
|
|
16
|
-
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, overlayContainer: OverlayContainer, elementRef: ElementRef<HTMLElement>);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
private createOverlay;
|
|
20
|
-
private configureOverlayContainer;
|
|
21
|
-
private disposeOverlayRef;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntrySpinnerComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntrySpinnerComponent, "entry-spinner", never, { "color": { "alias": "color"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "hasBackgroundOverlay": { "alias": "hasBackgroundOverlay"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
-
}
|
package/spinner/public-api.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import { OnDestroy } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SpinnerOverlayContainer extends OverlayContainer implements OnDestroy {
|
|
6
|
-
private _appendTo;
|
|
7
|
-
private _options;
|
|
8
|
-
constructor(document: Document, platform: Platform);
|
|
9
|
-
configure(appendTo: HTMLElement, options: {
|
|
10
|
-
fullscreen: boolean;
|
|
11
|
-
}): void;
|
|
12
|
-
getContainerElement(): HTMLElement;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
private createContainer;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerOverlayContainer, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SpinnerOverlayContainer>;
|
|
17
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entry-spinner/spinner.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
-
import * as i4 from "@angular/material/progress-spinner";
|
|
6
|
-
export declare class EntrySpinnerModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntrySpinnerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntrySpinnerModule, [typeof i1.EntrySpinnerComponent], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatProgressSpinnerModule], [typeof i1.EntrySpinnerComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntrySpinnerModule>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ColumnDef } from '../../interfaces';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EntryCellComponent<T> {
|
|
4
|
-
rowData: T;
|
|
5
|
-
colDef: ColumnDef;
|
|
6
|
-
get value(): any;
|
|
7
|
-
private getCellValue;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryCellComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryCellComponent<any>, "entry-cell", never, { "rowData": { "alias": "rowData"; "required": false; }; "colDef": { "alias": "colDef"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatMenuPanel } from '@angular/material/menu';
|
|
3
|
-
import { RowContextMenuFormatter } from '../../interfaces/row-context-menu-formatter';
|
|
4
|
-
import { ContextMenuItem } from '../../interfaces/context-menu-item';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EntryCellContextMenuComponent implements OnInit {
|
|
7
|
-
items: ContextMenuItem[];
|
|
8
|
-
rowMenuFormatter: RowContextMenuFormatter;
|
|
9
|
-
rowData: any;
|
|
10
|
-
triggerIcon: string;
|
|
11
|
-
isSubMenu: boolean;
|
|
12
|
-
selected: EventEmitter<string>;
|
|
13
|
-
menu: MatMenuPanel;
|
|
14
|
-
menuItems: ContextMenuItem[];
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryCellContextMenuComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryCellContextMenuComponent, "entry-cell-context-menu", never, { "items": { "alias": "items"; "required": false; }; "rowMenuFormatter": { "alias": "rowMenuFormatter"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "triggerIcon": { "alias": "triggerIcon"; "required": false; }; "isSubMenu": { "alias": "isSubMenu"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
18
|
-
}
|
package/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class EntryCellFormattedValueComponent {
|
|
3
|
-
defaultPercentageMultiplier: number;
|
|
4
|
-
value: string | undefined;
|
|
5
|
-
type: string;
|
|
6
|
-
typeParameter: any | undefined;
|
|
7
|
-
constructor(defaultPercentageMultiplier: number);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryCellFormattedValueComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryCellFormattedValueComponent, "entry-cell-formatted-value", never, { "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "typeParameter": { "alias": "typeParameter"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, TemplateRef, ChangeDetectorRef, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
5
|
-
import { Sort, SortDirection } from '@angular/material/sort';
|
|
6
|
-
import { ColumnDef, PagedData, RowSelectionFormatter, RowClassFormatter, ContextMenuItem, RowContextMenuFormatter, CellTemplate, EntryTableConfig } from '../../interfaces';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class EntryTableComponent<T> implements OnChanges {
|
|
9
|
-
private _config;
|
|
10
|
-
private _elementRef;
|
|
11
|
-
private _changeDetectorRef;
|
|
12
|
-
className: string;
|
|
13
|
-
dataSource: MatTableDataSource<T, import("@angular/material/paginator").MatPaginator>;
|
|
14
|
-
displayedColumns: string[];
|
|
15
|
-
columns: ColumnDef[];
|
|
16
|
-
private _data;
|
|
17
|
-
private _page;
|
|
18
|
-
data: T[] | PagedData<T> | null | undefined;
|
|
19
|
-
total: number;
|
|
20
|
-
loading: boolean;
|
|
21
|
-
showPaginator: boolean;
|
|
22
|
-
pageDisabled: boolean;
|
|
23
|
-
showFirstLastButtons: boolean;
|
|
24
|
-
pageIndex: number;
|
|
25
|
-
pageSize: number;
|
|
26
|
-
pageSizeOptions: number[];
|
|
27
|
-
hidePageSize: boolean;
|
|
28
|
-
pageChange: EventEmitter<PageEvent>;
|
|
29
|
-
paginationTemplate: TemplateRef<any>;
|
|
30
|
-
sortActive: string;
|
|
31
|
-
sortDirection: SortDirection;
|
|
32
|
-
sortDisableClear: boolean;
|
|
33
|
-
sortDisabled: boolean;
|
|
34
|
-
sortStart: 'asc' | 'desc';
|
|
35
|
-
sortChange: EventEmitter<Sort>;
|
|
36
|
-
rowHover: boolean;
|
|
37
|
-
rowStriped: boolean;
|
|
38
|
-
rowFocusVisible: boolean;
|
|
39
|
-
rowClick: EventEmitter<T>;
|
|
40
|
-
multiSelectable: boolean;
|
|
41
|
-
rowSelection: SelectionModel<T>;
|
|
42
|
-
rowSelected: T[];
|
|
43
|
-
rowSelectable: boolean;
|
|
44
|
-
showSelectAllCheckbox: boolean;
|
|
45
|
-
rowSelectionFormatter: RowSelectionFormatter;
|
|
46
|
-
rowClassFormatter: RowClassFormatter;
|
|
47
|
-
rowSelectionChange: EventEmitter<T[]>;
|
|
48
|
-
showContextMenu: boolean;
|
|
49
|
-
contextMenuItems: ContextMenuItem[];
|
|
50
|
-
contextMenuTemplate: TemplateRef<any> | null;
|
|
51
|
-
rowContextMenuFormatter: RowContextMenuFormatter;
|
|
52
|
-
contextMenuItemSelected: EventEmitter<{
|
|
53
|
-
itemId: string;
|
|
54
|
-
rowData: T;
|
|
55
|
-
}>;
|
|
56
|
-
noResultText: string;
|
|
57
|
-
noResultTemplate: TemplateRef<any> | null;
|
|
58
|
-
readonly selectionColumn = "selection-column";
|
|
59
|
-
readonly contextMenuColumn = "context-menu-column";
|
|
60
|
-
get hasNoResult(): boolean;
|
|
61
|
-
headerTemplate: TemplateRef<any> | CellTemplate | any;
|
|
62
|
-
cellTemplate: TemplateRef<any> | CellTemplate | any;
|
|
63
|
-
constructor(_config: EntryTableConfig, _elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef);
|
|
64
|
-
detectChanges(): void;
|
|
65
|
-
isTemplateRef(obj: any): obj is TemplateRef<any>;
|
|
66
|
-
getRowClassList(rowData: T, index: number): {
|
|
67
|
-
selected: boolean;
|
|
68
|
-
'mat-row-odd': number;
|
|
69
|
-
};
|
|
70
|
-
getColumnClassList(colDef: ColumnDef): string;
|
|
71
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
72
|
-
getIndex(index: number, dataIndex: number): number;
|
|
73
|
-
isAllSelected(): boolean;
|
|
74
|
-
toggleSelectAllCheckbox(): void;
|
|
75
|
-
toggleRowSelection(row: any): void;
|
|
76
|
-
handlePage(e: PageEvent): void;
|
|
77
|
-
scrollToTop(): void;
|
|
78
|
-
get shouldShowPaginator(): boolean;
|
|
79
|
-
private convertToKebabCase;
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryTableComponent<any>, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryTableComponent<any>, "entry-table", never, { "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "pageDisabled": { "alias": "pageDisabled"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "paginationTemplate": { "alias": "paginationTemplate"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortDisableClear": { "alias": "sortDisableClear"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; "sortStart": { "alias": "sortStart"; "required": false; }; "rowHover": { "alias": "rowHover"; "required": false; }; "rowStriped": { "alias": "rowStriped"; "required": false; }; "rowFocusVisible": { "alias": "rowFocusVisible"; "required": false; }; "multiSelectable": { "alias": "multiSelectable"; "required": false; }; "rowSelected": { "alias": "rowSelected"; "required": false; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; }; "showSelectAllCheckbox": { "alias": "showSelectAllCheckbox"; "required": false; }; "rowSelectionFormatter": { "alias": "rowSelectionFormatter"; "required": false; }; "rowClassFormatter": { "alias": "rowClassFormatter"; "required": false; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; }; "contextMenuItems": { "alias": "contextMenuItems"; "required": false; }; "contextMenuTemplate": { "alias": "contextMenuTemplate"; "required": false; }; "rowContextMenuFormatter": { "alias": "rowContextMenuFormatter"; "required": false; }; "noResultText": { "alias": "noResultText"; "required": false; }; "noResultTemplate": { "alias": "noResultTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "rowClick": "rowClick"; "rowSelectionChange": "rowSelectionChange"; "contextMenuItemSelected": "contextMenuItemSelected"; }, never, never, false, never>;
|
|
82
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/entry-table/entry-table.component";
|
|
3
|
-
import * as i2 from "./components/entry-cell/entry-cell.component";
|
|
4
|
-
import * as i3 from "./components/entry-cell-context-menu/entry-cell-context-menu.component";
|
|
5
|
-
import * as i4 from "./components/entry-cell-formatted-value/entry-cell-formatted-value.component";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "@angular/material/table";
|
|
9
|
-
import * as i8 from "@angular/material/sort";
|
|
10
|
-
import * as i9 from "@angular/material/paginator";
|
|
11
|
-
import * as i10 from "@angular/material/checkbox";
|
|
12
|
-
import * as i11 from "@angular/material/icon";
|
|
13
|
-
import * as i12 from "@angular/material/menu";
|
|
14
|
-
import * as i13 from "@angular/material/radio";
|
|
15
|
-
import * as i14 from "@angular/material/button";
|
|
16
|
-
export declare class EntryTableModule {
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryTableModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryTableModule, [typeof i1.EntryTableComponent, typeof i2.EntryCellComponent, typeof i3.EntryCellContextMenuComponent, typeof i4.EntryCellFormattedValueComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.MatTableModule, typeof i8.MatSortModule, typeof i9.MatPaginatorModule, typeof i10.MatCheckboxModule, typeof i11.MatIconModule, typeof i12.MatMenuModule, typeof i13.MatRadioModule, typeof i5.CommonModule, typeof i14.MatButtonModule], [typeof i1.EntryTableComponent, typeof i2.EntryCellComponent, typeof i3.EntryCellContextMenuComponent, typeof i4.EntryCellFormattedValueComponent]>;
|
|
19
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryTableModule>;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { ColumnSortProp } from './column-sort-prop';
|
|
3
|
-
import { ColumnTypeParameter } from './column-type-parameter';
|
|
4
|
-
import { ColumnType } from './column-type';
|
|
5
|
-
export interface ColumnDef {
|
|
6
|
-
field: string;
|
|
7
|
-
header?: string;
|
|
8
|
-
hide?: boolean;
|
|
9
|
-
pinned?: 'left' | 'right';
|
|
10
|
-
width?: string;
|
|
11
|
-
sortable?: boolean | string;
|
|
12
|
-
sortProp?: ColumnSortProp;
|
|
13
|
-
type?: ColumnType;
|
|
14
|
-
typeParameter?: ColumnTypeParameter;
|
|
15
|
-
cellTemplate?: TemplateRef<any> | null;
|
|
16
|
-
class?: string;
|
|
17
|
-
customProperties?: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
}
|