@elderbyte/ngx-starter 14.5.0 → 14.5.1

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.
@@ -23,6 +23,11 @@ export declare class ElderMultiSelectChipsComponent<TId = any, TEntity = any, TV
23
23
  private readonly log;
24
24
  readonly selectChips$: Observable<ChipModel<TEntity>[]>;
25
25
  private readonly chipColorResolver$;
26
+ /**
27
+ * Hides the chip avatar if this function evaluates to true.
28
+ * Usefull if not all chips support avatars (empty chipAvatarTemplate).
29
+ */
30
+ hideAvatarFn: (e: TEntity) => boolean;
26
31
  selectable: boolean;
27
32
  allowRemove: boolean;
28
33
  chipTemplateQuery: TemplateRef<any>;
@@ -84,6 +89,6 @@ export declare class ElderMultiSelectChipsComponent<TId = any, TEntity = any, TV
84
89
  private buildChipFallbackModels;
85
90
  private buildChipModels;
86
91
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderMultiSelectChipsComponent<any, any, any>, [null, null, null, null, null, { optional: true; self: true; }]>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<ElderMultiSelectChipsComponent<any, any, any>, "elder-multi-select-chips", never, { "allowRemove": "allowRemove"; "chipTemplate": "chipTemplate"; "chipAvatarTemplate": "chipAvatarTemplate"; "customInputTemplate": "customInputTemplate"; "chipColorEnabled": "chipColorEnabled"; "chipColorResolver": "chipColorResolver"; }, {}, ["chipTemplateQuery", "chipAvatarTemplateQuery", "customInputTemplateQuery"], never, false>;
92
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElderMultiSelectChipsComponent<any, any, any>, "elder-multi-select-chips", never, { "hideAvatarFn": "hideAvatarFn"; "allowRemove": "allowRemove"; "chipTemplate": "chipTemplate"; "chipAvatarTemplate": "chipAvatarTemplate"; "customInputTemplate": "customInputTemplate"; "chipColorEnabled": "chipColorEnabled"; "chipColorResolver": "chipColorResolver"; }, {}, ["chipTemplateQuery", "chipAvatarTemplateQuery", "customInputTemplateQuery"], never, false>;
88
93
  }
89
94
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "14.5.0",
3
+ "version": "14.5.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",