@wizishop/angular-components 14.3.26 → 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.
- package/esm2020/lib/components/inputs/input-with-select/input-with-select.component.mjs +4 -11
- package/esm2020/lib/pipes/find-option-selected-field.pipe.mjs +29 -0
- package/esm2020/lib/pipes/shared-pipes.module.mjs +16 -4
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/wizishop-angular-components.mjs +44 -14
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +44 -14
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/inputs/input-with-select/input-with-select.component.d.ts +3 -5
- package/lib/pipes/find-option-selected-field.pipe.d.ts +9 -0
- package/lib/pipes/shared-pipes.module.d.ts +6 -5
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/wizishop-angular-components-14.3.28.tgz +0 -0
- package/wizishop-angular-components-14.3.26.tgz +0 -0
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { OptionItem } from './option-item.dto';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class InputWithSelectComponent
|
|
4
|
+
export declare class InputWithSelectComponent {
|
|
5
5
|
label: string;
|
|
6
6
|
text: string;
|
|
7
|
-
options: OptionItem[]
|
|
7
|
+
options: Readonly<OptionItem[]>;
|
|
8
8
|
placeholder: string;
|
|
9
9
|
id: string;
|
|
10
|
-
currentLabel: string;
|
|
11
10
|
showSelect: boolean;
|
|
12
11
|
inputValueChange: EventEmitter<string>;
|
|
13
12
|
selectValueChange: EventEmitter<number>;
|
|
14
13
|
constructor();
|
|
15
|
-
ngOnInit(): void;
|
|
16
14
|
onClickItem(index: number): void;
|
|
17
15
|
onToggleSelect(): void;
|
|
18
16
|
onCloseSelect(): void;
|
|
@@ -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 "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@angular/
|
|
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.
|
|
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
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';
|
|
Binary file
|
|
Binary file
|