Repository navigation
Expand file tree
/
Copy pathdataTable.js
More file actions
33 lines (31 loc) · 1.64 KB
/
Copy pathdataTable.js
File metadata and controls
33 lines (31 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import angular from 'angular';
import './utils/polyfill';
import { ResizableDirective } from './components/header/ResizableDirective';
import { SortableDirective } from './components/header/SortableDirective';
import { DataTableDirective } from './components/DataTableDirective';
import { HeaderDirective } from './components/header/HeaderDirective';
import { HeaderCellController } from './components/header/HeaderCellController';
import { HeaderCellDirective } from './components/header/HeaderCellDirective';
import { BodyDirective } from './components/body/BodyDirective';
import { ScrollerDirective } from './components/body/ScrollerDirective';
import { SelectionDirective } from './components/body/SelectionDirective';
import { RowDirective } from './components/body/RowDirective';
import { GroupRowDirective } from './components/body/GroupRowDirective';
import { CellDirective } from './components/body/CellDirective';
import { FooterDirective } from './components/footer/FooterDirective';
import { PagerDirective } from './components/footer/PagerDirective';
export default angular
.module('data-table', [])
.component('dtable', DataTableDirective)
.directive('resizable', ResizableDirective)
.directive('sortable', SortableDirective)
.directive('dtHeader', HeaderDirective)
.directive('dtHeaderCell', HeaderCellDirective)
.directive('dtBody', BodyDirective)
.directive('dtScroller', ScrollerDirective)
.directive('dtSeletion', SelectionDirective)
.directive('dtRow', RowDirective)
.directive('dtGroupRow', GroupRowDirective)
.directive('dtCell', CellDirective)
.directive('dtFooter', FooterDirective)
.directive('dtPager', PagerDirective);