Skip to content

Commit 4845884

Browse files
authored
fix: export NgbFilterableDropdownSelectionMode (#117)
1 parent fb2669c commit 4845884

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

projects/ngb-filterable-dropdown/src/index.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
* Public API Surface of ngb-filterable-dropdown
33
*/
44

5-
export * from './lib/ngb-custom-filterable-dropdown/ngb-custom-filterable-dropdown.component';
6-
export * from './lib/ngb-filterable-dropdown/ngb-filterable-dropdown.component';
7-
export { ItemCreatedEvent, SelectionChangedEvent, OpenChangedEvent } from './lib/events';
5+
export {
6+
ItemCreatedEvent,
7+
OpenChangedEvent,
8+
SelectionChangedEvent,
9+
} from "./lib/events";
10+
export * from "./lib/ngb-custom-filterable-dropdown/ngb-custom-filterable-dropdown.component";
11+
export { NgbFilterableDropdownSelectionMode } from "./lib/ngb-filterable-drop-down-selection-mode";
12+
export * from "./lib/ngb-filterable-dropdown/ngb-filterable-dropdown.component";

projects/ngb-filterable-dropdown/src/lib/ngb-custom-filterable-dropdown/ngb-custom-filterable-dropdown.component.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { AllComponent } from "../internals/icons/all.component";
3535
import { CheckmarkComponent } from "../internals/icons/checkmark.component";
3636
import { NoneComponent } from "../internals/icons/none.component";
3737
import { PlusComponent } from "../internals/icons/plus.component";
38+
import { NgbFilterableDropdownSelectionMode } from "../ngb-filterable-drop-down-selection-mode";
3839
import { SelectionType } from "../selection-type";
3940

4041
@Component({
@@ -51,8 +52,8 @@ import { SelectionType } from "../selection-type";
5152
NoneComponent,
5253
PlusComponent,
5354
CheckmarkComponent,
54-
ScrollingModule
55-
],
55+
ScrollingModule,
56+
],
5657
})
5758
export class NgbCustomFilterableDropdownComponent implements OnInit, OnDestroy {
5859
public readonly SELECT = SelectionType.All;
@@ -410,11 +411,3 @@ export class NgbCustomFilterableDropdownComponent implements OnInit, OnDestroy {
410411
this.nextToggleState = this.DESELECT;
411412
}
412413
}
413-
414-
export enum NgbFilterableDropdownSelectionMode {
415-
SingleSelect = "Single Select",
416-
MultiSelectWithSelectAllSelectNone = "Multi-Select with Select All and Select None",
417-
MultiSelectWithSelectAll = "Multi-Select with Select All",
418-
MultiSelectWithSelectNone = "Multi-Select with Select None",
419-
MultiSelect = "Multi-Select",
420-
}

0 commit comments

Comments
 (0)