Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/src/ui/windowmanagers/ve.ui.ToolbarDialogWindowManager.js
Ðазад
/*! * VisualEditor UserInterface ToolbarDialogWindowManager class. * * @copyright See AUTHORS.txt */ /** * Window manager for toolbar dialogs. * * @class * @extends ve.ui.SurfaceWindowManager * * @constructor * @param {ve.ui.Surface} surface Surface this belongs to * @param {Object} [config] Configuration options * @param {ve.ui.Overlay} [config.overlay] Overlay to use for menus */ ve.ui.ToolbarDialogWindowManager = function VeUiToolbarDialogWindowManager( surface, config ) { // Parent constructor ve.ui.ToolbarDialogWindowManager.super.call( this, surface, config ); }; /* Inheritance */ OO.inheritClass( ve.ui.ToolbarDialogWindowManager, ve.ui.SurfaceWindowManager ); /* Static Properties */ ve.ui.ToolbarDialogWindowManager.static.sizes = { full: { width: '100%', maxHeight: '100%' }, small: { width: 150 }, medium: { width: 300 }, large: { width: 400 } }; /* Methods */ /** * @inheritdoc */ ve.ui.ToolbarDialogWindowManager.prototype.getTeardownDelay = function () { return 250; }; /** * Get an object describing the amount of padding the toolbar dialog adds to the surface. * * @return {ve.ui.Surface.Padding|null} Padding object */ ve.ui.ToolbarDialogWindowManager.prototype.getSurfacePadding = function () { const currentWindow = this.getCurrentWindow(); if ( currentWindow && currentWindow.constructor.static.position === 'below' ) { return { bottom: currentWindow.$frame[ 0 ].clientHeight }; } else { return { bottom: 0 }; } };
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка