suis 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/suis-pagination/suis-pagination-per-page-options.pipe.mjs +1 -1
- package/esm2022/lib/modules/suis-select/classes/suis-select.base.mjs +15 -4
- package/esm2022/lib/modules/suis-select/components/suis-select/suis-select.component.mjs +3 -3
- package/esm2022/lib/modules/suis-select/components/suis-select-group/suis-select-group.component.mjs +5 -3
- package/esm2022/lib/modules/suis-select/components/suis-select-group-option/suis-select-group-option.component.mjs +1 -1
- package/esm2022/lib/modules/suis-select/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
- package/esm2022/lib/modules/suis-select/components/suis-select-multi-group/suis-select-multi-group.component.mjs +5 -3
- package/esm2022/lib/modules/suis-select/components/suis-select-option/suis-select-option.component.mjs +15 -3
- package/esm2022/lib/modules/suis-select/directives/suis-select-group-option.directive.mjs +1 -1
- package/esm2022/lib/modules/suis-select/directives/suis-select-option.directive.mjs +1 -1
- package/esm2022/lib/modules/suis-select/interfaces/suis-select-group-option.interfaces.mjs +1 -1
- package/esm2022/lib/modules/suis-select/interfaces/suis-select-option.interfaces.mjs +1 -1
- package/esm2022/lib/modules/suis-select/pipes/suis-select-filter-group-options.pipe.mjs +5 -3
- package/esm2022/lib/modules/suis-select/pipes/suis-select-filter-options.pipe.mjs +5 -3
- package/esm2022/lib/modules/suis-select/pipes/suis-select-group-label.pipe.mjs +5 -5
- package/esm2022/lib/modules/suis-select/pipes/suis-select-label.pipe.mjs +4 -4
- package/esm2022/lib/modules/suis-select/pipes/suis-select-multi-chips.pipe.mjs +5 -5
- package/esm2022/lib/modules/suis-select/pipes/suis-select-multi-group-chips.pipe.mjs +5 -5
- package/esm2022/lib/modules/suis-select/pipes/suis-select-sort-group-options.pipe.mjs +17 -0
- package/esm2022/lib/modules/suis-select/pipes/suis-select-sort-options.pipe.mjs +3 -3
- package/fesm2022/suis.mjs +78 -34
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/suis-pagination/suis-pagination-per-page-options.pipe.d.ts +1 -1
- package/lib/modules/suis-select/classes/suis-select.base.d.ts +12 -4
- package/lib/modules/suis-select/components/suis-select-group/suis-select-group.component.d.ts +2 -2
- package/lib/modules/suis-select/components/suis-select-group-option/suis-select-group-option.component.d.ts +6 -6
- package/lib/modules/suis-select/components/suis-select-multi-group/suis-select-multi-group.component.d.ts +2 -2
- package/lib/modules/suis-select/components/suis-select-option/suis-select-option.component.d.ts +14 -6
- package/lib/modules/suis-select/directives/suis-select-group-option.directive.d.ts +3 -3
- package/lib/modules/suis-select/directives/suis-select-option.directive.d.ts +3 -3
- package/lib/modules/suis-select/interfaces/suis-select-group-option.interfaces.d.ts +2 -2
- package/lib/modules/suis-select/interfaces/suis-select-option.interfaces.d.ts +1 -3
- package/lib/modules/suis-select/pipes/suis-select-filter-group-options.pipe.d.ts +4 -4
- package/lib/modules/suis-select/pipes/suis-select-filter-options.pipe.d.ts +4 -4
- package/lib/modules/suis-select/pipes/suis-select-group-label.pipe.d.ts +1 -1
- package/lib/modules/suis-select/pipes/suis-select-label.pipe.d.ts +1 -1
- package/lib/modules/suis-select/pipes/suis-select-multi-chips.pipe.d.ts +1 -1
- package/lib/modules/suis-select/pipes/suis-select-multi-group-chips.pipe.d.ts +1 -1
- package/lib/modules/suis-select/pipes/suis-select-sort-group-options.pipe.d.ts +8 -0
- package/lib/modules/suis-select/pipes/suis-select-sort-options.pipe.d.ts +4 -4
- package/package.json +1 -1
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { SuisSelectOption } from '../../modules/suis-select/interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisPaginationPerPageOptionsPipe implements PipeTransform {
|
5
|
-
transform(options: number[]): SuisSelectOption
|
5
|
+
transform(options: number[]): SuisSelectOption[];
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisPaginationPerPageOptionsPipe, never>;
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SuisPaginationPerPageOptionsPipe, "suisPaginationPerPageOptions", true>;
|
8
8
|
}
|
@@ -5,7 +5,7 @@ import { SuisSelectOptionDirective } from '../directives/suis-select-option.dire
|
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare abstract class SuisSelectBase<T> extends SuisInputBase {
|
7
7
|
/** @internal */
|
8
|
-
suisSelectOption?: SuisSelectOptionDirective
|
8
|
+
suisSelectOption?: SuisSelectOptionDirective;
|
9
9
|
/** @internal */
|
10
10
|
searchInput?: ElementRef;
|
11
11
|
/** @internal */
|
@@ -15,7 +15,7 @@ export declare abstract class SuisSelectBase<T> extends SuisInputBase {
|
|
15
15
|
/**
|
16
16
|
* Options displayed in dropdown list. Type of SuisSelectOption[].
|
17
17
|
*/
|
18
|
-
options: SuisSelectOption
|
18
|
+
options: SuisSelectOption[];
|
19
19
|
/**
|
20
20
|
* Displays search input above options. By default set to true.
|
21
21
|
*/
|
@@ -28,6 +28,14 @@ export declare abstract class SuisSelectBase<T> extends SuisInputBase {
|
|
28
28
|
* Placeholder text displayed when value is not selected. By default set to 'Select option...'.
|
29
29
|
*/
|
30
30
|
placeholder: string;
|
31
|
+
/**
|
32
|
+
* Option value property name in options. By default set to 'value'.
|
33
|
+
*/
|
34
|
+
optionValue: string;
|
35
|
+
/**
|
36
|
+
* Option label property name in options. By default set to 'label'.
|
37
|
+
*/
|
38
|
+
optionLabel: string;
|
31
39
|
/**
|
32
40
|
* Emits on search phrase changed.
|
33
41
|
*/
|
@@ -41,7 +49,7 @@ export declare abstract class SuisSelectBase<T> extends SuisInputBase {
|
|
41
49
|
toggle(value: boolean): void;
|
42
50
|
onDocumentClick(event: Event): void;
|
43
51
|
/** @internal */
|
44
|
-
optionTrackBy(index: number, option: SuisSelectOption
|
52
|
+
optionTrackBy(index: number, option: SuisSelectOption): string;
|
45
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectBase<any>, never>;
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisSelectBase<any>, never, never, { "options": { "alias": "options"; "required": false; }; "search": { "alias": "search"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "searchPhraseChanged": "searchPhraseChanged"; }, ["suisSelectOption"], never, false, never>;
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisSelectBase<any>, never, never, { "options": { "alias": "options"; "required": false; }; "search": { "alias": "search"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; }, { "searchPhraseChanged": "searchPhraseChanged"; }, ["suisSelectOption"], never, false, never>;
|
47
55
|
}
|
package/lib/modules/suis-select/components/suis-select-group/suis-select-group.component.d.ts
CHANGED
@@ -4,11 +4,11 @@ import { SuisSelectGroupOption } from '../../interfaces/suis-select-group-option
|
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class SuisSelectGroupComponent<T> extends SuisSelectSingleBase<T> {
|
6
6
|
/** @internal */
|
7
|
-
suisSelectGroupOption?: SuisSelectGroupOptionDirective
|
7
|
+
suisSelectGroupOption?: SuisSelectGroupOptionDirective;
|
8
8
|
/**
|
9
9
|
* Group options displayed in dropdown list. Type of SuisSelectGroupOption[].
|
10
10
|
*/
|
11
|
-
groupOptions: SuisSelectGroupOption
|
11
|
+
groupOptions: SuisSelectGroupOption[];
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectGroupComponent<any>, never>;
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectGroupComponent<any>, "suis-select-group", never, { "groupOptions": { "alias": "groupOptions"; "required": false; }; }, {}, ["suisSelectGroupOption"], never, true, never>;
|
14
14
|
}
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
2
2
|
import { SuisSelectGroupOption } from '../../interfaces/suis-select-group-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SuisSelectGroupOptionComponent
|
4
|
+
export declare class SuisSelectGroupOptionComponent {
|
5
5
|
/**
|
6
|
-
* Item data. Type of SuisSelectGroupOption
|
6
|
+
* Item data. Type of SuisSelectGroupOption. Required input.
|
7
7
|
*/
|
8
|
-
option?: SuisSelectGroupOption
|
8
|
+
option?: SuisSelectGroupOption;
|
9
9
|
/**
|
10
10
|
* Template to be displayed instead of item's label.
|
11
11
|
*/
|
12
12
|
templateRef?: TemplateRef<{
|
13
|
-
$implicit: SuisSelectGroupOption
|
13
|
+
$implicit: SuisSelectGroupOption;
|
14
14
|
}>;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectGroupOptionComponent
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectGroupOptionComponent
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectGroupOptionComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectGroupOptionComponent, "suis-select-group-option", never, { "option": { "alias": "option"; "required": true; }; "templateRef": { "alias": "templateRef"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -4,11 +4,11 @@ import { SuisSelectGroupOptionDirective } from '../../directives/suis-select-gro
|
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class SuisSelectMultiGroupComponent<T> extends SuisSelectMultiBase<T> {
|
6
6
|
/** @internal */
|
7
|
-
suisSelectGroupOption?: SuisSelectGroupOptionDirective
|
7
|
+
suisSelectGroupOption?: SuisSelectGroupOptionDirective;
|
8
8
|
/**
|
9
9
|
* Group options displayed in dropdown list. Type of SuisSelectGroupOption[].
|
10
10
|
*/
|
11
|
-
groupOptions: SuisSelectGroupOption
|
11
|
+
groupOptions: SuisSelectGroupOption[];
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectMultiGroupComponent<any>, never>;
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectMultiGroupComponent<any>, "suis-select-multi-group", never, { "groupOptions": { "alias": "groupOptions"; "required": false; }; }, {}, ["suisSelectGroupOption"], never, true, never>;
|
14
14
|
}
|
package/lib/modules/suis-select/components/suis-select-option/suis-select-option.component.d.ts
CHANGED
@@ -1,17 +1,25 @@
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
2
2
|
import { SuisSelectOption } from '../../interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SuisSelectOptionComponent
|
4
|
+
export declare class SuisSelectOptionComponent {
|
5
5
|
/**
|
6
|
-
* Option data. Type of SuisSelectOption
|
6
|
+
* Option data. Type of SuisSelectOption. Required input.
|
7
7
|
*/
|
8
|
-
option?: SuisSelectOption
|
8
|
+
option?: SuisSelectOption;
|
9
9
|
/**
|
10
10
|
* Template to be displayed instead of option's label.
|
11
11
|
*/
|
12
12
|
templateRef?: TemplateRef<{
|
13
|
-
$implicit: SuisSelectOption
|
13
|
+
$implicit: SuisSelectOption;
|
14
14
|
}>;
|
15
|
+
/**
|
16
|
+
* Option value property name in options. By default set to 'value'.
|
17
|
+
*/
|
18
|
+
optionValue: string;
|
19
|
+
/**
|
20
|
+
* Option label property name in options. By default set to 'label'.
|
21
|
+
*/
|
22
|
+
optionLabel: string;
|
15
23
|
/**
|
16
24
|
* Adds checkmark icon to checkbox (if checkbox input set to true). By default set to false.
|
17
25
|
*/
|
@@ -26,6 +34,6 @@ export declare class SuisSelectOptionComponent<T> {
|
|
26
34
|
clicked: EventEmitter<void>;
|
27
35
|
/** @internal */
|
28
36
|
onClick(): void;
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectOptionComponent
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectOptionComponent
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectOptionComponent, never>;
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectOptionComponent, "suis-select-option", never, { "option": { "alias": "option"; "required": true; }; "templateRef": { "alias": "templateRef"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
31
39
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class SuisSelectGroupOptionDirective
|
3
|
+
export declare class SuisSelectGroupOptionDirective {
|
4
4
|
/**
|
5
5
|
* Custom template of the group option.
|
6
6
|
*/
|
7
7
|
readonly templateRef: TemplateRef<any>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectGroupOptionDirective
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisSelectGroupOptionDirective
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectGroupOptionDirective, never>;
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisSelectGroupOptionDirective, "[suisSelectGroupOption]", never, {}, {}, never, never, true, never>;
|
10
10
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class SuisSelectOptionDirective
|
3
|
+
export declare class SuisSelectOptionDirective {
|
4
4
|
/**
|
5
5
|
* Custom template of the option.
|
6
6
|
*/
|
7
7
|
readonly templateRef: TemplateRef<any>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectOptionDirective
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisSelectOptionDirective
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectOptionDirective, never>;
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisSelectOptionDirective, "[suisSelectOption]", never, {}, {}, never, never, true, never>;
|
10
10
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SuisSelectOption } from './suis-select-option.interfaces';
|
2
|
-
export interface SuisSelectGroupOption
|
2
|
+
export interface SuisSelectGroupOption {
|
3
3
|
label: string;
|
4
|
-
children: SuisSelectOption
|
4
|
+
children: SuisSelectOption[];
|
5
5
|
[key: string]: any;
|
6
6
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
2
|
import { SuisSelectGroupOption } from '../interfaces/suis-select-group-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SuisSelectFilterGroupOptionsPipe
|
5
|
-
transform(groupOptions: SuisSelectGroupOption
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectFilterGroupOptionsPipe
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectFilterGroupOptionsPipe
|
4
|
+
export declare class SuisSelectFilterGroupOptionsPipe implements PipeTransform {
|
5
|
+
transform(groupOptions: SuisSelectGroupOption[], phrase: string, optionLabel: string): SuisSelectGroupOption[];
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectFilterGroupOptionsPipe, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectFilterGroupOptionsPipe, "suisSelectFilterGroupOptions", true>;
|
8
8
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
2
|
import { SuisSelectOption } from '../interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SuisSelectFilterOptionsPipe
|
5
|
-
transform(options: SuisSelectOption
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectFilterOptionsPipe
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectFilterOptionsPipe
|
4
|
+
export declare class SuisSelectFilterOptionsPipe implements PipeTransform {
|
5
|
+
transform(options: SuisSelectOption[], phrase: string, optionLabel: string): SuisSelectOption[];
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectFilterOptionsPipe, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectFilterOptionsPipe, "suisSelectFilterOptions", true>;
|
8
8
|
}
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { SuisSelectGroupOption } from '../interfaces/suis-select-group-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisSelectGroupLabelPipe<T> implements PipeTransform {
|
5
|
-
transform(value: T, groupOptions: SuisSelectGroupOption
|
5
|
+
transform(value: T, groupOptions: SuisSelectGroupOption[], placeholder: string, optionValue: string, optionLabel: string): string;
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectGroupLabelPipe<any>, never>;
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectGroupLabelPipe<any>, "suisSelectGroupLabel", true>;
|
8
8
|
}
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { SuisSelectOption } from '../interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisSelectLabelPipe<T> implements PipeTransform {
|
5
|
-
transform(value: T, options: SuisSelectOption
|
5
|
+
transform(value: T, options: SuisSelectOption[], placeholder: string, optionValue: string, optionLabel: string): string;
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectLabelPipe<any>, never>;
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectLabelPipe<any>, "suisSelectLabel", true>;
|
8
8
|
}
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { SuisSelectOption } from '../interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisSelectMultiChipsPipe<T> implements PipeTransform {
|
5
|
-
transform(values: T[], options: SuisSelectOption
|
5
|
+
transform(values: T[], options: SuisSelectOption[], optionValue: string, optionLabel: string): string[];
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectMultiChipsPipe<any>, never>;
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectMultiChipsPipe<any>, "suisSelectMultiChips", true>;
|
8
8
|
}
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { SuisSelectGroupOption } from '../interfaces/suis-select-group-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisSelectMultiGroupChipsPipe<T> implements PipeTransform {
|
5
|
-
transform(values: T[], groupOptions: SuisSelectGroupOption
|
5
|
+
transform(values: T[], groupOptions: SuisSelectGroupOption[], optionValue: string, optionLabel: string): string[];
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectMultiGroupChipsPipe<any>, never>;
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectMultiGroupChipsPipe<any>, "suisSelectMultiGroupChips", true>;
|
8
8
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { SuisSelectGroupOption } from '../interfaces/suis-select-group-option.interfaces';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisSelectSortGroupOptionsPipe implements PipeTransform {
|
5
|
+
transform(options: SuisSelectGroupOption[]): SuisSelectGroupOption[];
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectSortGroupOptionsPipe, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectSortGroupOptionsPipe, "suisSelectSortGroupOptions", true>;
|
8
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
2
|
import { SuisSelectOption } from '../interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SuisSelectSortOptionsPipe
|
5
|
-
transform(options: SuisSelectOption
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectSortOptionsPipe
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectSortOptionsPipe
|
4
|
+
export declare class SuisSelectSortOptionsPipe implements PipeTransform {
|
5
|
+
transform(options: SuisSelectOption[], optionLabel: string): SuisSelectOption[];
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectSortOptionsPipe, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuisSelectSortOptionsPipe, "suisSelectSortOptions", true>;
|
8
8
|
}
|