'use strict';
import { filterOperatorTypes, oDataOperators } from '../../../../fd-toolbox/enums/enums.js';

const filterOptionLabels={'none':'None','empty':'Empty','not':'Not'};const numberFilterTypes=[{'text':filterOptionLabels['none'],'type':filterOperatorTypes['none']},{'text':'Equal','type':filterOperatorTypes['equal']},{'text':'Not\x20equal','type':filterOperatorTypes['notEqual']},{'text':'Greater\x20than','type':filterOperatorTypes['greaterThan']},{'text':'Greater\x20than\x20equal','type':filterOperatorTypes['greaterThanEqual']},{'text':'Less\x20than','type':filterOperatorTypes['lessThan']},{'text':'Less\x20than\x20equal','type':filterOperatorTypes['lessThanEqual']},{'text':filterOptionLabels['empty'],'type':filterOperatorTypes['empty']}];const browserFilterTypes=[{'text':'','type':filterOperatorTypes['in']},{'text':filterOptionLabels['not'],'type':filterOperatorTypes['nin']},{'text':filterOptionLabels['empty'],'type':filterOperatorTypes['empty']}];const enumFilterTypes=[{'text':'','type':filterOperatorTypes['in']},{'text':filterOptionLabels['not'],'type':filterOperatorTypes['nin']}];const filterToODataOperator=new Map([[filterOperatorTypes['equal'],oDataOperators['equal']],[filterOperatorTypes['greaterThan'],oDataOperators['greaterThan']],[filterOperatorTypes['greaterThanEqual'],oDataOperators['greaterThanEqual']],[filterOperatorTypes['lessThan'],oDataOperators['lessThan']],[filterOperatorTypes['lessThanEqual'],oDataOperators['lessThanEqual']],[filterOperatorTypes['empty'],oDataOperators['empty']],[filterOperatorTypes['nin'],oDataOperators['nin']],[filterOperatorTypes['in'],oDataOperators['in']],[filterOperatorTypes['notEqual'],oDataOperators['notEqual']],[filterOperatorTypes['startsWith'],oDataOperators['startsWith']],[filterOperatorTypes['includes'],oDataOperators['includes']]]);

export { browserFilterTypes, enumFilterTypes, filterOptionLabels, filterToODataOperator, numberFilterTypes };
