Proyectos de Subversion Moodle

Rev

Autoría | Ultima modificación | Ver Log |

{"version":3,"file":"selectors.min.js","sources":["../src/selectors.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * Selectors for the component library\n *\n * @module     tool_componentlibrary/selectors\n * @copyright  2021 Bas Brands <bas@moodle.com>\n * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\nexport default {\n    /**\n     * A selector relating to the 'Copy to clipboard' button.\n     *\n     * @type {string}\n     */\n    clipboardbutton: '.btn-clipboard',\n\n    /**\n     * A selector relating to the content copied by the 'Copy to clipboard' button.\n     *\n     * @type {string}\n     */\n    clipboardcontent: 'figure.highlight, div.highlight',\n\n    /**\n     * A selector relating to the 'Search' text input.\n     *\n     * @type {string}\n     */\n    searchinput: '[data-region=\"docsearch\"] input',\n\n    /**\n     * A selector relating to the 'Search' submit btton.\n     *\n     * @type {string}\n     */\n    searchsubmit: '[data-region=\"docsearch\"] .btn-submit',\n\n    /**\n     * A selector relating to the search dropdown menu.\n     *\n     * @type {string}\n     */\n    dropdownmenu: '[data-region=\"docsearch\"] .dropdown-menu',\n\n    /**\n     * A selector relating to the entire Component Library content region.\n     *\n     * @type {string}\n     */\n    componentlibrary: '[data-region=\"componentlibrary\"]',\n\n    /**\n     * A selector relating to JS Code which is to be run for examples to function.\n     *\n     * @type {string}\n     */\n    jscode: '[data-action=\"runjs\"]',\n\n    /**\n     * A selector relating to Mustache Template code regions.\n     *\n     * @type {string}\n     */\n    mustachecode: '[data-region=\"mustachecode\"]',\n\n    /**\n     * A selector relating to raw Mustache content regions.\n     *\n     * @type {string}\n     */\n    mustacherawcontext: '[data-region=\"rawcontext\"]',\n\n    /**\n     * A selector relating to rendered Mustache content regions.\n     *\n     * @type {string}\n     */\n    mustacherendered: '[data-region=\"mustacherendered\"]',\n\n    /**\n     * A selector relating to Mustache source code regions.\n     *\n     * @type {string}\n     */\n    mustachesource: '[data-region=\"mustachesource\"]',\n\n    /**\n     * A selector relating to Mustache context regions.\n     *\n     * @type {string}\n     */\n    mustachecontext: '[data-region=\"mustachecontext\"]',\n};\n"],"names":["clipboardbutton","clipboardcontent","searchinput","searchsubmit","dropdownmenu","componentlibrary","jscode","mustachecode","mustacherawcontext","mustacherendered","mustachesource","mustachecontext"],"mappings":"iLAsBe,CAMXA,gBAAiB,iBAOjBC,iBAAkB,kCAOlBC,YAAa,kCAObC,aAAc,wCAOdC,aAAc,2CAOdC,iBAAkB,mCAOlBC,OAAQ,wBAORC,aAAc,+BAOdC,mBAAoB,6BAOpBC,iBAAkB,mCAOlBC,eAAgB,iCAOhBC,gBAAiB"}