@recursyve/nice-ui-kit.v2 14.0.0-beta.109 → 14.0.0-beta.110

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,8 +1,8 @@
1
1
  import { CdkDragDrop, CdkDropList } from "@angular/cdk/drag-drop";
2
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
3
3
  import { FormArray, FormArrayName } from "@angular/forms";
4
4
  import * as i0 from "@angular/core";
5
- export declare class NiceDraggableListDirective<T> implements OnInit, OnChanges {
5
+ export declare class NiceDraggableListDirective<T> implements OnInit, OnDestroy, OnChanges {
6
6
  private formArrayName;
7
7
  private cdkDropList;
8
8
  items: T[];
@@ -11,8 +11,10 @@ export declare class NiceDraggableListDirective<T> implements OnInit, OnChanges
11
11
  itemRankUpdated: EventEmitter<T>;
12
12
  sortedItems: T[];
13
13
  formArray: FormArray;
14
+ private unsubscribeAll$;
14
15
  constructor(formArrayName: FormArrayName, cdkDropList: CdkDropList);
15
16
  ngOnInit(): void;
17
+ ngOnDestroy(): void;
16
18
  ngOnChanges(changes: SimpleChanges): void;
17
19
  drop(event: CdkDragDrop<any, any>): void;
18
20
  private sortItems;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "14.0.0-beta.109",
3
+ "version": "14.0.0-beta.110",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",