mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-12-25 06:58:21 +03:00
51 lines
1.7 KiB
TypeScript
51 lines
1.7 KiB
TypeScript
/*
|
|
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
const LABEL_INNER_TEXT_WITHOUT_LEVEL = 'Level ';
|
|
const LABEL_CLASS = 'sitekey-form__level-label';
|
|
|
|
const INPUT_ID_WITHOUT_LEVEL = 'level';
|
|
const LEVEL_INPUT_CLASS = 'sitekey-form__level-input';
|
|
|
|
const VISITOR_WITHOUT_LEVEL = 'visitor';
|
|
const DIFFICULTY_WITHOUT_LEVEL = 'difficulty';
|
|
|
|
const LEVEL_CONTAINER_CLASS = 'sitekey__level-container';
|
|
const LEVEL_FIELDSET_ID_WITHOUT_LEVEL = 'level-group-';
|
|
const LEGEND_CLASS = 'sitekey__level-title';
|
|
|
|
const REMOVE_LEVEL_BUTTON_ID_WITHOUT_LEVEL = 'remove-level';
|
|
const REMOVE_LEVEL_LABEL_TEXT = "Remove Level";
|
|
|
|
const ADD_LEVEL_BUTTON = 'sitekey-form__level-add-level-button';
|
|
|
|
const CONST = {
|
|
LABEL_CLASS,
|
|
INPUT_ID_WITHOUT_LEVEL,
|
|
LEVEL_INPUT_CLASS,
|
|
LABEL_INNER_TEXT_WITHOUT_LEVEL,
|
|
VISITOR_WITHOUT_LEVEL,
|
|
DIFFICULTY_WITHOUT_LEVEL,
|
|
LEVEL_CONTAINER_CLASS,
|
|
LEVEL_FIELDSET_ID_WITHOUT_LEVEL,
|
|
LEGEND_CLASS,
|
|
REMOVE_LEVEL_BUTTON_ID_WITHOUT_LEVEL,
|
|
REMOVE_LEVEL_LABEL_TEXT,
|
|
ADD_LEVEL_BUTTON,
|
|
};
|
|
|
|
export default CONST;
|