@wizishop/angular-components 14.4.4 → 14.4.5

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.
@@ -0,0 +1,18 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Typed mapping function.
5
+ */
6
+ export declare type Mapper<T, G> = (item: T, ...args: any[]) => G;
7
+ export declare class CallComponentFunctionPipe implements PipeTransform {
8
+ /**
9
+ * Maps object to an arbitrary result through a plan-name function
10
+ *
11
+ * @param value an item to transform
12
+ * @param mapper a mapping function
13
+ * @param args arbitrary number of additional arguments
14
+ */
15
+ transform<T, G>(value: T, mapper: Mapper<T, G>, ...args: any[]): G;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CallComponentFunctionPipe, never>;
17
+ static ɵpipe: i0.ɵɵPipeDeclaration<CallComponentFunctionPipe, "wacFn", false>;
18
+ }
@@ -3,12 +3,13 @@ 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
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";
6
+ import * as i5 from "./call-component-function.pipe";
7
+ import * as i6 from "./select/select-filters.pipe";
8
+ import * as i7 from "./selected-list/are-all-options-selected.pipe";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/forms";
10
11
  export declare class SharedPipes {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipes, never>;
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]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.CallComponentFunctionPipe, typeof i6.SelectFiltersPipe, typeof i7.AreAllOptionsSelectedPipe], [typeof i8.CommonModule, typeof i9.FormsModule], [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.CallComponentFunctionPipe, typeof i6.SelectFiltersPipe, typeof i7.AreAllOptionsSelectedPipe]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipes>;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "14.4.4",
3
+ "version": "14.4.5",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~14.0.6",
6
6
  "@angular/cdk": "^14.0.5",
package/public-api.d.ts CHANGED
@@ -100,6 +100,7 @@ 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
102
  export * from './lib/pipes/find-option-selected-field.pipe';
103
+ export * from './lib/pipes/call-component-function.pipe';
103
104
  export * from './lib/directives/keyboard-events/keypress-enter.directive';
104
105
  export * from './lib/directives/keyboard-events/two-digital-decimal-number.directive';
105
106
  export * from './lib/components/optional-disable-container/optional-disable-container.component';