"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const checkbox = require("../checkbox/checkbox.js");
const codicons = require("../../../common/codicons.js");
const nls = require("../../../../nls.js");
const NLS_CASE_SENSITIVE_CHECKBOX_LABEL = nls.localize("caseDescription", "Match Case");
const NLS_WHOLE_WORD_CHECKBOX_LABEL = nls.localize("wordsDescription", "Match Whole Word");
const NLS_REGEX_CHECKBOX_LABEL = nls.localize("regexDescription", "Use Regular Expression");
class CaseSensitiveCheckbox extends checkbox.Checkbox {
  constructor(opts) {
    super({
      icon: codicons.Codicon.caseSensitive,
      title: NLS_CASE_SENSITIVE_CHECKBOX_LABEL + opts.appendTitle,
      isChecked: opts.isChecked,
      inputActiveOptionBorder: opts.inputActiveOptionBorder,
      inputActiveOptionForeground: opts.inputActiveOptionForeground,
      inputActiveOptionBackground: opts.inputActiveOptionBackground
    });
  }
}
class WholeWordsCheckbox extends checkbox.Checkbox {
  constructor(opts) {
    super({
      icon: codicons.Codicon.wholeWord,
      title: NLS_WHOLE_WORD_CHECKBOX_LABEL + opts.appendTitle,
      isChecked: opts.isChecked,
      inputActiveOptionBorder: opts.inputActiveOptionBorder,
      inputActiveOptionForeground: opts.inputActiveOptionForeground,
      inputActiveOptionBackground: opts.inputActiveOptionBackground
    });
  }
}
class RegexCheckbox extends checkbox.Checkbox {
  constructor(opts) {
    super({
      icon: codicons.Codicon.regex,
      title: NLS_REGEX_CHECKBOX_LABEL + opts.appendTitle,
      isChecked: opts.isChecked,
      inputActiveOptionBorder: opts.inputActiveOptionBorder,
      inputActiveOptionForeground: opts.inputActiveOptionForeground,
      inputActiveOptionBackground: opts.inputActiveOptionBackground
    });
  }
}
exports.CaseSensitiveCheckbox = CaseSensitiveCheckbox;
exports.RegexCheckbox = RegexCheckbox;
exports.WholeWordsCheckbox = WholeWordsCheckbox;
