@leanix/components 0.3.55 → 0.3.57

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/index.d.ts CHANGED
@@ -86,6 +86,7 @@ export * from './lib/forms-ui/pipes/filter-selection.pipe';
86
86
  export * from './lib/forms-ui/pipes/filter-term.pipe';
87
87
  export * from './lib/forms-ui/pipes/format-number.pipe';
88
88
  export * from './lib/forms-ui/validators/date-in-foreseeable-future.validator';
89
+ export * from './lib/forms-ui/validators/string-not-in-array.validator';
89
90
  export { LxDragAndDropListModule } from './lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.module';
90
91
  export * from './lib/modal-ui/modal.module';
91
92
  export * from './lib/modal-ui/modal.constants';
@@ -5,6 +5,9 @@ export declare type OptionGroupOption = {
5
5
  value: string;
6
6
  label: string;
7
7
  };
8
+ /**
9
+ * TODO: rename to something unspecific for single selects because multiselects are also supported
10
+ */
8
11
  export declare type SingleSelectOptionGroup<T = any> = {
9
12
  label: string;
10
13
  options: (OptionGroupOption | T)[];
@@ -0,0 +1,5 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * Validates that a string is not inside an array of strings
4
+ */
5
+ export declare function ValidateStringNotInArray(array: string[], valueMapFunction?: (value: string) => string): ValidatorFn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.3.55",
3
+ "version": "0.3.57",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {