@recursyve/nice-ui-kit.v2 14.0.0-beta.106 → 14.0.0-beta.107

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.
@@ -42,6 +42,7 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
42
42
  active$: Observable<any>;
43
43
  input: ElementRef<HTMLInputElement>;
44
44
  options: MatOption[];
45
+ entityRemoved: EventEmitter<void>;
45
46
  resource: string;
46
47
  searchOptions: any;
47
48
  preloadResource: boolean;
@@ -107,6 +108,6 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
107
108
  private updateSearchInput;
108
109
  private checkIfValueStillExist;
109
110
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAsyncTypeaheadComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null]>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": "resource"; "searchOptions": "searchOptions"; "preloadResource": "preloadResource"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "optionTemplate": "optionTemplate"; "filterFn": "filterFn"; "labelFormatFn": "labelFormatFn"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "selected": "selected"; }, never, never, false>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": "resource"; "searchOptions": "searchOptions"; "preloadResource": "preloadResource"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "optionTemplate": "optionTemplate"; "filterFn": "filterFn"; "labelFormatFn": "labelFormatFn"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "entityRemoved": "entityRemoved"; "selected": "selected"; }, never, never, false>;
111
112
  }
112
113
  export {};
@@ -21,8 +21,9 @@ import * as i19 from "./range.pipe";
21
21
  import * as i20 from "./round.pipe";
22
22
  import * as i21 from "./sanitize-bypass.pipe";
23
23
  import * as i22 from "./seconds-to-time.pipe";
24
+ import * as i23 from "./track-by-prop.pipe";
24
25
  export declare class NicePipesModule {
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<NicePipesModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<NicePipesModule, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe], never, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NicePipesModule, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe, typeof i23.TrackByPropPipe], never, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe, typeof i23.TrackByPropPipe]>;
27
28
  static ɵinj: i0.ɵɵInjectorDeclaration<NicePipesModule>;
28
29
  }
@@ -19,5 +19,6 @@ export * from "./pipes.module";
19
19
  export * from "./postal-code.pipe";
20
20
  export * from "./range.pipe";
21
21
  export * from "./round.pipe";
22
+ export * from "./track-by-prop.pipe";
22
23
  export * from "./sanitize-bypass.pipe";
23
24
  export * from "./seconds-to-time.pipe";
@@ -0,0 +1,7 @@
1
+ import { PipeTransform, TrackByFunction } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TrackByPropPipe<T = any> implements PipeTransform {
4
+ transform(prop: keyof T & string): TrackByFunction<T>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrackByPropPipe<any>, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrackByPropPipe<any>, "trackByProp", false>;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "14.0.0-beta.106",
3
+ "version": "14.0.0-beta.107",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",
@@ -2,18 +2,15 @@
2
2
 
3
3
  @mixin nice-collapsable-theme($theme) {
4
4
  nice-collapsable {
5
- .collapse.collapse {
6
- @apply visible;
7
- }
8
- .collapse {
9
- @apply relative grid overflow-hidden;
5
+ .nice-collapse {
6
+ @apply relative visible grid overflow-hidden;
10
7
  }
11
8
  .collapse-title,
12
- .collapse > input[type="checkbox"],
9
+ .nice-collapse > input[type="checkbox"],
13
10
  .collapse-content {
14
11
  @apply col-start-1 row-start-1;
15
12
  }
16
- .collapse > input[type="checkbox"] {
13
+ .nice-collapse > input[type="checkbox"] {
17
14
  @apply opacity-0;
18
15
 
19
16
  appearance: none;
@@ -25,8 +22,8 @@
25
22
  max-height: 0px;
26
23
  }
27
24
  .collapse-open .collapse-content,
28
- .collapse:focus:not(.collapse-close) .collapse-content,
29
- .collapse:not(.collapse-close)
25
+ .nice-collapse:focus:not(.collapse-close) .collapse-content,
26
+ .nice-collapse:not(.collapse-close)
30
27
  input[type="checkbox"]:checked
31
28
  ~ .collapse-content {
32
29
  max-height: 9000px;