"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _mobxReactLite = require("mobx-react-lite");
var _ActionModal = require("../ActionModal");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CustomColumnsPanel/SidePanelFieldActionsModal.tsx";
function _SidePanelFieldActionsModal({
  state
}) {
  const value = state.confirmModal.value;
  if (!value) {
    return null;
  }
  return /*#__PURE__*/_react.default.createElement(_ActionModal.MessageActionModal, (0, _extends2.default)({
    state: state.confirmModal
  }, value, {
    primaryButtonProps: {
      ...value.primaryButtonProps,
      disabled: state.deleteTask.status.isLoading
    },
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 16,
      columnNumber: 5
    }
  }));
}
const SidePanelFieldActionsModal = (0, _mobxReactLite.observer)(_SidePanelFieldActionsModal);
var _default = exports.default = SidePanelFieldActionsModal;
//# sourceMappingURL=SidePanelFieldActionsModal.js.map