"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.TagsBulkAssignButtonState = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _mobx = require("mobx");
class TagsBulkAssignButtonState {
  constructor() {
    (0, _defineProperty2.default)(this, "_disabledTooltipContent", null);
    (0, _mobx.makeObservable)(this, {
      _disabledTooltipContent: _mobx.observable.ref,
      isDisabled: _mobx.computed,
      tooltipContent: _mobx.computed,
      setTooltipContent: _mobx.action
    });
  }
  get isDisabled() {
    return !!this._disabledTooltipContent;
  }
  get tooltipContent() {
    return this._disabledTooltipContent;
  }
  setTooltipContent(content) {
    this._disabledTooltipContent = content;
  }
}
exports.TagsBulkAssignButtonState = TagsBulkAssignButtonState;
//# sourceMappingURL=TagsBulkAssignButtonState.js.map