zek 19.0.16 → 19.0.18

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.
@@ -4,6 +4,7 @@ import { BooleanInput } from '../../components/types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ZekFileInput extends CoreUiComponent {
6
6
  readonly onUpload: EventEmitter<any[]>;
7
+ fileInput: any;
7
8
  private readonly fileService;
8
9
  private _uniqueId;
9
10
  /** The unique ID for the tag. */
@@ -24,7 +24,16 @@ export declare class ArrayHelper {
24
24
  * @param keySelector A function that returns the value to compare by.
25
25
  */
26
26
  static distinctBy<T, K>(array: T[], keySelector: (item: T) => K): T[];
27
- static filterByKey(filterValue: any, key: string, array: any[]): any[];
27
+ static filterByKeyString(filterValue: any, key: string, array: any[]): any[];
28
+ /**
29
+ * Filters an array based on whether the value derived by the keySelector
30
+ * equals the filterValue.
31
+ * @param filterValue The value to match.
32
+ * @param keySelector A function that takes an item of type T and returns the key value of type K.
33
+ * @param array The array of items to filter.
34
+ * @returns A new array containing only the items that match the filter criteria.
35
+ */
36
+ static filterByKey<T, K>(filterValue: K, keySelector: (item: T) => K, array: T[]): T[];
28
37
  static flatten(array: any, indent?: number): any[];
29
38
  /**
30
39
  * @deprecated use flattenDropDownList2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "19.0.16",
3
+ "version": "19.0.18",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"