ngx-material-entity 0.1.3 → 1.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.
Files changed (163) hide show
  1. package/README.md +914 -336
  2. package/capsulation/lodash.utilities.d.ts +62 -0
  3. package/capsulation/reflect.utilities.d.ts +56 -0
  4. package/classes/{base-builder.class.d.ts → base.builder.d.ts} +2 -1
  5. package/classes/date.utilities.d.ts +70 -0
  6. package/classes/entity.model.d.ts +20 -0
  7. package/classes/entity.service.d.ts +108 -0
  8. package/classes/{entity-utilities.class.d.ts → entity.utilities.d.ts} +52 -16
  9. package/classes/file.utilities.d.ts +52 -0
  10. package/components/confirm-dialog/confirm-dialog-data.builder.d.ts +1 -1
  11. package/components/input/add-array-item-dialog-data.builder.d.ts +4 -4
  12. package/components/input/add-array-item-dialog-data.d.ts +2 -2
  13. package/components/input/array/array-date-input/array-date-input.component.d.ts +11 -0
  14. package/components/input/array/array-date-range-input/array-date-range-input.component.d.ts +20 -0
  15. package/components/input/array/array-date-time-input/array-date-time-input.component.d.ts +22 -0
  16. package/components/input/array/array-string-autocomplete-chips/array-string-autocomplete-chips.component.d.ts +51 -0
  17. package/components/input/array/array-string-chips-input/array-string-chips-input.component.d.ts +44 -0
  18. package/components/input/array/array-table.class.d.ts +49 -0
  19. package/components/input/base-input.component.d.ts +31 -0
  20. package/components/input/boolean/boolean-checkbox-input/boolean-checkbox-input.component.d.ts +10 -0
  21. package/components/input/boolean/boolean-dropdown-input/boolean-dropdown-input.component.d.ts +9 -0
  22. package/components/input/boolean/boolean-toggle-input/boolean-toggle-input.component.d.ts +10 -0
  23. package/components/input/custom/custom.component.d.ts +13 -0
  24. package/components/input/date/date-input/date-input.component.d.ts +13 -0
  25. package/components/input/date/date-range-input/date-range-input.component.d.ts +20 -0
  26. package/components/input/date/date-time-input/date-time-input.component.d.ts +31 -0
  27. package/components/input/file/file-default-input/file-default-input.component.d.ts +13 -0
  28. package/components/input/file/file-image-input/file-image-input.component.d.ts +22 -0
  29. package/components/input/file/file-input/dragDrop.directive.d.ts +32 -0
  30. package/components/input/file/file-input/file-input.component.d.ts +32 -0
  31. package/components/input/input.component.d.ts +49 -73
  32. package/components/input/input.module.d.ts +38 -15
  33. package/components/input/number/number-dropdown-input/number-dropdown-input.component.d.ts +9 -0
  34. package/components/input/number/number-input/number-input.component.d.ts +9 -0
  35. package/components/input/string/string-autocomplete-input/string-autocomplete-input.component.d.ts +18 -0
  36. package/components/input/string/string-dropdown-input/string-dropdown-input.component.d.ts +9 -0
  37. package/components/input/string/string-input/string-input.component.d.ts +9 -0
  38. package/components/input/string/string-textbox-input/string-textbox-input.component.d.ts +9 -0
  39. package/components/table/create-dialog/create-dialog-data.builder.d.ts +1 -1
  40. package/components/table/create-dialog/create-entity-dialog-data.builder.d.ts +5 -5
  41. package/components/table/create-dialog/create-entity-dialog-data.d.ts +3 -3
  42. package/components/table/create-dialog/create-entity-dialog.component.d.ts +9 -5
  43. package/components/table/edit-dialog/edit-dialog-data.builder.d.ts +4 -4
  44. package/components/table/edit-dialog/edit-entity-dialog-data.d.ts +3 -3
  45. package/components/table/edit-dialog/edit-entity-dialog.builder.d.ts +5 -5
  46. package/components/table/edit-dialog/edit-entity-dialog.component.d.ts +7 -5
  47. package/components/table/table-data.builder.d.ts +9 -9
  48. package/components/table/table-data.d.ts +8 -8
  49. package/components/table/table.component.d.ts +2 -2
  50. package/decorators/array/array-decorator-internal.data.d.ts +72 -7
  51. package/decorators/array/array-decorator.data.d.ts +179 -13
  52. package/decorators/array/array.decorator.d.ts +3 -3
  53. package/decorators/base/base-property.decorator.d.ts +2 -3
  54. package/decorators/base/decorator-types.enum.d.ts +15 -4
  55. package/decorators/base/dropdown-value.interface.d.ts +14 -0
  56. package/decorators/custom/custom-decorator-internal.data.d.ts +17 -0
  57. package/decorators/custom/custom-decorator.data.d.ts +33 -0
  58. package/decorators/custom/custom.decorator.d.ts +11 -0
  59. package/decorators/date/date-decorator-internal.data.d.ts +44 -0
  60. package/decorators/date/date-decorator.data.d.ts +129 -0
  61. package/decorators/date/date.decorator.d.ts +8 -0
  62. package/decorators/file/file-decorator-internal.data.d.ts +92 -0
  63. package/decorators/file/file-decorator.data.d.ts +92 -0
  64. package/decorators/file/file.decorator.d.ts +9 -0
  65. package/decorators/number/number-decorator-internal.data.d.ts +2 -4
  66. package/decorators/number/number-decorator.data.d.ts +2 -4
  67. package/decorators/number/number.decorator.d.ts +2 -2
  68. package/decorators/object/object-decorator-internal.data.d.ts +3 -3
  69. package/decorators/object/object-decorator.data.d.ts +5 -5
  70. package/decorators/object/object.decorator.d.ts +2 -2
  71. package/decorators/string/string-decorator-internal.data.d.ts +2 -4
  72. package/decorators/string/string-decorator.data.d.ts +2 -4
  73. package/esm2020/capsulation/lodash.utilities.mjs +75 -0
  74. package/esm2020/capsulation/reflect.utilities.mjs +69 -0
  75. package/esm2020/classes/base.builder.mjs +42 -0
  76. package/esm2020/classes/date.utilities.mjs +158 -0
  77. package/esm2020/classes/entity.model.mjs +23 -0
  78. package/esm2020/classes/entity.service.mjs +180 -0
  79. package/esm2020/classes/entity.utilities.mjs +686 -0
  80. package/esm2020/classes/file.utilities.mjs +123 -0
  81. package/esm2020/components/confirm-dialog/confirm-dialog-data.builder.mjs +5 -5
  82. package/esm2020/components/confirm-dialog/confirm-dialog.component.mjs +3 -3
  83. package/esm2020/components/input/add-array-item-dialog-data.builder.mjs +4 -4
  84. package/esm2020/components/input/add-array-item-dialog-data.mjs +1 -1
  85. package/esm2020/components/input/array/array-date-input/array-date-input.component.mjs +26 -0
  86. package/esm2020/components/input/array/array-date-range-input/array-date-range-input.component.mjs +50 -0
  87. package/esm2020/components/input/array/array-date-time-input/array-date-time-input.component.mjs +50 -0
  88. package/esm2020/components/input/array/array-string-autocomplete-chips/array-string-autocomplete-chips.component.mjs +119 -0
  89. package/esm2020/components/input/array/array-string-chips-input/array-string-chips-input.component.mjs +104 -0
  90. package/esm2020/components/input/array/array-table.class.mjs +107 -0
  91. package/esm2020/components/input/base-input.component.mjs +39 -0
  92. package/esm2020/components/input/boolean/boolean-checkbox-input/boolean-checkbox-input.component.mjs +23 -0
  93. package/esm2020/components/input/boolean/boolean-dropdown-input/boolean-dropdown-input.component.mjs +17 -0
  94. package/esm2020/components/input/boolean/boolean-toggle-input/boolean-toggle-input.component.mjs +23 -0
  95. package/esm2020/components/input/custom/custom.component.mjs +25 -0
  96. package/esm2020/components/input/date/date-input/date-input.component.mjs +23 -0
  97. package/esm2020/components/input/date/date-range-input/date-range-input.component.mjs +51 -0
  98. package/esm2020/components/input/date/date-time-input/date-time-input.component.mjs +63 -0
  99. package/esm2020/components/input/file/file-default-input/file-default-input.component.mjs +24 -0
  100. package/esm2020/components/input/file/file-image-input/file-image-input.component.mjs +79 -0
  101. package/esm2020/components/input/file/file-input/dragDrop.directive.mjs +64 -0
  102. package/esm2020/components/input/file/file-input/file-input.component.mjs +152 -0
  103. package/esm2020/components/input/input.component.mjs +143 -179
  104. package/esm2020/components/input/input.module.mjs +76 -6
  105. package/esm2020/components/input/number/number-dropdown-input/number-dropdown-input.component.mjs +18 -0
  106. package/esm2020/components/input/number/number-input/number-input.component.mjs +16 -0
  107. package/esm2020/components/input/string/string-autocomplete-input/string-autocomplete-input.component.mjs +37 -0
  108. package/esm2020/components/input/string/string-dropdown-input/string-dropdown-input.component.mjs +18 -0
  109. package/esm2020/components/input/string/string-input/string-input.component.mjs +16 -0
  110. package/esm2020/components/input/string/string-textbox-input/string-textbox-input.component.mjs +17 -0
  111. package/esm2020/components/table/create-dialog/create-dialog-data.builder.mjs +3 -3
  112. package/esm2020/components/table/create-dialog/create-entity-dialog-data.builder.mjs +2 -2
  113. package/esm2020/components/table/create-dialog/create-entity-dialog-data.mjs +1 -1
  114. package/esm2020/components/table/create-dialog/create-entity-dialog.component.mjs +16 -9
  115. package/esm2020/components/table/edit-dialog/edit-dialog-data.builder.mjs +3 -3
  116. package/esm2020/components/table/edit-dialog/edit-entity-dialog-data.mjs +1 -1
  117. package/esm2020/components/table/edit-dialog/edit-entity-dialog.builder.mjs +3 -3
  118. package/esm2020/components/table/edit-dialog/edit-entity-dialog.component.mjs +19 -11
  119. package/esm2020/components/table/table-data.builder.mjs +4 -4
  120. package/esm2020/components/table/table-data.mjs +1 -1
  121. package/esm2020/components/table/table.component.mjs +21 -23
  122. package/esm2020/decorators/array/array-decorator-internal.data.mjs +102 -14
  123. package/esm2020/decorators/array/array-decorator.data.mjs +2 -2
  124. package/esm2020/decorators/array/array.decorator.mjs +8 -2
  125. package/esm2020/decorators/base/base-property.decorator.mjs +4 -3
  126. package/esm2020/decorators/base/decorator-types.enum.mjs +10 -1
  127. package/esm2020/decorators/base/dropdown-value.interface.mjs +2 -0
  128. package/esm2020/decorators/base/property-decorator-internal.data.mjs +10 -10
  129. package/esm2020/decorators/base/property-decorator.data.mjs +1 -1
  130. package/esm2020/decorators/boolean/boolean-decorator-internal.data.mjs +3 -3
  131. package/esm2020/decorators/custom/custom-decorator-internal.data.mjs +26 -0
  132. package/esm2020/decorators/custom/custom-decorator.data.mjs +2 -0
  133. package/esm2020/decorators/custom/custom.decorator.mjs +13 -0
  134. package/esm2020/decorators/date/date-decorator-internal.data.mjs +48 -0
  135. package/esm2020/decorators/date/date-decorator.data.mjs +7 -0
  136. package/esm2020/decorators/date/date.decorator.mjs +21 -0
  137. package/esm2020/decorators/file/file-decorator-internal.data.mjs +98 -0
  138. package/esm2020/decorators/file/file-decorator.data.mjs +7 -0
  139. package/esm2020/decorators/file/file.decorator.mjs +22 -0
  140. package/esm2020/decorators/number/number-decorator-internal.data.mjs +1 -1
  141. package/esm2020/decorators/number/number-decorator.data.mjs +1 -1
  142. package/esm2020/decorators/number/number.decorator.mjs +3 -3
  143. package/esm2020/decorators/object/object-decorator-internal.data.mjs +2 -2
  144. package/esm2020/decorators/object/object-decorator.data.mjs +1 -1
  145. package/esm2020/decorators/object/object.decorator.mjs +1 -1
  146. package/esm2020/decorators/string/string-decorator-internal.data.mjs +1 -1
  147. package/esm2020/decorators/string/string-decorator.data.mjs +1 -1
  148. package/esm2020/decorators/string/string.decorator.mjs +1 -1
  149. package/esm2020/mocks/placeholder-data.png.mjs +3 -0
  150. package/esm2020/public-api.mjs +15 -5
  151. package/fesm2015/ngx-material-entity.mjs +2649 -422
  152. package/fesm2015/ngx-material-entity.mjs.map +1 -1
  153. package/fesm2020/ngx-material-entity.mjs +2537 -397
  154. package/fesm2020/ngx-material-entity.mjs.map +1 -1
  155. package/mocks/placeholder-data.png.d.ts +1 -0
  156. package/package.json +7 -1
  157. package/public-api.d.ts +15 -4
  158. package/classes/entity-model.class.d.ts +0 -9
  159. package/classes/entity-service.class.d.ts +0 -66
  160. package/esm2020/classes/base-builder.class.mjs +0 -43
  161. package/esm2020/classes/entity-model.class.mjs +0 -19
  162. package/esm2020/classes/entity-service.class.mjs +0 -76
  163. package/esm2020/classes/entity-utilities.class.mjs +0 -377
@@ -0,0 +1,51 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
3
+ import { MatChipInputEvent } from '@angular/material/chips';
4
+ import { BaseEntityType } from '../../../../classes/entity.model';
5
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
6
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ArrayStringAutocompleteChipsComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.ARRAY_STRING_AUTOCOMPLETE_CHIPS> implements OnInit {
9
+ stringChipsArrayValues?: string[];
10
+ filteredAutocompleteStrings: string[];
11
+ chipsInput: string;
12
+ ngOnInit(): void;
13
+ /**
14
+ * Handles adding strings to the chipsArray.
15
+ * Checks validation and also creates a new array if it is undefined.
16
+ * This is needed because two things are validated: The array itself
17
+ * and the contents of the array. And we need a way to display an
18
+ * mat-error. As the only validation for the array is whether or not
19
+ * it contains values, we can set it to undefined when the last element is removed
20
+ * (removeStringChipArrayValue). That way we can use the "required" validator.
21
+ *
22
+ * @param event - The event that fires when a new chip is completed.
23
+ */
24
+ addStringChipArrayValue(event: MatChipInputEvent): void;
25
+ /**
26
+ * Removes the given value from the array.
27
+ * Sets the array to undefined if it is now empty.
28
+ * This is needed because two things are validated: The array itself
29
+ * and the contents of the array. And we need a way to display an
30
+ * mat-error. As the only validation for the array is whether or not
31
+ * it is empty, setting it to undefined here enables us to use the "required" validator.
32
+ *
33
+ * @param value - The string to remove from the array.
34
+ */
35
+ removeStringChipArrayValue(value: string): void;
36
+ /**
37
+ * Handles adding a string to the array when an autocomplete value has been selected.
38
+ *
39
+ * @param event - The autocomplete selected event.
40
+ * @param chipsInput - The element where the user typed the value.
41
+ */
42
+ selected(event: MatAutocompleteSelectedEvent, chipsInput: HTMLInputElement): void;
43
+ /**
44
+ * Dynamically filters the Autocomplete options when the user inputs something.
45
+ *
46
+ * @param input - The input of the user.
47
+ */
48
+ filterAutocompleteStrings(input: unknown): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArrayStringAutocompleteChipsComponent<any>, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArrayStringAutocompleteChipsComponent<any>, "array-string-autocomplete-chips", never, {}, {}, never, never>;
51
+ }
@@ -0,0 +1,44 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
+ import { MatChipInputEvent } from '@angular/material/chips';
5
+ import { BaseEntityType } from '../../../../classes/entity.model';
6
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ArrayStringChipsInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.ARRAY_STRING_CHIPS> implements OnInit {
9
+ stringChipsArrayValues?: string[];
10
+ chipsInput: string;
11
+ 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
+ /**
36
+ * Handles adding a string to the array when an autocomplete value has been selected.
37
+ *
38
+ * @param event - The autocomplete selected event.
39
+ * @param chipsInput - The element where the user typed the value.
40
+ */
41
+ selected(event: MatAutocompleteSelectedEvent, chipsInput: HTMLInputElement): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArrayStringChipsInputComponent<any>, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArrayStringChipsInputComponent<any>, "array-string-chips-input", never, {}, {}, never, never>;
44
+ }
@@ -0,0 +1,49 @@
1
+ import { SelectionModel } from '@angular/cdk/collections';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { MatTableDataSource } from '@angular/material/table';
4
+ 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
+ import * as i0 from "@angular/core";
9
+ declare type ArrayTableType = DecoratorTypes.ARRAY | DecoratorTypes.ARRAY_DATE | DecoratorTypes.ARRAY_DATE_RANGE | DecoratorTypes.ARRAY_DATE_TIME;
10
+ /**
11
+ * The base data needed for all arrays that are displayed as a table.
12
+ */
13
+ export declare abstract class ArrayTableComponent<T, EntityType extends BaseEntityType<EntityType>, ArrayType extends ArrayTableType> extends NgxMatEntityBaseInputComponent<EntityType, ArrayType> implements OnInit {
14
+ private readonly matDialog;
15
+ arrayValues: T[];
16
+ input?: T;
17
+ dataSource: MatTableDataSource<T>;
18
+ selection: SelectionModel<T>;
19
+ displayedColumns: string[];
20
+ constructor(matDialog: MatDialog);
21
+ ngOnInit(): void;
22
+ /**
23
+ * Toggles all array-items in the table.
24
+ *
25
+ */
26
+ masterToggle(): void;
27
+ /**
28
+ * Checks if all array-items in the table have been selected.
29
+ * This is needed to display the "masterToggle"-checkbox correctly.
30
+ *
31
+ * @returns Whether or not all array-items in the table have been selected.
32
+ */
33
+ isAllSelected(): boolean;
34
+ /**
35
+ * Tries to add an item to the array.
36
+ */
37
+ add(): void;
38
+ /**
39
+ * Is split up from the add method to override this functionality more easily.
40
+ */
41
+ protected resetInput(): void;
42
+ /**
43
+ * Removes all selected entries from the entity array.
44
+ */
45
+ remove(): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArrayTableComponent<any, any, any>, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArrayTableComponent<any, any, any>, "ngx-mat-entity-array-table", never, {}, {}, never, never>;
48
+ }
49
+ export {};
@@ -0,0 +1,31 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { NgModel } from '@angular/forms';
3
+ import { BaseEntityType } from '../../classes/entity.model';
4
+ import { DecoratorType, DecoratorTypes } from '../../decorators/base/decorator-types.enum';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * The abstract base class of any ngx-mat-entity input.
8
+ */
9
+ export declare abstract class NgxMatEntityBaseInputComponent<EntityType extends BaseEntityType<EntityType>, Type extends DecoratorTypes, CustomMetadataType extends BaseEntityType<CustomMetadataType> = {}> implements OnInit {
10
+ /**
11
+ * The entity that the property to display as an input comes from.
12
+ */
13
+ entity: EntityType;
14
+ /**
15
+ * The key of the property to build the input for.
16
+ */
17
+ key: keyof EntityType;
18
+ /**
19
+ * The function that generates the error message when the input is invalid.
20
+ */
21
+ getValidationErrorMessage: (model: NgModel) => string;
22
+ inputChangeEvent: EventEmitter<void>;
23
+ metadata: DecoratorType<Type, CustomMetadataType>;
24
+ ngOnInit(): void;
25
+ /**
26
+ * Should emit when the input has changed. This is needed to trigger validation and dirty checks.
27
+ */
28
+ emitChange(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityBaseInputComponent<any, any, any>, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityBaseInputComponent<any, any, any>, "ngx-mat-entity-base-input", never, { "entity": "entity"; "key": "key"; "getValidationErrorMessage": "getValidationErrorMessage"; }, { "inputChangeEvent": "inputChangeEvent"; }, never, never>;
31
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { BaseEntityType } from '../../../../classes/entity.model';
4
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BooleanCheckboxInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.BOOLEAN_CHECKBOX> implements OnInit {
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCheckboxInputComponent<any>, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCheckboxInputComponent<any>, "boolean-checkbox-input", never, {}, {}, never, never>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { BaseEntityType } from '../../../../classes/entity.model';
4
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BooleanDropdownInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.BOOLEAN_DROPDOWN> implements OnInit {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BooleanDropdownInputComponent<any>, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanDropdownInputComponent<any>, "boolean-dropdown-input", never, {}, {}, never, never>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { BaseEntityType } from '../../../../classes/entity.model';
4
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BooleanToggleInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.BOOLEAN_TOGGLE> implements OnInit {
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BooleanToggleInputComponent<any>, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanToggleInputComponent<any>, "boolean-toggle-input", never, {}, {}, never, never>;
10
+ }
@@ -0,0 +1,13 @@
1
+ import { ComponentRef, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { BaseEntityType } from '../../../classes/entity.model';
3
+ import { DecoratorTypes } from '../../../decorators/base/decorator-types.enum';
4
+ import { NgxMatEntityBaseInputComponent } from '../base-input.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CustomInputComponent<EntityType extends BaseEntityType<EntityType>, MetadataType extends BaseEntityType<MetadataType>, ComponentType extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.CUSTOM, MetadataType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.CUSTOM> implements OnInit {
7
+ private readonly viewContainerRef;
8
+ component: ComponentRef<ComponentType>;
9
+ constructor(viewContainerRef: ViewContainerRef);
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomInputComponent<any, any, any>, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomInputComponent<any, any, any>, "custom-input", never, {}, {}, never, never>;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { DateUtilities } from '../../../../classes/date.utilities';
4
+ import { DateFilterFn } from '@angular/material/datepicker';
5
+ import { BaseEntityType } from '../../../../classes/entity.model';
6
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class DateInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.DATE> implements OnInit {
9
+ DateUtilities: typeof DateUtilities;
10
+ defaultDateFilter: DateFilterFn<Date | null | undefined>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent<any>, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent<any>, "date-input", never, {}, {}, never, never>;
13
+ }
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { DateFilterFn } from '@angular/material/datepicker';
4
+ import { DateRange } from '../../../../decorators/date/date-decorator.data';
5
+ import { BaseEntityType } from '../../../../classes/entity.model';
6
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class DateRangeInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.DATE_RANGE> implements OnInit {
9
+ dateRange: DateRange;
10
+ dateRangeStart?: Date;
11
+ dateRangeEnd?: Date;
12
+ defaultDateFilter: DateFilterFn<Date | null | undefined>;
13
+ ngOnInit(): void;
14
+ /**
15
+ * Updates the date range values based on the start and end date.
16
+ */
17
+ setDateRangeValues(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeInputComponent<any>, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputComponent<any>, "date-range-input", never, {}, {}, never, never>;
20
+ }
@@ -0,0 +1,31 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
3
+ import { DateFilterFn } from '@angular/material/datepicker';
4
+ import { Time } from '@angular/common';
5
+ import { DropdownValue } from '../../../../decorators/base/dropdown-value.interface';
6
+ import { DateUtilities } from '../../../../classes/date.utilities';
7
+ import { BaseEntityType } from '../../../../classes/entity.model';
8
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
9
+ import * as i0 from "@angular/core";
10
+ export declare class DateTimeInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.DATE_TIME> implements OnInit {
11
+ DateUtilities: typeof DateUtilities;
12
+ dateTime?: Date;
13
+ time?: Time;
14
+ timeDropdownValues: DropdownValue<Time>[];
15
+ defaultDateFilter: DateFilterFn<Date | null | undefined>;
16
+ ngOnInit(): void;
17
+ /**
18
+ * Checks if two times are equal. Is needed for the dropdown.
19
+ *
20
+ * @param time1 - The first time to compare.
21
+ * @param time2 - The second time to compare.
22
+ * @returns Whether or not the time objects are the same.
23
+ */
24
+ compareTimes(time1: Time, time2: Time): boolean;
25
+ /**
26
+ * Sets the time on a datetime property.
27
+ */
28
+ setTime(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeInputComponent<any>, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeInputComponent<any>, "date-time-input", never, {}, {}, never, never>;
31
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FileUtilities } from '../../../../classes/file.utilities';
3
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
4
+ import { FileData } from '../../../../decorators/file/file-decorator.data';
5
+ import { BaseEntityType } from '../../../../classes/entity.model';
6
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FileDefaultInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.FILE_DEFAULT> implements OnInit {
9
+ FileUtilities: typeof FileUtilities;
10
+ refreshFileData(fileData?: FileData | FileData[]): Promise<void>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileDefaultInputComponent<any>, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileDefaultInputComponent<any>, "file-default-input", never, {}, {}, never, never>;
13
+ }
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FileUtilities } from '../../../../classes/file.utilities';
3
+ import { DecoratorTypes } from '../../../../decorators/base/decorator-types.enum';
4
+ import { FileData } from '../../../../decorators/file/file-decorator.data';
5
+ import { BaseEntityType } from '../../../../classes/entity.model';
6
+ import { NgxMatEntityBaseInputComponent } from '../../base-input.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FileImageInputComponent<EntityType extends BaseEntityType<EntityType>> extends NgxMatEntityBaseInputComponent<EntityType, DecoratorTypes.FILE_IMAGE> implements OnInit {
9
+ FileUtilities: typeof FileUtilities;
10
+ singlePreviewImage?: string;
11
+ multiPreviewImages?: string[];
12
+ imageIndex: number;
13
+ placeHolder: string;
14
+ private setSinglePreviewImage;
15
+ private setMultiPreviewImages;
16
+ refreshFileData(fileData?: FileData | FileData[]): Promise<void>;
17
+ prev(): Promise<void>;
18
+ next(): Promise<void>;
19
+ setIndex(index: number): Promise<void>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileImageInputComponent<any>, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileImageInputComponent<any>, "file-image-input", never, {}, {}, never, never>;
22
+ }
@@ -0,0 +1,32 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Adds drag and drop functionality to an element.
5
+ */
6
+ export declare class DragDropDirective {
7
+ /**
8
+ * Emits the dropped files to the parent.
9
+ */
10
+ files: EventEmitter<File[]>;
11
+ constructor();
12
+ /**
13
+ * Prevents the event default.
14
+ *
15
+ * @param evt - The Event when dragged files hover over the parent.
16
+ */
17
+ onDragOver(evt: DragEvent): void;
18
+ /**
19
+ * Prevents the event default.
20
+ *
21
+ * @param evt - The Event when dragged files leave the parent.
22
+ */
23
+ onDragLeave(evt: DragEvent): void;
24
+ /**
25
+ * Prevents the event default and emits the dropped files with the output.
26
+ *
27
+ * @param evt - The Event when files are dropped.
28
+ */
29
+ onDrop(evt: DragEvent): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragDropDirective, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropDirective, "[dragDrop]", never, {}, { "files": "files"; }, never>;
32
+ }
@@ -0,0 +1,32 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { NgModel } from '@angular/forms';
3
+ import { DefaultFileDecoratorConfigInternal } from '../../../../decorators/file/file-decorator-internal.data';
4
+ import { FileUtilities } from '../../../../classes/file.utilities';
5
+ import { FileData } from '../../../../decorators/file/file-decorator.data';
6
+ import { MatDialog } from '@angular/material/dialog';
7
+ import { BaseEntityType } from '../../../../classes/entity.model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class FileInputComponent<EntityType extends BaseEntityType<EntityType>> implements OnInit {
10
+ private readonly dialog;
11
+ singleFileData?: FileData;
12
+ multiFileData?: FileData[];
13
+ filenames?: string[];
14
+ FileUtilities: typeof FileUtilities;
15
+ entity: EntityType;
16
+ key: keyof EntityType;
17
+ getValidationErrorMessage: (model: NgModel) => string;
18
+ fileDataChangeEvent: EventEmitter<FileData | FileData[]>;
19
+ metadata: DefaultFileDecoratorConfigInternal;
20
+ constructor(dialog: MatDialog);
21
+ ngOnInit(): Promise<void>;
22
+ private initMultiFile;
23
+ private initSingleFile;
24
+ setFileFromInput(event: Event): Promise<void>;
25
+ setFile(files: File[]): Promise<void>;
26
+ private resetFileInputs;
27
+ private setMultiFile;
28
+ private setSingleFile;
29
+ removeFile(name: string): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent<any>, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent<any>, "file-input", never, { "entity": "entity"; "key": "key"; "getValidationErrorMessage": "getValidationErrorMessage"; }, { "fileDataChangeEvent": "fileDataChangeEvent"; }, never, never>;
32
+ }
@@ -1,21 +1,17 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import { NgModel } from '@angular/forms';
3
- import { EntityRow, EntityUtilities } from '../../classes/entity-utilities.class';
4
- import { Entity } from '../../classes/entity-model.class';
3
+ import { EntityRow, EntityUtilities } from '../../classes/entity.utilities';
5
4
  import { DecoratorTypes } from '../../decorators/base/decorator-types.enum';
6
- import { MatChipInputEvent } from '@angular/material/chips';
7
- import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
8
- import { AutocompleteStringChipsArrayDecoratorConfigInternal, EntityArrayDecoratorConfigInternal, StringChipsArrayDecoratorConfigInternal } from '../../decorators/array/array-decorator-internal.data';
9
- import { DropdownBooleanDecoratorConfigInternal } from '../../decorators/boolean/boolean-decorator-internal.data';
10
- import { DefaultNumberDecoratorConfigInternal, DropdownNumberDecoratorConfigInternal } from '../../decorators/number/number-decorator-internal.data';
5
+ import { EntityArrayDecoratorConfigInternal } from '../../decorators/array/array-decorator-internal.data';
11
6
  import { DefaultObjectDecoratorConfigInternal } from '../../decorators/object/object-decorator-internal.data';
12
- import { AutocompleteStringDecoratorConfigInternal, DefaultStringDecoratorConfigInternal, DropdownStringDecoratorConfigInternal, TextboxStringDecoratorConfigInternal } from '../../decorators/string/string-decorator-internal.data';
13
7
  import { PropertyDecoratorConfigInternal } from '../../decorators/base/property-decorator-internal.data';
14
8
  import { MatTableDataSource } from '@angular/material/table';
15
9
  import { SelectionModel } from '@angular/cdk/collections';
16
10
  import { AddArrayItemDialogDataInternal } from './add-array-item-dialog-data.builder';
17
11
  import { AddArrayItemDialogData } from './add-array-item-dialog-data';
18
12
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
13
+ import { DateUtilities } from '../../classes/date.utilities';
14
+ import { BaseEntityType } from '../../classes/entity.model';
19
15
  import * as i0 from "@angular/core";
20
16
  /**
21
17
  * The default input component. It gets the metadata of the property from the given @Input "entity" and @Input "propertyKey"
@@ -25,21 +21,24 @@ import * as i0 from "@angular/core";
25
21
  * that it should be omitted for creating or updating.
26
22
  * The last part being mostly relevant if you want to use this component inside an ngFor.
27
23
  */
28
- export declare class NgxMatEntityInputComponent<EntityType extends Entity> implements OnInit {
24
+ export declare class NgxMatEntityInputComponent<EntityType extends BaseEntityType<EntityType>> implements OnInit {
29
25
  private readonly dialog;
30
26
  /**
31
27
  * The entity on which the property exists. Used in conjunction with the "propertyKey"
32
28
  * to determine the property for which the input should be generated.
33
29
  */
34
- entity: EntityType;
30
+ entity?: EntityType;
31
+ internalEntity: EntityType;
35
32
  /**
36
33
  * The name of the property to generate the input for. Used in conjunction with the "entity".
37
34
  */
38
- propertyKey: keyof EntityType;
35
+ propertyKey?: keyof EntityType;
36
+ internalPropertyKey: keyof EntityType;
39
37
  /**
40
38
  * (optional) A custom function to generate the error-message for invalid inputs.
41
39
  */
42
- getValidationErrorMessage: (model: NgModel) => string;
40
+ getValidationErrorMessage?: (model: NgModel) => string;
41
+ internalGetValidationErrorMessage: (model: NgModel) => string;
43
42
  /**
44
43
  * Whether to hide a value if it is omitted for creation.
45
44
  * Is used internally for the object property.
@@ -50,40 +49,30 @@ export declare class NgxMatEntityInputComponent<EntityType extends Entity> imple
50
49
  * Is used internally for the object property.
51
50
  */
52
51
  hideOmitForEdit?: boolean;
52
+ inputChangeEvent: EventEmitter<void>;
53
53
  addArrayItemDialog: TemplateRef<unknown>;
54
54
  addArrayItemDialogRef: MatDialogRef<unknown>;
55
55
  type: DecoratorTypes;
56
56
  metadata: PropertyDecoratorConfigInternal;
57
- metadataDefaultString: DefaultStringDecoratorConfigInternal;
58
- metadataTextboxString: TextboxStringDecoratorConfigInternal;
59
- metadataAutocompleteString: AutocompleteStringDecoratorConfigInternal;
60
- autocompleteStrings: string[];
61
- filteredAutocompleteStrings: string[];
62
- metadataDropdownString: DropdownStringDecoratorConfigInternal;
63
- metadataDropdownBoolean: DropdownBooleanDecoratorConfigInternal;
64
- metadataDefaultNumber: DefaultNumberDecoratorConfigInternal;
65
- metadataDropdownNumber: DropdownNumberDecoratorConfigInternal;
66
57
  metadataDefaultObject: DefaultObjectDecoratorConfigInternal<EntityType>;
67
- objectProperty: Entity;
68
- objectPropertyRows: EntityRow<Entity>[];
69
- metadataEntityArray: EntityArrayDecoratorConfigInternal<Entity>;
58
+ objectProperty: EntityType;
59
+ objectPropertyRows: EntityRow<EntityType>[];
60
+ metadataEntityArray: EntityArrayDecoratorConfigInternal<EntityType>;
70
61
  entityArrayValues: EntityType[];
71
- metadataStringChipsArray: StringChipsArrayDecoratorConfigInternal;
72
- stringChipsArrayValues: string[];
73
- chipsInput: string;
74
- metadataAutocompleteStringChipsArray: AutocompleteStringChipsArrayDecoratorConfigInternal;
75
62
  arrayItem: EntityType;
76
63
  private arrayItemPriorChanges;
77
64
  arrayItemInlineRows: EntityRow<EntityType>[];
78
65
  dataSource: MatTableDataSource<EntityType>;
79
66
  selection: SelectionModel<EntityType>;
80
67
  displayedColumns: string[];
68
+ isArrayItemValid: boolean;
81
69
  dialogInputData: AddArrayItemDialogData<EntityType>;
82
70
  dialogData: AddArrayItemDialogDataInternal<EntityType>;
83
71
  arrayItemDialogRows: EntityRow<EntityType>[];
72
+ isDialogArrayItemValid: boolean;
84
73
  readonly DecoratorTypes: typeof DecoratorTypes;
85
74
  EntityUtilities: typeof EntityUtilities;
86
- getWidth: typeof EntityUtilities.getWidth;
75
+ DateUtilities: typeof DateUtilities;
87
76
  constructor(dialog: MatDialog);
88
77
  /**
89
78
  * This is needed for the inputs to work inside an ngFor.
@@ -93,12 +82,26 @@ export declare class NgxMatEntityInputComponent<EntityType extends Entity> imple
93
82
  */
94
83
  trackByFn(index: unknown): unknown;
95
84
  ngOnInit(): void;
85
+ private initEntityArray;
86
+ private initObjectInput;
96
87
  /**
97
- * Tries to add an item to the array.
88
+ * Checks if the arrayItem is valid.
89
+ */
90
+ checkIsArrayItemValid(): void;
91
+ /**
92
+ * Checks if the arrayItem inside the dialog is valid.
93
+ */
94
+ checkIsDialogArrayItemValid(): void;
95
+ /**
96
+ * Emits that a the value has been changed.
97
+ */
98
+ emitChange(): void;
99
+ /**
100
+ * Tries to add an item to the entity array.
98
101
  * Does this either inline if the "createInline"-metadata is set to true
99
102
  * or in a separate dialog if it is set to false.
100
103
  */
101
- add(): void;
104
+ addEntity(): Promise<void>;
102
105
  /**
103
106
  * Adds the array item defined in the dialog.
104
107
  */
@@ -108,56 +111,29 @@ export declare class NgxMatEntityInputComponent<EntityType extends Entity> imple
108
111
  */
109
112
  cancelAddArrayItem(): void;
110
113
  /**
111
- * Removes all selected entries from the array.
114
+ * Removes all selected entries from the entity array.
115
+ *
116
+ * @param selection - The selection containing the items to remove.
117
+ * @param values - The values of the dataSource.
118
+ * @param dataSource - The dataSource.
112
119
  */
113
- remove(): void;
120
+ remove(selection: SelectionModel<any>, values: any[], dataSource: MatTableDataSource<any>): void;
114
121
  /**
115
122
  * Toggles all array-items in the table.
123
+ *
124
+ * @param selection - The selection to toggle.
125
+ * @param dataSource - The dataSource of the selection.
116
126
  */
117
- masterToggle(): void;
127
+ masterToggle(selection: SelectionModel<any>, dataSource: MatTableDataSource<any>): void;
118
128
  /**
119
129
  * Checks if all array-items in the table have been selected.
120
130
  * This is needed to display the "masterToggle"-checkbox correctly.
121
131
  *
132
+ * @param selection - The selection to check.
133
+ * @param dataSource - The dataSource of the selection.
122
134
  * @returns Whether or not all array-items in the table have been selected.
123
135
  */
124
- isAllSelected(): boolean;
125
- /**
126
- * Handles adding strings to the chipsArray.
127
- * Checks validation and also creates a new array if it is undefined.
128
- * This is needed because two things are validated: The array itself
129
- * and the contents of the array. And we need a way to display an
130
- * mat-error. As the only validation for the array is whether or not
131
- * it contains values, we can set it to undefined when the last element is removed
132
- * (removeStringChipArrayValue). That way we can use the "required" validator.
133
- *
134
- * @param event - The event that fires when a new chip is completed.
135
- */
136
- addStringChipArrayValue(event: MatChipInputEvent): void;
137
- /**
138
- * Removes the given value from the array.
139
- * Sets the array to undefined if it is now empty.
140
- * This is needed because two things are validated: The array itself
141
- * and the contents of the array. And we need a way to display an
142
- * mat-error. As the only validation for the array is whether or not
143
- * it is empty, setting it to undefined here enables us to use the "required" validator.
144
- *
145
- * @param value - The string to remove from the array.
146
- */
147
- removeStringChipArrayValue(value: string): void;
148
- /**
149
- * Handles adding a string to the array when an autocomplete value has been selected.
150
- *
151
- * @param event - The autocomplete selected event.
152
- * @param chipsInput - The element where the user typed the value.
153
- */
154
- selected(event: MatAutocompleteSelectedEvent, chipsInput: HTMLInputElement): void;
155
- /**
156
- * Dynamically filters the Autocomplete options when the user inputs something.
157
- *
158
- * @param input - The input of the user.
159
- */
160
- filterAutocompleteStrings(input: unknown): void;
136
+ isAllSelected(selection: SelectionModel<any>, dataSource: MatTableDataSource<any>): boolean;
161
137
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatEntityInputComponent<any>, never>;
162
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityInputComponent<any>, "ngx-mat-entity-input", never, { "entity": "entity"; "propertyKey": "propertyKey"; "getValidationErrorMessage": "getValidationErrorMessage"; "hideOmitForCreate": "hideOmitForCreate"; "hideOmitForEdit": "hideOmitForEdit"; }, {}, never, never>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatEntityInputComponent<any>, "ngx-mat-entity-input", never, { "entity": "entity"; "propertyKey": "propertyKey"; "getValidationErrorMessage": "getValidationErrorMessage"; "hideOmitForCreate": "hideOmitForCreate"; "hideOmitForEdit": "hideOmitForEdit"; }, { "inputChangeEvent": "inputChangeEvent"; }, never, never>;
163
139
  }