valtech-components 2.0.392 → 2.0.394
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/esm2022/lib/components/molecules/multi-select-simple/multi-select-simple.component.mjs +90 -81
- package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +83 -116
- package/esm2022/lib/components/organisms/form/form.component.mjs +27 -1
- package/fesm2022/valtech-components.mjs +196 -194
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/multi-select-simple/multi-select-simple.component.d.ts +9 -5
- package/lib/components/molecules/select-search/select-search.component.d.ts +9 -6
- package/lib/components/organisms/article/article.component.d.ts +1 -1
- package/lib/components/organisms/form/form.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -10,11 +10,12 @@ export declare class MultiSelectSimpleComponent implements OnInit, OnDestroy, On
|
|
|
10
10
|
valueProperty: string;
|
|
11
11
|
placeholder: string;
|
|
12
12
|
private langService;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
private changeDetector;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
searchTerm: string;
|
|
16
|
+
selectedValues: string[];
|
|
17
|
+
displayValue: string;
|
|
18
|
+
filteredOptions: InputOption[];
|
|
18
19
|
searchPlaceholder: string;
|
|
19
20
|
private onChange;
|
|
20
21
|
private onTouched;
|
|
@@ -38,6 +39,9 @@ export declare class MultiSelectSimpleComponent implements OnInit, OnDestroy, On
|
|
|
38
39
|
private emitValue;
|
|
39
40
|
private getOptionByValue;
|
|
40
41
|
private applyDefaultValue;
|
|
42
|
+
private initializeOptions;
|
|
43
|
+
private filterOptions;
|
|
44
|
+
private updateDisplayValue;
|
|
41
45
|
private syncSelectedValues;
|
|
42
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectSimpleComponent, never>;
|
|
43
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectSimpleComponent, "val-multi-select-simple", never, { "props": { "alias": "props"; "required": false; }; "labelProperty": { "alias": "labelProperty"; "required": false; }; "valueProperty": { "alias": "valueProperty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -9,12 +9,12 @@ export declare class SelectSearchComponent implements OnInit, OnDestroy, OnChang
|
|
|
9
9
|
valueProperty: string;
|
|
10
10
|
placeholder: string;
|
|
11
11
|
private langService;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
displayValue:
|
|
17
|
-
filteredOptions:
|
|
12
|
+
private changeDetector;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
searchTerm: string;
|
|
15
|
+
selectedValue: string | null;
|
|
16
|
+
displayValue: string;
|
|
17
|
+
filteredOptions: InputOption[];
|
|
18
18
|
constructor();
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
ngOnDestroy(): void;
|
|
@@ -26,6 +26,9 @@ export declare class SelectSearchComponent implements OnInit, OnDestroy, OnChang
|
|
|
26
26
|
trackByFn(_index: number, option: InputOption): any;
|
|
27
27
|
private handleClickOutside;
|
|
28
28
|
private getOptionByValue;
|
|
29
|
+
private initializeOptions;
|
|
30
|
+
private filterOptions;
|
|
31
|
+
private updateDisplayValue;
|
|
29
32
|
private applyDefaultValue;
|
|
30
33
|
debugOptions(): void;
|
|
31
34
|
private syncSelectedValue;
|
|
@@ -75,7 +75,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
75
75
|
shape?: "round";
|
|
76
76
|
size?: "small" | "large" | "default";
|
|
77
77
|
fill?: "default" | "clear" | "outline" | "solid";
|
|
78
|
-
type: "
|
|
78
|
+
type: "reset" | "submit" | "button";
|
|
79
79
|
token?: string;
|
|
80
80
|
ref?: any;
|
|
81
81
|
handler?: (value: any) => any;
|
|
@@ -29,6 +29,7 @@ export declare class FormComponent implements OnInit {
|
|
|
29
29
|
form: FormGroup;
|
|
30
30
|
data: FormMetadata;
|
|
31
31
|
};
|
|
32
|
+
resetField(fieldName: string, emitEvent?: boolean): void;
|
|
32
33
|
get actions(): ButtonMetadata[];
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
34
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "val-form", never, { "props": { "alias": "props"; "required": false; }; }, { "onSubmit": "onSubmit"; "onInvalid": "onInvalid"; "onSelectChange": "onSelectChange"; }, never, ["*"], true, never>;
|