@recursyve/nice-ui-kit.v2 14.0.0-beta.114 → 14.0.0-beta.116

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,10 +1,10 @@
1
- import { ElementRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { ControlValueAccessor, NgControl } from "@angular/forms";
3
3
  import { NiceAsyncTypeaheadComponent } from "../../components";
4
4
  import { KeyboardCodes } from "../../utils";
5
5
  import { NiceChipListItemsComponent } from "./chip-list-items/chip-list-items.component";
6
6
  import * as i0 from "@angular/core";
7
- export declare class NiceChipListDirective implements ControlValueAccessor, OnInit, OnChanges {
7
+ export declare class NiceChipListDirective implements ControlValueAccessor, OnInit, OnDestroy, OnChanges {
8
8
  private asyncTypeahead;
9
9
  private ngControl;
10
10
  private elementRef;
@@ -20,12 +20,13 @@ export declare class NiceChipListDirective implements ControlValueAccessor, OnIn
20
20
  onKeyDown(event: KeyboardEvent): void;
21
21
  ngOnInit(): void;
22
22
  ngOnChanges(changes: SimpleChanges): void;
23
+ ngOnDestroy(): void;
23
24
  writeValue(obj: any[]): void;
24
25
  registerOnChange(fn: any): void;
25
26
  registerOnTouched(fn: any): void;
26
27
  private setupAsyncTypeahead;
27
28
  private addValue;
28
29
  private updateTypeaheadSearchOptions;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirective, [{ optional: true; }, { optional: true; }, null]>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirective, [{ optional: true; }, { optional: true; self: true; }, null]>;
30
31
  static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipListDirective, "input[niceChipList], nice-async-typeahead[niceChipList]", never, { "withItemList": "withItemList"; "reloadOnSelected": "reloadOnSelected"; "separatorKeyboardCodes": "separatorKeyboardCodes"; }, {}, never, never, false>;
31
32
  }
@@ -11,3 +11,5 @@ export * from "./scroll-reset";
11
11
  export * from "./scrollbar";
12
12
  export * from "./stop-propagation";
13
13
  export * from "./window";
14
+ export * from "./rerender";
15
+ export * from "./resolve";
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1 @@
1
+ export * from "./rerender.directive";
@@ -0,0 +1,10 @@
1
+ import { TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class RerenderDirective {
4
+ private templateRef;
5
+ private viewContainerRef;
6
+ set rerender(_: any);
7
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RerenderDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RerenderDirective, "[rerender]", never, { "rerender": "rerender"; }, {}, never, never, true>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1 @@
1
+ export * from "./resolve.directive";
@@ -0,0 +1,18 @@
1
+ import { TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ declare class ResolveDirectiveContext<T> {
4
+ $implicit: T;
5
+ resolve: T;
6
+ }
7
+ export declare class ResolveDirective<T> {
8
+ private templateRef;
9
+ private viewContainerRef;
10
+ private context;
11
+ private embeddedViewRef;
12
+ set resolve(value: T);
13
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
14
+ static ngTemplateContextGuard<T>(directive: ResolveDirective<T>, ctx: any): ctx is ResolveDirectiveContext<T>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResolveDirective<any>, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResolveDirective<any>, "[resolve]", never, { "resolve": "resolve"; }, {}, never, never, true>;
17
+ }
18
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "14.0.0-beta.114",
3
+ "version": "14.0.0-beta.116",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",