Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/@material-ui/core/withMobileDialog/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var React = _interopRequireWildcard(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _withWidth = _interopRequireWildcard(require("../withWidth"));
var warnedOnce = false;
/**
* Dialog will responsively be full screen *at or below* the given breakpoint
* (defaults to 'sm' for mobile devices).
* Notice that this Higher-order Component is incompatible with server-side rendering.
*/
var withMobileDialog = function withMobileDialog() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return function (Component) {
if (process.env.NODE_ENV !== 'production') {
if (!warnedOnce) {
console.warn(['Material-UI: The `withMobileDialog` function is deprecated.', 'Head to https://material-ui.com/r/migration-v4/#dialog for a migration path.'].join('\n'));
warnedOnce = true;
}
}
var _options$breakpoint = options.breakpoint,
breakpoint = _options$breakpoint === void 0 ? 'sm' : _options$breakpoint;
function WithMobileDialog(props) {
return /*#__PURE__*/React.createElement(Component, (0, _extends2.default)({
fullScreen: (0, _withWidth.isWidthDown)(breakpoint, props.width)
}, props));
}
process.env.NODE_ENV !== "production" ? WithMobileDialog.propTypes = {
width: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg', 'xl']).isRequired
} : void 0;
return (0, _withWidth.default)()(WithMobileDialog);
};
};
var _default = withMobileDialog;
exports.default = _default; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0408 ]-- |