ngx-material-entity 18.2.1 → 18.2.3

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.
@@ -349,7 +349,7 @@ export declare class NgxMatEntityInputComponent<EntityType extends BaseEntityTyp
349
349
  */
350
350
  referencesOneName: string;
351
351
  /**
352
- * The form context for an object property.
352
+ * The form context for an references one property.
353
353
  */
354
354
  referencesOneFormContext: TemplateContext<FormContext<EntityType>>;
355
355
  /**
@@ -10,5 +10,7 @@ export declare class ReferencesOneDecoratorConfigInternal<EntityType extends Bas
10
10
  getDropdownValues: (referencedEntities: EntityType[]) => DropdownValue<string>[];
11
11
  getEntityForId: (entityId: string, allReferencedEntities: EntityType[]) => EntityType;
12
12
  EntityClass: EntityClassNewable<EntityType>;
13
+ dropdownOnly: boolean;
14
+ omit: (keyof EntityType)[];
13
15
  constructor(data: ReferencesOneDecoratorConfig<EntityType>);
14
16
  }
@@ -21,4 +21,12 @@ export interface ReferencesOneDecoratorConfig<EntityType extends BaseEntityType<
21
21
  * The class of the entity that gets referenced.
22
22
  */
23
23
  EntityClass: EntityClassNewable<EntityType>;
24
+ /**
25
+ * Whether or not to only show the dropdown, instead of all data of the selected entity in read only.
26
+ */
27
+ dropdownOnly?: boolean;
28
+ /**
29
+ * Some properties of the objects entity class that should be omitted.
30
+ */
31
+ omit?: (keyof EntityType)[];
24
32
  }