@wizishop/angular-components 14.3.27 → 14.3.28

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.
@@ -8,7 +8,6 @@ export declare class InputWithSelectComponent {
8
8
  placeholder: string;
9
9
  id: string;
10
10
  showSelect: boolean;
11
- get selectedLabel(): string;
12
11
  inputValueChange: EventEmitter<string>;
13
12
  selectValueChange: EventEmitter<number>;
14
13
  constructor();
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { OptionItem } from '../components/inputs/input-with-select/option-item.dto';
3
+ import * as i0 from "@angular/core";
4
+ export declare type OptionField = keyof OptionItem;
5
+ export declare class FindOptionSelectedPipe implements PipeTransform {
6
+ transform(options: Readonly<OptionItem[]>, field: OptionField | OptionField[]): Partial<OptionItem> | Partial<OptionItem>[] | string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FindOptionSelectedPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<FindOptionSelectedPipe, "wacFindOptionSelectedField", false>;
9
+ }
@@ -2,12 +2,13 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./tree/format-object-to-recursif-tree.pipe";
3
3
  import * as i2 from "./tree/format-object-to-simple-tree.pipe";
4
4
  import * as i3 from "./select/filter-options.pipe";
5
- import * as i4 from "./select/select-filters.pipe";
6
- import * as i5 from "./selected-list/are-all-options-selected.pipe";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/forms";
5
+ import * as i4 from "./find-option-selected-field.pipe";
6
+ import * as i5 from "./select/select-filters.pipe";
7
+ import * as i6 from "./selected-list/are-all-options-selected.pipe";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/forms";
9
10
  export declare class SharedPipes {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipes, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.SelectFiltersPipe, typeof i5.AreAllOptionsSelectedPipe], [typeof i6.CommonModule, typeof i7.FormsModule], [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.SelectFiltersPipe, typeof i5.AreAllOptionsSelectedPipe]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.SelectFiltersPipe, typeof i6.AreAllOptionsSelectedPipe], [typeof i7.CommonModule, typeof i8.FormsModule], [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.SelectFiltersPipe, typeof i6.AreAllOptionsSelectedPipe]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipes>;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "14.3.27",
3
+ "version": "14.3.28",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~14.0.6",
6
6
  "@angular/cdk": "^14.0.5",
package/public-api.d.ts CHANGED
@@ -99,6 +99,7 @@ export * from './lib/pipes/tree/format-object-to-recursif-tree.pipe';
99
99
  export * from './lib/pipes/tree/format-object-to-simple-tree.pipe';
100
100
  export * from './lib/pipes/select/select-filters.pipe';
101
101
  export * from './lib/pipes/selected-list/are-all-options-selected.pipe';
102
+ export * from './lib/pipes/find-option-selected-field.pipe';
102
103
  export * from './lib/directives/keyboard-events/keypress-enter.directive';
103
104
  export * from './lib/components/optional-disable-container/optional-disable-container.component';
104
105
  export * from './lib/components/summary/summary.component';