'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

exports.default = configContext => {
  var _configContext$search = configContext.searchOperators;
  const OP_EQ = _configContext$search.OP_EQ,
        OP_CONTAIN = _configContext$search.OP_CONTAIN;
  var _configContext$config = configContext.config;
  const defaultAdvancedSearchBooleanOp = _configContext$config.defaultAdvancedSearchBooleanOp,
        extensions = _configContext$config.extensions;


  return {
    op: defaultAdvancedSearchBooleanOp,
    value: [{
      op: OP_CONTAIN,
      path: 'ns2:concepts_common/conceptTermGroupList/conceptTermGroup/termDisplayName'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:concepts_common/conceptTermGroupList/conceptTermGroup/termName'
    }, {
      op: OP_EQ,
      path: 'ns2:concepts_common/conceptTermGroupList/conceptTermGroup/termStatus'
    }, {
      op: OP_EQ,
      path: 'ns2:concepts_common/conceptTermGroupList/conceptTermGroup/termFlag'
    }, {
      op: OP_EQ,
      path: 'ns2:concepts_common/conceptTermGroupList/conceptTermGroup/termLanguage'
    }, {
      op: OP_EQ,
      path: 'ns2:concepts_common/conceptRecordTypes/conceptRecordType'
    }, ...extensions.core.advancedSearch]
  };
};