1 | import {DateType} from './modules/dateType';
|
2 | import {Help} from './modules/help';
|
3 | import {State} from './modules/state';
|
4 | import {GridLayout} from './modules/gridLayout';
|
5 | import {Loader} from './modules/loader';
|
6 | import {HighlightKeyword} from './modules/highlightKeywords';
|
7 | import {PopupFilter} from './modules/popupFilter';
|
8 | import {MarkActiveColumns} from './modules/markActiveColumns';
|
9 | import {RowsCounter} from './modules/rowsCounter';
|
10 | import {StatusBar} from './modules/statusBar';
|
11 | import {ClearButton} from './modules/clearButton';
|
12 | import {AlternateRows} from './modules/alternateRows';
|
13 | import {NoResults} from './modules/noResults';
|
14 | import {Paging} from './modules/paging';
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export const INPUT = 'input';
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export const SELECT = 'select';
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | export const MULTIPLE = 'multiple';
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | export const CHECKLIST = 'checklist';
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | export const NONE = 'none';
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 | export const ENTER_KEY = 13;
|
55 |
|
56 |
|
57 |
|
58 |
|
59 | export const TAB_KEY = 9;
|
60 |
|
61 |
|
62 |
|
63 |
|
64 | export const ESC_KEY = 27;
|
65 |
|
66 |
|
67 |
|
68 |
|
69 | export const UP_ARROW_KEY = 38;
|
70 |
|
71 |
|
72 |
|
73 |
|
74 | export const DOWN_ARROW_KEY = 40;
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 |
|
83 |
|
84 | export const HEADER_TAG = 'TH';
|
85 |
|
86 |
|
87 |
|
88 |
|
89 | export const CELL_TAG = 'TD';
|
90 |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 |
|
99 | export const STRING = 'string';
|
100 |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 | export const NUMBER = 'number';
|
106 |
|
107 |
|
108 |
|
109 |
|
110 |
|
111 | export const FORMATTED_NUMBER = 'formatted-number';
|
112 |
|
113 |
|
114 |
|
115 |
|
116 |
|
117 | export const DATE = 'date';
|
118 |
|
119 |
|
120 |
|
121 |
|
122 |
|
123 | export const IP_ADDRESS = 'ipaddress';
|
124 |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 | export const AUTO_FILTER_DELAY = 750;
|
134 |
|
135 |
|
136 |
|
137 |
|
138 |
|
139 | export const FEATURES = {
|
140 | dateType: {
|
141 | class: DateType,
|
142 | name: 'dateType'
|
143 | },
|
144 | help: {
|
145 | class: Help,
|
146 | name: 'help',
|
147 | enforce: true
|
148 | },
|
149 | state: {
|
150 | class: State,
|
151 | name: 'state'
|
152 | },
|
153 | markActiveColumns: {
|
154 | class: MarkActiveColumns,
|
155 | name: 'markActiveColumns'
|
156 | },
|
157 | gridLayout: {
|
158 | class: GridLayout,
|
159 | name: 'gridLayout'
|
160 | },
|
161 | loader: {
|
162 | class: Loader,
|
163 | name: 'loader'
|
164 | },
|
165 | highlightKeyword: {
|
166 | class: HighlightKeyword,
|
167 | name: 'highlightKeyword',
|
168 | property: 'highlightKeywords'
|
169 | },
|
170 | popupFilter: {
|
171 | class: PopupFilter,
|
172 | name: 'popupFilter',
|
173 | property: 'popupFilters'
|
174 | },
|
175 | rowsCounter: {
|
176 | class: RowsCounter,
|
177 | name: 'rowsCounter'
|
178 | },
|
179 | statusBar: {
|
180 | class: StatusBar,
|
181 | name: 'statusBar'
|
182 | },
|
183 | clearButton: {
|
184 | class: ClearButton,
|
185 | name: 'clearButton',
|
186 | property: 'btnReset'
|
187 | },
|
188 | alternateRows: {
|
189 | class: AlternateRows,
|
190 | name: 'alternateRows'
|
191 | },
|
192 | noResults: {
|
193 | class: NoResults,
|
194 | name: 'noResults'
|
195 | },
|
196 | paging: {
|
197 | class: Paging,
|
198 | name: 'paging'
|
199 | }
|
200 | };
|