docker-compose.yml SSL化準備
このコミットが含まれているのは:
コミット
103e398965
ファイル差分が大きすぎるため省略します
差分を読み込み
|
@ -3545,7 +3545,7 @@ input[type=button].btn-block {
|
|||
width: 1rem;
|
||||
height: 1rem;
|
||||
content: "";
|
||||
background: 50% / 50% 50% no-repeat;
|
||||
background: 50%/50% 50% no-repeat;
|
||||
}
|
||||
|
||||
.custom-checkbox .custom-control-label::before {
|
||||
|
|
|
@ -1951,6 +1951,441 @@ var weakMemoize = function weakMemoize(func) {
|
|||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (weakMemoize);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/@material-ui/core/Button/Button.js":
|
||||
/*!*********************************************************!*\
|
||||
!*** ./node_modules/@material-ui/core/Button/Button.js ***!
|
||||
\*********************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.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 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_unstyled__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @material-ui/unstyled */ "./node_modules/@material-ui/unstyled/composeClasses/composeClasses.js");
|
||||
/* harmony import */ var _material_ui_system__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @material-ui/system */ "./node_modules/@material-ui/system/esm/colorManipulator.js");
|
||||
/* harmony import */ var _styles_styled__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../styles/styled */ "./node_modules/@material-ui/core/styles/styled.js");
|
||||
/* harmony import */ var _styles_useThemeProps__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../styles/useThemeProps */ "./node_modules/@material-ui/core/styles/useThemeProps.js");
|
||||
/* harmony import */ var _ButtonBase__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ButtonBase */ "./node_modules/@material-ui/core/ButtonBase/ButtonBase.js");
|
||||
/* harmony import */ var _utils_capitalize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/capitalize */ "./node_modules/@material-ui/core/utils/capitalize.js");
|
||||
/* harmony import */ var _buttonClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./buttonClasses */ "./node_modules/@material-ui/core/Button/buttonClasses.js");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
||||
|
||||
|
||||
const _excluded = ["children", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const useUtilityClasses = styleProps => {
|
||||
const {
|
||||
color,
|
||||
disableElevation,
|
||||
fullWidth,
|
||||
size,
|
||||
variant,
|
||||
classes
|
||||
} = styleProps;
|
||||
const slots = {
|
||||
root: ['root', variant, `${variant}${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(color)}`, `size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`, `${variant}Size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`, color === 'inherit' && 'colorInherit', disableElevation && 'disableElevation', fullWidth && 'fullWidth'],
|
||||
label: ['label'],
|
||||
startIcon: ['startIcon', `iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`],
|
||||
endIcon: ['endIcon', `iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`]
|
||||
};
|
||||
const composedClasses = (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_7__.default)(slots, _buttonClasses__WEBPACK_IMPORTED_MODULE_8__.getButtonUtilityClass, classes);
|
||||
return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, classes, composedClasses);
|
||||
};
|
||||
|
||||
const commonIconStyles = styleProps => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, styleProps.size === 'small' && {
|
||||
'& > *:nth-of-type(1)': {
|
||||
fontSize: 18
|
||||
}
|
||||
}, styleProps.size === 'medium' && {
|
||||
'& > *:nth-of-type(1)': {
|
||||
fontSize: 20
|
||||
}
|
||||
}, styleProps.size === 'large' && {
|
||||
'& > *:nth-of-type(1)': {
|
||||
fontSize: 22
|
||||
}
|
||||
});
|
||||
|
||||
const ButtonRoot = (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.default)(_ButtonBase__WEBPACK_IMPORTED_MODULE_10__.default, {
|
||||
shouldForwardProp: prop => (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.rootShouldForwardProp)(prop) || prop === 'classes',
|
||||
name: 'MuiButton',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
styleProps
|
||||
} = props;
|
||||
return [styles.root, styles[styleProps.variant], styles[`${styleProps.variant}${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.color)}`], styles[`size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`], styles[`${styleProps.variant}Size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`], styleProps.color === 'inherit' && styles.colorInherit, styleProps.disableElevation && styles.disableElevation, styleProps.fullWidth && styles.fullWidth];
|
||||
}
|
||||
})(({
|
||||
theme,
|
||||
styleProps
|
||||
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, theme.typography.button, {
|
||||
minWidth: 64,
|
||||
padding: '6px 16px',
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
||||
duration: theme.transitions.duration.short
|
||||
}),
|
||||
'&:hover': (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
textDecoration: 'none',
|
||||
backgroundColor: (0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
}, styleProps.variant === 'text' && styleProps.color !== 'inherit' && {
|
||||
backgroundColor: (0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette[styleProps.color].main, theme.palette.action.hoverOpacity),
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
}, styleProps.variant === 'outlined' && styleProps.color !== 'inherit' && {
|
||||
border: `1px solid ${theme.palette[styleProps.color].main}`,
|
||||
backgroundColor: (0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette[styleProps.color].main, theme.palette.action.hoverOpacity),
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
}, styleProps.variant === 'contained' && {
|
||||
backgroundColor: theme.palette.grey.A100,
|
||||
boxShadow: theme.shadows[4],
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
boxShadow: theme.shadows[2],
|
||||
backgroundColor: theme.palette.grey[300]
|
||||
}
|
||||
}, styleProps.variant === 'contained' && styleProps.color !== 'inherit' && {
|
||||
backgroundColor: theme.palette[styleProps.color].dark,
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: theme.palette[styleProps.color].main
|
||||
}
|
||||
}),
|
||||
'&:active': (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, styleProps.variant === 'contained' && {
|
||||
boxShadow: theme.shadows[8]
|
||||
}),
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.focusVisible}`]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, styleProps.variant === 'contained' && {
|
||||
boxShadow: theme.shadows[6]
|
||||
}),
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.disabled}`]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
color: theme.palette.action.disabled
|
||||
}, styleProps.variant === 'outlined' && {
|
||||
border: `1px solid ${theme.palette.action.disabledBackground}`
|
||||
}, styleProps.variant === 'outlined' && styleProps.color === 'secondary' && {
|
||||
border: `1px solid ${theme.palette.action.disabled}`
|
||||
}, styleProps.variant === 'contained' && {
|
||||
color: theme.palette.action.disabled,
|
||||
boxShadow: theme.shadows[0],
|
||||
backgroundColor: theme.palette.action.disabledBackground
|
||||
})
|
||||
}, styleProps.variant === 'text' && {
|
||||
padding: '6px 8px'
|
||||
}, styleProps.variant === 'text' && styleProps.color !== 'inherit' && {
|
||||
color: theme.palette[styleProps.color].main
|
||||
}, styleProps.variant === 'outlined' && {
|
||||
padding: '5px 15px',
|
||||
border: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
||||
}, styleProps.variant === 'outlined' && styleProps.color !== 'inherit' && {
|
||||
color: theme.palette[styleProps.color].main,
|
||||
border: `1px solid ${(0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette[styleProps.color].main, 0.5)}`
|
||||
}, styleProps.variant === 'contained' && {
|
||||
color: theme.palette.getContrastText(theme.palette.grey[300]),
|
||||
backgroundColor: theme.palette.grey[300],
|
||||
boxShadow: theme.shadows[2]
|
||||
}, styleProps.variant === 'contained' && styleProps.color !== 'inherit' && {
|
||||
color: theme.palette[styleProps.color].contrastText,
|
||||
backgroundColor: theme.palette[styleProps.color].main
|
||||
}, styleProps.color === 'inherit' && {
|
||||
color: 'inherit',
|
||||
borderColor: 'currentColor'
|
||||
}, styleProps.size === 'small' && styleProps.variant === 'text' && {
|
||||
padding: '4px 5px',
|
||||
fontSize: theme.typography.pxToRem(13)
|
||||
}, styleProps.size === 'large' && styleProps.variant === 'text' && {
|
||||
padding: '8px 11px',
|
||||
fontSize: theme.typography.pxToRem(15)
|
||||
}, styleProps.size === 'small' && styleProps.variant === 'outlined' && {
|
||||
padding: '3px 9px',
|
||||
fontSize: theme.typography.pxToRem(13)
|
||||
}, styleProps.size === 'large' && styleProps.variant === 'outlined' && {
|
||||
padding: '7px 21px',
|
||||
fontSize: theme.typography.pxToRem(15)
|
||||
}, styleProps.size === 'small' && styleProps.variant === 'contained' && {
|
||||
padding: '4px 10px',
|
||||
fontSize: theme.typography.pxToRem(13)
|
||||
}, styleProps.size === 'large' && styleProps.variant === 'contained' && {
|
||||
padding: '8px 22px',
|
||||
fontSize: theme.typography.pxToRem(15)
|
||||
}, styleProps.fullWidth && {
|
||||
width: '100%'
|
||||
}), ({
|
||||
styleProps
|
||||
}) => styleProps.disableElevation && {
|
||||
boxShadow: 'none',
|
||||
'&:hover': {
|
||||
boxShadow: 'none'
|
||||
},
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.focusVisible}`]: {
|
||||
boxShadow: 'none'
|
||||
},
|
||||
'&:active': {
|
||||
boxShadow: 'none'
|
||||
},
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.disabled}`]: {
|
||||
boxShadow: 'none'
|
||||
}
|
||||
});
|
||||
const ButtonStartIcon = (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.default)('span', {
|
||||
name: 'MuiButton',
|
||||
slot: 'StartIcon',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
styleProps
|
||||
} = props;
|
||||
return [styles.startIcon, styles[`iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`]];
|
||||
}
|
||||
})(({
|
||||
styleProps
|
||||
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
display: 'inherit',
|
||||
marginRight: 8,
|
||||
marginLeft: -4
|
||||
}, styleProps.size === 'small' && {
|
||||
marginLeft: -2
|
||||
}, commonIconStyles(styleProps)));
|
||||
const ButtonEndIcon = (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.default)('span', {
|
||||
name: 'MuiButton',
|
||||
slot: 'EndIcon',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
styleProps
|
||||
} = props;
|
||||
return [styles.endIcon, styles[`iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`]];
|
||||
}
|
||||
})(({
|
||||
styleProps
|
||||
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
display: 'inherit',
|
||||
marginRight: -4,
|
||||
marginLeft: 8
|
||||
}, styleProps.size === 'small' && {
|
||||
marginRight: -2
|
||||
}, commonIconStyles(styleProps)));
|
||||
const Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function Button(inProps, ref) {
|
||||
const props = (0,_styles_useThemeProps__WEBPACK_IMPORTED_MODULE_12__.default)({
|
||||
props: inProps,
|
||||
name: 'MuiButton'
|
||||
});
|
||||
|
||||
const {
|
||||
children,
|
||||
color = 'primary',
|
||||
component = 'button',
|
||||
disabled = false,
|
||||
disableElevation = false,
|
||||
disableFocusRipple = false,
|
||||
endIcon: endIconProp,
|
||||
focusVisibleClassName,
|
||||
fullWidth = false,
|
||||
size = 'medium',
|
||||
startIcon: startIconProp,
|
||||
type,
|
||||
variant = 'text'
|
||||
} = props,
|
||||
other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__.default)(props, _excluded);
|
||||
|
||||
const styleProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, props, {
|
||||
color,
|
||||
component,
|
||||
disabled,
|
||||
disableElevation,
|
||||
disableFocusRipple,
|
||||
fullWidth,
|
||||
size,
|
||||
type,
|
||||
variant
|
||||
});
|
||||
|
||||
const classes = useUtilityClasses(styleProps);
|
||||
|
||||
const startIcon = startIconProp && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(ButtonStartIcon, {
|
||||
className: classes.startIcon,
|
||||
styleProps: styleProps,
|
||||
children: startIconProp
|
||||
});
|
||||
|
||||
const endIcon = endIconProp && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(ButtonEndIcon, {
|
||||
className: classes.endIcon,
|
||||
styleProps: styleProps,
|
||||
children: endIconProp
|
||||
});
|
||||
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(ButtonRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
styleProps: styleProps,
|
||||
component: component,
|
||||
disabled: disabled,
|
||||
focusRipple: !disableFocusRipple,
|
||||
focusVisibleClassName: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.focusVisible, focusVisibleClassName),
|
||||
ref: ref,
|
||||
type: type
|
||||
}, other, {
|
||||
classes: classes,
|
||||
children: [startIcon, children, endIcon]
|
||||
}));
|
||||
});
|
||||
true ? Button.propTypes
|
||||
/* remove-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.
|
||||
*/
|
||||
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
|
||||
|
||||
/**
|
||||
* The color of the component. It supports those theme colors that make sense for this component.
|
||||
* @default 'primary'
|
||||
*/
|
||||
color: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), (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 component is disabled.
|
||||
* @default false
|
||||
*/
|
||||
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* If `true`, no elevation is used.
|
||||
* @default false
|
||||
*/
|
||||
disableElevation: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* If `true`, the keyboard focus ripple is disabled.
|
||||
* @default false
|
||||
*/
|
||||
disableFocusRipple: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* If `true`, the ripple effect is disabled.
|
||||
*
|
||||
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
||||
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
||||
* @default false
|
||||
*/
|
||||
disableRipple: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* Element placed after the children.
|
||||
*/
|
||||
endIcon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
focusVisibleClassName: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
||||
|
||||
/**
|
||||
* If `true`, the button will take up the full width of its container.
|
||||
* @default false
|
||||
*/
|
||||
fullWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* The URL to link to when the button is clicked.
|
||||
* If defined, an `a` element will be used as the root node.
|
||||
*/
|
||||
href: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
||||
|
||||
/**
|
||||
* The size of the component.
|
||||
* `small` is equivalent to the dense button styling.
|
||||
* @default 'medium'
|
||||
*/
|
||||
size: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['small', 'medium', 'large']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
|
||||
|
||||
/**
|
||||
* Element placed before the children.
|
||||
*/
|
||||
startIcon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
||||
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
type: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['button', 'reset', 'submit']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
|
||||
|
||||
/**
|
||||
* The variant to use.
|
||||
* @default 'text'
|
||||
*/
|
||||
variant: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['contained', 'outlined', 'text']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)])
|
||||
} : 0;
|
||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Button);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/@material-ui/core/Button/buttonClasses.js":
|
||||
/*!****************************************************************!*\
|
||||
!*** ./node_modules/@material-ui/core/Button/buttonClasses.js ***!
|
||||
\****************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "getButtonUtilityClass": () => (/* binding */ getButtonUtilityClass),
|
||||
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _material_ui_unstyled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/unstyled */ "./node_modules/@material-ui/unstyled/generateUtilityClass/generateUtilityClass.js");
|
||||
/* harmony import */ var _material_ui_unstyled__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/unstyled */ "./node_modules/@material-ui/unstyled/generateUtilityClasses/generateUtilityClasses.js");
|
||||
|
||||
function getButtonUtilityClass(slot) {
|
||||
return (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_0__.default)('MuiButton', slot);
|
||||
}
|
||||
const buttonClasses = (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_1__.default)('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
|
||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buttonClasses);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/@material-ui/core/ButtonBase/ButtonBase.js":
|
||||
|
@ -3058,441 +3493,6 @@ const touchRippleClasses = (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_1__
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/@material-ui/core/Button/Button.js":
|
||||
/*!*********************************************************!*\
|
||||
!*** ./node_modules/@material-ui/core/Button/Button.js ***!
|
||||
\*********************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.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 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_unstyled__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @material-ui/unstyled */ "./node_modules/@material-ui/unstyled/composeClasses/composeClasses.js");
|
||||
/* harmony import */ var _material_ui_system__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @material-ui/system */ "./node_modules/@material-ui/system/esm/colorManipulator.js");
|
||||
/* harmony import */ var _styles_styled__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../styles/styled */ "./node_modules/@material-ui/core/styles/styled.js");
|
||||
/* harmony import */ var _styles_useThemeProps__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../styles/useThemeProps */ "./node_modules/@material-ui/core/styles/useThemeProps.js");
|
||||
/* harmony import */ var _ButtonBase__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ButtonBase */ "./node_modules/@material-ui/core/ButtonBase/ButtonBase.js");
|
||||
/* harmony import */ var _utils_capitalize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/capitalize */ "./node_modules/@material-ui/core/utils/capitalize.js");
|
||||
/* harmony import */ var _buttonClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./buttonClasses */ "./node_modules/@material-ui/core/Button/buttonClasses.js");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
||||
|
||||
|
||||
const _excluded = ["children", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const useUtilityClasses = styleProps => {
|
||||
const {
|
||||
color,
|
||||
disableElevation,
|
||||
fullWidth,
|
||||
size,
|
||||
variant,
|
||||
classes
|
||||
} = styleProps;
|
||||
const slots = {
|
||||
root: ['root', variant, `${variant}${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(color)}`, `size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`, `${variant}Size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`, color === 'inherit' && 'colorInherit', disableElevation && 'disableElevation', fullWidth && 'fullWidth'],
|
||||
label: ['label'],
|
||||
startIcon: ['startIcon', `iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`],
|
||||
endIcon: ['endIcon', `iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(size)}`]
|
||||
};
|
||||
const composedClasses = (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_7__.default)(slots, _buttonClasses__WEBPACK_IMPORTED_MODULE_8__.getButtonUtilityClass, classes);
|
||||
return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, classes, composedClasses);
|
||||
};
|
||||
|
||||
const commonIconStyles = styleProps => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, styleProps.size === 'small' && {
|
||||
'& > *:nth-of-type(1)': {
|
||||
fontSize: 18
|
||||
}
|
||||
}, styleProps.size === 'medium' && {
|
||||
'& > *:nth-of-type(1)': {
|
||||
fontSize: 20
|
||||
}
|
||||
}, styleProps.size === 'large' && {
|
||||
'& > *:nth-of-type(1)': {
|
||||
fontSize: 22
|
||||
}
|
||||
});
|
||||
|
||||
const ButtonRoot = (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.default)(_ButtonBase__WEBPACK_IMPORTED_MODULE_10__.default, {
|
||||
shouldForwardProp: prop => (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.rootShouldForwardProp)(prop) || prop === 'classes',
|
||||
name: 'MuiButton',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
styleProps
|
||||
} = props;
|
||||
return [styles.root, styles[styleProps.variant], styles[`${styleProps.variant}${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.color)}`], styles[`size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`], styles[`${styleProps.variant}Size${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`], styleProps.color === 'inherit' && styles.colorInherit, styleProps.disableElevation && styles.disableElevation, styleProps.fullWidth && styles.fullWidth];
|
||||
}
|
||||
})(({
|
||||
theme,
|
||||
styleProps
|
||||
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, theme.typography.button, {
|
||||
minWidth: 64,
|
||||
padding: '6px 16px',
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
||||
duration: theme.transitions.duration.short
|
||||
}),
|
||||
'&:hover': (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
textDecoration: 'none',
|
||||
backgroundColor: (0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
}, styleProps.variant === 'text' && styleProps.color !== 'inherit' && {
|
||||
backgroundColor: (0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette[styleProps.color].main, theme.palette.action.hoverOpacity),
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
}, styleProps.variant === 'outlined' && styleProps.color !== 'inherit' && {
|
||||
border: `1px solid ${theme.palette[styleProps.color].main}`,
|
||||
backgroundColor: (0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette[styleProps.color].main, theme.palette.action.hoverOpacity),
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
}, styleProps.variant === 'contained' && {
|
||||
backgroundColor: theme.palette.grey.A100,
|
||||
boxShadow: theme.shadows[4],
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
boxShadow: theme.shadows[2],
|
||||
backgroundColor: theme.palette.grey[300]
|
||||
}
|
||||
}, styleProps.variant === 'contained' && styleProps.color !== 'inherit' && {
|
||||
backgroundColor: theme.palette[styleProps.color].dark,
|
||||
// Reset on touch devices, it doesn't add specificity
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: theme.palette[styleProps.color].main
|
||||
}
|
||||
}),
|
||||
'&:active': (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, styleProps.variant === 'contained' && {
|
||||
boxShadow: theme.shadows[8]
|
||||
}),
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.focusVisible}`]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, styleProps.variant === 'contained' && {
|
||||
boxShadow: theme.shadows[6]
|
||||
}),
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.disabled}`]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
color: theme.palette.action.disabled
|
||||
}, styleProps.variant === 'outlined' && {
|
||||
border: `1px solid ${theme.palette.action.disabledBackground}`
|
||||
}, styleProps.variant === 'outlined' && styleProps.color === 'secondary' && {
|
||||
border: `1px solid ${theme.palette.action.disabled}`
|
||||
}, styleProps.variant === 'contained' && {
|
||||
color: theme.palette.action.disabled,
|
||||
boxShadow: theme.shadows[0],
|
||||
backgroundColor: theme.palette.action.disabledBackground
|
||||
})
|
||||
}, styleProps.variant === 'text' && {
|
||||
padding: '6px 8px'
|
||||
}, styleProps.variant === 'text' && styleProps.color !== 'inherit' && {
|
||||
color: theme.palette[styleProps.color].main
|
||||
}, styleProps.variant === 'outlined' && {
|
||||
padding: '5px 15px',
|
||||
border: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
||||
}, styleProps.variant === 'outlined' && styleProps.color !== 'inherit' && {
|
||||
color: theme.palette[styleProps.color].main,
|
||||
border: `1px solid ${(0,_material_ui_system__WEBPACK_IMPORTED_MODULE_11__.alpha)(theme.palette[styleProps.color].main, 0.5)}`
|
||||
}, styleProps.variant === 'contained' && {
|
||||
color: theme.palette.getContrastText(theme.palette.grey[300]),
|
||||
backgroundColor: theme.palette.grey[300],
|
||||
boxShadow: theme.shadows[2]
|
||||
}, styleProps.variant === 'contained' && styleProps.color !== 'inherit' && {
|
||||
color: theme.palette[styleProps.color].contrastText,
|
||||
backgroundColor: theme.palette[styleProps.color].main
|
||||
}, styleProps.color === 'inherit' && {
|
||||
color: 'inherit',
|
||||
borderColor: 'currentColor'
|
||||
}, styleProps.size === 'small' && styleProps.variant === 'text' && {
|
||||
padding: '4px 5px',
|
||||
fontSize: theme.typography.pxToRem(13)
|
||||
}, styleProps.size === 'large' && styleProps.variant === 'text' && {
|
||||
padding: '8px 11px',
|
||||
fontSize: theme.typography.pxToRem(15)
|
||||
}, styleProps.size === 'small' && styleProps.variant === 'outlined' && {
|
||||
padding: '3px 9px',
|
||||
fontSize: theme.typography.pxToRem(13)
|
||||
}, styleProps.size === 'large' && styleProps.variant === 'outlined' && {
|
||||
padding: '7px 21px',
|
||||
fontSize: theme.typography.pxToRem(15)
|
||||
}, styleProps.size === 'small' && styleProps.variant === 'contained' && {
|
||||
padding: '4px 10px',
|
||||
fontSize: theme.typography.pxToRem(13)
|
||||
}, styleProps.size === 'large' && styleProps.variant === 'contained' && {
|
||||
padding: '8px 22px',
|
||||
fontSize: theme.typography.pxToRem(15)
|
||||
}, styleProps.fullWidth && {
|
||||
width: '100%'
|
||||
}), ({
|
||||
styleProps
|
||||
}) => styleProps.disableElevation && {
|
||||
boxShadow: 'none',
|
||||
'&:hover': {
|
||||
boxShadow: 'none'
|
||||
},
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.focusVisible}`]: {
|
||||
boxShadow: 'none'
|
||||
},
|
||||
'&:active': {
|
||||
boxShadow: 'none'
|
||||
},
|
||||
[`&.${_buttonClasses__WEBPACK_IMPORTED_MODULE_8__.default.disabled}`]: {
|
||||
boxShadow: 'none'
|
||||
}
|
||||
});
|
||||
const ButtonStartIcon = (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.default)('span', {
|
||||
name: 'MuiButton',
|
||||
slot: 'StartIcon',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
styleProps
|
||||
} = props;
|
||||
return [styles.startIcon, styles[`iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`]];
|
||||
}
|
||||
})(({
|
||||
styleProps
|
||||
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
display: 'inherit',
|
||||
marginRight: 8,
|
||||
marginLeft: -4
|
||||
}, styleProps.size === 'small' && {
|
||||
marginLeft: -2
|
||||
}, commonIconStyles(styleProps)));
|
||||
const ButtonEndIcon = (0,_styles_styled__WEBPACK_IMPORTED_MODULE_9__.default)('span', {
|
||||
name: 'MuiButton',
|
||||
slot: 'EndIcon',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
styleProps
|
||||
} = props;
|
||||
return [styles.endIcon, styles[`iconSize${(0,_utils_capitalize__WEBPACK_IMPORTED_MODULE_6__.default)(styleProps.size)}`]];
|
||||
}
|
||||
})(({
|
||||
styleProps
|
||||
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
display: 'inherit',
|
||||
marginRight: -4,
|
||||
marginLeft: 8
|
||||
}, styleProps.size === 'small' && {
|
||||
marginRight: -2
|
||||
}, commonIconStyles(styleProps)));
|
||||
const Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function Button(inProps, ref) {
|
||||
const props = (0,_styles_useThemeProps__WEBPACK_IMPORTED_MODULE_12__.default)({
|
||||
props: inProps,
|
||||
name: 'MuiButton'
|
||||
});
|
||||
|
||||
const {
|
||||
children,
|
||||
color = 'primary',
|
||||
component = 'button',
|
||||
disabled = false,
|
||||
disableElevation = false,
|
||||
disableFocusRipple = false,
|
||||
endIcon: endIconProp,
|
||||
focusVisibleClassName,
|
||||
fullWidth = false,
|
||||
size = 'medium',
|
||||
startIcon: startIconProp,
|
||||
type,
|
||||
variant = 'text'
|
||||
} = props,
|
||||
other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__.default)(props, _excluded);
|
||||
|
||||
const styleProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({}, props, {
|
||||
color,
|
||||
component,
|
||||
disabled,
|
||||
disableElevation,
|
||||
disableFocusRipple,
|
||||
fullWidth,
|
||||
size,
|
||||
type,
|
||||
variant
|
||||
});
|
||||
|
||||
const classes = useUtilityClasses(styleProps);
|
||||
|
||||
const startIcon = startIconProp && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(ButtonStartIcon, {
|
||||
className: classes.startIcon,
|
||||
styleProps: styleProps,
|
||||
children: startIconProp
|
||||
});
|
||||
|
||||
const endIcon = endIconProp && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(ButtonEndIcon, {
|
||||
className: classes.endIcon,
|
||||
styleProps: styleProps,
|
||||
children: endIconProp
|
||||
});
|
||||
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(ButtonRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.default)({
|
||||
styleProps: styleProps,
|
||||
component: component,
|
||||
disabled: disabled,
|
||||
focusRipple: !disableFocusRipple,
|
||||
focusVisibleClassName: (0,clsx__WEBPACK_IMPORTED_MODULE_4__.default)(classes.focusVisible, focusVisibleClassName),
|
||||
ref: ref,
|
||||
type: type
|
||||
}, other, {
|
||||
classes: classes,
|
||||
children: [startIcon, children, endIcon]
|
||||
}));
|
||||
});
|
||||
true ? Button.propTypes
|
||||
/* remove-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.
|
||||
*/
|
||||
classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
|
||||
|
||||
/**
|
||||
* The color of the component. It supports those theme colors that make sense for this component.
|
||||
* @default 'primary'
|
||||
*/
|
||||
color: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), (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 component is disabled.
|
||||
* @default false
|
||||
*/
|
||||
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* If `true`, no elevation is used.
|
||||
* @default false
|
||||
*/
|
||||
disableElevation: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* If `true`, the keyboard focus ripple is disabled.
|
||||
* @default false
|
||||
*/
|
||||
disableFocusRipple: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* If `true`, the ripple effect is disabled.
|
||||
*
|
||||
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
||||
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
||||
* @default false
|
||||
*/
|
||||
disableRipple: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* Element placed after the children.
|
||||
*/
|
||||
endIcon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
focusVisibleClassName: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
||||
|
||||
/**
|
||||
* If `true`, the button will take up the full width of its container.
|
||||
* @default false
|
||||
*/
|
||||
fullWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
|
||||
|
||||
/**
|
||||
* The URL to link to when the button is clicked.
|
||||
* If defined, an `a` element will be used as the root node.
|
||||
*/
|
||||
href: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
|
||||
|
||||
/**
|
||||
* The size of the component.
|
||||
* `small` is equivalent to the dense button styling.
|
||||
* @default 'medium'
|
||||
*/
|
||||
size: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['small', 'medium', 'large']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
|
||||
|
||||
/**
|
||||
* Element placed before the children.
|
||||
*/
|
||||
startIcon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
|
||||
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
type: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['button', 'reset', 'submit']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
|
||||
|
||||
/**
|
||||
* The variant to use.
|
||||
* @default 'text'
|
||||
*/
|
||||
variant: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['contained', 'outlined', 'text']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)])
|
||||
} : 0;
|
||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Button);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/@material-ui/core/Button/buttonClasses.js":
|
||||
/*!****************************************************************!*\
|
||||
!*** ./node_modules/@material-ui/core/Button/buttonClasses.js ***!
|
||||
\****************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "getButtonUtilityClass": () => (/* binding */ getButtonUtilityClass),
|
||||
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _material_ui_unstyled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/unstyled */ "./node_modules/@material-ui/unstyled/generateUtilityClass/generateUtilityClass.js");
|
||||
/* harmony import */ var _material_ui_unstyled__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/unstyled */ "./node_modules/@material-ui/unstyled/generateUtilityClasses/generateUtilityClasses.js");
|
||||
|
||||
function getButtonUtilityClass(slot) {
|
||||
return (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_0__.default)('MuiButton', slot);
|
||||
}
|
||||
const buttonClasses = (0,_material_ui_unstyled__WEBPACK_IMPORTED_MODULE_1__.default)('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
|
||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buttonClasses);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/@material-ui/core/CircularProgress/CircularProgress.js":
|
||||
/*!*****************************************************************************!*\
|
||||
!*** ./node_modules/@material-ui/core/CircularProgress/CircularProgress.js ***!
|
||||
|
|
|
@ -8,12 +8,20 @@ services:
|
|||
web:
|
||||
image: nginx:1.20-alpine
|
||||
ports:
|
||||
- 10080:80
|
||||
- 80:80
|
||||
volumes:
|
||||
- ./backend:/work
|
||||
- ./infra/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- /etc/letsencrypt:/etc/letsencrypt
|
||||
working_dir: /work
|
||||
|
||||
certbot:
|
||||
image: certbot/certbot:v1.7.0
|
||||
volumes:
|
||||
- ./backend:/work
|
||||
- /etc/letsencrypt:/etc/letsencrypt
|
||||
command: ["--version"]
|
||||
|
||||
db:
|
||||
build: ./infra/mysql
|
||||
volumes:
|
||||
|
|
新しいイシューから参照