@recursyve/nice-ui-kit.v2 13.2.0-beta.121 → 13.2.0-beta.123

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 { ElementRef, EventEmitter, QueryList } from "@angular/core";
1
+ import { ElementRef, EventEmitter, QueryList, TemplateRef } from "@angular/core";
2
2
  import { ControlValueAccessor } from "@angular/forms";
3
3
  import { CanColor, ThemePalette } from "@angular/material/core";
4
4
  import * as i0 from "@angular/core";
@@ -51,6 +51,7 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
51
51
  multipleUpload: boolean;
52
52
  visiblePreviewAsset: number;
53
53
  showAddAssetContainer: boolean;
54
+ activeContent: TemplateRef<any>;
54
55
  activeChange: EventEmitter<number>;
55
56
  removedAsset: EventEmitter<NiceAssets>;
56
57
  listStyle: {
@@ -76,5 +77,5 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
76
77
  clickCustom(action: NiceAssetsCarouselActions): void;
77
78
  startSyncVideo(): Promise<void>;
78
79
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselComponent, [{ optional: true; }]>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "multipleUpload": "multipleUpload"; "visiblePreviewAsset": "visiblePreviewAsset"; "showAddAssetContainer": "showAddAssetContainer"; "assets": "assets"; }, { "activeChange": "activeChange"; "removedAsset": "removedAsset"; }, never, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "multipleUpload": "multipleUpload"; "visiblePreviewAsset": "visiblePreviewAsset"; "showAddAssetContainer": "showAddAssetContainer"; "assets": "assets"; }, { "activeChange": "activeChange"; "removedAsset": "removedAsset"; }, ["activeContent"], never>;
80
81
  }
@@ -2,16 +2,17 @@ import { ModuleWithProviders } from "@angular/core";
2
2
  import { NiceAssetsCarouselOptions } from "./assets-carousel.component";
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "./assets-carousel.component";
5
- import * as i2 from "@angular/common";
6
- import * as i3 from "@angular/material/icon";
7
- import * as i4 from "@angular/material/button";
8
- import * as i5 from "@angular/material/menu";
9
- import * as i6 from "@angular/material/core";
10
- import * as i7 from "../../directives/dropzone/dropzone.module";
11
- import * as i8 from "@ngx-translate/core";
5
+ import * as i2 from "./directives/assets-carousel-active-content.directive";
6
+ import * as i3 from "@angular/common";
7
+ import * as i4 from "@angular/material/icon";
8
+ import * as i5 from "@angular/material/button";
9
+ import * as i6 from "@angular/material/menu";
10
+ import * as i7 from "@angular/material/core";
11
+ import * as i8 from "../../directives/dropzone/dropzone.module";
12
+ import * as i9 from "@ngx-translate/core";
12
13
  export declare class NiceAssetsCarouselModule {
13
14
  static forRoot(options?: NiceAssetsCarouselOptions): ModuleWithProviders<NiceAssetsCarouselModule>;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof i1.NiceAssetsCarouselComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.MatMenuModule, typeof i6.MatRippleModule, typeof i7.NiceDropzoneModule, typeof i8.TranslateModule], [typeof i1.NiceAssetsCarouselComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof i1.NiceAssetsCarouselComponent, typeof i2.NiceAssetsCarouselActiveContentDirective], [typeof i3.CommonModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatMenuModule, typeof i7.MatRippleModule, typeof i8.NiceDropzoneModule, typeof i9.TranslateModule], [typeof i1.NiceAssetsCarouselComponent, typeof i2.NiceAssetsCarouselActiveContentDirective]>;
16
17
  static ɵinj: i0.ɵɵInjectorDeclaration<NiceAssetsCarouselModule>;
17
18
  }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class NiceAssetsCarouselActiveContentDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselActiveContentDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAssetsCarouselActiveContentDirective, "[niceAssetsCarouselActiveContent]", never, {}, {}, never>;
8
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./assets-carousel.component";
2
2
  export * from "./assets-carousel.module";
3
+ export * from "./directives/assets-carousel-active-content.directive";
@@ -1,10 +1,15 @@
1
- import { OnChanges, SimpleChanges } from "@angular/core";
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { FormControl } from "@angular/forms";
3
+ import { Subject } from "rxjs";
3
4
  import * as i0 from "@angular/core";
4
- export declare class NiceCollapsableComponent implements OnChanges {
5
+ export declare class NiceCollapsableComponent implements OnInit, OnChanges, OnDestroy {
5
6
  open: boolean;
7
+ openChange: EventEmitter<boolean>;
8
+ unsubscribeAll$: Subject<void>;
6
9
  control: FormControl;
10
+ ngOnInit(): void;
7
11
  ngOnChanges(changes: SimpleChanges): void;
12
+ ngOnDestroy(): void;
8
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceCollapsableComponent, "nice-collapsable", never, { "open": "open"; }, {}, never, ["[niceCollapsableTitle]", "[niceCollapsableContent]"]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceCollapsableComponent, "nice-collapsable", never, { "open": "open"; }, { "openChange": "openChange"; }, never, ["[niceCollapsableTitle]", "[niceCollapsableContent]"]>;
10
15
  }
@@ -1,6 +1,7 @@
1
1
  import { ElementRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { ControlValueAccessor, NgControl } from "@angular/forms";
3
3
  import { NiceAsyncTypeaheadComponent } from "../../components";
4
+ import { KeyboardCodes } from "../../utils";
4
5
  import { NiceChipListItemsComponent } from "./chip-list-items/chip-list-items.component";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class NiceChipListDirective implements ControlValueAccessor, OnInit, OnChanges {
@@ -9,6 +10,7 @@ export declare class NiceChipListDirective implements ControlValueAccessor, OnIn
9
10
  private elementRef;
10
11
  withItemList: NiceChipListItemsComponent;
11
12
  reloadOnSelected: boolean;
13
+ separatorKeyboardCodes: KeyboardCodes[];
12
14
  private unsubscribeAll$;
13
15
  private values$;
14
16
  private _values;
@@ -25,5 +27,5 @@ export declare class NiceChipListDirective implements ControlValueAccessor, OnIn
25
27
  private addValue;
26
28
  private updateTypeaheadSearchOptions;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirective, [{ optional: true; }, { optional: true; }, null]>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipListDirective, "input[niceChipList], nice-async-typeahead[niceChipList]", never, { "withItemList": "withItemList"; "reloadOnSelected": "reloadOnSelected"; }, {}, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipListDirective, "input[niceChipList], nice-async-typeahead[niceChipList]", never, { "withItemList": "withItemList"; "reloadOnSelected": "reloadOnSelected"; "separatorKeyboardCodes": "separatorKeyboardCodes"; }, {}, never>;
29
31
  }
@@ -2,5 +2,6 @@ export declare enum KeyboardCodes {
2
2
  ArrowUp = "ArrowUp",
3
3
  ArrowDown = "ArrowDown",
4
4
  Enter = "Enter",
5
- Shift = "Shift"
5
+ Shift = "Shift",
6
+ Comma = "Comma"
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "13.2.0-beta.121",
3
+ "version": "13.2.0-beta.123",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",