1276 lines
104 KiB
JavaScript
1276 lines
104 KiB
JavaScript
|
self["webpackHotUpdate_N_E"]("pages/controlpanel/commands",{
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/Paper/Paper.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/Paper/Paper.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = function styles(theme) {
|
|||
|
var elevations = {};
|
|||
|
theme.shadows.forEach(function (shadow, index) {
|
|||
|
elevations["elevation".concat(index)] = {
|
|||
|
boxShadow: shadow
|
|||
|
};
|
|||
|
});
|
|||
|
return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: {
|
|||
|
backgroundColor: theme.palette.background.paper,
|
|||
|
color: theme.palette.text.primary,
|
|||
|
transition: theme.transitions.create('box-shadow')
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `square={false}`. */
|
|||
|
rounded: {
|
|||
|
borderRadius: theme.shape.borderRadius
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `variant="outlined"`. */
|
|||
|
outlined: {
|
|||
|
border: "1px solid ".concat(theme.palette.divider)
|
|||
|
}
|
|||
|
}, elevations);
|
|||
|
};
|
|||
|
var Paper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function Paper(props, ref) {
|
|||
|
var classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
_props$component = props.component,
|
|||
|
Component = _props$component === void 0 ? 'div' : _props$component,
|
|||
|
_props$square = props.square,
|
|||
|
square = _props$square === void 0 ? false : _props$square,
|
|||
|
_props$elevation = props.elevation,
|
|||
|
elevation = _props$elevation === void 0 ? 1 : _props$elevation,
|
|||
|
_props$variant = props.variant,
|
|||
|
variant = _props$variant === void 0 ? 'elevation' : _props$variant,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__.default)(props, ["classes", "className", "component", "square", "elevation", "variant"]);
|
|||
|
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, className, variant === 'outlined' ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
|
|||
|
ref: ref
|
|||
|
}, other));
|
|||
|
});
|
|||
|
true ? Paper.propTypes = {
|
|||
|
// ----------------------------- Warning --------------------------------
|
|||
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|||
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|||
|
// ----------------------------------------------------------------------
|
|||
|
|
|||
|
/**
|
|||
|
* The content of the component.
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),
|
|||
|
|
|||
|
/**
|
|||
|
* Shadow depth, corresponds to `dp` in the spec.
|
|||
|
* It accepts values between 0 and 24 inclusive.
|
|||
|
*/
|
|||
|
elevation: (0,_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__.chainPropTypes)((prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), function (props) {
|
|||
|
var classes = props.classes,
|
|||
|
elevation = props.elevation; // in case `withStyles` fails to inject we don't need this warning
|
|||
|
|
|||
|
if (classes === undefined) {
|
|||
|
return null;
|
|||
|
}
|
|||
|
|
|||
|
if (elevation != null && classes["elevation".concat(elevation)] === undefined) {
|
|||
|
return new Error("Material-UI: This elevation `".concat(elevation, "` is not implemented."));
|
|||
|
}
|
|||
|
|
|||
|
return null;
|
|||
|
}),
|
|||
|
|
|||
|
/**
|
|||
|
* If `true`, rounded corners are disabled.
|
|||
|
*/
|
|||
|
square: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
|||
|
|
|||
|
/**
|
|||
|
* The variant to use.
|
|||
|
*/
|
|||
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['elevation', 'outlined'])
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_6__.default)(styles, {
|
|||
|
name: 'MuiPaper'
|
|||
|
})(Paper));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/Paper/index.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/Paper/index.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _Paper__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _Paper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Paper */ "./node_modules/@material-ui/core/esm/Paper/Paper.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/Table/Table.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/Table/Table.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
/* harmony import */ var _TableContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TableContext */ "./node_modules/@material-ui/core/esm/Table/TableContext.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = function styles(theme) {
|
|||
|
return {
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: {
|
|||
|
display: 'table',
|
|||
|
width: '100%',
|
|||
|
borderCollapse: 'collapse',
|
|||
|
borderSpacing: 0,
|
|||
|
'& caption': (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, theme.typography.body2, {
|
|||
|
padding: theme.spacing(2),
|
|||
|
color: theme.palette.text.secondary,
|
|||
|
textAlign: 'left',
|
|||
|
captionSide: 'bottom'
|
|||
|
})
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `stickyHeader={true}`. */
|
|||
|
stickyHeader: {
|
|||
|
borderCollapse: 'separate'
|
|||
|
}
|
|||
|
};
|
|||
|
};
|
|||
|
var defaultComponent = 'table';
|
|||
|
var Table = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function Table(props, ref) {
|
|||
|
var classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
_props$component = props.component,
|
|||
|
Component = _props$component === void 0 ? defaultComponent : _props$component,
|
|||
|
_props$padding = props.padding,
|
|||
|
padding = _props$padding === void 0 ? 'default' : _props$padding,
|
|||
|
_props$size = props.size,
|
|||
|
size = _props$size === void 0 ? 'medium' : _props$size,
|
|||
|
_props$stickyHeader = props.stickyHeader,
|
|||
|
stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__.default)(props, ["classes", "className", "component", "padding", "size", "stickyHeader"]);
|
|||
|
|
|||
|
var table = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () {
|
|||
|
return {
|
|||
|
padding: padding,
|
|||
|
size: size,
|
|||
|
stickyHeader: stickyHeader
|
|||
|
};
|
|||
|
}, [padding, size, stickyHeader]);
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_TableContext__WEBPACK_IMPORTED_MODULE_5__.default.Provider, {
|
|||
|
value: table
|
|||
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
|||
|
role: Component === defaultComponent ? null : 'table',
|
|||
|
ref: ref,
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, className, stickyHeader && classes.stickyHeader)
|
|||
|
}, other)));
|
|||
|
});
|
|||
|
true ? Table.propTypes = {
|
|||
|
/**
|
|||
|
* The content of the table, normally `TableHead` and `TableBody`.
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node.isRequired),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object.isRequired),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),
|
|||
|
|
|||
|
/**
|
|||
|
* Allows TableCells to inherit padding of the Table.
|
|||
|
*/
|
|||
|
padding: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['default', 'checkbox', 'none']),
|
|||
|
|
|||
|
/**
|
|||
|
* Allows TableCells to inherit size of the Table.
|
|||
|
*/
|
|||
|
size: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['small', 'medium']),
|
|||
|
|
|||
|
/**
|
|||
|
* Set the header sticky.
|
|||
|
*
|
|||
|
* ⚠️ It doesn't work with IE 11.
|
|||
|
*/
|
|||
|
stickyHeader: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_6__.default)(styles, {
|
|||
|
name: 'MuiTable'
|
|||
|
})(Table));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/Table/TableContext.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/Table/TableContext.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore - internal component.
|
|||
|
*/
|
|||
|
|
|||
|
var TableContext = react__WEBPACK_IMPORTED_MODULE_0__.createContext();
|
|||
|
|
|||
|
if (true) {
|
|||
|
TableContext.displayName = 'TableContext';
|
|||
|
}
|
|||
|
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = (TableContext);
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore - internal component.
|
|||
|
*/
|
|||
|
|
|||
|
var Tablelvl2Context = react__WEBPACK_IMPORTED_MODULE_0__.createContext();
|
|||
|
|
|||
|
if (true) {
|
|||
|
Tablelvl2Context.displayName = 'Tablelvl2Context';
|
|||
|
}
|
|||
|
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = (Tablelvl2Context);
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/Table/index.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/Table/index.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _Table__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _Table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Table */ "./node_modules/@material-ui/core/esm/Table/Table.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableBody/TableBody.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableBody/TableBody.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
/* harmony import */ var _Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Table/Tablelvl2Context */ "./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = {
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: {
|
|||
|
display: 'table-row-group'
|
|||
|
}
|
|||
|
};
|
|||
|
var tablelvl2 = {
|
|||
|
variant: 'body'
|
|||
|
};
|
|||
|
var defaultComponent = 'tbody';
|
|||
|
var TableBody = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function TableBody(props, ref) {
|
|||
|
var classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
_props$component = props.component,
|
|||
|
Component = _props$component === void 0 ? defaultComponent : _props$component,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__.default)(props, ["classes", "className", "component"]);
|
|||
|
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_5__.default.Provider, {
|
|||
|
value: tablelvl2
|
|||
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, className),
|
|||
|
ref: ref,
|
|||
|
role: Component === defaultComponent ? null : 'rowgroup'
|
|||
|
}, other)));
|
|||
|
});
|
|||
|
true ? TableBody.propTypes = {
|
|||
|
/**
|
|||
|
* The content of the component, normally `TableRow`.
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object.isRequired),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType)
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_6__.default)(styles, {
|
|||
|
name: 'MuiTableBody'
|
|||
|
})(TableBody));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableBody/index.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableBody/index.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _TableBody__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _TableBody__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableBody */ "./node_modules/@material-ui/core/esm/TableBody/TableBody.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableCell/TableCell.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableCell/TableCell.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
/* harmony import */ var _utils_capitalize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/capitalize */ "./node_modules/@material-ui/core/esm/utils/capitalize.js");
|
|||
|
/* harmony import */ var _styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js");
|
|||
|
/* harmony import */ var _Table_TableContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Table/TableContext */ "./node_modules/@material-ui/core/esm/Table/TableContext.js");
|
|||
|
/* harmony import */ var _Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Table/Tablelvl2Context */ "./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = function styles(theme) {
|
|||
|
return {
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, theme.typography.body2, {
|
|||
|
display: 'table-cell',
|
|||
|
verticalAlign: 'inherit',
|
|||
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
|||
|
// Removes the alpha (sets it to 1), and lightens or darkens the theme color.
|
|||
|
borderBottom: "1px solid\n ".concat(theme.palette.type === 'light' ? (0,_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__.lighten)((0,_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__.fade)(theme.palette.divider, 1), 0.88) : (0,_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__.darken)((0,_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__.fade)(theme.palette.divider, 1), 0.68)),
|
|||
|
textAlign: 'left',
|
|||
|
padding: 16
|
|||
|
}),
|
|||
|
|
|||
|
/* Styles applied to the root element if `variant="head"` or `context.table.head`. */
|
|||
|
head: {
|
|||
|
color: theme.palette.text.primary,
|
|||
|
lineHeight: theme.typography.pxToRem(24),
|
|||
|
fontWeight: theme.typography.fontWeightMedium
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `variant="body"` or `context.table.body`. */
|
|||
|
body: {
|
|||
|
color: theme.palette.text.primary
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `variant="footer"` or `context.table.footer`. */
|
|||
|
footer: {
|
|||
|
color: theme.palette.text.secondary,
|
|||
|
lineHeight: theme.typography.pxToRem(21),
|
|||
|
fontSize: theme.typography.pxToRem(12)
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `size="small"`. */
|
|||
|
sizeSmall: {
|
|||
|
padding: '6px 24px 6px 16px',
|
|||
|
'&:last-child': {
|
|||
|
paddingRight: 16
|
|||
|
},
|
|||
|
'&$paddingCheckbox': {
|
|||
|
width: 24,
|
|||
|
// prevent the checkbox column from growing
|
|||
|
padding: '0 12px 0 16px',
|
|||
|
'&:last-child': {
|
|||
|
paddingLeft: 12,
|
|||
|
paddingRight: 16
|
|||
|
},
|
|||
|
'& > *': {
|
|||
|
padding: 0
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `padding="checkbox"`. */
|
|||
|
paddingCheckbox: {
|
|||
|
width: 48,
|
|||
|
// prevent the checkbox column from growing
|
|||
|
padding: '0 0 0 4px',
|
|||
|
'&:last-child': {
|
|||
|
paddingLeft: 0,
|
|||
|
paddingRight: 4
|
|||
|
}
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `padding="none"`. */
|
|||
|
paddingNone: {
|
|||
|
padding: 0,
|
|||
|
'&:last-child': {
|
|||
|
padding: 0
|
|||
|
}
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `align="left"`. */
|
|||
|
alignLeft: {
|
|||
|
textAlign: 'left'
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `align="center"`. */
|
|||
|
alignCenter: {
|
|||
|
textAlign: 'center'
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `align="right"`. */
|
|||
|
alignRight: {
|
|||
|
textAlign: 'right',
|
|||
|
flexDirection: 'row-reverse'
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `align="justify"`. */
|
|||
|
alignJustify: {
|
|||
|
textAlign: 'justify'
|
|||
|
},
|
|||
|
|
|||
|
/* Styles applied to the root element if `context.table.stickyHeader={true}`. */
|
|||
|
stickyHeader: {
|
|||
|
position: 'sticky',
|
|||
|
top: 0,
|
|||
|
left: 0,
|
|||
|
zIndex: 2,
|
|||
|
backgroundColor: theme.palette.background.default
|
|||
|
}
|
|||
|
};
|
|||
|
};
|
|||
|
/**
|
|||
|
* The component renders a `<th>` element when the parent context is a header
|
|||
|
* or otherwise a `<td>` element.
|
|||
|
*/
|
|||
|
|
|||
|
var TableCell = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function TableCell(props, ref) {
|
|||
|
var _props$align = props.align,
|
|||
|
align = _props$align === void 0 ? 'inherit' : _props$align,
|
|||
|
classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
component = props.component,
|
|||
|
paddingProp = props.padding,
|
|||
|
scopeProp = props.scope,
|
|||
|
sizeProp = props.size,
|
|||
|
sortDirection = props.sortDirection,
|
|||
|
variantProp = props.variant,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__.default)(props, ["align", "classes", "className", "component", "padding", "scope", "size", "sortDirection", "variant"]);
|
|||
|
|
|||
|
var table = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_Table_TableContext__WEBPACK_IMPORTED_MODULE_6__.default);
|
|||
|
var tablelvl2 = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_7__.default);
|
|||
|
var isHeadCell = tablelvl2 && tablelvl2.variant === 'head';
|
|||
|
var role;
|
|||
|
var Component;
|
|||
|
|
|||
|
if (component) {
|
|||
|
Component = component;
|
|||
|
role = isHeadCell ? 'columnheader' : 'cell';
|
|||
|
} else {
|
|||
|
Component = isHeadCell ? 'th' : 'td';
|
|||
|
}
|
|||
|
|
|||
|
var scope = scopeProp;
|
|||
|
|
|||
|
if (!scope && isHeadCell) {
|
|||
|
scope = 'col';
|
|||
|
}
|
|||
|
|
|||
|
var padding = paddingProp || (table && table.padding ? table.padding : 'default');
|
|||
|
var size = sizeProp || (table && table.size ? table.size : 'medium');
|
|||
|
var variant = variantProp || tablelvl2 && tablelvl2.variant;
|
|||
|
var ariaSort = null;
|
|||
|
|
|||
|
if (sortDirection) {
|
|||
|
ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';
|
|||
|
}
|
|||
|
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
|||
|
ref: ref,
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, classes[variant], className, align !== 'inherit' && classes["align".concat((0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_8__.default)(align))], padding !== 'default' && classes["padding".concat((0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_8__.default)(padding))], size !== 'medium' && classes["size".concat((0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_8__.default)(size))], variant === 'head' && table && table.stickyHeader && classes.stickyHeader),
|
|||
|
"aria-sort": ariaSort,
|
|||
|
role: role,
|
|||
|
scope: scope
|
|||
|
}, other));
|
|||
|
});
|
|||
|
true ? TableCell.propTypes = {
|
|||
|
// ----------------------------- Warning --------------------------------
|
|||
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|||
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|||
|
// ----------------------------------------------------------------------
|
|||
|
|
|||
|
/**
|
|||
|
* Set the text-align on the table cell content.
|
|||
|
*
|
|||
|
* Monetary or generally number fields **should be right aligned** as that allows
|
|||
|
* you to add them up quickly in your head without having to worry about decimals.
|
|||
|
*/
|
|||
|
align: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['center', 'inherit', 'justify', 'left', 'right']),
|
|||
|
|
|||
|
/**
|
|||
|
* The table cell contents.
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),
|
|||
|
|
|||
|
/**
|
|||
|
* Sets the padding applied to the cell.
|
|||
|
* By default, the Table parent component set the value (`default`).
|
|||
|
*/
|
|||
|
padding: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['checkbox', 'default', 'none']),
|
|||
|
|
|||
|
/**
|
|||
|
* Set scope attribute.
|
|||
|
*/
|
|||
|
scope: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* Specify the size of the cell.
|
|||
|
* By default, the Table parent component set the value (`medium`).
|
|||
|
*/
|
|||
|
size: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['medium', 'small']),
|
|||
|
|
|||
|
/**
|
|||
|
* Set aria-sort direction.
|
|||
|
*/
|
|||
|
sortDirection: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['asc', 'desc', false]),
|
|||
|
|
|||
|
/**
|
|||
|
* Specify the cell type.
|
|||
|
* By default, the TableHead, TableBody or TableFooter parent component set the value.
|
|||
|
*/
|
|||
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['body', 'footer', 'head'])
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_9__.default)(styles, {
|
|||
|
name: 'MuiTableCell'
|
|||
|
})(TableCell));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableCell/index.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableCell/index.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _TableCell__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _TableCell__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableCell */ "./node_modules/@material-ui/core/esm/TableCell/TableCell.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableContainer/TableContainer.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableContainer/TableContainer.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = {
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: {
|
|||
|
width: '100%',
|
|||
|
overflowX: 'auto'
|
|||
|
}
|
|||
|
};
|
|||
|
var TableContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function TableContainer(props, ref) {
|
|||
|
var classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
_props$component = props.component,
|
|||
|
Component = _props$component === void 0 ? 'div' : _props$component,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__.default)(props, ["classes", "className", "component"]);
|
|||
|
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
|
|||
|
ref: ref,
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, className)
|
|||
|
}, other));
|
|||
|
});
|
|||
|
true ? TableContainer.propTypes = {
|
|||
|
/**
|
|||
|
* The table itself, normally `<Table />`
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object.isRequired),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType)
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_5__.default)(styles, {
|
|||
|
name: 'MuiTableContainer'
|
|||
|
})(TableContainer));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableContainer/index.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableContainer/index.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _TableContainer__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _TableContainer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableContainer */ "./node_modules/@material-ui/core/esm/TableContainer/TableContainer.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableHead/TableHead.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableHead/TableHead.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
/* harmony import */ var _Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Table/Tablelvl2Context */ "./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = {
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: {
|
|||
|
display: 'table-header-group'
|
|||
|
}
|
|||
|
};
|
|||
|
var tablelvl2 = {
|
|||
|
variant: 'head'
|
|||
|
};
|
|||
|
var defaultComponent = 'thead';
|
|||
|
var TableHead = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function TableHead(props, ref) {
|
|||
|
var classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
_props$component = props.component,
|
|||
|
Component = _props$component === void 0 ? defaultComponent : _props$component,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__.default)(props, ["classes", "className", "component"]);
|
|||
|
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_5__.default.Provider, {
|
|||
|
value: tablelvl2
|
|||
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, className),
|
|||
|
ref: ref,
|
|||
|
role: Component === defaultComponent ? null : 'rowgroup'
|
|||
|
}, other)));
|
|||
|
});
|
|||
|
true ? TableHead.propTypes = {
|
|||
|
/**
|
|||
|
* The content of the component, normally `TableRow`.
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object.isRequired),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType)
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_6__.default)(styles, {
|
|||
|
name: 'MuiTableHead'
|
|||
|
})(TableHead));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableHead/index.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableHead/index.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _TableHead__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _TableHead__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableHead */ "./node_modules/@material-ui/core/esm/TableHead/TableHead.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableRow/TableRow.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableRow/TableRow.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "styles": function() { return /* binding */ styles; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
|
|||
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|||
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
|
|||
|
/* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
|
|||
|
/* harmony import */ var _Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Table/Tablelvl2Context */ "./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js");
|
|||
|
/* harmony import */ var _styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js");
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var styles = function styles(theme) {
|
|||
|
return {
|
|||
|
/* Styles applied to the root element. */
|
|||
|
root: {
|
|||
|
color: 'inherit',
|
|||
|
display: 'table-row',
|
|||
|
verticalAlign: 'middle',
|
|||
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|||
|
outline: 0,
|
|||
|
'&$hover:hover': {
|
|||
|
backgroundColor: theme.palette.action.hover
|
|||
|
},
|
|||
|
'&$selected, &$selected:hover': {
|
|||
|
backgroundColor: (0,_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_5__.fade)(theme.palette.secondary.main, theme.palette.action.selectedOpacity)
|
|||
|
}
|
|||
|
},
|
|||
|
|
|||
|
/* Pseudo-class applied to the root element if `selected={true}`. */
|
|||
|
selected: {},
|
|||
|
|
|||
|
/* Pseudo-class applied to the root element if `hover={true}`. */
|
|||
|
hover: {},
|
|||
|
|
|||
|
/* Styles applied to the root element if table variant="head". */
|
|||
|
head: {},
|
|||
|
|
|||
|
/* Styles applied to the root element if table variant="footer". */
|
|||
|
footer: {}
|
|||
|
};
|
|||
|
};
|
|||
|
var defaultComponent = 'tr';
|
|||
|
/**
|
|||
|
* Will automatically set dynamic row height
|
|||
|
* based on the material table element parent (head, body, etc).
|
|||
|
*/
|
|||
|
|
|||
|
var TableRow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function TableRow(props, ref) {
|
|||
|
var classes = props.classes,
|
|||
|
className = props.className,
|
|||
|
_props$component = props.component,
|
|||
|
Component = _props$component === void 0 ? defaultComponent : _props$component,
|
|||
|
_props$hover = props.hover,
|
|||
|
hover = _props$hover === void 0 ? false : _props$hover,
|
|||
|
_props$selected = props.selected,
|
|||
|
selected = _props$selected === void 0 ? false : _props$selected,
|
|||
|
other = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__.default)(props, ["classes", "className", "component", "hover", "selected"]);
|
|||
|
|
|||
|
var tablelvl2 = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_Table_Tablelvl2Context__WEBPACK_IMPORTED_MODULE_6__.default);
|
|||
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
|
|||
|
ref: ref,
|
|||
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.root, className, tablelvl2 && {
|
|||
|
'head': classes.head,
|
|||
|
'footer': classes.footer
|
|||
|
}[tablelvl2.variant], hover && classes.hover, selected && classes.selected),
|
|||
|
role: Component === defaultComponent ? null : 'row'
|
|||
|
}, other));
|
|||
|
});
|
|||
|
true ? TableRow.propTypes = {
|
|||
|
/**
|
|||
|
* Should be valid <tr> children such as `TableCell`.
|
|||
|
*/
|
|||
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
|||
|
|
|||
|
/**
|
|||
|
* Override or extend the styles applied to the component.
|
|||
|
* See [CSS API](#css) below for more details.
|
|||
|
*/
|
|||
|
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object.isRequired),
|
|||
|
|
|||
|
/**
|
|||
|
* @ignore
|
|||
|
*/
|
|||
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
|||
|
|
|||
|
/**
|
|||
|
* The component used for the root node.
|
|||
|
* Either a string to use a HTML element or a component.
|
|||
|
*/
|
|||
|
component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),
|
|||
|
|
|||
|
/**
|
|||
|
* If `true`, the table row will shade on hover.
|
|||
|
*/
|
|||
|
hover: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
|||
|
|
|||
|
/**
|
|||
|
* If `true`, the table row will have the selected shading.
|
|||
|
*/
|
|||
|
selected: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
|
|||
|
} : 0;
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = ((0,_styles_withStyles__WEBPACK_IMPORTED_MODULE_7__.default)(styles, {
|
|||
|
name: 'MuiTableRow'
|
|||
|
})(TableRow));
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/TableRow/index.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/TableRow/index.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* reexport safe */ _TableRow__WEBPACK_IMPORTED_MODULE_0__.default; }
|
|||
|
/* harmony export */ });
|
|||
|
/* harmony import */ var _TableRow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableRow */ "./node_modules/@material-ui/core/esm/TableRow/TableRow.js");
|
|||
|
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@material-ui/core/esm/utils/capitalize.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/@material-ui/core/esm/utils/capitalize.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|||
|
/* harmony export */ "default": function() { return /* binding */ capitalize; }
|
|||
|
/* harmony export */ });
|
|||
|
|
|||
|
// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
|
|||
|
//
|
|||
|
// A strict capitalization should uppercase the first letter of each word a the sentence.
|
|||
|
// We only handle the first word.
|
|||
|
function capitalize(string) {
|
|||
|
if (typeof string !== 'string') {
|
|||
|
throw new Error( true ? "Material-UI: capitalize(string) expects a string argument." : 0);
|
|||
|
}
|
|||
|
|
|||
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|||
|
}
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./pages/controlpanel/commands.js":
|
|||
|
/*!****************************************!*\
|
|||
|
!*** ./pages/controlpanel/commands.js ***!
|
|||
|
\****************************************/
|
|||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|||
|
"use strict";
|
|||
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js");
|
|||
|
/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|||
|
/* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-ui/core/styles */ "./node_modules/@material-ui/core/esm/styles/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_Table__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/core/Table */ "./node_modules/@material-ui/core/esm/Table/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_TableBody__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @material-ui/core/TableBody */ "./node_modules/@material-ui/core/esm/TableBody/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @material-ui/core/TableCell */ "./node_modules/@material-ui/core/esm/TableCell/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_TableContainer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-ui/core/TableContainer */ "./node_modules/@material-ui/core/esm/TableContainer/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_TableHead__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @material-ui/core/TableHead */ "./node_modules/@material-ui/core/esm/TableHead/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_TableRow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @material-ui/core/TableRow */ "./node_modules/@material-ui/core/esm/TableRow/index.js");
|
|||
|
/* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material-ui/core/Paper */ "./node_modules/@material-ui/core/esm/Paper/index.js");
|
|||
|
/* module decorator */ module = __webpack_require__.hmd(module);
|
|||
|
|
|||
|
|
|||
|
var _jsxFileName = "/home/qt-coder/cath.gq/pages/controlpanel/commands.js",
|
|||
|
_s = $RefreshSig$();
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var useStyles = (0,_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__.makeStyles)({
|
|||
|
table: {
|
|||
|
minWidth: 650
|
|||
|
}
|
|||
|
});
|
|||
|
|
|||
|
function createData(name, description, status) {
|
|||
|
return {
|
|||
|
name: name,
|
|||
|
description: description,
|
|||
|
status: status
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
var rows = [createData('Command', 'Description', true)];
|
|||
|
|
|||
|
function commands() {
|
|||
|
_s();
|
|||
|
|
|||
|
var _this = this;
|
|||
|
|
|||
|
var classes = useStyles();
|
|||
|
return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableContainer__WEBPACK_IMPORTED_MODULE_3__.default, {
|
|||
|
component: _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_4__.default,
|
|||
|
children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_Table__WEBPACK_IMPORTED_MODULE_5__.default, {
|
|||
|
className: classes.table,
|
|||
|
"aria-label": "simple table",
|
|||
|
children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableHead__WEBPACK_IMPORTED_MODULE_6__.default, {
|
|||
|
children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableRow__WEBPACK_IMPORTED_MODULE_7__.default, {
|
|||
|
children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__.default, {
|
|||
|
children: "Commands"
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 33,
|
|||
|
columnNumber: 25
|
|||
|
}, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__.default, {
|
|||
|
align: "right",
|
|||
|
children: "Description"
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 34,
|
|||
|
columnNumber: 25
|
|||
|
}, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__.default, {
|
|||
|
align: "right",
|
|||
|
children: "Status"
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 35,
|
|||
|
columnNumber: 25
|
|||
|
}, this)]
|
|||
|
}, void 0, true, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 32,
|
|||
|
columnNumber: 21
|
|||
|
}, this)
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 31,
|
|||
|
columnNumber: 17
|
|||
|
}, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableBody__WEBPACK_IMPORTED_MODULE_9__.default, {
|
|||
|
children: rows.map(function (row) {
|
|||
|
return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableRow__WEBPACK_IMPORTED_MODULE_7__.default, {
|
|||
|
children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__.default, {
|
|||
|
component: "th",
|
|||
|
scope: "row",
|
|||
|
children: row.name
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 41,
|
|||
|
columnNumber: 29
|
|||
|
}, _this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__.default, {
|
|||
|
align: "right",
|
|||
|
children: row.description
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 44,
|
|||
|
columnNumber: 29
|
|||
|
}, _this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_material_ui_core_TableCell__WEBPACK_IMPORTED_MODULE_8__.default, {
|
|||
|
align: "right",
|
|||
|
children: row.status
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 45,
|
|||
|
columnNumber: 29
|
|||
|
}, _this)]
|
|||
|
}, row.name, true, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 40,
|
|||
|
columnNumber: 25
|
|||
|
}, _this);
|
|||
|
})
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 38,
|
|||
|
columnNumber: 17
|
|||
|
}, this)]
|
|||
|
}, void 0, true, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 30,
|
|||
|
columnNumber: 13
|
|||
|
}, this)
|
|||
|
}, void 0, false, {
|
|||
|
fileName: _jsxFileName,
|
|||
|
lineNumber: 29,
|
|||
|
columnNumber: 9
|
|||
|
}, this);
|
|||
|
}
|
|||
|
|
|||
|
_s(commands, "8g5FPXexvSEOsxdmU7HicukHGqY=", false, function () {
|
|||
|
return [useStyles];
|
|||
|
});
|
|||
|
|
|||
|
/* harmony default export */ __webpack_exports__["default"] = (commands);
|
|||
|
|
|||
|
;
|
|||
|
var _a, _b;
|
|||
|
// Legacy CSS implementations will `eval` browser code in a Node.js context
|
|||
|
// to extract CSS. For backwards compatibility, we need to check we're in a
|
|||
|
// browser context before continuing.
|
|||
|
if (typeof self !== 'undefined' &&
|
|||
|
// AMP / No-JS mode does not inject these helpers:
|
|||
|
'$RefreshHelpers$' in self) {
|
|||
|
var currentExports = module.__proto__.exports;
|
|||
|
var prevExports = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevExports) !== null && _b !== void 0 ? _b : null;
|
|||
|
// This cannot happen in MainTemplate because the exports mismatch between
|
|||
|
// templating and execution.
|
|||
|
self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);
|
|||
|
// A module can be accepted automatically based on its exports, e.g. when
|
|||
|
// it is a Refresh Boundary.
|
|||
|
if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {
|
|||
|
// Save the previous exports on update so we can compare the boundary
|
|||
|
// signatures.
|
|||
|
module.hot.dispose(function (data) {
|
|||
|
data.prevExports = currentExports;
|
|||
|
});
|
|||
|
// Unconditionally accept an update to this module, we'll check if it's
|
|||
|
// still a Refresh Boundary later.
|
|||
|
module.hot.accept();
|
|||
|
// This field is set when the previous version of this module was a
|
|||
|
// Refresh Boundary, letting us know we need to check for invalidation or
|
|||
|
// enqueue an update.
|
|||
|
if (prevExports !== null) {
|
|||
|
// A boundary can become ineligible if its exports are incompatible
|
|||
|
// with the previous exports.
|
|||
|
//
|
|||
|
// For example, if you add/remove/change exports, we'll want to
|
|||
|
// re-execute the importing modules, and force those components to
|
|||
|
// re-render. Similarly, if you convert a class component to a
|
|||
|
// function, we want to invalidate the boundary.
|
|||
|
if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevExports, currentExports)) {
|
|||
|
module.hot.invalidate();
|
|||
|
}
|
|||
|
else {
|
|||
|
self.$RefreshHelpers$.scheduleUpdate();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
else {
|
|||
|
// Since we just executed the code for the module, it's possible that the
|
|||
|
// new exports made it ineligible for being a boundary.
|
|||
|
// We only care about the case when we were _previously_ a boundary,
|
|||
|
// because we already accepted this update (accidental side effect).
|
|||
|
var isNoLongerABoundary = prevExports !== null;
|
|||
|
if (isNoLongerABoundary) {
|
|||
|
module.hot.invalidate();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
/***/ })
|
|||
|
|
|||
|
});
|
|||
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vbm9kZV9tb2R1bGVzL0BtYXRlcmlhbC11aS9jb3JlL2Vzb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