@coreui/angular-pro 4.7.10 → 4.7.11
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.
|
@@ -13,7 +13,7 @@ interface IPluralMap {
|
|
|
13
13
|
[k: string]: string;
|
|
14
14
|
}
|
|
15
15
|
export declare const observeReferenceModifier: Modifier<string, any>;
|
|
16
|
-
export declare class MultiSelectComponent<
|
|
16
|
+
export declare class MultiSelectComponent<TValue extends string | number> implements IMultiSelect<TValue>, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy, OnInit {
|
|
17
17
|
#private;
|
|
18
18
|
private elementRef;
|
|
19
19
|
private renderer;
|
|
@@ -29,10 +29,10 @@ export declare class MultiSelectComponent<T extends string | number> implements
|
|
|
29
29
|
readonly userOptionsArray$: BehaviorSubject<IOption[]>;
|
|
30
30
|
readonly optionsSelected$: BehaviorSubject<IOption[]>;
|
|
31
31
|
readonly optionsSelected: Map<any, IOption>;
|
|
32
|
-
readonly value$: BehaviorSubject<
|
|
32
|
+
readonly value$: BehaviorSubject<TValue[]>;
|
|
33
33
|
onChange: (value: any) => void;
|
|
34
34
|
onTouched: () => void;
|
|
35
|
-
writeValue(value:
|
|
35
|
+
writeValue(value: TValue | TValue[]): void;
|
|
36
36
|
registerOnChange(fn: any): void;
|
|
37
37
|
registerOnTouched(fn: any): void;
|
|
38
38
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -185,15 +185,15 @@ export declare class MultiSelectComponent<T extends string | number> implements
|
|
|
185
185
|
size?: 'sm' | 'lg';
|
|
186
186
|
/**
|
|
187
187
|
* Initial value of multi-select
|
|
188
|
-
* @type
|
|
188
|
+
* @type TValue | TValue[]
|
|
189
189
|
*/
|
|
190
|
-
set value(value:
|
|
191
|
-
get value():
|
|
190
|
+
set value(value: TValue | TValue[]);
|
|
191
|
+
get value(): TValue | TValue[];
|
|
192
192
|
/**
|
|
193
193
|
* Emits valueChange
|
|
194
|
-
* @type
|
|
194
|
+
* @type TValue | TValue[]
|
|
195
195
|
*/
|
|
196
|
-
readonly valueChange: EventEmitter<
|
|
196
|
+
readonly valueChange: EventEmitter<TValue | TValue[]>;
|
|
197
197
|
/**
|
|
198
198
|
* Toggle visual validation feedback.
|
|
199
199
|
* @type boolean | undefined
|
package/package.json
CHANGED