ngx-material-entity 1.1.6 → 15.1.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/classes/entity.utilities.d.ts +1 -0
- package/components/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/components/input/array/array-date-input/array-date-input.component.d.ts +2 -2
- package/components/input/array/array-date-range-input/array-date-range-input.component.d.ts +3 -3
- package/components/input/array/array-date-time-input/array-date-time-input.component.d.ts +4 -4
- package/components/input/array/array-string-autocomplete-chips/array-string-autocomplete-chips.component.d.ts +4 -30
- package/components/input/array/array-string-chips-input/array-string-chips-input.component.d.ts +3 -11
- package/components/input/array/array-table.class.d.ts +4 -4
- package/components/input/base-input.component.d.ts +1 -1
- package/components/input/boolean/boolean-checkbox-input/boolean-checkbox-input.component.d.ts +1 -1
- package/components/input/boolean/boolean-dropdown-input/boolean-dropdown-input.component.d.ts +1 -1
- package/components/input/boolean/boolean-toggle-input/boolean-toggle-input.component.d.ts +1 -1
- package/components/input/custom/custom.component.d.ts +1 -1
- package/components/input/date/date-input/date-input.component.d.ts +2 -2
- package/components/input/date/date-range-input/date-range-input.component.d.ts +4 -3
- package/components/input/date/date-time-input/date-time-input.component.d.ts +4 -4
- package/components/input/file/file-default-input/file-default-input.component.d.ts +2 -2
- package/components/input/file/file-image-input/file-image-input.component.d.ts +2 -2
- package/components/input/file/file-input/dragDrop.directive.d.ts +1 -1
- package/components/input/file/file-input/file-input.component.d.ts +1 -1
- package/components/input/input.component.d.ts +10 -10
- package/components/input/number/number-dropdown-input/number-dropdown-input.component.d.ts +1 -1
- package/components/input/number/number-input/number-input.component.d.ts +1 -1
- package/components/input/number/number-slider-input/number-slider-input.component.d.ts +1 -1
- package/components/input/relations/references-many-input/references-many-input.component.d.ts +1 -1
- package/components/input/string/string-autocomplete-input/string-autocomplete-input.component.d.ts +1 -1
- package/components/input/string/string-dropdown-input/string-dropdown-input.component.d.ts +1 -1
- package/components/input/string/string-input/string-input.component.d.ts +1 -1
- package/components/input/string/string-password-input/string-password-input.component.d.ts +1 -1
- package/components/input/string/string-textbox-input/string-textbox-input.component.d.ts +1 -1
- package/components/table/create-dialog/create-entity-dialog.component.d.ts +1 -1
- package/components/table/edit-dialog/edit-entity-dialog.component.d.ts +1 -1
- package/components/table/table.component.d.ts +1 -1
- package/decorators/file/file-decorator-internal.data.d.ts +0 -2
- package/decorators/file/file-decorator.data.d.ts +0 -7
- package/decorators/number/number-decorator-internal.data.d.ts +3 -3
- package/decorators/number/number-decorator.data.d.ts +3 -3
- package/esm2020/classes/entity.utilities.mjs +13 -5
- package/esm2020/components/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2020/components/confirm-dialog/confirm-dialog.module.mjs +4 -4
- package/esm2020/components/input/array/array-date-input/array-date-input.component.mjs +7 -7
- package/esm2020/components/input/array/array-date-range-input/array-date-range-input.component.mjs +5 -5
- package/esm2020/components/input/array/array-date-time-input/array-date-time-input.component.mjs +7 -8
- package/esm2020/components/input/array/array-string-autocomplete-chips/array-string-autocomplete-chips.component.mjs +14 -59
- package/esm2020/components/input/array/array-string-chips-input/array-string-chips-input.component.mjs +10 -18
- package/esm2020/components/input/array/array-table.class.mjs +7 -7
- package/esm2020/components/input/base-input.component.mjs +4 -4
- package/esm2020/components/input/boolean/boolean-checkbox-input/boolean-checkbox-input.component.mjs +7 -7
- package/esm2020/components/input/boolean/boolean-dropdown-input/boolean-dropdown-input.component.mjs +3 -3
- package/esm2020/components/input/boolean/boolean-toggle-input/boolean-toggle-input.component.mjs +7 -7
- package/esm2020/components/input/custom/custom.component.mjs +3 -3
- package/esm2020/components/input/date/date-input/date-input.component.mjs +7 -7
- package/esm2020/components/input/date/date-range-input/date-range-input.component.mjs +6 -6
- package/esm2020/components/input/date/date-time-input/date-time-input.component.mjs +7 -8
- package/esm2020/components/input/file/file-default-input/file-default-input.component.mjs +4 -4
- package/esm2020/components/input/file/file-image-input/file-image-input.component.mjs +4 -4
- package/esm2020/components/input/file/file-input/dragDrop.directive.mjs +3 -3
- package/esm2020/components/input/file/file-input/file-input.component.mjs +10 -6
- package/esm2020/components/input/input.component.mjs +11 -11
- package/esm2020/components/input/input.module.mjs +32 -32
- package/esm2020/components/input/number/number-dropdown-input/number-dropdown-input.component.mjs +3 -3
- package/esm2020/components/input/number/number-input/number-input.component.mjs +5 -5
- package/esm2020/components/input/number/number-slider-input/number-slider-input.component.mjs +7 -7
- package/esm2020/components/input/relations/references-many-input/references-many-input.component.mjs +4 -4
- package/esm2020/components/input/string/string-autocomplete-input/string-autocomplete-input.component.mjs +5 -5
- package/esm2020/components/input/string/string-dropdown-input/string-dropdown-input.component.mjs +3 -3
- package/esm2020/components/input/string/string-input/string-input.component.mjs +5 -5
- package/esm2020/components/input/string/string-password-input/string-password-input.component.mjs +7 -7
- package/esm2020/components/input/string/string-textbox-input/string-textbox-input.component.mjs +5 -5
- package/esm2020/components/table/create-dialog/create-entity-dialog.component.mjs +5 -5
- package/esm2020/components/table/create-dialog/create-entity-dialog.module.mjs +4 -4
- package/esm2020/components/table/edit-dialog/edit-entity-dialog.component.mjs +5 -5
- package/esm2020/components/table/edit-dialog/edit-entity-dialog.module.mjs +4 -4
- package/esm2020/components/table/table.component.mjs +6 -6
- package/esm2020/components/table/table.module.mjs +4 -4
- package/esm2020/decorators/file/file-decorator-internal.data.mjs +1 -3
- package/esm2020/decorators/file/file-decorator.data.mjs +1 -1
- package/esm2020/decorators/number/number-decorator-internal.data.mjs +3 -3
- package/esm2020/decorators/number/number-decorator.data.mjs +1 -1
- package/fesm2015/ngx-material-entity.mjs +552 -600
- package/fesm2015/ngx-material-entity.mjs.map +1 -1
- package/fesm2020/ngx-material-entity.mjs +544 -589
- package/fesm2020/ngx-material-entity.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -114,6 +114,7 @@ export declare abstract class EntityUtilities {
|
|
|
114
114
|
* @returns Whether or not the given values are equal.
|
|
115
115
|
*/
|
|
116
116
|
static isEqual(value: unknown, valuePriorChanges: unknown, metadata: PropertyDecoratorConfigInternal, type: DecoratorTypes): Promise<boolean>;
|
|
117
|
+
private static isEqualArrayString;
|
|
117
118
|
private static isEqualArrayDate;
|
|
118
119
|
private static isEqualArrayDateRange;
|
|
119
120
|
private static isEqualDateTime;
|
|
@@ -24,5 +24,5 @@ export declare class NgxMatEntityConfirmDialogComponent implements OnInit {
|
|
|
24
24
|
*/
|
|
25
25
|
cancel(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityConfirmDialogComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityConfirmDialogComponent, "ngx-mat-entity-confirm-dialog", never, {}, {}, never, never, false>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityConfirmDialogComponent, "ngx-mat-entity-confirm-dialog", never, {}, {}, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DateUtilities } from '../../../../classes/date.utilities';
|
|
3
|
-
import { ArrayTableComponent } from '../array-table.class';
|
|
4
3
|
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
5
4
|
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
5
|
+
import { ArrayTableComponent } from '../array-table.class';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ArrayDateInputComponent<EntityType extends BaseEntityType<EntityType>> extends ArrayTableComponent<Date, EntityType, DecoratorTypes.ARRAY_DATE> implements OnInit {
|
|
8
8
|
DateUtilities: typeof DateUtilities;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayDateInputComponent<any>, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayDateInputComponent<any>, "array-date-input", never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayDateInputComponent<any>, "array-date-input", never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
3
2
|
import { DateUtilities } from '../../../../classes/date.utilities';
|
|
3
|
+
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
4
|
+
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
4
5
|
import { DateRange } from '../../../../decorators/date/date-decorator.data';
|
|
5
6
|
import { ArrayTableComponent } from '../array-table.class';
|
|
6
|
-
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ArrayDateRangeInputComponent<EntityType extends BaseEntityType<EntityType>> extends ArrayTableComponent<DateRange, EntityType, DecoratorTypes.ARRAY_DATE_RANGE> implements OnInit {
|
|
9
9
|
DateUtilities: typeof DateUtilities;
|
|
@@ -16,5 +16,5 @@ export declare class ArrayDateRangeInputComponent<EntityType extends BaseEntityT
|
|
|
16
16
|
addDateRange(): void;
|
|
17
17
|
protected resetInput(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayDateRangeInputComponent<any>, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayDateRangeInputComponent<any>, "array-date-range-input", never, {}, {}, never, never, false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayDateRangeInputComponent<any>, "array-date-range-input", never, {}, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { Time } from '@angular/common';
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { DateUtilities } from '../../../../classes/date.utilities';
|
|
3
|
-
import { ArrayTableComponent } from '../array-table.class';
|
|
4
|
-
import { Time } from '@angular/common';
|
|
5
|
-
import { DropdownValue } from '../../../../decorators/base/dropdown-value.interface';
|
|
6
4
|
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
7
5
|
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
6
|
+
import { DropdownValue } from '../../../../decorators/base/dropdown-value.interface';
|
|
7
|
+
import { ArrayTableComponent } from '../array-table.class';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ArrayDateTimeInputComponent<EntityType extends BaseEntityType<EntityType>> extends ArrayTableComponent<Date, EntityType, DecoratorTypes.ARRAY_DATE_TIME> implements OnInit {
|
|
10
10
|
DateUtilities: typeof DateUtilities;
|
|
@@ -18,5 +18,5 @@ export declare class ArrayDateTimeInputComponent<EntityType extends BaseEntityTy
|
|
|
18
18
|
*/
|
|
19
19
|
addDateTime(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayDateTimeInputComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayDateTimeInputComponent<any>, "array-date-time-input", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayDateTimeInputComponent<any>, "array-date-time-input", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -1,37 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
3
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
4
3
|
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
5
|
-
import {
|
|
6
|
-
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
4
|
+
import { ArrayStringChipsInputComponent } from '../array-string-chips-input/array-string-chips-input.component';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ArrayStringAutocompleteChipsComponent<EntityType extends BaseEntityType<EntityType>> extends
|
|
6
|
+
export declare class ArrayStringAutocompleteChipsComponent<EntityType extends BaseEntityType<EntityType>> extends ArrayStringChipsInputComponent<EntityType> implements OnInit {
|
|
9
7
|
filteredAutocompleteStrings: string[];
|
|
10
|
-
|
|
8
|
+
get autocompleteValues(): string[];
|
|
11
9
|
ngOnInit(): void;
|
|
12
|
-
/**
|
|
13
|
-
* Handles adding strings to the chipsArray.
|
|
14
|
-
* Checks validation and also creates a new array if it is undefined.
|
|
15
|
-
* This is needed because two things are validated: The array itself
|
|
16
|
-
* and the contents of the array. And we need a way to display an
|
|
17
|
-
* mat-error. As the only validation for the array is whether or not
|
|
18
|
-
* it contains values, we can set it to undefined when the last element is removed
|
|
19
|
-
* (removeStringChipArrayValue). That way we can use the "required" validator.
|
|
20
|
-
*
|
|
21
|
-
* @param event - The event that fires when a new chip is completed.
|
|
22
|
-
*/
|
|
23
|
-
addStringChipArrayValue(event: MatChipInputEvent): void;
|
|
24
|
-
/**
|
|
25
|
-
* Removes the given value from the array.
|
|
26
|
-
* Sets the array to undefined if it is now empty.
|
|
27
|
-
* This is needed because two things are validated: The array itself
|
|
28
|
-
* and the contents of the array. And we need a way to display an
|
|
29
|
-
* mat-error. As the only validation for the array is whether or not
|
|
30
|
-
* it is empty, setting it to undefined here enables us to use the "required" validator.
|
|
31
|
-
*
|
|
32
|
-
* @param value - The string to remove from the array.
|
|
33
|
-
*/
|
|
34
|
-
removeStringChipArrayValue(value: string): void;
|
|
35
10
|
/**
|
|
36
11
|
* Handles adding a string to the array when an autocomplete value has been selected.
|
|
37
12
|
*
|
|
@@ -45,7 +20,6 @@ export declare class ArrayStringAutocompleteChipsComponent<EntityType extends Ba
|
|
|
45
20
|
* @param input - The input of the user.
|
|
46
21
|
*/
|
|
47
22
|
filterAutocompleteStrings(input: unknown): void;
|
|
48
|
-
private validateAndSetPropertyValue;
|
|
49
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayStringAutocompleteChipsComponent<any>, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayStringAutocompleteChipsComponent<any>, "array-string-autocomplete-chips", never, {}, {}, never, never, false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayStringAutocompleteChipsComponent<any>, "array-string-autocomplete-chips", never, {}, {}, never, never, false, never>;
|
|
51
25
|
}
|
package/components/input/array/array-string-chips-input/array-string-chips-input.component.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
3
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
2
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
3
|
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
4
|
+
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
6
5
|
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class ArrayStringChipsInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.ARRAY_STRING_CHIPS, string[]> implements OnInit {
|
|
@@ -30,14 +29,7 @@ export declare class ArrayStringChipsInputComponent<EntityType extends BaseEntit
|
|
|
30
29
|
* @param value - The string to remove from the array.
|
|
31
30
|
*/
|
|
32
31
|
removeStringChipArrayValue(value: string): void;
|
|
33
|
-
|
|
34
|
-
* Handles adding a string to the array when an autocomplete value has been selected.
|
|
35
|
-
*
|
|
36
|
-
* @param event - The autocomplete selected event.
|
|
37
|
-
* @param chipsInput - The element where the user typed the value.
|
|
38
|
-
*/
|
|
39
|
-
selected(event: MatAutocompleteSelectedEvent, chipsInput: HTMLInputElement): void;
|
|
40
|
-
private validateAndSetPropertyValue;
|
|
32
|
+
protected validateAndSetPropertyValue(value: string): void;
|
|
41
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayStringChipsInputComponent<any>, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayStringChipsInputComponent<any>, "array-string-chips-input", never, {}, {}, never, never, false>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayStringChipsInputComponent<any>, "array-string-chips-input", never, {}, {}, never, never, false, never>;
|
|
43
35
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
2
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
4
|
import { MatTableDataSource } from '@angular/material/table';
|
|
4
5
|
import { BaseEntityType } from '../../../classes/entity.model';
|
|
5
|
-
import { NgxMatEntityBaseInputComponent } from '../base-input.component';
|
|
6
|
-
import { DecoratorTypes } from '../../../decorators/base/decorator-types.enum';
|
|
7
|
-
import { OnInit } from '@angular/core';
|
|
8
6
|
import { SelectionUtilities } from '../../../classes/selection.utilities';
|
|
7
|
+
import { DecoratorTypes } from '../../../decorators/base/decorator-types.enum';
|
|
8
|
+
import { NgxMatEntityBaseInputComponent } from '../base-input.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
declare type ArrayTableType = DecoratorTypes.ARRAY | DecoratorTypes.ARRAY_DATE | DecoratorTypes.ARRAY_DATE_RANGE | DecoratorTypes.ARRAY_DATE_TIME;
|
|
11
11
|
/**
|
|
@@ -33,6 +33,6 @@ export declare abstract class ArrayTableComponent<ValueType, EntityType extends
|
|
|
33
33
|
*/
|
|
34
34
|
remove(): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayTableComponent<any, any, any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayTableComponent<any, any, any>, "ngx-mat-entity-array-table", never, {}, {}, never, never, false>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayTableComponent<any, any, any>, "ngx-mat-entity-array-table", never, {}, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
38
38
|
export {};
|
|
@@ -53,5 +53,5 @@ export declare abstract class NgxMatEntityBaseInputComponent<EntityType extends
|
|
|
53
53
|
*/
|
|
54
54
|
emitChange(): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityBaseInputComponent<any, any, any, any>, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityBaseInputComponent<any, any, any, any>, "ngx-mat-entity-base-input", never, { "entity": "entity"; "key": "key"; "getValidationErrorMessage": "getValidationErrorMessage"; "isReadOnly": "isReadOnly"; }, { "inputChangeEvent": "inputChangeEvent"; }, never, never, false>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityBaseInputComponent<any, any, any, any>, "ngx-mat-entity-base-input", never, { "entity": "entity"; "key": "key"; "getValidationErrorMessage": "getValidationErrorMessage"; "isReadOnly": "isReadOnly"; }, { "inputChangeEvent": "inputChangeEvent"; }, never, never, false, never>;
|
|
57
57
|
}
|
package/components/input/boolean/boolean-checkbox-input/boolean-checkbox-input.component.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class BooleanCheckboxInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.BOOLEAN_CHECKBOX, boolean> implements OnInit {
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCheckboxInputComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCheckboxInputComponent<any>, "boolean-checkbox-input", never, {}, {}, never, never, false>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCheckboxInputComponent<any>, "boolean-checkbox-input", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
package/components/input/boolean/boolean-dropdown-input/boolean-dropdown-input.component.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class BooleanDropdownInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.BOOLEAN_DROPDOWN, boolean> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanDropdownInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanDropdownInputComponent<any>, "boolean-dropdown-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanDropdownInputComponent<any>, "boolean-dropdown-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -6,5 +6,5 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class BooleanToggleInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.BOOLEAN_TOGGLE, boolean> implements OnInit {
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanToggleInputComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanToggleInputComponent<any>, "boolean-toggle-input", never, {}, {}, never, never, false>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanToggleInputComponent<any>, "boolean-toggle-input", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -9,5 +9,5 @@ export declare class CustomInputComponent<EntityType extends BaseEntityType<Enti
|
|
|
9
9
|
constructor(viewContainerRef: ViewContainerRef);
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomInputComponent<any, any, any, any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomInputComponent<any, any, any, any>, "custom-input", never, {}, {}, never, never, false>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomInputComponent<any, any, any, any>, "custom-input", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
3
2
|
import { DateUtilities } from '../../../../classes/date.utilities';
|
|
4
3
|
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
4
|
+
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
5
5
|
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DateInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.DATE, Date> implements OnInit {
|
|
8
8
|
DateUtilities: typeof DateUtilities;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent<any>, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent<any>, "date-input", never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent<any>, "date-input", never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DateFilterFn } from '@angular/material/datepicker';
|
|
3
|
+
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
2
4
|
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
3
5
|
import { DateRange } from '../../../../decorators/date/date-decorator.data';
|
|
4
|
-
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
5
6
|
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class DateRangeInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.DATE_RANGE, DateRange> implements OnInit {
|
|
8
9
|
dateRange: DateRange;
|
|
9
10
|
dateRangeStart?: Date;
|
|
10
11
|
dateRangeEnd?: Date;
|
|
11
|
-
defaultDateFilter:
|
|
12
|
+
defaultDateFilter: DateFilterFn<Date | null | undefined>;
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
/**
|
|
14
15
|
* Updates the date range values based on the start and end date.
|
|
15
16
|
*/
|
|
16
17
|
setDateRangeValues(): void;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeInputComponent<any>, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputComponent<any>, "date-range-input", never, {}, {}, never, never, false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputComponent<any>, "date-range-input", never, {}, {}, never, never, false, never>;
|
|
19
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { Time } from '@angular/common';
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
3
3
|
import { DateFilterFn } from '@angular/material/datepicker';
|
|
4
|
-
import { Time } from '@angular/common';
|
|
5
|
-
import { DropdownValue } from '../../../../decorators/base/dropdown-value.interface';
|
|
6
4
|
import { DateUtilities } from '../../../../classes/date.utilities';
|
|
7
5
|
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
6
|
+
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
7
|
+
import { DropdownValue } from '../../../../decorators/base/dropdown-value.interface';
|
|
8
8
|
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class DateTimeInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.DATE_TIME, Date> implements OnInit {
|
|
@@ -26,5 +26,5 @@ export declare class DateTimeInputComponent<EntityType extends BaseEntityType<En
|
|
|
26
26
|
*/
|
|
27
27
|
setTime(): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeInputComponent<any>, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeInputComponent<any>, "date-time-input", never, {}, {}, never, never, false>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeInputComponent<any>, "date-time-input", never, {}, {}, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
2
3
|
import { FileUtilities } from '../../../../classes/file.utilities';
|
|
3
4
|
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
4
5
|
import { FileData } from '../../../../decorators/file/file-decorator.data';
|
|
5
|
-
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
6
6
|
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FileDefaultInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.FILE_DEFAULT, FileData | FileData[]> implements OnInit {
|
|
9
9
|
FileUtilities: typeof FileUtilities;
|
|
10
10
|
refreshFileData(fileData?: FileData | FileData[]): Promise<void>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDefaultInputComponent<any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDefaultInputComponent<any>, "file-default-input", never, {}, {}, never, never, false>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileDefaultInputComponent<any>, "file-default-input", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
2
3
|
import { FileUtilities } from '../../../../classes/file.utilities';
|
|
3
4
|
import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
|
|
4
5
|
import { FileData } from '../../../../decorators/file/file-decorator.data';
|
|
5
|
-
import { BaseEntityType } from '../../../../classes/entity.model';
|
|
6
6
|
import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FileImageInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.FILE_IMAGE, FileData | FileData[]> implements OnInit {
|
|
@@ -18,5 +18,5 @@ export declare class FileImageInputComponent<EntityType extends BaseEntityType<E
|
|
|
18
18
|
next(): Promise<void>;
|
|
19
19
|
setIndex(index: number): Promise<void>;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileImageInputComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileImageInputComponent<any>, "file-image-input", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileImageInputComponent<any>, "file-image-input", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -28,5 +28,5 @@ export declare class DragDropDirective {
|
|
|
28
28
|
*/
|
|
29
29
|
onDrop(evt: DragEvent): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropDirective, "[dragDrop]", never, {}, { "files": "files"; }, never, never, false>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropDirective, "[dragDrop]", never, {}, { "files": "files"; }, never, never, false, never>;
|
|
32
32
|
}
|
|
@@ -29,5 +29,5 @@ export declare class FileInputComponent<EntityType extends BaseEntityType<Entity
|
|
|
29
29
|
downloadAllEnabled(): boolean;
|
|
30
30
|
downloadAll(): Promise<void>;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent<any>, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent<any>, "file-input", never, { "propertyValue": "propertyValue"; "metadata": "metadata"; "getValidationErrorMessage": "getValidationErrorMessage"; "isReadOnly": "isReadOnly"; }, { "fileDataChangeEvent": "fileDataChangeEvent"; }, never, never, false>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent<any>, "file-input", never, { "propertyValue": "propertyValue"; "metadata": "metadata"; "getValidationErrorMessage": "getValidationErrorMessage"; "isReadOnly": "isReadOnly"; }, { "fileDataChangeEvent": "fileDataChangeEvent"; }, never, never, false, never>;
|
|
33
33
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
1
2
|
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
3
|
import { NgModel } from '@angular/forms';
|
|
3
|
-
import { EntityTab, EntityUtilities } from '../../classes/entity.utilities';
|
|
4
|
-
import { DecoratorTypes } from '../../decorators/base/decorator-types.enum';
|
|
5
|
-
import { EntityArrayDecoratorConfigInternal } from '../../decorators/array/array-decorator-internal.data';
|
|
6
|
-
import { DefaultObjectDecoratorConfigInternal } from '../../decorators/object/object-decorator-internal.data';
|
|
7
|
-
import { PropertyDecoratorConfigInternal } from '../../decorators/base/property-decorator-internal.data';
|
|
8
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
9
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
10
|
-
import { AddArrayItemDialogDataInternal } from './add-array-item-dialog-data.builder';
|
|
11
|
-
import { AddArrayItemDialogData } from './add-array-item-dialog-data';
|
|
12
4
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
13
6
|
import { DateUtilities } from '../../classes/date.utilities';
|
|
14
7
|
import { BaseEntityType } from '../../classes/entity.model';
|
|
8
|
+
import { EntityTab, EntityUtilities } from '../../classes/entity.utilities';
|
|
15
9
|
import { SelectionUtilities } from '../../classes/selection.utilities';
|
|
10
|
+
import { EntityArrayDecoratorConfigInternal } from '../../decorators/array/array-decorator-internal.data';
|
|
11
|
+
import { DecoratorTypes } from '../../decorators/base/decorator-types.enum';
|
|
12
|
+
import { PropertyDecoratorConfigInternal } from '../../decorators/base/property-decorator-internal.data';
|
|
13
|
+
import { DefaultObjectDecoratorConfigInternal } from '../../decorators/object/object-decorator-internal.data';
|
|
14
|
+
import { AddArrayItemDialogData } from './add-array-item-dialog-data';
|
|
15
|
+
import { AddArrayItemDialogDataInternal } from './add-array-item-dialog-data.builder';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
/**
|
|
18
18
|
* The default input component. It gets the metadata of the property from the given @Input "entity" and @Input "propertyKey"
|
|
@@ -130,5 +130,5 @@ export declare class NgxMatEntityInputComponent<EntityType extends BaseEntityTyp
|
|
|
130
130
|
*/
|
|
131
131
|
remove(): void;
|
|
132
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityInputComponent<any>, never>;
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityInputComponent<any>, "ngx-mat-entity-input", never, { "entity": "entity"; "propertyKey": "propertyKey"; "getValidationErrorMessage": "getValidationErrorMessage"; "hideOmitForCreate": "hideOmitForCreate"; "hideOmitForEdit": "hideOmitForEdit"; "isReadOnly": "isReadOnly"; }, { "inputChangeEvent": "inputChangeEvent"; }, never, never, false>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityInputComponent<any>, "ngx-mat-entity-input", never, { "entity": "entity"; "propertyKey": "propertyKey"; "getValidationErrorMessage": "getValidationErrorMessage"; "hideOmitForCreate": "hideOmitForCreate"; "hideOmitForEdit": "hideOmitForEdit"; "isReadOnly": "isReadOnly"; }, { "inputChangeEvent": "inputChangeEvent"; }, never, never, false, never>;
|
|
134
134
|
}
|
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NumberDropdownInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.NUMBER_DROPDOWN, number> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberDropdownInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberDropdownInputComponent<any>, "number-dropdown-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberDropdownInputComponent<any>, "number-dropdown-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NumberInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.NUMBER, number> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent<any>, "number-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent<any>, "number-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NumberSliderInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.NUMBER_SLIDER, number> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberSliderInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberSliderInputComponent<any>, "number-slider-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberSliderInputComponent<any>, "number-slider-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
package/components/input/relations/references-many-input/references-many-input.component.d.ts
CHANGED
|
@@ -23,5 +23,5 @@ export declare class ReferencesManyInputComponent<EntityType extends BaseEntityT
|
|
|
23
23
|
addAll(): void;
|
|
24
24
|
remove(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferencesManyInputComponent<any>, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferencesManyInputComponent<any>, "references-many-input", never, {}, {}, never, never, false>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferencesManyInputComponent<any>, "references-many-input", never, {}, {}, never, never, false, never>;
|
|
27
27
|
}
|
package/components/input/string/string-autocomplete-input/string-autocomplete-input.component.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export declare class StringAutocompleteInputComponent<EntityType extends BaseEnt
|
|
|
14
14
|
*/
|
|
15
15
|
filterAutocompleteStrings(input?: string): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringAutocompleteInputComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringAutocompleteInputComponent<any>, "string-autocomplete-input", never, {}, {}, never, never, false>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringAutocompleteInputComponent<any>, "string-autocomplete-input", never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class StringDropdownInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.STRING_DROPDOWN, string> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringDropdownInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringDropdownInputComponent<any>, "string-dropdown-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringDropdownInputComponent<any>, "string-dropdown-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class StringInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.STRING, string> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringInputComponent<any>, "string-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringInputComponent<any>, "string-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -11,5 +11,5 @@ export declare class StringPasswordInputComponent<EntityType extends BaseEntityT
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
passwordInput(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringPasswordInputComponent<any>, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringPasswordInputComponent<any>, "string-password-input", never, {}, {}, never, never, false>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringPasswordInputComponent<any>, "string-password-input", never, {}, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -5,5 +5,5 @@ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class StringTextboxInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.STRING_TEXTBOX, string> implements OnInit {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringTextboxInputComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringTextboxInputComponent<any>, "string-textbox-input", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringTextboxInputComponent<any>, "string-textbox-input", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -39,5 +39,5 @@ export declare class NgxMatEntityCreateDialogComponent<EntityType extends BaseEn
|
|
|
39
39
|
*/
|
|
40
40
|
cancel(): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityCreateDialogComponent<any>, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityCreateDialogComponent<any>, "ngx-mat-entity-create-dialog", never, {}, {}, never, never, false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityCreateDialogComponent<any>, "ngx-mat-entity-create-dialog", never, {}, {}, never, never, false, never>;
|
|
43
43
|
}
|
|
@@ -48,5 +48,5 @@ export declare class NgxMatEntityEditDialogComponent<EntityType extends BaseEnti
|
|
|
48
48
|
*/
|
|
49
49
|
cancel(): void;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityEditDialogComponent<any>, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityEditDialogComponent<any>, "ngx-mat-entity-edit-dialog", never, {}, {}, never, never, false>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityEditDialogComponent<any>, "ngx-mat-entity-edit-dialog", never, {}, {}, never, never, false, never>;
|
|
52
52
|
}
|
|
@@ -75,5 +75,5 @@ export declare class NgxMatEntityTableComponent<EntityType extends BaseEntityTyp
|
|
|
75
75
|
*/
|
|
76
76
|
applyFilter(event: Event): void;
|
|
77
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityTableComponent<any>, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityTableComponent<any>, "ngx-mat-entity-table", never, { "tableData": "tableData"; }, {}, never, never, false>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityTableComponent<any>, "ngx-mat-entity-table", never, { "tableData": "tableData"; }, {}, never, never, false, never>;
|
|
79
79
|
}
|
|
@@ -70,7 +70,6 @@ export declare class DefaultFileDecoratorConfigInternal extends PropertyDecorato
|
|
|
70
70
|
maxSizeErrorDialog: ConfirmDialogData;
|
|
71
71
|
maxSizeTotalErrorDialog: ConfirmDialogData;
|
|
72
72
|
dragAndDrop: boolean;
|
|
73
|
-
downloadAllButtonLabel: string;
|
|
74
73
|
constructor(data: DefaultFileDecoratorConfig);
|
|
75
74
|
}
|
|
76
75
|
/**
|
|
@@ -89,6 +88,5 @@ export declare class ImageFileDecoratorConfigInternal extends PropertyDecoratorC
|
|
|
89
88
|
maxSizeErrorDialog: ConfirmDialogData;
|
|
90
89
|
maxSizeTotalErrorDialog: ConfirmDialogData;
|
|
91
90
|
dragAndDrop: boolean;
|
|
92
|
-
downloadAllButtonLabel: string;
|
|
93
91
|
constructor(data: ImageFileDecoratorConfig);
|
|
94
92
|
}
|
|
@@ -66,13 +66,6 @@ declare abstract class FileDecoratorConfig extends PropertyDecoratorConfig {
|
|
|
66
66
|
* false // when multiple is set to false.
|
|
67
67
|
*/
|
|
68
68
|
dragAndDrop?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* The label of the button to download all files.
|
|
71
|
-
* Is only shown when the property contains multiple files.
|
|
72
|
-
*
|
|
73
|
-
* @default 'Download All'
|
|
74
|
-
*/
|
|
75
|
-
downloadAllButtonLabel?: string;
|
|
76
69
|
}
|
|
77
70
|
/**
|
|
78
71
|
* Definition for a default file.
|
|
@@ -26,8 +26,8 @@ export declare class SliderNumberDecoratorConfigInternal extends PropertyDecorat
|
|
|
26
26
|
min?: number;
|
|
27
27
|
max?: number;
|
|
28
28
|
step?: number;
|
|
29
|
-
formatThumbLabelValue: (value: number) => string
|
|
30
|
-
|
|
29
|
+
formatThumbLabelValue: (value: number) => string;
|
|
30
|
+
showTickMarks?: boolean;
|
|
31
31
|
constructor(data: SliderNumberDecoratorConfig);
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
@@ -36,4 +36,4 @@ export declare class SliderNumberDecoratorConfigInternal extends PropertyDecorat
|
|
|
36
36
|
* @param value - The value of the slider.
|
|
37
37
|
* @returns Just the value without any formatting done.
|
|
38
38
|
*/
|
|
39
|
-
export declare function defaultFormatThumbLabelValue(value: number):
|
|
39
|
+
export declare function defaultFormatThumbLabelValue(value: number): string;
|
|
@@ -53,10 +53,10 @@ export interface SliderNumberDecoratorConfig extends NumberDecoratorConfig {
|
|
|
53
53
|
/**
|
|
54
54
|
* Function that transforms the value to display inside the thumb label.
|
|
55
55
|
*/
|
|
56
|
-
formatThumbLabelValue?: (value: number) => string
|
|
56
|
+
formatThumbLabelValue?: (value: number) => string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Whether or not ticks should be displayed.
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
showTickMarks?: boolean;
|
|
61
61
|
}
|
|
62
62
|
export {};
|