Mercurial > hg > ng2-query-ismi
view src/app/query-mode.js @ 58:3b4046e0cc02 default
Merge from ng2-table branch.
d7c947909ab888c013171b8c037e4f9fab30fe57
author | casties |
---|---|
date | Wed, 29 Mar 2017 17:19:12 +0200 |
parents | |
children |
line wrap: on
line source
"use strict"; function getQueryModeById(id) { return exports.QUERY_MODES.find(function (elem) { return elem.id === id; }); } exports.getQueryModeById = getQueryModeById; exports.QUERY_MODES = [ { id: 'type_is', label: 'Object type is' }, { id: 'att_contains', label: 'Attribute (contains)' }, { id: 'att_contains_norm', label: 'Attribute (contains normalized)' }, { id: 'att_num_range', label: 'Attribute (number range)' }, { id: 'relation_is', label: 'Relation type is' }, { id: 'id_is', label: 'Object ID is' } ]; exports.FIRST_QUERY_MODES = [ { id: 'type_is', label: 'Object type is' }, { id: 'id_is', label: 'Object ID is' } ]; //# sourceMappingURL=query-mode.js.map