1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import * as ng1 from 'angular';
|
10 | import { IColumnDef, ISelectOption } from './public-interfaces';
|
11 |
|
12 |
|
13 |
|
14 | export interface IInputAttributes extends ng1.IAttributes {
|
15 | ngTableSelectFilterDs: string;
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 | export interface IScopeExtensions {
|
21 | $selectData: ISelectOption[];
|
22 | }
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | declare function ngTableSelectFilterDs(): ng1.IDirective;
|
32 |
|
33 |
|
34 |
|
35 | export declare class NgTableSelectFilterDsController {
|
36 | private $scope;
|
37 | private $attrs;
|
38 | private $q;
|
39 | static $inject: string[];
|
40 | $column: IColumnDef;
|
41 | constructor($scope: ng1.IScope & IScopeExtensions, $parse: ng1.IParseService, $attrs: IInputAttributes, $q: ng1.IQService);
|
42 | private bindDataSource();
|
43 | private hasEmptyOption(data);
|
44 | private getSelectListData($column);
|
45 | }
|
46 | export { ngTableSelectFilterDs };
|