@indigina/ui-kit 1.0.67 → 1.0.71
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/assets/icons/archive.svg +5 -0
- package/bundles/indigina-ui-kit.umd.js +15 -4
- package/bundles/indigina-ui-kit.umd.js.map +1 -1
- package/esm2015/lib/components/kit-datetimepicker/kit-datetimepicker.component.js +3 -2
- package/esm2015/lib/components/kit-dropdown/kit-dropdown.component.js +12 -4
- package/esm2015/lib/components/kit-dropdown/kit-dropdown.module.js +3 -2
- package/esm2015/lib/components/kit-svg-icon/kit-svg-icon.const.js +2 -1
- package/esm2015/lib/components/kit-svg-sprite/kit-svg-sprite.component.js +2 -2
- package/fesm2015/indigina-ui-kit.js +17 -6
- package/fesm2015/indigina-ui-kit.js.map +1 -1
- package/indigina-ui-kit.metadata.json +1 -1
- package/lib/components/kit-dropdown/kit-dropdown.component.d.ts +4 -1
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, Predicate } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Predicate } from '@angular/core';
|
|
2
2
|
import { ItemDisabledFn, PopupSettings } from '@progress/kendo-angular-dropdowns';
|
|
3
3
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
4
|
import { KitInputMessageType } from '../kit-input-message/kit-input-message.component';
|
|
@@ -14,6 +14,7 @@ export declare enum KitDropdownState {
|
|
|
14
14
|
DANGER = "danger"
|
|
15
15
|
}
|
|
16
16
|
export declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
17
|
+
private changeDetectorRef;
|
|
17
18
|
/**
|
|
18
19
|
* an items list which is going to be rendered as dropdown items
|
|
19
20
|
*/
|
|
@@ -59,6 +60,7 @@ export declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
|
59
60
|
* settings for popup that will be opened as dropdown options list
|
|
60
61
|
*/
|
|
61
62
|
readonly dropdownPopupSettings: PopupSettings;
|
|
63
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
62
64
|
/**
|
|
63
65
|
* Function that should be called every time the form control value changes
|
|
64
66
|
*/
|
|
@@ -76,4 +78,5 @@ export declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
|
76
78
|
registerOnChange(fn: (_: T) => void): void;
|
|
77
79
|
registerOnTouched(fn: () => void): void;
|
|
78
80
|
setDisabledState(disabled: boolean): void;
|
|
81
|
+
reset(value: T): void;
|
|
79
82
|
}
|