__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
define("theme_boost/courseindexdrawercontrols",["exports","core/reactive","core_courseformat/courseeditor"],(function(_exports,_reactive,_courseeditor){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;
/**
* Controls for the course index drawer, such as expand-all/collapse-all sections.
*
* @module theme_boost/courseindexdrawercontrols
* @copyright 2023 Stefan Topfstedt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class Component extends _reactive.BaseComponent{create(){this.name="courseindexdrawercontrols",this.selectors={COLLAPSEALL:'[data-action="collapseallcourseindexsections"]',EXPANDALL:'[data-action="expandallcourseindexsections"]'}}static init(target,selectors){return new Component({element:document.getElementById(target),reactive:(0,_courseeditor.getCurrentCourseEditor)(),selectors:selectors})}stateReady(){const expandAllBtn=this.getElement(this.selectors.EXPANDALL);expandAllBtn&&this.addEventListener(expandAllBtn,"click",this._expandAllSections);const collapseAllBtn=this.getElement(this.selectors.COLLAPSEALL);collapseAllBtn&&this.addEventListener(collapseAllBtn,"click",this._collapseAllSections)}_collapseAllSections(){this._toggleAllSections(!0)}_expandAllSections(){this._toggleAllSections(!1)}_toggleAllSections(expandOrCollapse){this.reactive.dispatch("allSectionsIndexCollapsed",expandOrCollapse)}}return _exports.default=Component,_exports.default}));
//# sourceMappingURL=courseindexdrawercontrols.min.js.map| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bootstrap | Folder | 0777 |
|
|
| aria.min.js | File | 10.93 KB | 0777 |
|
| aria.min.js.map | File | 27.95 KB | 0777 |
|
| courseindexdrawercontrols.min.js | File | 1.49 KB | 0777 |
|
| courseindexdrawercontrols.min.js.map | File | 3.68 KB | 0777 |
|
| drawer.min.js | File | 3.78 KB | 0777 |
|
| drawer.min.js.map | File | 10.43 KB | 0777 |
|
| drawers.min.js | File | 14.53 KB | 0777 |
|
| drawers.min.js.map | File | 36.85 KB | 0777 |
|
| footer-popover.min.js | File | 2.04 KB | 0777 |
|
| footer-popover.min.js.map | File | 4.28 KB | 0777 |
|
| form-display-errors.min.js | File | 2.35 KB | 0777 |
|
| form-display-errors.min.js.map | File | 8.59 KB | 0777 |
|
| index.min.js | File | 2.18 KB | 0777 |
|
| index.min.js.map | File | 93 B | 0777 |
|
| loader.min.js | File | 3.25 KB | 0777 |
|
| loader.min.js.map | File | 5.76 KB | 0777 |
|
| pending.min.js | File | 1.44 KB | 0777 |
|
| pending.min.js.map | File | 4.1 KB | 0777 |
|
| popover.min.js | File | 356 B | 0777 |
|
| popover.min.js.map | File | 95 B | 0777 |
|
| sticky-footer.min.js | File | 2.11 KB | 0777 |
|
| sticky-footer.min.js.map | File | 4.89 KB | 0777 |
|
| toast.min.js | File | 340 B | 0777 |
|
| toast.min.js.map | File | 93 B | 0777 |
|