1 | /**
|
2 | * Filter types
|
3 | */
|
4 |
|
5 | /**
|
6 | * Input filter type
|
7 | * @type {String}
|
8 | */
|
9 | export const INPUT = 'input';
|
10 | /**
|
11 | * Select filter type
|
12 | * @type {String}
|
13 | */
|
14 | export const SELECT = 'select';
|
15 | /**
|
16 | * Multiple select filter type
|
17 | * @type {String}
|
18 | */
|
19 | export const MULTIPLE = 'multiple';
|
20 | /**
|
21 | * Checklist filter type
|
22 | * @type {String}
|
23 | */
|
24 | export const CHECKLIST = 'checklist';
|
25 | /**
|
26 | * None filter type
|
27 | * @type {String}
|
28 | */
|
29 | export const NONE = 'none';
|
30 |
|
31 | /**
|
32 | * Key codes
|
33 | */
|
34 |
|
35 | /**
|
36 | * Enter key code
|
37 | * @type {Number}
|
38 | */
|
39 | export const ENTER_KEY = 13;
|
40 | /**
|
41 | * Tab key code
|
42 | * @type {Number}
|
43 | */
|
44 | export const TAB_KEY = 9;
|
45 | /**
|
46 | * Escape key code
|
47 | * @type {Number}
|
48 | */
|
49 | export const ESC_KEY = 27;
|
50 | /**
|
51 | * Up arrow key code
|
52 | * @type {Number}
|
53 | */
|
54 | export const UP_ARROW_KEY = 38;
|
55 | /**
|
56 | * Down arrow key code
|
57 | * @type {Number}
|
58 | */
|
59 | export const DOWN_ARROW_KEY = 40;
|
60 |
|
61 | /**
|
62 | * HTML tags
|
63 | */
|
64 |
|
65 | /**
|
66 | * Header cell tag
|
67 | * @type {String}
|
68 | */
|
69 | export const HEADER_TAG = 'TH';
|
70 | /**
|
71 | * Cell tag
|
72 | * @type {String}
|
73 | */
|
74 | export const CELL_TAG = 'TD';
|
75 |
|
76 | /**
|
77 | * Data types
|
78 | */
|
79 |
|
80 | /**
|
81 | * String
|
82 | * @type {String}
|
83 | */
|
84 | export const STRING = 'string';
|
85 |
|
86 | /**
|
87 | * Number
|
88 | * @type {String}
|
89 | */
|
90 | export const NUMBER = 'number';
|
91 |
|
92 | /**
|
93 | * Formatted number
|
94 | * @type {String}
|
95 | */
|
96 | export const FORMATTED_NUMBER = 'formatted-number';
|
97 |
|
98 | /**
|
99 | * Date
|
100 | * @type {String}
|
101 | */
|
102 | export const DATE = 'date';
|
103 |
|
104 | /**
|
105 | * IP address
|
106 | * @type {String}
|
107 | */
|
108 | export const IP_ADDRESS = 'ipaddress';
|
109 |
|
110 | /**
|
111 | * Default values
|
112 | */
|
113 |
|
114 | /**
|
115 | * Auto filter delay in milliseconds
|
116 | * @type {Number}
|
117 | */
|
118 | export const AUTO_FILTER_DELAY = 750;
|