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