@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.
@@ -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
  }
@@ -29,5 +29,6 @@ export declare enum KitSvgIcon {
29
29
  DELIVERED = "delivered",
30
30
  FTL = "ftl",
31
31
  LTL = "ltl",
32
- ORG = "org"
32
+ ORG = "org",
33
+ ARCHIVE = "archive"
33
34
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.0.67",
10
+ "version": "1.0.71",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "12.1.5",
13
13
  "@angular/core": "12.1.5"