__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
define("tiny_aiplacement/options",["exports","editor_tiny/options","tiny_aiplacement/common"],(function(_exports,_options,_common){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.register=_exports.isTextAllowed=_exports.isPolicyAgreed=_exports.isImageAllowed=_exports.getUserId=_exports.getContextId=void 0;
/**
* Options helper for Tiny AI plugin.
*
* @module tiny_aiplacement/options
* @copyright 2023 Matt Porritt <matt.porritt@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
const contextIdName=(0,_options.getPluginOptionName)(_common.pluginName,"contextid"),userIdName=(0,_options.getPluginOptionName)(_common.pluginName,"userid"),textAllowedName=(0,_options.getPluginOptionName)(_common.pluginName,"generate_text"),imageAllowedName=(0,_options.getPluginOptionName)(_common.pluginName,"generate_image"),policyAgreedName=(0,_options.getPluginOptionName)(_common.pluginName,"policyagreed");_exports.register=editor=>{const registerOption=editor.options.register;registerOption(contextIdName,{processor:"number",default:0}),registerOption(userIdName,{processor:"number",default:0}),registerOption(textAllowedName,{processor:"boolean",default:!1}),registerOption(imageAllowedName,{processor:"boolean",default:!1}),registerOption(policyAgreedName,{processor:"boolean",default:!1})};_exports.getContextId=editor=>editor.options.get(contextIdName);_exports.getUserId=editor=>editor.options.get(userIdName);_exports.isTextAllowed=editor=>editor.options.get(textAllowedName);_exports.isImageAllowed=editor=>editor.options.get(imageAllowedName);_exports.isPolicyAgreed=editor=>editor.options.get(policyAgreedName)}));
//# sourceMappingURL=options.min.js.map| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| commands.min.js | File | 3 KB | 0777 |
|
| commands.min.js.map | File | 6.75 KB | 0777 |
|
| common.min.js | File | 899 B | 0777 |
|
| common.min.js.map | File | 1.76 KB | 0777 |
|
| configuration.min.js | File | 1.3 KB | 0777 |
|
| configuration.min.js.map | File | 3.58 KB | 0777 |
|
| generatebase.min.js | File | 3.84 KB | 0777 |
|
| generatebase.min.js.map | File | 8.38 KB | 0777 |
|
| generateimage.min.js | File | 4.47 KB | 0777 |
|
| generateimage.min.js.map | File | 10.88 KB | 0777 |
|
| generatetext.min.js | File | 4.14 KB | 0777 |
|
| generatetext.min.js.map | File | 10.49 KB | 0777 |
|
| imagemodal.min.js | File | 686 B | 0777 |
|
| imagemodal.min.js.map | File | 1.28 KB | 0777 |
|
| loading.min.js | File | 1.06 KB | 0777 |
|
| loading.min.js.map | File | 2.71 KB | 0777 |
|
| mediaimage.min.js | File | 1.47 KB | 0777 |
|
| mediaimage.min.js.map | File | 3.36 KB | 0777 |
|
| options.min.js | File | 1.69 KB | 0777 |
|
| options.min.js.map | File | 3.85 KB | 0777 |
|
| plugin.min.js | File | 2.02 KB | 0777 |
|
| plugin.min.js.map | File | 2.72 KB | 0777 |
|
| textmark.min.js | File | 2.16 KB | 0777 |
|
| textmark.min.js.map | File | 6.78 KB | 0777 |
|
| textmodal.min.js | File | 1.17 KB | 0777 |
|
| textmodal.min.js.map | File | 2.69 KB | 0777 |
|